← 返回 Skills 市场
jimmy974

Excel Builder

作者 Jimmy974 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install excel-builder
功能描述
Build .xlsx files with formulas, merged cells, data validation, conditional formatting, pivot tables, and charts. Use when creating Excel spreadsheets, finan...
使用说明 (SKILL.md)

Excel Builder

Builds structured .xlsx files programmatically using Python libraries (openpyxl or xlsxwriter).

When to Use This Skill

  • Creating Excel spreadsheets with formulas and calculated fields
  • Building financial tables, budgets, or invoices
  • Generating data entry forms with validation and dropdowns
  • Producing reports with charts (bar, line, pie, scatter)
  • Exporting structured data with conditional formatting or color coding
  • Building pivot-ready data tables

Core Workflow

  1. Choose library — Use openpyxl for reading/modifying existing files; use xlsxwriter for new write-only files with rich charts
  2. Design structure — Define sheets, columns, headers, and data rows before writing
  3. Write data — Populate cells row by row; apply number formats ("#,##0.00", "YYYY-MM-DD")
  4. Add formulas — Use Excel formula strings: =SUM(B2:B100), =IF(A2>0, "Yes", "No")
  5. Format — Apply styles: bold headers, column widths, merged cells, fill colors, borders
  6. Validate — Add data validation (dropdown lists, numeric ranges) where applicable
  7. Charts — Add charts referencing data ranges; set titles and axis labels
  8. Save and verify — Save to output path; confirm file exists and is non-zero bytes

Key Patterns

openpyxl (read/write existing)

from openpyxl import Workbook, load_workbook
from openpyxl.styles import Font, PatternFill, Alignment

wb = Workbook()
ws = wb.active
ws.title = "Report"
ws["A1"] = "Revenue"
ws["A1"].font = Font(bold=True, size=12)
ws.column_dimensions["A"].width = 20
wb.save("output.xlsx")

xlsxwriter (new files with charts)

import xlsxwriter
wb = xlsxwriter.Workbook("output.xlsx")
ws = wb.add_worksheet("Summary")
bold = wb.add_format({"bold": True, "bg_color": "#4472C4", "font_color": "white"})
ws.write("A1", "Month", bold)
chart = wb.add_chart({"type": "column"})
chart.add_series({"values": "=Summary!$B$2:$B$13", "name": "Revenue"})
ws.insert_chart("D2", chart)
wb.close()

Error Handling

  • If openpyxl not installed: pip install openpyxl
  • If xlsxwriter not installed: pip install xlsxwriter
  • Always wrap wb.save() in try/except; report path conflicts
  • Verify output with os.path.getsize(path) > 0 before returning

Output

Return the absolute path to the saved .xlsx file. If generating multiple sheets, list each sheet name and row count in a brief summary.

安全使用建议
This skill appears to do what it claims: programmatically build .xlsx files using openpyxl/xlsxwriter. Before installing or invoking it, note that (1) the agent may run pip to install libraries from PyPI (network activity and changes to the runtime environment), (2) it will write files to disk — verify output paths to avoid overwriting important files, and (3) because it can be invoked by the agent, review any generated code or commands before allowing autonomous runs. If you need stricter controls, run it in a sandboxed environment or restrict network/package installation.
功能分析
Type: OpenClaw Skill Name: excel-builder Version: 1.0.0 The excel-builder skill bundle is a standard utility for programmatically generating Excel files using openpyxl and xlsxwriter. The SKILL.md file contains legitimate code snippets and workflow instructions aligned with its stated purpose, with no evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
The name/description (Excel/.xlsx creation with formulas, charts, validations) matches the SKILL.md content. All recommended libraries (openpyxl, xlsxwriter) are appropriate for the stated purpose.
Instruction Scope
The instructions stay on-topic: designing sheets, writing data, adding formulas/formatting, creating charts, and saving/verifying files. They do not instruct reading unrelated system files, transmitting data to external endpoints, or accessing credentials.
Install Mechanism
There is no install spec (instruction-only), which is low-risk. The SKILL.md suggests using `pip install` if libraries are missing — this implies network access to PyPI when run and will install packages into the agent environment, but the suggestion itself is consistent with the skill's needs.
Credentials
No environment variables, credentials, or config paths are requested. The skill's operations (file write/read, package installs) are proportionate to generating Excel files.
Persistence & Privilege
The skill is not marked `always:true` and does not request elevated or persistent system-wide changes. It writes output files (normal for this purpose) and may install Python packages into the runtime environment, which is standard behavior for a code-generating skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install excel-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /excel-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of excel-builder. - Build .xlsx files with formulas, merged cells, data validation, conditional formatting, pivot tables, and charts. - Supports both openpyxl (read/write existing files) and xlsxwriter (create new files with advanced charting). - Designed for generating structured spreadsheets, financial tables, data entry forms, and formatted reports. - Offers output validation, example usage patterns, and installation/error handling guidance. - Returns absolute path to generated .xlsx file and summary of included sheets.
元数据
Slug excel-builder
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Excel Builder 是什么?

Build .xlsx files with formulas, merged cells, data validation, conditional formatting, pivot tables, and charts. Use when creating Excel spreadsheets, finan... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。

如何安装 Excel Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install excel-builder」即可一键安装,无需额外配置。

Excel Builder 是免费的吗?

是的,Excel Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Excel Builder 支持哪些平台?

Excel Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Excel Builder?

由 Jimmy974(@jimmy974)开发并维护,当前版本 v1.0.0。

💬 留言讨论