From office-xlsx
Excel/xlsx/spreadsheet 文件操作技能 - 读写工作表与单元格、数据分析与统计、CSV格式转换、批量处理。适用于创建报表、数据导入导出、表格计算等场景
npx claudepluginhub lazygophers/ccplugin --plugin office-xlsxThis skill uses the workspace's default tool permissions.
通过 MCP 工具和包装层操作 Excel 文件。
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Builds scalable data pipelines, modern data warehouses, and real-time streaming architectures using Spark, dbt, Airflow, Kafka, and cloud platforms like Snowflake, BigQuery.
Builds production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch job scheduling.
通过 MCP 工具和包装层操作 Excel 文件。
| 工具 | 用途 | 关键参数 |
|---|---|---|
read_excel | 读取文件内容 | file_path(支持 xlsx/xls/csv/tsv/json) |
get_excel_info | 获取文件元数据 | file_path |
get_sheet_names | 列出所有工作表 | file_path |
| 工具 | 用途 | 关键参数 |
|---|---|---|
analyze_excel | 统计分析 | file_path, sheet_name? |
filter_excel | 条件过滤 | file_path, conditions |
pivot_table | 透视表 | file_path, rows, columns, values |
data_summary | 数据摘要 | file_path, sheet_name? |
| 工具 | 用途 | 关键参数 |
|---|---|---|
write_excel | 创建新文件 | file_path, data, sheet_name |
update_excel | 修改现有文件 | file_path, updates, sheet_name |
export_chart | 生成图表 | file_path, chart_type, x_column, y_column |
通过 scripts/wrapper.py 提供,使用 uv run 执行:
# xlsx -> CSV
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py convert data.xlsx output.csv
# CSV -> xlsx
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py convert data.csv output.xlsx
# xlsx -> JSON
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py convert data.xlsx output.json --sheet Sheet1
# JSON -> xlsx
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py convert data.json output.xlsx
# 批量导入:将目录下所有 CSV 合并为一个 xlsx(每个文件一个工作表)
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py batch-import ./data_dir/ merged.xlsx --pattern "*.csv"
# 批量导出:将 xlsx 每个工作表导出为独立 CSV
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py batch-export data.xlsx ./output_dir/ --format csv
# 批量导出为 JSON
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py batch-export data.xlsx ./output_dir/ --format json
# 统计分析(输出 JSON)
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py analyze data.xlsx --sheet Sheet1
# 统计分析 + 生成柱状图
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py analyze data.xlsx --output chart.png --chart-type bar --x name --y score
# 图表类型:bar, line, scatter, histogram, pie, box
# 数据洞察(异常值检测、相关性分析、趋势判断)
uv run --directory ${CLAUDE_PLUGIN_ROOT} python scripts/wrapper.py insight data.xlsx --sheet Sheet1 --top 5
read_excel、write_excel)wrapper.py)analyze_excel + 包装层的 analyze/insightexport_chart 适合简单图表,包装层支持更多类型(pie、box)