Introduction¶
When handling spreadsheets in environments like Cursor or Claude Code, common practices include writing ad-hoc Python scripts or asking the model to “verbally describe” structural changes. The former often results in scripts as deliverables rather than .xlsx files; the latter easily overlooks formatting, formulas, or dirty data rows. If a task explicitly requires opening, modifying, or producing files such as .xlsx or .csv, a set of Skill instructions is needed to constrain trigger conditions and deliverable formats.
Below is an introduction to the SkillHub community Skill “Spreadsheet Usage Skill” (coordinates @user_90d58900/excel01), designed to unify Agent-side logic regarding “when to enable, what to do, and what not to do.”
What is this¶
The “Spreadsheet Usage Skill” is a community Skill following the standard SKILL.md format (Source: community, Publisher: user_90d58900, Version 1.0.0, Category: office-efficiency). It does not replace Excel itself but informs the Agent: as long as a spreadsheet file is the primary input or primary output, this Skill should be loaded and executed according to its rules.
Official page and API entry:
- https://www.skillhub.cn/skills/user_90d58900/excel01
- https://api.skillhub.cn/user_90d58900/excel01
The tag indicates requires_api_key=false; no additional API Key is needed after installation. The SkillHub page displays a rating of 100000, with 11516 downloads and 228 installations (data is subject to SkillHub display).
Core Functions¶
The following capabilities are derived from the official Skill brief, summarized as the operational scope:
- Read, Write, and Repair Existing Spreadsheets: Supports
.xlsx,.xlsm,.csv,.tsv. Includes adding columns, calculating formulas, formatting, charting, and cleaning messy data. - Create New Spreadsheets: Create from scratch or generate spreadsheets from other data sources.
- Format Conversion: Convert between common spreadsheet file formats.
- Dirty Data Organization: Handle misaligned rows, shifted headers, junk data, etc., outputting standardized spreadsheets.
- Trigger Conditions: Trigger this Skill when the user mentions a filename or path (e.g., “that xlsx in the downloads folder”) and intends to process the file or produce a spreadsheet from data.
Explicit Non-Trigger Scenarios (Do not use this Skill when the deliverable is not a spreadsheet file):
- Primary deliverables are Word documents, HTML reports, standalone Python scripts, database pipelines, or Google Sheets API integrations—even if spreadsheet data is involved in the process.
Installation and Activation¶
SkillHub recommends letting the Agent follow the official installation documentation or sending an installation prompt directly to the AI. Installation instructions reference: https://skillhub.cn/install/skillhub.md , with the target coordinates @user_90d58900/excel01.
1. Check or Install SkillHub CLI¶
First, confirm if skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, use the official script to install (full package including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install CLI only:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by your current client; otherwise, it defaults to ./skills/ and the Agent may not be able to load it.
skillhub install @user_90d58900/excel01 --dir <your skills directory>
Common paths (from SkillHub installation documentation):
| Client | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ in the project |
Taking Cursor as an example:
skillhub install @user_90d58900/excel01 --dir ~/.cursor/skills/
You can also send the following prompt to the Agent to let it complete the installation according to skillhub.md:
Please install `@user_90d58900/excel01` based on https://skillhub.cn/install/skillhub.md.
If the Agent does not immediately recognize the new Skill after installation, restart or refresh the skills configuration according to your client’s instructions.
Typical Usage¶
The official repository does not provide separate examples; usage is reflected in the trigger description + deliverable type. The following expressions align with the Skill brief to help reproduce “when this Skill should be loaded”:
- Edit Existing Files: “Please open
report.xlsx, add a profit margin column, and display it in percentage format.”—Both input and output are spreadsheets. - Clean CSV: “The header of
data.tsvis on the 3rd row, with two lines of explanatory text before it; please organize it into a standard table and save as.xlsx.”—This falls under messy tabular data organization. - Create and Convert: “Generate an
.xlsxbased on this JSON list.” or “Convertexport.csvto.xlsm(choose.xlsmwhen macro workbook structure needs to be preserved).” - Should Not Trigger: “Write an HTML data analysis report” or “Write a pandas script that I will run myself later”—The deliverable is not a spreadsheet file; other Skills or normal conversation should be used instead of this Skill.
After installing via the steps above, simply reference the file path or format directly in the conversation. The Agent should select the spreadsheet processing flow based on Skill rules rather than deviating from the deliverable format.
Applicable Scenarios and Notes¶
Who it is for
- Product, operations, and analysis professionals who use Agents daily to modify, create, or clean spreadsheets and expect the final file to be in formats like
.xlsx/.csv. - Those already working in environments supporting Skills (like Cursor, Claude Code, Codex) and willing to manage skill packages via SkillHub.
Limitations and Notes
- This Skill constrains Agent behavior boundaries; it does not guarantee replacement for professional ETL or online collaboration (like Google Sheets API); the latter falls under non-trigger scopes in the official description.
- Large files, complex macros (
.xlsm), or extreme dirty data still require manual sampling of results; the Skill does not commit to specific library or runtime versions. - Incorrect installation path is a common pitfall: Ensure
--dirpoints to the current Agent’s skills directory.
Conclusion¶
The “Spreadsheet Usage Skill” separates tasks where “spreadsheet files are the primary input/output” from general coding or document generation, reducing deliverable deviation. If you primarily manage Agent capabilities via SkillHub, you can view the instructions and install @user_90d58900/excel01 from the official page:
https://www.skillhub.cn/skills/user_90d58900/excel01