Skip to content
Skillpedia
PDF, Word & slides12k · #11581

xlsx

What it does

This skill helps the agent work with Excel spreadsheets and CSV data files. It is for anyone who needs a workbook built, cleaned up or converted.

When to use it

  • ✓When you want a new Excel workbook made from a list or other data.
  • ✓When you want an existing spreadsheet's formulas, formatting or rows edited.
  • ✓When you have messy CSV data and need it turned into a clean spreadsheet.

Skill link

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/xlsx/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/xlsx/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Clean up this CSV of customer orders and turn it into an Excel file with a total column.”

5 new skills a week. 1 minute to read.

How it works

The agent inspects the workbook first, then writes the changes into a new file using helper scripts. It can recalculate formulas through LibreOffice when that tool is available.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Excel workbooks

Use this Skill for .xlsx and CSV creation, analysis, editing, restructuring, formula work, and export.

Start here

Call skill_view for this Skill and use its baseDirectory; helpers live under <baseDirectory>/scripts.

Default to a new output file. Inspect workbook sheets, dimensions, formulas, merged cells, names, tables, charts, validations, hidden content, and external links before modifying an existing file.

Core dependency:

python3 -m pip install openpyxl

Formula recalculation and visual rendering may require LibreOffice. Check first and do not silently install dependencies.

Helpers

  • xlsx_read.py: inspect workbook values, formulas, styles, structure, and metadata.
  • xlsx_create.py: create a workbook from structured JSON.
  • xlsx_edit.py: perform targeted cell, range, formula, style, row, column, and sheet edits.
  • xlsx_restructure.py: split, merge, normalize, pivot, or reshape tabular data.
  • xlsx_recalc.py: recalculate through LibreOffice when available.
  • csv_to_xlsx.py and xlsx_to_csv.py: convert formats.

Run helpers through terminal_exec with python3 and an argument array. Use --help for exact options.

python3 <baseDirectory>/scripts/xlsx_read.py input.xlsx --json
python3 <baseDirectory>/scripts/xlsx_create.py spec.json -o output.xlsx
python3 <baseDirectory>/scripts/xlsx_edit.py input.xlsx edits.json -o output.xlsx
python3 <baseDirectory>/scripts/xlsx_recalc.py output.xlsx

For non-trivial data reshaping, read references/restructuring.md through skill_view.

Workflow

  1. Inspect the workbook and identify the authoritative sheets, headers, formulas, and units.
  2. Validate source data types and row counts before transforming data.
  3. Apply the smallest requested edit into a new workbook.
  4. Re-read formulas and values. Recalculate when the output depends on formula results.
  5. For visible formatting or charts, export relevant sheets to PDF with LibreOffice, render the pages with the bundled pdf Skill, and inspect them using view_image.
  6. Return the absolute path plus any assumptions about formulas, locale, dates, or missing recalculation.

Data integrity

  • Never invent missing values. Mark unknown data explicitly.
  • Preserve formulas unless the user asks to replace them with values.
  • Treat hidden sheets, filters, named ranges, validations, macros, and external links as meaningful.
  • .xlsx sheet protection is not encryption; do not represent it as secure access control.
  • Do not execute workbook macros or refresh untrusted external data sources.
FAQ

Will it change my original spreadsheet?

No. It writes a new output file by default and edits the original only when you ask.

Does it handle formulas?

Yes. It can read, edit and recalculate formulas, where LibreOffice is available.

Can it turn a spreadsheet into CSV?

Yes. It converts between Excel and CSV formats in both directions.

Details

Original description by the author

Create, inspect, edit, restructure, recalculate, convert, and visually verify Excel .xlsx workbooks and CSV data.

repo: EKKOLearnAI/ekko-studio

Popularity

GitHub stars
12k
Ranking position
#11581
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills