xlsx-edit

xlsx-edit is a skill for Claude Code, Codex from matingai/crab. It costs 28 tokens per session (446 once invoked), scanned A, original, MIT.

A spreadsheet editing assistant for Microsoft Excel workbooks in .xlsx format.

In plain words
What is it for?
Use it to inspect, create, clean, rename, fill, clear, or append data in workbooks, including repeated transformations across files.
Why use it?
It helps inspect and change spreadsheet data while preserving important workbook details when needed, such as formulas, formatting, merged cells, and multiple sheets.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/matingai/crab/xlsx-edit
Any agent
npx skills add matingai/crab --skill xlsx-edit
Clone the repo
git clone --depth 1 https://github.com/matingai/crab

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xlsx-edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/matingai/crab/xlsx-edit.svg)](https://agentmods.dev/skills/matingai/crab/xlsx-edit)
Your own site
<a href="https://agentmods.dev/skills/matingai/crab/xlsx-edit"><img src="https://agentmods.dev/badge/skills/matingai/crab/xlsx-edit.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.00446
Opus 5 $0.00014 $0.00223
Sonnet 5 $0.00006 $0.00089
Haiku 4.5 $0.00003 $0.00045

Measured 4d ago against content hash c9db87d9dabc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

xlsx-edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

bundled-skills/office/xlsx-edit/SKILL.md · 58 lines

What it actually says

XLSX Edit

Use this skill when the user wants to inspect, create, clean, or modify spreadsheet-style data in .xlsx files.

Default Workflow

  1. Call office_inspect to confirm the file is .xlsx.
  2. Call office_preview for a compact grid snapshot.
  3. Call office_extract_ir if you need explicit sheet names, dimensions, and cell values.
  4. Prefer office_apply_ops for deterministic data edits: add_sheet, remove_sheet, rename_sheet, set_cell, clear_cell, set_range, append_rows, clear_range.
  5. Use office_create for simple new workbooks.
  6. Save to a new output path unless overwrite is explicitly intended.

Escalate To A Python Script

Prefer write_file + execute_code with openpyxl when the task depends on workbook fidelity rather than plain data:

  • preserving an existing template
  • styles, fonts, fills, borders, widths, freezes, merges
  • formulas, references, and multi-sheet models
  • CSV or TSV ingestion before export
  • repeated transformations across many sheets or files

When using a script:

  • work on a copy of the workbook, not the only original
  • use Excel formulas instead of hardcoding computed values
  • preserve sheet names and structure unless the user asked to change them
  • print a concise summary of created files, changed sheets, and key ranges

See XLSX.md for a script pattern.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 58 lines · 28 tokens per session scan A c9db87d9dabc

Subscribe to this mod's changes

xlsx-edit is a skill published in the GitHub repository matingai/crab (4 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 446 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories