# spreadsheet

A skill for spreadsheet tasks: build workbooks with formulas, edit existing files, compute metrics and add charts. Useful when formulas and styling must survive the edit.

- skill · `type=skill` · Claude Code · 214 installs
- Author: openai
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/document-processing/spreadsheet
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/spreadsheet

## What it does

The skill gives the agent a fixed routine for tabular work: pin down the file type and the goal first, then pick the tool. Editing `.xlsx` goes through `openpyxl`; analysis and `.csv`/`.tsv` files go through `pandas`. Layout matters? The agent renders the sheet to PNG so someone can look at it.

Formula rules are spelled out. Derived values stay as formulas, not pasted numbers, and cell references replace hardcoded constants. Error values such as `#REF!` and `#DIV/0!` get checked. Note the catch: `openpyxl` never evaluates formulas, so results appear only when the file opens in Excel or Sheets.

For visual review you need LibreOffice (`soffice`) and Poppler (`pdftoppm`) — without them rendering does not happen. Packages install with `uv pip install openpyxl pandas`, and `matplotlib` is listed for chart-heavy work.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill document-processing/spreadsheet
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill spreadsheet -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/spreadsheet/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/spreadsheet/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/spreadsheet/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/spreadsheet/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates spreadsheet
```

2. **Manually: put the files in place**
- File: `.github/skills/spreadsheet/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/document-processing/spreadsheet
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/spreadsheet/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/document-processing/spreadsheet

## When to use it
- build a workbook with formulas and formatting from scratch
- edit an existing `.xlsx` without breaking references
- aggregate a CSV and write the result back to a sheet
- attach charts and tidy up number formats
- render a sheet to catch layout problems before sending

## Example prompts
- Build `report.xlsx` with monthly revenue, totals as formulas, and a styled header row
- Analyze `sales.csv`, sum revenue by region, and write the summary into `summary.xlsx`
- Add a chart for the revenue column on the `KPI` sheet and check that no text overflows its cells

## Similar
- [pptx](https://affpapa.org/en/nevibecode/skills/pptx.md) — skill · 241433 installs
- [pdf](https://affpapa.org/en/nevibecode/skills/pdf.md) — skill · 216041 installs
- [docx](https://affpapa.org/en/nevibecode/skills/docx.md) — skill · 206304 installs
- [xlsx](https://affpapa.org/en/nevibecode/skills/xlsx.md) — skill · 187223 installs
- [brand-guidelines](https://affpapa.org/en/nevibecode/skills/brand-guidelines.md) — skill · 109043 installs
- [theme-factory](https://affpapa.org/en/nevibecode/skills/theme-factory.md) — skill · 94921 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 495 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
