office-xlsx

office-xlsx is a skill for Claude Code, Codex from open-octo/octo-agent. It costs 77 tokens per session (1,747 once invoked), scanned C, original, MIT.

A spreadsheet editing tool for Excel .xlsx files. It can inspect workbook structure and change cells, formulas, formatting, sheets, charts, merged cells, and data-validation rules.

In plain words
What is it for?
Use it to create, read, or modify Excel workbooks, including updating data, applying styles, adding sheets and charts, merging cells, and setting validation rules.
Why use it?
It removes the need to edit Excel files by hand or write spreadsheet-processing code from scratch. You can inspect an existing workbook before making controlled changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create, read, or modify Excel workbooks, including updating data, applying styles, adding sheets and charts, merging cells, and setting validation rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-octo/octo-agent/office-xlsx
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.

Any agent
npx skills add open-octo/octo-agent --skill office-xlsx
Clone the repo
git clone --depth 1 https://github.com/open-octo/octo-agent

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 office-xlsx

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-octo/octo-agent/office-xlsx/github.svg)](https://agentmods.dev/skills/open-octo/octo-agent/office-xlsx)
Your own site
<a href="https://agentmods.dev/skills/open-octo/octo-agent/office-xlsx"><img src="https://agentmods.dev/badge/skills/open-octo/octo-agent/office-xlsx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for office-xlsx

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-octo/octo-agent/office-xlsx"><img src="https://agentmods.dev/badge/skills/open-octo/octo-agent/office-xlsx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,747 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00077 $0.01747
Opus 5 $0.00039 $0.00873
Sonnet 5 $0.00015 $0.00349
Haiku 4.5 $0.00008 $0.00175

Measured 11d ago against content hash 9fea6c6ec9d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

office-xlsx scanned grade C with 2 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 11d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/xlsx_edit.py, scripts/xlsx_inspect.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- **`uv` absent** — do not assume `python3`/`pip` are available or silently install anything. Tell the user what's missing (`uv`, installable via `curl -LsSf https://astral.sh/uv/install.sh | sh` on macOS/Linux or the eq

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **`uv` absent** — do not assume `python3`/`pip` are available or silently install anything. Tell the user what's missing (`uv`, installable via `curl -LsSf https://astral.sh/uv/install.sh | sh` on macOS/Linux or the eq
internal/skills/defaults/office-xlsx/SKILL.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

XLSX Manipulation

Two scripts drive this skill, both built on openpyxl:

  • scripts/xlsx_inspect.py — read a workbook and print its structure (sheets, dimensions, header row, sample rows, formulas, merged cells) as JSON. Use this first on any existing file so you know what you're working with before editing it.
  • scripts/xlsx_edit.py — create a new workbook or edit an existing one by applying a JSON list of operations (set cell values/formulas, styling, merges, column widths, new sheets, charts, data validation).

Both scripts are self-contained: they declare their own dependency (openpyxl) via PEP 723 inline metadata, so uv run installs it into an ephemeral environment automatically — no project venv, no pip install step, nothing left behind on the machine.

Preflight: check for uv

Look at this session's toolchain note (or run uv --version) before the first script call:

  • uv present — run scripts directly: uv run <skill-dir>/scripts/xlsx_inspect.py <args>. Dependency install is automatic and silent; don't run a separate pip install openpyxl step, it isn't needed and may not even land in the environment uv run actually uses.
  • uv absent — do not assume python3/pip are available or silently install anything. Tell the user what's missing (uv, installable via curl -LsSf https://astral.sh/uv/install.sh | sh on macOS/Linux or the equivalent on Windows — see https://docs.astral.sh/uv/getting-started/installation/) and wait for their go-ahead before installing. If they'd rather not install uv, the fallback is a manual python3 -m venv/pip install openpyxl and running the scripts with python3 instead of uv run — but only after checking with the user, and only if python3/pip are themselves confirmed present.

Note: <skill-dir>/scripts/... paths are relative to this skill's own directory (its absolute path is in the location header injected when this skill is loaded) — they are not relative to the user's working directory. There is no persistent working directory across terminal calls; pass absolute paths for --input/--output/--ops.

Read the full file on GitHub · 78 lines

Files

What ships with it

4 files 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. 11d ago First seen · 78 lines · 77 tokens per session scan C 9fea6c6ec9d7

Subscribe to this mod's changes

office-xlsx is a skill published in the GitHub repository open-octo/octo-agent (97 stars, last pushed yesterday), licensed MIT. It adds 77 tokens to every session and 1,747 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ha-data-analytics

A local-first data-analysis and reporting skill for CSV and spreadsheet files. It produces decision-ready analyses and shareable offline reports while separating facts, calculations, interpretations, and recommendations.

shiwenwen/hope-agent · 106 tokens

office-xlsx

Use when the user asks to create, inspect, verify, analyze, format, or deliver Excel .xlsx workbooks, Google Sheets-targeted spreadsheet artifacts, trackers, budgets, models, tables, dashboards, formulas, CSV/TSV-to-XLSX conversions, or spreadsheet-ready data packs.

shiwenwen/hope-agent · 64 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

officecli-xlsx

Use this skill any time a .xlsx file is involved -- as input, output, or both. This includes: creating spreadsheets, financial models, dashboards, or trackers; reading, parsing, or extracting data from any .xlsx file; editing, modifying, or updating existing workbooks; working with formulas, charts, pivot tables, or…

iOfficeAI/OfficeCLI · 119 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens