# XLSX

> XLSX is an open-source agent skill for files and documents. Lets your agent create, edit, analyze and convert .xlsx and CSV spreadsheet files. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/melandlabs/openloomi/tree/main/skills/xlsx
- **Repository:** https://github.com/melandlabs/openloomi
- **GitHub stars:** 1,046
- **License:** Apache-2.0
- **Skill name:** xlsx
- **Collection:** https://github.com/melandlabs/openloomi
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an AI coding agent through spreadsheet work where the deliverable or primary input is a tabular file. It covers reading and analyzing existing .xlsx, .xlsm, .csv and .tsv files with pandas, and building or modifying workbooks with openpyxl, including formulas, fonts, number formats and cell colour conventions for financial models.

The workflow stresses live Excel formulas over values computed in Python, so sheets stay updatable when source data changes. After saving a workbook that contains formulas, the agent runs a bundled recalculation script that uses LibreOffice to recalculate every sheet and scan for errors such as #REF! or #DIV/0!, then fixes and reruns until the file is clean. The skill also says existing template conventions should override its defaults.

It expects Python with pandas and openpyxl available, plus LibreOffice for the recalculation step, which the script configures on first run.

## When your agent uses it

> Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/melandlabs/openloomi/tree/HEAD/skills/xlsx)
- [Network calls found in its scripts](https://github.com/melandlabs/openloomi/tree/HEAD/skills/xlsx)
- [License: Apache-2.0](https://github.com/melandlabs/openloomi/tree/HEAD/skills/xlsx)

## Features

- **Spreadsheet read and analysis:** Load workbooks and CSV or TSV files with pandas for previewing, statistics and bulk operations.
- **Formula-driven workbook editing:** Write Excel formulas with openpyxl instead of hardcoded results so models stay dynamic.
- **Formula error recalculation:** A bundled script recalculates all sheets through LibreOffice and reports Excel errors by location.
- **Financial model formatting:** Colour conventions for inputs, formulas and links, plus number, percentage and multiple formats.
- **Template-preserving edits:** Matches existing formatting and conventions when modifying a user's current spreadsheet.
- **Source documentation for inputs:** Guidance for noting the source of hardcoded values and complex assumptions inside the file.

## Good for

- Add calculated columns and totals to an existing spreadsheet
- Clean up a messy CSV with misplaced headers and malformed rows
- Build a financial projection model with assumption cells
- Convert a CSV or TSV file into a formatted .xlsx workbook
- Fix #REF! or #DIV/0! errors in a workbook

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/xlsx` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/xlsx &&
cp -R "$tmp/skills/xlsx" ~/.claude/skills/xlsx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/xlsx` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/xlsx` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/xlsx &&
cp -R "$tmp/skills/xlsx" ~/.agents/skills/xlsx &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/xlsx` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/xlsx` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/xlsx &&
cp -R "$tmp/skills/xlsx" ~/.cursor/skills/xlsx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/xlsx` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/melandlabs/openloomi.git --path skills/xlsx
```

Or copy the folder to `~/.gemini/skills/xlsx` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/xlsx`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/melandlabs/openloomi.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/xlsx &&
cp -R "$tmp/skills/xlsx" ~/.copilot/skills/xlsx &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/xlsx` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/melandlabs/openloomi.git
```

Then copy `openloomi/skills/xlsx` into your agent's skills folder as `xlsx`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need installed?

It assumes Python with pandas and openpyxl, and LibreOffice for recalculating formulas through the bundled scripts/recalc.py script.

### Does XLSX change my existing spreadsheet formatting?

No. When updating a template, the skill tells the agent to match existing format and conventions, which override its default guidelines.

### When does XLSX trigger?

When a spreadsheet file is the primary input or output, such as editing an .xlsx, .csv or .tsv or producing a new spreadsheet. It does not trigger when the main deliverable is a Word document, HTML report, standalone script, database pipeline or Google Sheets API integration.

### How are formulas checked?

After saving, the recalculation script returns JSON with the total formula count and any error locations, and the agent is told to fix errors and recalculate until none remain.

### How do I install XLSX in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/xlsx to use it in all your projects, or to .claude/skills/xlsx in one project.

### Does XLSX run scripts?

Yes. It runs Python scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use XLSX?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to XLSX?

The closest alternatives to XLSX are XLSX, Famou data analysis, Convert excel to md, DOCX and Skill creator.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [XLSX](https://ai-powered.com/skills/xlsx): XLSX is a free agent skill for files and documents.
- [Famou data analysis](https://ai-powered.com/skills/famou-data-analysis): Famou data analysis is an open-source agent skill for analytics and data.
- [Convert excel to md](https://ai-powered.com/skills/convert-excel-to-md): Convert excel to md is an open-source agent skill for files and documents.
- [DOCX](https://ai-powered.com/skills/docx-melandlabs): DOCX is an open-source agent skill for files and documents.
- [Skill creator](https://ai-powered.com/skills/skill-creator): Skill creator is a free agent skill for ai models and llm tooling.
- [Tabular cleanup](https://ai-powered.com/skills/tabular-cleanup): Tabular cleanup is an open-source agent skill for files and documents.
- [PPTX](https://ai-powered.com/skills/pptx-melandlabs): PPTX is an open-source agent skill for files and documents.
- [Skill writer](https://ai-powered.com/skills/skill-writer): Skill writer is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/xlsx-melandlabs
