xlsx-offline

xlsx-offline is a skill for Claude Code, Codex from okwinds/miscellany. It costs 53 tokens per session (2,755 once invoked), scanned A, a copy of xlsx, MIT.

Instructions for creating and editing Excel .xlsx spreadsheets offline, including checking that formulas calculate correctly. It also covers preserving an existing workbook's formatting and conventions.

In plain words
What is it for?
Use it to create or modify workbooks, recalculate formulas, scan for errors such as #REF! or #DIV/0!, and apply documented formatting rules to financial models when no existing template takes priority.
Why use it?
It helps prevent broken spreadsheet formulas and unwanted changes to established templates.

Skill for Claude CodeCodex

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

Good fit Use it to create or modify workbooks, recalculate formulas, scan for errors such as #REF! or #DIV/0!, and apply documented formatting rules to financial models when no existing template takes priority.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/okwinds/miscellany/xlsx-offline"><img src="https://agentmods.dev/badge/skills/okwinds/miscellany/xlsx-offline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,755 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 86% copy Near-identical to another mod 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.00053 $0.02755
Opus 5 $0.00026 $0.01378
Sonnet 5 $0.00011 $0.00551
Haiku 4.5 $0.00005 $0.00276

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

Security

Grade A, and why

xlsx-offline 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (recalc.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.

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.

Origin

This is a copy

86% identical to xlsx — 56 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agent/skills/xlsx-offline/SKILL.md · 306 lines

How it starts

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

Requirements for Outputs

All Excel files

Zero Formula Errors

  • Every Excel model MUST be delivered with ZERO formula errors (#REF!, #DIV/0!, #VALUE!, #N/A, #NAME?)

Preserve Existing Templates (when updating templates)

  • Study and EXACTLY match existing format, style, and conventions when modifying files
  • Never impose standardized formatting on files with established patterns
  • Existing template conventions ALWAYS override these guidelines

Financial models

Color Coding Standards

Unless otherwise stated by the user or existing template

Industry-Standard Color Conventions
  • Blue text (RGB: 0,0,255): Hardcoded inputs, and numbers users will change for scenarios
  • Black text (RGB: 0,0,0): ALL formulas and calculations
  • Green text (RGB: 0,128,0): Links pulling from other worksheets within same workbook
  • Red text (RGB: 255,0,0): External links to other files
  • Yellow background (RGB: 255,255,0): Key assumptions needing attention or cells that need to be updated

Number Formatting Standards

Required Format Rules
  • Years: Format as text strings (e.g., "2024" not "2,024")
  • Currency: Use $#,##0 format; ALWAYS specify units in headers ("Revenue ($mm)")
  • Zeros: Use number formatting to make all zeros "-", including percentages (e.g., "$#,##0;($#,##0);-")
  • Percentages: Default to 0.0% format (one decimal)
  • Multiples: Format as 0.0x for valuation multiples (EV/EBITDA, P/E)
  • Negative numbers: Use parentheses (123) not minus -123

Formula Construction Rules

Assumptions Placement
  • Place ALL assumptions (growth rates, margins, multiples, etc.) in separate assumption cells
  • Use cell references instead of hardcoded values in formulas
  • Example: Use =B5*(1+$B$6) instead of =B5*1.05
Formula Error Prevention
  • Verify all cell references are correct
  • Check for off-by-one errors in ranges
  • Ensure consistent formulas across all projection periods
  • Test with edge cases (zero values, negative numbers)
  • Verify no unintended circular references

Read the full file on GitHub · 306 lines

Files

What ships with it

3 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. 9d ago First seen · 306 lines · 53 tokens per session scan A 3e1ae074ff3b

Subscribe to this mod's changes

xlsx-offline is a skill published in the GitHub repository okwinds/miscellany (50 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 2,755 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to xlsx, differing in 56 lines, and is treated as a copy.