know-what-a-change-costs

know-what-a-change-costs is a skill for Claude Code from everywan-dev/claude-code-engineering. It costs 52 tokens per session (1,065 once invoked), scanned A, original, Apache-2.0.

A method for estimating the repeated cost of a job, query, agent loop, or pipeline before shipping a change. It multiplies how often something runs by the cost of one run.

In plain words
What is it for?
Use it when comparing implementation options, adding model calls or database queries, or checking the likely token, request, compute, or data-transfer cost of a change.
Why use it?
It reveals small recurring expenses that can grow through retries, frequent requests, commits, or scheduled runs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-code-engineering plugin — 53 skills, 1 command, 8 agents, 1 hook shipped together

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/everywan-dev/claude-code-engineering/know-what-a-change-costs
Any agent
npx skills add everywan-dev/claude-code-engineering --skill know-what-a-change-costs
Clone the repo
git clone --depth 1 https://github.com/everywan-dev/claude-code-engineering

Made for: Claude Code.

Or install claude-code-engineering, the plugin that ships this one along with the rest of its 53 skills, 1 command, 8 agents, 1 hook.

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 know-what-a-change-costs

README.md
[![agentmods](https://agentmods.dev/badge/skills/everywan-dev/claude-code-engineering/know-what-a-change-costs.svg)](https://agentmods.dev/skills/everywan-dev/claude-code-engineering/know-what-a-change-costs)
Your own site
<a href="https://agentmods.dev/skills/everywan-dev/claude-code-engineering/know-what-a-change-costs"><img src="https://agentmods.dev/badge/skills/everywan-dev/claude-code-engineering/know-what-a-change-costs.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,065 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.1 $0.00052 $0.01065
Opus 5 $0.00026 $0.00532
Sonnet 5 $0.00010 $0.00213
Haiku 4.5 $0.00005 $0.00106

Measured 6d ago against content hash 98768bd8ba13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

know-what-a-change-costs 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 6d 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.

skills/know-what-a-change-costs/SKILL.md · 99 lines

How it starts

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

Know what a change costs

A change that runs once has a price you can ignore. A change that runs on every request, every commit or every hour has a price that compounds, and nobody notices until the invoice or the quota arrives.

The failure is rarely a big expensive decision. It is a small one multiplied by a frequency nobody wrote down.

🔴 Cost is a property of the change, and it is knowable before you ship. Frequency × unit cost. Both numbers are usually available in under a minute, and almost nobody looks them up.

When to use this

  • Adding anything that runs on a schedule, per request, or per commit
  • Putting a model call inside a loop
  • Adding a query to a hot path
  • Choosing between a fast/expensive and a slow/cheap option
  • Anything with retries — the interesting number is the retry cost
  • After a bill or a quota surprises you

The procedure

1. Write down the frequency, explicitly. Per commit, per user action, per hour, per item in a list that grows. This is the number that gets skipped, and it is the one that decides everything.

2. Multiply by the unit cost. Tokens, queries, requests, seconds of compute, gigabytes egressed. An order of magnitude is enough; you are looking for surprises, not accounting.

3. Then compute the failure cost, which is the one that bites. Retries, back-off loops, a job that reruns because the previous one did not record success, a queue that reprocesses from the start. The expensive scenario is almost never the happy path. Ask what this costs on the worst day, not the average one.

4. Check the ceiling as well as the price. Quotas, rate limits and weekly caps fail differently from money: they stop the work. A cost you can pay is a budget problem; a limit you hit is an outage.

5. Spend where being wrong is expensive; save everywhere else. This is the same rule the validation router uses, and it is the whole of cost discipline in one line. The large model on a security review is cheap insurance. The large model on a changelog entry is waste, three times a day, forever.

Read the full file on GitHub · 99 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. 6d ago First seen · 99 lines · 52 tokens per session scan A 98768bd8ba13

Subscribe to this mod's changes

know-what-a-change-costs is a skill published in the GitHub repository everywan-dev/claude-code-engineering (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,065 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

claude-project-manifest

Creates annotated bibliography-style manifests for Claude projects, tracking files, conversation threads, and relationships with unique IDs and annotations. Use when documenting project contents, creating file inventories, tracking conversation history, or building navigable knowledge maps.

organvm-iv-taxis/a-i--skills · 50 tokens

proofpress

Preserve or inspect decision history for Markdown and static HTML knowledge artifacts with Proofpress. Use when creating or accepting a meaningful revision to an ADR, design doc, PRD, README, strategy note, portable .md artifact, or static .html/.htm artifact in a configured repository, or when receiving a file…

chenmingtang830/proofpress · 82 tokens

book-to-skill

Use when convert technical books and documents (PDF, EPUB, DOCX, HTML, Markdown, RTF, MOBI) into structured agent skills with frameworks, mental models, chapter references, and decision rules. Includes full extraction pipeline. Use when the user wants to turn a book or document collection into a reusable agent skill…

oyi77/1ai-skills · 74 tokens

llm-wiki

Maintain a personal team knowledge base using the LLM Wiki pattern — incremental ingest, query, and lint operations on a layered wiki architecture.

TheSmuks/ai-project-template · 31 tokens

PBE Extractor

Extract invariant principles from any text — find the ideas that survive rephrasing.

live-neon/skills · 21 tokens

Principle Synthesizer

Synthesize invariant principles from 3+ sources — find the core that survives across all expressions.

live-neon/skills · 25 tokens