xlsx-workbooks

xlsx-workbooks is a skill for Claude Code, Codex from alex-alecu/garden-desk. It costs 23 tokens per session (388 once invoked), scanned A, original, Apache-2.0.

A guide for working with XLSX Excel workbooks and spreadsheet deliverables. It covers reading values, editing sheets, creating workbooks, and checking saved output.

In plain words
What is it for?
Use it to read, edit, or create Excel workbooks, including adding sheets and checking their rows.
Why use it?
It avoids common spreadsheet-handling errors, such as missing calculated values, wrong header rows, or assumptions about row length. Reopening the saved workbook verifies the result.

Skill for Claude CodeCodex

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

Good fit Use it to read, edit, or create Excel workbooks, including adding sheets and checking their rows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alex-alecu/garden-desk/xlsx-workbooks
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 alex-alecu/garden-desk --skill xlsx-workbooks
Clone the repo
git clone --depth 1 https://github.com/alex-alecu/garden-desk

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-workbooks

README.md
[![agentmods](https://agentmods.dev/badge/skills/alex-alecu/garden-desk/xlsx-workbooks/github.svg)](https://agentmods.dev/skills/alex-alecu/garden-desk/xlsx-workbooks)
Your own site
<a href="https://agentmods.dev/skills/alex-alecu/garden-desk/xlsx-workbooks"><img src="https://agentmods.dev/badge/skills/alex-alecu/garden-desk/xlsx-workbooks/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 xlsx-workbooks

Your own site · 80×15
<a href="https://agentmods.dev/skills/alex-alecu/garden-desk/xlsx-workbooks"><img src="https://agentmods.dev/badge/skills/alex-alecu/garden-desk/xlsx-workbooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00023 $0.00388
Opus 5 $0.00012 $0.00194
Sonnet 5 $0.00005 $0.00078
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade A, and why

xlsx-workbooks 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 3d 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.

prompts/skills/xlsx-workbooks/SKILL.md · 48 lines

What it actually says

Library

Use the installed openpyxl through python. Do not install packages, and do not use pandas.

Find The Files

Search /source recursively for files whose name ends in .xlsx, case-insensitive.

Recipe

Read with data_only=True so formulas resolve to their last calculated values. Never pass read_only=True; some exports return empty cells under it.

from openpyxl import load_workbook
workbook = load_workbook(path, data_only=True)
for row in workbook["Sheet1"].iter_rows(values_only=True):
    ...

Write a new sheet with Workbook(), or open an existing file with data_only=False to edit and resave it.

from openpyxl import Workbook

workbook = Workbook()
workbook.active.append(["column_a", "column_b"])
workbook.save(path)

Verify

Reopen every workbook you write and assert its row count matches what you intended to write. Print the count as evidence before you report the deliverable done.

Check reported totals against the source rows and calculation rules. Use those rows to verify names and descriptions in the final answer. A matching row count does not verify the values.

Gotchas

  • Check len(row) before indexing into it; a short row raises IndexError.
  • Find the real header row by its content; it is often below a preamble of title or note rows, not row 1.
  • Catch the specific error you expect, never a bare except; report which file and row failed.
  • Cite results by path, sheet name, and row number.
  • A large workbook takes real time to load; that is normal, not a failure.
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. 3d ago Changed · +2 lines 3601b9a1da88
  2. 12d ago First seen · 46 lines · 23 tokens per session scan A 897f416aa33d

Subscribe to this mod's changes

xlsx-workbooks is a skill published in the GitHub repository alex-alecu/garden-desk (6 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 388 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.