← 返回 Skills 市场
sereinzhi

Create an Excel (.xlsx) file containing formatted data.

作者 sereinZhi · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
2445
总下载
0
收藏
12
当前安装
1
版本数
在 OpenClaw 中安装
/install generate-excel
功能描述
Create a formatted Excel (.xlsx) spreadsheet from provided 2D data, applying styles, colors, alignment, and auto-adjusted column widths.
使用说明 (SKILL.md)

Excel Generator Skill\r

\r

1. Role & Objective\r

You are an intelligent data assistant capable of generating professional Excel (.xlsx) spreadsheets. Your goal is to convert user data, tables, or reports into downloadable Excel files with proper formatting (styles, colors, alignment).\r \r Core Capabilities:\r

  • Create multi-row/column spreadsheets.\r
  • Apply rich formatting: Bold, \x3Cfont color="red">Text Color\x3C/font>, \x3Cfont style="background:yellow">Background Color\x3C/font>, Alignment.\r
  • Auto-adjust column widths for readability.\r
  • Handle missing dependencies automatically (via the script).\r \r ---\r \r

2. Trigger & Intent\r

When to use this skill:\r

  • User asks to "create an Excel file", "generate a spreadsheet", or "export to xlsx".\r
  • User provides structured data (like a table in chat) and wants it as a file.\r
  • User asks for a report (e.g., "Make a weekly finance report in Excel").\r \r Trigger Keywords:\r Excel, Spreadsheet, 表格, XLSX, 导出, 生成报表, 账单\r \r ---\r \r

3. Data Construction Rules (Crucial)\r

To use the create_excel_file function, you must construct a 2D List (data).\r \r

Cell Format Types\r

Each cell in the list can be:\r

  1. Simple Value: String, Integer, or Float.\r
    • Example: "Sales", 100, 99.5\r
  2. Styled Object (Dictionary): Use this when the user requests formatting (headers, highlighting, warnings).\r
    • Structure:\r
      {\r
        "value": "Content",\r
        "bold": true,\r
        "color": "FF0000",       // Hex code (Red)\r
        "bg_color": "FFFF00",    // Hex code (Yellow background)\r
        "align": "center"        // "left", "center", "right"\r
      }\r
      ```\r
      

\r

Example Construction\r

User Request: "Make a table with a blue header 'Name', 'Score', and a row for Alice (95) and Bob (50 - mark in red)."\r \r Constructed Data:\r

[\r
  [\r
    {"value": "Name", "bg_color": "ADD8E6", "bold": true, "align": "center"},\r
    {"value": "Score", "bg_color": "ADD8E6", "bold": true, "align": "center"}\r
  ],\r
  ["Alice", 95],\r
  ["Bob", {"value": 50, "color": "FF0000", "bold": true}]\r
]\r
安全使用建议
This skill appears to do exactly what it says: generate formatted .xlsx files. Before installing or running it, be aware the bundled script will try to run 'pip install openpyxl' if the package is missing—which requires network access and will install into the agent's Python environment. If you prefer not to allow runtime installs, pre-install openpyxl in the environment or review/modify the script to remove the auto-install behavior. Also run the skill in a safe environment if you are concerned about where files are written (it saves files to the current working directory and will create/overwrite the named .xlsx). Otherwise there are no signs of data exfiltration, hidden endpoints, or unrelated credential access.
功能分析
Type: OpenClaw Skill Name: generate-excel Version: 1.0.0 The skill is a legitimate utility for generating formatted Excel files using the openpyxl library. While generate_excel.py uses subprocess to automatically install the required dependency, the package name is hardcoded and the behavior is entirely consistent with the stated purpose in skill.md. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description (generate formatted Excel files) align with the provided SKILL.md and the included Python implementation. Nothing requested by the skill is unrelated to spreadsheet generation.
Instruction Scope
SKILL.md limits behavior to constructing a 2D list and calling create_excel_file; it does not instruct the agent to read unrelated files, environment variables, or contact external endpoints beyond dependency installation.
Install Mechanism
There is no registry install spec, but the included script will attempt to auto-install 'openpyxl' via subprocess pip install at runtime. The package is a well-known PyPI package (no arbitrary URL), but runtime installation requires network access and writes to the Python environment.
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not read secrets or external configuration.
Persistence & Privilege
always is false; the skill does not modify other skills or system-wide settings. It writes only the generated .xlsx file to the current filesystem.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install generate-excel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /generate-excel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Excel Generator Skill 1.0.0 – Initial Release - Generate professional Excel (.xlsx) spreadsheets from user data, tables, or reports. - Supports rich cell formatting: bold, text color, background color, and alignment. - Auto-adjusts column widths for optimal readability. - Handles missing dependencies automatically during file creation. - Converts chat tables or structured requests into downloadable Excel files.
元数据
Slug generate-excel
版本 1.0.0
许可证 MIT-0
累计安装 12
当前安装数 12
历史版本数 1
常见问题

Create an Excel (.xlsx) file containing formatted data. 是什么?

Create a formatted Excel (.xlsx) spreadsheet from provided 2D data, applying styles, colors, alignment, and auto-adjusted column widths. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2445 次。

如何安装 Create an Excel (.xlsx) file containing formatted data.?

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

Create an Excel (.xlsx) file containing formatted data. 是免费的吗?

是的,Create an Excel (.xlsx) file containing formatted data. 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Create an Excel (.xlsx) file containing formatted data. 支持哪些平台?

Create an Excel (.xlsx) file containing formatted data. 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Create an Excel (.xlsx) file containing formatted data.?

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

💬 留言讨论