← Back to Skills Marketplace
openlark

Image To Excel

by OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
46
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install image-to-excel
Description
Extract table content from images, retrieve row/column data, correct recognition errors, and generate a well-formatted Excel file.
README (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.

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install image-to-excel
  3. After installation, invoke the skill by name or use /image-to-excel
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug image-to-excel
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Image To Excel?

Extract table content from images, retrieve row/column data, correct recognition errors, and generate a well-formatted Excel file. It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install Image To Excel?

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

Is Image To Excel free?

Yes, Image To Excel is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Image To Excel support?

Image To Excel is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Image To Excel?

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

💬 Comments