workbook-editor

workbook-editor is a skill for Claude Code, Codex from Firstp1ck/pi-coding-agent-forge. It costs 88 tokens per session (1,222 once invoked), scanned A, original, MIT.

A controlled workflow for reading, editing, previewing, and checking Excel workbooks such as .xlsx and .xlsm files.

In plain words
What is it for?
Inspecting sheets, planning edits, making changes with conflict checks, validating the result, comparing it with the original, and rendering affected areas for review.
Why use it?
It helps prevent accidental changes to formulas, formatting, macros, or other protected workbook content.

Skill for Claude CodeCodex

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

Good fit Inspecting sheets, planning edits, making changes with conflict checks, validating the result, comparing it with the original, and rendering affected areas for review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/firstp1ck/pi-coding-agent-forge/workbook-editor
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 Firstp1ck/pi-coding-agent-forge --skill workbook-editor
Clone the repo
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge

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 workbook-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/workbook-editor/github.svg)](https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/workbook-editor)
Your own site
<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/workbook-editor"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/workbook-editor/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 workbook-editor

Your own site · 80×15
<a href="https://agentmods.dev/skills/firstp1ck/pi-coding-agent-forge/workbook-editor"><img src="https://agentmods.dev/badge/skills/firstp1ck/pi-coding-agent-forge/workbook-editor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,222 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00088 $0.01222
Opus 5.5 $0.00035 $0.00489
Sonnet 5.5 $0.00018 $0.00244
Haiku 4.5 $0.00009 $0.00122

Measured 1mo ago against content hash f45c0f751aad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workbook-editor 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 1mo 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.

pi-extension-workbook/skills/workbook-editor/SKILL.md · 66 lines

How it starts

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

Workbook Editor

Use the workbook_* tools for semantic and visual workbook work and the two workbook_vba_* tools only for VBA modules. Treat every workbook as potentially hostile active content.

Required workflow

  1. Call workbook_inspect before editing an unfamiliar workbook. Review validation warnings, external relationships, protected parts, and engine capabilities.
  2. Call workbook_read for the exact sheet/range. Call workbook_render whenever layout, fills, borders, dimensions, or visual comparison matter.
  3. Build an ordered operation list and call workbook_edit with dryRun: true. Save the returned sourceSha256.
  4. Commit to a new output path by default. Set dryRun: false and pass the exact expectedSha256 from the current inspection/dry run.
  5. Call workbook_validate on the result, using the source as baselinePath for .xlsm or active-content work.
  6. Call workbook_diff and render the affected range. Report the output and any recovery path.

Operation intent

  • Use setValue for literal text, numbers, booleans, or null. Leading =, +, -, and @ remain text when passed as strings.
  • Use setFormula only for formulas. External-workbook, URL, DDE, WEBSERVICE, FILTERXML, and RTD constructs are rejected.
  • Use setStyle for explicit font, fill, border, alignment, number-format, or cell-protection patches.
  • Use copyRange for same-sized range templates; set optional sourceSheet for cross-sheet copies. Use copyFormat when only styles should be reproduced and fillRange to translate ordinary relative A1 formulas from one source cell.
  • Shared, array, data-table, and spill formula regions are preservation-only. Value/content edits that intersect them fail closed; inspect formula inventory before restructuring formula-heavy sheets.
  • Use clear, dimensions, merge, and unmerge operations only after reading existing merges and layout.

Safety rules

  • Never execute macros. Preservation does not imply that VBA was reviewed, trusted, or safe.
  • Never change VBA through workbook_edit; it preserves VBA byte-for-byte. Use workbook_vba_edit only when the user asked for a macro change.
  • Macro execution is intentionally absent from every tool.
  • Never refresh external links, Power Query, DDE, or data connections.
  • With workbook_edit, never silently convert .xlsm and .xlsx; its output extension must match the source. workbook_vba_edit always writes a new .xlsm, including from an .xlsx source.
  • Never omit expectedSha256 on a commit or retry a conflict using an old hash.
  • Never overwrite in place unless the user explicitly asked. In-place writes require overwrite: true and return a recovery copy.
  • Do not suggest lossy fallback libraries when the engine rejects an unsupported operation.
  • Keep ranges focused. Full structured results are stored in temporary artifacts when model-visible output is truncated.

Read the full file on GitHub · 66 lines

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. 1mo ago Changed · +14 lines · +8 tokens per session f45c0f751aad
  2. 3mo ago First seen · 52 lines · 80 tokens per session scan A 3c520173ab18

Subscribe to this mod's changes

workbook-editor is a skill published in the GitHub repository Firstp1ck/pi-coding-agent-forge (96 stars, last pushed yesterday), licensed MIT. It adds 88 tokens to every session and 1,222 once invoked, about $0.0004 per session on Opus 5.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-30.

Related

workbook-editor compared with skills from other repositories

workbook-editor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workbook-editorFirstp1ck/pi-coding-agent-forgeSkill96yesterdayMITA88Claude Code, Codex
documentssixb-ai/sixbSkill139yesterdayMITA24Claude Code, Codex
spreadsheetsCloudgeni-ai/opengeniSkill229yesterdayApache-2.0A59Codex
google-sheetsOpen-Curiosity/gini-agentSkill2.4k4mo agoMITA21Claude Code, Codex
editable-tablercarmo/piclaw-addonsSkill25yesterdayMITA28Claude Code, Codex
csv-processorChronoAIProject/OrnnSkill2012d agoApache-2.0A79Claude Code, Codex
xlsxsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A94Claude Code