处理或生成电子表格文件,支持清洗、编辑、转换与公式图表操作。
该 xlsx 技能材料显示其本质上是一个开源的提示词型技能说明,未声明需要密钥、远程端点或额外系统权限。基于现有材料,整体风险较低,主要注意其可能引导代理处理本地表格文件这一常规数据访问场景。
材料明确标注“无”密钥/环境变量,文档中也未见要求用户提供 API token、账号凭证或其他敏感认证信息,凭证泄露与滥用风险低。
材料标注无远程端点,描述聚焦于本地 .xlsx/.xlsm/.csv/.tsv 文件的创建、编辑、清理与转换,未见将用户数据发送到外部服务的声明。
系统检查项已标记为 prompt-only,当前材料更像工作流/输出规范说明,而非可执行程序或安装脚本;虽提到可假设 LibreOffice 存在,但未显示该技能自身请求额外执行权限。
技能用途就是处理电子表格文件,按功能会涉及读取、修改、创建和转换本地表格数据文件;这是该类技能的常规数据访问范围,未见超出声明用途的过度授权迹象,但仍应按最小必要原则限定文件范围。
来源为 GitHub 上的开源仓库,且属于 anthropics/skills,源码/内容可审计;虽许可证未声明、star 为 0 且维护状态未知,带来一定治理信息缺口,但未见闭源、失真分发或可疑注入等高风险红旗,综合仍偏低风险。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "xlsx" 技能: 1. 下载 https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/SKILL.md 2. 保存为 ~/.claude/skills/xlsx/SKILL.md 3. 装好后重载技能,告诉我可以用了
| Task | Approach |
|---|---|
| Create or edit with formulas/formatting | openpyxl — see gotchas below |
| Bulk data in or out | pandas (read_excel, to_excel) |
| Quick look at a sheet | markitdown file.xlsx — ## SheetName per sheet; reads .xlsm too. No cell coordinates, so don't plan edits from it |
| Read a model (formulas and values) | two load_workbook passes — see gotchas |
openpyxl,pandas, andmarkitdownare preinstalled — do not runpip installfirst; write the script and import directly. Only if an import fails (or themarkitdowncommand is missing):pip installthe missing package.
Script paths below are relative to this skill's directory.
recalc.py reports errors_found. If you think an error predates you, prove it: load the original with data_only=True and look at that cell. An error you introduced looks exactly like one you inherited.sheet['B10'] = '=SUM(B2:B9)', not the Python-computed total. The sheet must recalculate when its inputs change.Source: Company 10-K, FY2024, Page 45, Revenue Note, [SEC EDGAR URL]); when the number came from the user, say so plainly.openpyxl writes formulas as strings with no cached values. Until you recalculate, every
formula cell reads back as None to anything reading cached values — pandas,
load_workbook(data_only=True), and most previewers.
python scripts/recalc.py output.xlsx [timeout_seconds] # default 30
LibreOffice computes every formula, the file is rewritten in place, and you get JSON:
status (success | errors_found), total_formulas, total_errors, and an
error_summary naming up to 100 cells per error type (locations_truncated says how many it
withheld — trust total_errors, not the length of the list). Fix what it names and run it
again. JSON with an error key instead of a status means nothing was recalculated, and
only that case exits non-zero — errors_found exits 0, so never treat a clean exit as a clean
workbook.
A green recalc proves your formulas evaluate, not that they are right. An off-by-one range or a reference to the wrong row yields a clean, error-free file with wrong numbers. Write 2–3 formulas first and check they pull the values you expect, before building out a grid.
A workbook that links to another file loses those links if you re-save it with openpyxl and
then recalculate. Such a formula reads ='[1]Returns Analysis'!$B$2 — the [1] is an index
into the workbook's external-reference list, naming a separate file on disk, not a sheet.
That file is rarely present here, so the cell's cached value is the only thing holding its
data. openpyxl strips that value on save; LibreOffice then has to resolve the reference for
…
创建、读取、编辑与整理 PPTX 演示文稿及其中的文本和备注内容。
帮助你构建、调试并优化 Claude API 与 Anthropic SDK 应用
引导用户协作撰写文档、方案与技术规格,并通过迭代完善内容质量。
用于创建、编辑与整理Word文档,并生成带专业排版的 .docx 文件。
帮助用户设计并生成高质量、可生产的前端界面与网页组件代码
处理PDF文档的读取提取、合并拆分、表单填写与OCR识别等任务
用于创建、编辑、分析电子表格,并支持公式、格式与可视化处理。
帮助用户以编程方式读取、写入和处理 Excel 电子表格文件。
通过 Excel 与 Google Sheets 集成自动创建、写入和格式化表格。
通过 MCP 读写 Excel 文件,快速查询表格、导出数据并批量修改工作簿。
通过自然语言自动处理 Excel 表格读写、格式化、图表与工作表管理。
让 AI 通过结构化工具处理 Excel 与 CSV 的分析、格式化和自动化任务