spreadsheet

A skill for creating, editing, analyzing, and transforming spreadsheets and CSV or TSV files while preserving their structure and formulas when needed.

In plain words
What is it for?
Use it to inspect spreadsheet shape, clean or transform data, calculate summaries, preserve or replace formulas as requested, and produce structured exports.
Why use it?
It makes tabular changes repeatable and auditable instead of relying on unclear assumptions about headers, types, delimiters, or calculations.

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/openknots/okcode/spreadsheet
Any agent
npx skills add OpenKnots/okcode --skill spreadsheet
Clone the repo
git clone --depth 1 https://github.com/OpenKnots/okcode

Made for: Claude Code, Codex.

Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 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.00011 $0.00441
Opus 5 $0.00005 $0.00220
Sonnet 5 $0.00002 $0.00088
Haiku 4.5 $0.00001 $0.00044

Measured yesterday against content hash 015e5cbbe029, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spreadsheet 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 yesterday.

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.

packages/shared/src/skills-catalog/recommended/spreadsheet/SKILL.md · 50 lines

What it actually says

Spreadsheet Skill

When to use this skill

  • Use when the task involves spreadsheets, CSV/TSV files, tabular data cleanup, or workbook analysis.
  • Use when the user needs formulas, summaries, transformations, or structured exports from spreadsheet data.
  • Use when the task depends on preserving headers, column types, sheet boundaries, or formulas.
  • Use when bulk edits must remain auditable and reversible.

What this skill does

  • Normalizes spreadsheet-like tasks into safe, repeatable tabular workflows.
  • Treats headers, row counts, formulas, and delimiters as explicit assumptions rather than guessing silently.
  • Prefers scripted transformations that can be reviewed and rerun.
  • Helps separate data cleaning, calculation, and presentation concerns.

Implementation

  • First identify the source format: CSV, TSV, XLSX, multiple sheets, exported report, or ad hoc table.
  • Confirm the shape of the data before editing: headers, unique keys, empty rows, encoding, delimiters, and date formats.
  • If formulas are involved, clarify whether they should be preserved, recalculated, or replaced with values.
  • For bulk updates, favor scriptable transforms that produce a clear before/after story.
  • Preserve source data before rewrites, especially when changing delimiters, formulas, or workbook structure.
  • If workbook layout matters, call out any gap between plain-text data processing and full spreadsheet fidelity.
  • Summarize row-level and column-level impacts after non-trivial edits.

Best practices

  • Never assume the first row is a header without checking.
  • Treat date, currency, and numeric coercion as high-risk transformations.
  • Preserve formulas unless the user explicitly wants static values.
  • Prefer small, auditable transformations over opaque bulk rewrites.
  • State when workbook-only features such as formatting, filters, merged cells, or charts may not be preserved.
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. yesterday First seen · 50 lines · 11 tokens per session scan A 015e5cbbe029

Subscribe to this mod's changes

spreadsheet is a skill published in the GitHub repository OpenKnots/okcode (24 stars, last pushed 3mo ago), licensed MIT. It adds 11 tokens to every session and 441 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-30.