← Back to Skills Marketplace
sereinzhi

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

by sereinZhi · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
2445
Downloads
0
Stars
12
Active Installs
1
Versions
Install in OpenClaw
/install generate-excel
Description
Create a formatted Excel (.xlsx) spreadsheet from provided 2D data, applying styles, colors, alignment, and auto-adjusted column widths.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install generate-excel
  3. After installation, invoke the skill by name or use /generate-excel
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug generate-excel
Version 1.0.0
License MIT-0
All-time Installs 12
Active Installs 12
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 2445 downloads so far.

How do I install Create an Excel (.xlsx) file containing formatted data.?

Run "/install generate-excel" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Create an Excel (.xlsx) file containing formatted data. free?

Yes, Create an Excel (.xlsx) file containing formatted data. is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Create an Excel (.xlsx) file containing formatted data. support?

Create an Excel (.xlsx) file containing formatted data. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Create an Excel (.xlsx) file containing formatted data.?

It is built and maintained by sereinZhi (@sereinzhi); the current version is v1.0.0.

💬 Comments