Preface¶
A common issue when asking models to modify Excel files in environments like Cursor or Claude Code is that formatting gets flattened, and pivot tables or macros are lost. CSV files also often suffer from garbled characters due to the mixing of GBK and UTF-8 encoding. While writing custom openpyxl or pandas scripts works, the cost is high because you have to manually handle encoding, formula recalculation, and layout.
Below is an introduction to the SkillHub community Skill “xlsx optimized version” (coordinates @user_c66b8218/xlsx007-skill, version 1.0.0). It uses a universal SKILL.md to constrain the Agent’s working methods, focusing on opening, creating, analyzing, and editing spreadsheet files such as .xlsx, .xlsm, and .csv. It specifically emphasizes handling encoding and layout for Chinese and CJK scenarios.
What is this¶
xlsx optimized version is a community Skill under the SkillHub category office-efficiency, published by user_c66b8218. The tag requires_api_key=false indicates (according to the page description) that no API Key is needed. The official description positions it as: completing the creation, reading, analysis, editing, repair, and validation of spreadsheets with a goal of zero format loss, while providing first-class support for Chinese content.
Compared to the approach of “just reading the table into a DataFrame and exporting it,” this Skill explicitly requires preserving structures such as pivot tables, VBA macros, charts, sparklines, conditional formatting, and named ranges when editing existing workbooks. It also covers steps like formula recalculation and validation, result visualization, and professional formatting.
Core Functions¶
The following capabilities are derived from the official introductions in the SkillHub page and API metadata; implementation details that have not been separately verified are not expanded upon here.
Supported Files and Scenarios¶
- File Types:
.xlsx,.xlsm,.xltx,.csv,.tsv. - Task Types: Creating new workbooks, reading and analyzing existing files, filling and modifying data, repairing and validating files, reports/dashboards/budgets/financial models, pivot tables, and arbitrary tabular data output.
Chinese and CJK¶
- Text and Encoding: Chinese text; UTF-8, GB18030, GBK.
- Display and Conventions: Full-width characters, CJK fonts during rendering; Chinese numerical and date conventions (e.g., ¥, 万/亿, 年/月/日).
Structures Preserved During Editing¶
When modifying existing workbooks, the items listed for preservation in the introduction include: pivot tables, VBA macros, charts, sparklines, conditional formatting, and named ranges. It also includes formula recalculation and validation, visual inspection of results, and applying professional formatting.
Trigger Method¶
When the user mentions spreadsheet, Excel, workbook, 表格 (table), 工作簿 (workbook), .xlsx, .xlsm, .csv, pivot table, 透视表 (pivot table), macro, 宏 (macro), chart, 图表 (chart), financial model, 财务模型 (financial model), formula, 公式 (formula), or any request requiring tabular data output, the Agent should handle it according to this Skill’s guidance.
Installation and Activation¶
The installation method provided on the SkillHub page is: instruct the AI to install coordinates @user_c66b8218/xlsx007-skill according to SkillHub Installation and Priority Source Configuration. Below is a summary of the CLI workflow consistent with that document.
1. Check or Install skillhub CLI¶
First, confirm if the CLI is already on your machine:
command -v skillhub && skillhub --version
If not installed, you can use the official installation script (full installation includes CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
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¶
When installing the skill, you must use --dir to point to the skills directory recognized by the current Agent; installing to the default ./skills/ might not be loaded. Common paths (excerpted from official installation docs):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example installation command (replace <skills directory> with the corresponding path above):
skillhub install @user_c66b8218/xlsx007-skill --dir <skills directory>
You can also send the page prompt directly in the conversation:
Please install `@user_c66b8218/xlsx007-skill` according to https://skillhub.cn/install/skillhub.md.
After the above steps, restart or refresh the Agent, and the Skill will be loaded along with the SKILL.md; whether a restart is specifically required depends on the client you are using. The installation documentation suggests that if the installation directory is incorrect, a restart is often needed for recognition.
Typical Usage¶
The public page does not include step-by-step code examples; usage is primarily based on natural language tasks + internal Skill workflows. The following expressions are consistent with the official trigger words to facilitate reproducing intent in sessions where the Skill is enabled (the Agent will choose read/write and validation methods based on the Skill, rather than fixed single-line commands).
- Create New: “Create a monthly budget sheet in Excel, including categories, amounts, and notes; use RMB format for amounts.”
- Read & Analyze: “Read the second sheet of
report.xlsx, summarize sales by region, and highlight rows with negative year-over-year growth.” - Modify while Preserving Structure: “Add a formula column to the existing
model.xlsmwithout breaking the pivot tables and existing charts.” - Encoding & CSV: “Convert this GBK
.csvto a UTF-8.xlsx; ensure the Chinese headers are not garbled.” - Validate & Repair: “Check if formula references in the workbook are broken, and try to keep conditional formatting unchanged.”
To search for Skills with the same or related names, you can first run:
skillhub search xlsx
Then confirm the coordinates are @user_c66b8218/xlsx007-skill in the results before installing.
Applicable Scenarios and Notes¶
Target Audience: Developers or analysts who frequently ask Agents to process Excel/CSV and care about layout and Chinese encoding; it is closer to the official Skill’s design goals than pure script export when needing to modify financial models, pivot table reports, or macro-enabled .xlsm files.
Community & Version: Source is community, current public version 1.0.0. SkillHub metadata shows a rating of 100000 and 2230 downloads (statistics are based on the SkillHub page and may change over time).
Notes:
- “Zero format loss” is the Skill’s design goal, but for complex macros or very old formats, it is still recommended to keep backups for critical files and explain in the conversation whether saving as a new file is acceptable.
- “No API Key required” only represents the tag in the Skill metadata; local spreadsheet processing still depends on the Agent environment and potentially installed Python/Office-related tools. Refer to the Skill body and actual execution for details.
- The installation directory must align with the current client’s skills path; otherwise, the situation “installed but Agent doesn’t recognize it” may occur.
Conclusion¶
The xlsx optimized version consolidates spreadsheet tasks into a repeatable set of Agent guidelines: covering multi-format files, Chinese encoding and conventions, and emphasizing the preservation of structures like pivot tables, macros, and charts during editing. If you mainly handle Excel in Cursor or Claude Code, you can install it to the corresponding skills directory as described above and drive it directly using natural language related to tables.
- SkillHub Page: https://www.skillhub.cn/skills/user_c66b8218/xlsx007-skill
- API Metadata: https://api.skillhub.cn/user_c66b8218/xlsx007-skill
- Installation Guide: https://skillhub.cn/install/skillhub.md