cleanxls

A skill dedicated to Clean data Xls tasks, helping an AI agent efficiently perform XLS data cleaning and related processing work.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cleanxls" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5f222c13a925a376a649096ca47e7a52c69f7c477f5dee292605f5b4717c3cfd. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/clean-data-xls-9qkg before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A skill dedicated to Clean data Xls tasks, helping an AI agent efficiently perform XLS data cleaning and related processing work.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Clean messy data in the active sheet or a specified range.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: Clean数据Xls
slug: clean-data-xls
version: 1.0.0
displayName: Clean数据Xls
description: >
  Clean数据Xls专用技能,帮助AI Agent高效完成相关任务。
summary: "Clean数据Xls专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

Clean Data

Clean messy data in the active sheet or a specified range.

Preflight: Dependency Check

Before starting, verify required libraries are installed and install any that are missing.

python3 -c "import openpyxl" 2>/dev/null || python3 -m pip install openpyxl

Important: Do not skip this step — the workflow below will fail without these libraries.

Environment

  • If running inside Excel (Office Add-in / Office JS): Use Office JS directly. Read via range.values, write helper-column formulas via range.formulas = [["=TRIM(A2)"]]. The in-place vs helper-column decision still applies.
  • If operating on a standalone .xlsx file: Use Python and openpyxl.

Workflow

Step 1: Scope

  • If a range is given, such as A1:F200, use it.
  • Otherwise use the full used range of the active sheet.
  • Profile each column: detect its dominant type, text vs number vs date, and identify outliers.

Step 2: Detect issues

Issue What to look for
Whitespace Leading/trailing spaces, double spaces
Casing Inconsistent casing in categorical columns like usa, USA, Usa
Number-as-text Numeric values stored as text; stray $, ,, % in number cells
Dates Mixed formats in the same column like 3/8/26, 2026-03-08, March 8 2026
Duplicates Exact-duplicate rows and near-duplicates caused by case or whitespace differences
Blanks Empty cells in otherwise-populated columns
Mixed types A column that is mostly numbers but has a few text entries
Encoding Mojibake, non-printing characters
Errors #REF!, #N/A, #VALUE!, #DIV/0!

Step 3: Propose fixes

Show a summary table before changing anything:

Column Issue Count Proposed Fix

Step 4: Apply

  • Prefer formulas over hardcoded cleaned values. Where the cleaned output can be expressed as a formula, such as =TRIM(A2), =VALUE(SUBSTITUTE(B2,"$","")), =UPPER(C2), or =DATEVALUE(D2), write the formula in an adjacent helper column rather than computing the result in Python and overwriting the original.
  • Only overwrite in place with computed values when the user explicitly asks for it, or when no sensible formula equivalent exists, such as encoding or mojibake repair.
  • For destructive operations like removing duplicates, filling blanks, or overwriting originals, confirm with the user first.
  • After each category of fix, whitespace, casing, number conversion, dates, dedup, show a sample of what changed and get confirmation before moving to the next category.
  • Report a before/after summary of what changed.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 Excel 数据清洗功能,解决用户实际数据处理痛点
  • 具有明确的应用场景和广泛受众
Trigger Precision90/100

Highlights

  • 触发词清晰明确,边界清晰
  • description 准确描述技能功能
Structure and Standards90/100

Highlights

  • 结构完整,包含 Preflight、Environment、Workflow 等清晰阶段
  • 提供具体步骤和示例,frontmatter 完整
Execution Reliability85/100

Highlights

  • 工具来源明确,有依赖检查机制
  • 覆盖主要异常处理,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 33
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.