cache

cache is a skill for Claude Code from Jakeintech/waybill. It costs 112 tokens per session (934 once invoked), scanned A, original, MIT.

A guide for explaining Claude billing data, especially how cached input is priced. Cached input is previously provided information reused by the model, and the guide covers cache reads, cache writes, effective costs, and savings.

In plain words
What is it for?
Use it to inspect cache usage, calculate cache-related costs and savings from the billing data, and explain why a Claude bill has its recorded amount.
Why use it?
It helps separate the different token charges in a bill instead of treating all input as one cost. The supplied commands retrieve the metered data used for the explanation.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: positional $N argument; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the waybill plugin — 12 skills, 2 hooks, 2 MCP servers shipped together

Good fit Use it to inspect cache usage, calculate cache-related costs and savings from the billing data, and explain why a Claude bill has its recorded amount.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Jakeintech/waybill
Claude Code
/plugin install waybill

Made for: Claude Code.

Or install waybill, the plugin that ships this one along with the rest of its 12 skills, 2 hooks, 2 MCP servers.

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 cache

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakeintech/waybill/cache"><img src="https://agentmods.dev/badge/skills/jakeintech/waybill/cache.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 934 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.00112 $0.00934
Opus 5.5 $0.00045 $0.00374
Sonnet 5.5 $0.00022 $0.00187
Haiku 4.5 $0.00011 $0.00093

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

Security

Grade A, and why

cache 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.

skills/cache/SKILL.md · 76 lines

How it starts

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

Cache

Most of a Claude Code bill is not what people picture. Cache reads are billed at a tenth of the input rate and usually dominate the volume; cache writes carry premiums (1.25× for 5-minute, 2× for 1-hour entries). This skill answers "why is my bill like this" from the metered ledger. The engine computes every number; you write the prose around them and never adjust a figure.

"${CLAUDE_PLUGIN_ROOT}/bin/waybill" mine --all    # catch-up metering first, always
"${CLAUDE_PLUGIN_ROOT}/bin/waybill" query cache [--from <date>] [--to <date>]

The payload (data):

  • tokens — volume by class: input, output, cache_read, cache_creation (with the 5m/1h write split); cache_read_pct is reads as a share of total volume.
  • by_model — the same per model, each with a derived effective_usd (null when no rate resolves — never $0).
  • billed — the cost view, derived from the current rate table and labeled so (basis: "list_price_equivalent_derived"): effective_usd (the tokens priced as billed), list_equivalent_usd (the same tokens with no caching at all), saved_usd (the NET saving, write premiums already paid for), cache_read_share_of_billed_pct, and covered_pct (how much of the volume the dollar math covers).
  • unattributed_pct — the honesty floor; it travels on every payload.

Rendering rules

Honor the detail axis (config detail_default, --detail override):

  • terse (1–3 lines): total volume, the cache-read share, and the net saving with its basis label. Even at terse, never drop the unattributed %, covered_pct when below 100, or the derived-basis label — those survive every level.
  • standard: the above plus the tier table (input / output / reads / 5m writes / 1h writes) and the effective-vs-list pair.
  • full: everything, including per-model rows.

Language rules (methodology): "saved" is always derived, list-price equivalent — say so; it is not a stored fact and not a promise about the actual invoice. When covered_pct < 100, name the unpriced models (waybill status lists them with fixes) rather than presenting a partial dollar figure as complete. Ranges stay ranges; the unattributed share is shown, never hidden.

Read the full file on GitHub · 76 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 First seen · 76 lines · 112 tokens per session scan A 644d346781b9

Subscribe to this mod's changes

cache is a skill published in the GitHub repository Jakeintech/waybill (1 stars, last pushed 1mo ago), licensed MIT. It adds 112 tokens to every session and 934 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-31.

Related

Other skills, from other repositories

business-case

Business case analysis with ROI, NPV, IRR, payback period, and TCO calculations for investment decisions. Use when building financial justification, cost-benefit analysis, build-vs-buy comparisons, or sensitivity analysis.

yonatangross/orchestkit · 48 tokens

chief-financial-officer

Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on. Use this to build or challenge a budget, model a decision's financial consequence, assess unit economics or runway, evaluate an investment or spend request, set financial controls…

cbrock84/headcount · 0 tokens

fundraising-and-investor-relations

Raises capital and manages the relationship afterward — deciding how much and why, understanding what dilution and preferences actually cost, running a process with real competitive tension, preparing for diligence before it starts, and reporting to investors and a board in a way that keeps support when results are…

cbrock84/headcount · 91 tokens

cost-accounting

Establishes what something actually costs — fixed, variable and mixed cost behavior, absorption versus variable costing, job-order, process and activity-based methods, breakeven and operating leverage, and price/volume/mix decomposition. Use this to set a price floor, explain why revenue or margin moved, decide make…

cbrock84/headcount · 92 tokens

financial-modeling

Builds and stress-tests financial models for forecasting, scenario planning, and decision support — revenue build, cost structure, driver logic, and the sensitivities that show where a plan breaks. Use this to model a decision's financial consequence, build a forecast or long-range plan, evaluate an investment or…

cbrock84/headcount · 76 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens