keystone-budget-reporter

keystone-budget-reporter is a skill for Claude Code, Codex from tacoda/keystone-mcp. It costs 16 tokens per session (441 once invoked), scanned A, original, MIT.

A skill that reports how much token space a project's automatically loaded files use when an agent session starts. It reads a harness budget report and lists the largest files.

In plain words
What is it for?
Use it for periodic budget checks or after adding many guide files. It reports totals and the ten largest files by word count and estimated token cost.
Why use it?
It makes startup context cost visible, helping explain why an agent may feel slow at session start.

Skill for Claude CodeCodex

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

Good fit Use it for periodic budget checks or after adding many guide files. It reports totals and the ten largest files by word count and estimated token cost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tacoda/keystone-mcp/keystone-budget-reporter
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 tacoda/keystone-mcp --skill keystone-budget-reporter
Clone the repo
git clone --depth 1 https://github.com/tacoda/keystone-mcp

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 keystone-budget-reporter

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tacoda/keystone-mcp/keystone-budget-reporter"><img src="https://agentmods.dev/badge/skills/tacoda/keystone-mcp/keystone-budget-reporter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 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. 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.00016 $0.00441
Opus 5.5 $0.00006 $0.00176
Sonnet 5.5 $0.00003 $0.00088
Haiku 4.5 $0.00002 $0.00044

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

Security

Grade A, and why

keystone-budget-reporter 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 3mo 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.

src/keystone_mcp/templates/harness/skills/keystone-budget-reporter/SKILL.md · 58 lines

What it actually says

keystone-budget-reporter

Read keystone://harness/budget and surface a digestible summary so the user knows how many tokens their harness costs at session start.

The agent's ambient context includes every file it auto-loads at session start — typically guides/, the menu file overlay, and the project's iron-law + golden-rule sections. As the harness grows, this cost grows. The budget reporter makes the growth visible.

When to use

  • Periodic check (weekly, monthly).
  • After a big learning sweep (audit promoted many findings to guides).
  • When the user reports "the agent feels slow at session start".

Activities

  1. Fetch the report. Read keystone://harness/budget.

  2. Summarize totals.

    Harness ambient-load budget
    ───────────────────────────
    Total: <N files>, <W words>, ~<T tokens>
    Tokenizer: word_count (Phase 27 proxy)
    
  3. List hot files. Top 10 by word count, with port and approximate token cost:

    Port          File                       Words    ~Tokens
    ----------    --------------------       ------   -------
    playbooks     task.md                    410      547
    sensors       security-review.md         330      440
    ...
    
  4. Per-port totals. Sorted by descending word count.

  5. Cascade-excluded count (if non-zero). Project files shadowed by an upstream canonical lock — present on disk but never loaded. Propose deleting or relocating to recover the space.

Output

A markdown summary the user can paste into a discussion or attach to the next audit report. No state writes.

Iron laws

  • Word-count is a proxy, not a tokenizer. Don't claim absolute token counts; surface the proxy explicitly.
  • Don't suggest deleting hot files. Surface the cost; let the user decide which entries to prune.
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. 3mo ago First seen · 58 lines · 16 tokens per session scan A 838ccc20bf7c

Subscribe to this mod's changes

keystone-budget-reporter is a skill published in the GitHub repository tacoda/keystone-mcp (1 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 441 once invoked, about $0.0001 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

keystone-budget-reporter compared with skills from other repositories

keystone-budget-reporter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keystone-budget-reportertacoda/keystone-mcpSkill15mo agoMITA16Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code