← 返回 Skills 市场
openlark

Image To Excel

作者 OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
46
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install image-to-excel
功能描述
Extract table content from images, retrieve row/column data, correct recognition errors, and generate a well-formatted Excel file.
使用说明 (SKILL.md)

Image to Excel

Extract tables from images and generate .xlsx files.

Use Cases

Use when users upload images containing tables and request "convert to table", "extract table", or "generate Excel".

Workflow

1. Analyze Image

Use the image tool to load the user-uploaded image, with a prompt requesting row-by-row, column-by-column table data extraction:

Extract all table data from the image row by row and column by column, returning it as a JSON array.
Format: [[row1col1, row1col2, ...], [row2col1, row2col2, ...], ...]
Notes:
- The first row may be a header; keep it as-is
- Split merged cells into individual cells and fill with the same value
- Preserve original formatting for amounts and numbers
- Use empty string "" for missing cells

2. Data Validation & Correction

After receiving the JSON data from the image model, check and correct:

  • Row/column count consistency (fill in missing cells)
  • Number format correctness (remove extra spaces, unify decimal points)
  • Chinese character recognition accuracy (fix obvious typos)
  • Header completeness (infer missing headers from content)

Store the corrected data in the variable rows.

3. Write to Excel

Call the generation script with the corrected data:

python3 scripts/gen_excel.py \x3Coutput_path> '\x3Cjson_data>'
  • output_path: Output path, e.g., /root/.openclaw/workspace/table_extracted.xlsx
  • json_data: Corrected 2D array as a JSON string

4. Output Results

Inform the user of the file save location and display a preview of the first 5 rows for confirmation.

安全使用建议
Review before installing. This skill appears purpose-aligned for converting extracted table data into Excel, but it should be used only in an environment where runtime pip installs are acceptable. Prefer preinstalling or pinning openpyxl yourself, and choose a non-existing or disposable output filename to avoid accidental overwrite.
能力评估
Purpose & Capability
The artifacts coherently implement image/table extraction guidance and local .xlsx generation; no credential access, exfiltration, destructive logic, or unrelated behavior was found.
Instruction Scope
The SKILL.md discloses running a Python script with an output path and JSON table data, but it does not clearly document dependency installation or overwrite behavior.
Install Mechanism
scripts/gen_excel.py automatically runs pip install openpyxl if the dependency is missing, fetching and executing third-party code at runtime without a pinned version or manifest-declared dependency.
Credentials
Local image-to-Excel conversion reasonably needs file output and a spreadsheet library, but runtime package installation expands the environment requirements beyond the stated workflow.
Persistence & Privilege
The script persists an .xlsx file at the provided output path and may overwrite an existing file; no background persistence, privilege escalation, or long-running worker behavior was found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install image-to-excel
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /image-to-excel 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the image-to-excel skill: - Extracts table data from images row by row and column by column. - Automatically corrects recognition errors, missing headers, and inconsistent cell counts. - Generates well-formatted Excel (.xlsx) files from the extracted data. - Displays a preview of the first 5 extracted rows and provides the file save location.
元数据
Slug image-to-excel
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Image To Excel 是什么?

Extract table content from images, retrieve row/column data, correct recognition errors, and generate a well-formatted Excel file. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。

如何安装 Image To Excel?

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

Image To Excel 是免费的吗?

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

Image To Excel 支持哪些平台?

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

谁开发了 Image To Excel?

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

💬 留言讨论