Multi-Source Data Cleaner: Leveraging Agents for Parsing, Deduplication, and Merging of Multi-Format Messy Data

Introduction

Excel files exported by business teams, CRM exports, and clipboard tables often come inconsistent: column names vary, duplicate rows exist, and phone numbers or dates are formatted messily. Manually filtering, filling, and merging with VLOOKUP is time-consuming and difficult to reproduce. If you want a conversational Agent to handle such tasks via a fixed workflow, you need a Skill specification that clearly defines trigger words, script entry points, and subscription tiers. Below is the positioning and usage of the SkillHub community skill Multi-source Data Cleaner (@user_26bdbd50/multi-source-data-cleaner).

What is this

Multi-source Data Cleaner (package ID multi-source-data-cleaner) is an Agent Skill based on the standard SKILL.md format. Maintained by the community publisher user_26bdbd50, it is categorized under data-analysis on SkillHub. The current page version is v1.0.2, sourced from the community. The skill runs scripts/main.py via Python subprocesses, targeting scenarios where users “upload messy data and get structured clean results.” Use cases listed in the documentation include e-commerce order organization, CRM customer cleaning, transaction reconciliation, roster deduplication, and multi-system data merging.

SkillHub metadata indicates requires_api_key=true: an API Key is required to enable AI field recognition, classification, and other capabilities; basic parsing and deduplication capabilities are distinguished according to the tier matrix in the documentation.

Core Functions

The following capabilities are derived from the SKILL.md / README.md within the skill package, organized by module number.

Multi-format Parsing (F1)

Supports Excel (.xlsx / .xls), CSV / TSV, JSON, and clipboard pasted text.

Smart Field Recognition (F2)

Automatically identifies field types such as name, mobile phone, email, address, amount, date, SKU, order number, ID number, and gender; supports user-defined field mapping overrides.

Data Cleaning (F3)

  • Deduplication: Exact match + Fuzzy deduplication (FuzzyWuzzy, threshold 88%).
  • Missing Values: Strategies including mean, mode, semantic inference, or leave blank.
  • Format Unification: Phone numbers 1xx-xxxx-xxxx, dates YYYY-MM-DD, amounts with two decimal places, and standardized address formatting (Province/City/District/Street).

Classification & Tagging (F4, Pro)

Built-in 8 business rules (High-value customers, Dormant users, VIP, Enterprise customers, etc.); supports custom JSON rules. AI auto-tagging requires the Pro tier and a configured AI API Key.

Multi-source Association & Merging (F5, Pro)

Associates data across files based on key fields; supports fuzzy association when exact keys are missing; resolves conflicting fields by source priority or latest timestamp.

Output (F6)

Exports to Excel / CSV; the Pro tier supports writing back to Feishu Bitable and generates Data Quality Reports (Markdown, which can be saved as Feishu documents).

Subscription Tiers (Feature Matrix in Documentation)

Capability Free Basic Standard Pro
Multi-format Parsing ✅ ✅ ✅ ✅
Basic Deduplication ✅ ✅ ✅ ✅
Monthly Row Limit 50 500 3,000 Unlimited
Number of Data Sources 1 3 Unlimited Unlimited
Smart Filling / Format Unification / Fuzzy Dedup ❌ ❌ ✅ ✅
Multi-source Merge / AI Classification / Quality Report / Bitable ❌ ❌ ❌ ✅

Pricing listed in the documentation (for selection reference): Free ¥0, Basic ¥29/month, Standard ¥99/month, Pro ¥299/month; payment instructions point to YK-Global.com.

Installation & Activation

1. Install SkillHub CLI (if not already installed)

Check or install the CLI according to the SkillHub Installation Guide:

command -v skillhub && skillhub --version

If not installed, run the full installation script (excerpt):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this skill to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory recognized by your current client; otherwise, it defaults to ./skills/ which may not be loaded. Example paths from SkillHub documentation include:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Installation command (consistent with skillhub search results):

skillhub install multi-source-data-cleaner --namespace user_26bdbd50 --dir ~/.cursor/skills/

Alternatively, let the Agent install it via the official prompt:

Please install `@user_26bdbd50/multi-source-data-cleaner` according to https://skillhub.cn/install/skillhub.md.

3. Python Dependencies

Before running scripts locally, the README suggests installing:

pip install pandas openpyxl xlrd fuzzywuzzy python-Levenshtein

4. Environment Variables

Variable Required Description
DATA_CLEANER_API_KEY Needed for AI features MiniMax or DeepSeek API Key
DATA_CLEANER_TIER Recommended Subscription tier: free / basic / std / pro

Refer to the README for AI Key acquisition: MiniMax (https://platform.minimax.chat/), DeepSeek (https://platform.deepseek.com/).

Typical Usage

Triggering in Conversation

Trigger words in the skill’s frontmatter include: data cleaning, deduplication, spreadsheet cleanup, data merge, CRM data cleanup, Excel cleaning, clean data, remove duplicates, merge data, etc. In integration scenarios like Feishu, you can also use the English phrases from the README to trigger the cleaning process.

Command Line

Navigate to the scripts directory within the skill folder and execute (examples from official documentation):

python scripts/main.py clean -i data.xlsx -o cleaned.xlsx
python scripts/main.py clean -t "name,phone\nJohn,13800138000" -f csv -o cleaned.csv
python scripts/main.py merge --sources customers.xlsx orders.csv --on phone -o merged.xlsx

Python Invocation

from main import run_clean_pipeline

result = run_clean_pipeline(
    sources=["orders.xlsx"],
    output_format="xlsx",
    output_path="/tmp/cleaned.xlsx",
    dedup_strategy="auto",
    fill_strategy="auto",
    classify=True,
    ai_model="deepseek",
    generate_report=True,
)

Upon completion, the documentation states that the output file path, number of cleaned rows, and total score from the quality report will be available (see README example).

Applicable Scenarios & Notes

Target Audience: Data analysts, operations staff, or implementation engineers who need to hand over multi-source tables to an Agent for standardized cleaning and deduplication, or perform multi-table association, quality reporting, and Feishu write-backs under the Pro tier.

Usage Notes:

  1. API Key & Tier: SkillHub tags indicate an API Key is required; AI recognition and classification capabilities are unavailable without configuration. Row counts, data source numbers, and advanced features are subject to tier_limits constraints.
  2. Quota Status: The README states that monthly usage is recorded in /tmp/data_cleaner_state.json. You may manually clear it to reset counts if necessary (please evaluate compliance requirements yourself).
  3. Encoding & Format: Prioritizes UTF-8, compatible with GBK; dates support YYYY-MM-DD, YYYY/MM/DD, YYYYMMDD, Unix timestamps, etc.; mobile numbers are formatted as 11-digit Chinese mainland mobile numbers.
  4. Data Security Statement: The README claims processing is done locally and not uploaded to third parties; however, when enabling cloud LLM APIs, you must understand data export and retention policies according to each vendor’s agreements.
  5. Version Information: The SkillHub page shows v1.0.2; the skill package’s SKILL.md frontmatter is still 1.0.0. Use the platform-published version as the standard for upgrades and troubleshooting.

On SkillHub, this skill has a rating of 100000 (platform display standard). As of the data capture time, it has 798 downloads and 7 installations.

Conclusion

Multi-source Data Cleaner encapsulates “Parsing → Field Recognition → Cleaning → (Optional) Merging & Reporting → Export” into an installable Agent Skill, distinguishing free and paid capabilities via a manual tier matrix. If your daily workflow involves frequent messy data from multiple tables, you can install it into clients like Cursor using the commands above, configure DATA_CLEANER_TIER and the optional DATA_CLEANER_API_KEY, and give it a try.

  • SkillHub Page: https://www.skillhub.cn/skills/user_26bdbd50/multi-source-data-cleaner
  • Official API Coordinate Page: https://api.skillhub.cn/user_26bdbd50/multi-source-data-cleaner
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye