budget

budget is a skill for Claude Code, Codex from alanvaa06/forge-master. It costs 118 tokens per session (1,208 once invoked), scanned A, original, MIT.

An optional planning tool that estimates token use for an approved-shape implementation plan. It records expected costs for each phase and for the full run.

In plain words
What is it for?
Use it before plan approval to review a budget matrix, identify mismatched estimates, and add phase and run limits to the plan.
Why use it?
It replaces rough budget guesses with estimates based on the plan's phases, process types, and acceptance criteria.

Skill for Claude CodeCodex

Part of the forge-master plugin — 7 skills 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/alanvaa06/forge-master/budget
Any agent
npx skills add alanvaa06/forge-master --skill budget
Clone the repo
git clone --depth 1 https://github.com/alanvaa06/forge-master

Made for: Claude Code, Codex.

Or install forge-master, the plugin that ships this one along with the rest of its 7 skills.

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 budget

README.md
[![agentmods](https://agentmods.dev/badge/skills/alanvaa06/forge-master/budget.svg)](https://agentmods.dev/skills/alanvaa06/forge-master/budget)
Your own site
<a href="https://agentmods.dev/skills/alanvaa06/forge-master/budget"><img src="https://agentmods.dev/badge/skills/alanvaa06/forge-master/budget.svg" alt="Measured on agentmods" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,208 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.00118 $0.01208
Opus 5 $0.00059 $0.00604
Sonnet 5 $0.00024 $0.00242
Haiku 4.5 $0.00012 $0.00121

Measured 3d ago against content hash 8a69137f353b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

budget 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 3d 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/budget/SKILL.md · 65 lines

How it starts

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

budget — Token Budget Matrix (optional, before gate 2)

Turn the plan's hand-waved budget heuristics into principled numbers. You estimate the token cost of each phase from signals already in the plan, present a matrix, and fill the phase_budget / run_budget fields the loop already consumes (phase_budget → early-escalation signal; run_budget → clean-stop cap).

This step is OPTIONAL. Small plans (few light phases) don't need it — the default heuristics are fine. When the plan looks small, say so and offer the choice as a lettered list (mark one Recommended) rather than deciding silently:

This plan is small (few light phases). Estimate the budget? a) Skip — Recommended, default heuristics are fine here; return to gate 2 b) Run the matrix anyway — you want a cost ceiling set with eyes open

It is worth running when the plan is large, has heavy phases, declares parallel groups, or the user wants a cost ceiling set with eyes open — recommend (b) in those cases.

Timing matters. Run AFTER plan-design has decomposed phases but BEFORE gate-2 approval — the budgets you write become part of the FROZEN contract, approved by the human alongside the phase list. Never edit an already-frozen plan; if invoked on one, re-open it explicitly for re-approval.

It is NOT a gate and NEVER blocks. Estimates are rough by nature. Present ranges and order-of-magnitude, never false precision. The human still decides at gate 2.

Step 1 — Load inputs

  • Read the target docs/forge/plans/plan-NNN.md: phases, their tier, process, covers (AC IDs), depends_on, and any ## Parallel Groups.
  • Read the PRD docs/forge/prd/NNN-name.md for AC complexity (a multi-clause Given/When/Then costs more than a one-liner).
  • Read docs/context/lessons.md — if past runs recorded actual phase costs, calibrate against them instead of priors.

Step 2 — Estimate per phase (drivers, not guesses)

Estimate each phase from these drivers. Treat the anchors as order-of-magnitude priors, not promises:

Read the full file on GitHub · 65 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. 3d ago First seen · 65 lines · 118 tokens per session scan A 8a69137f353b

Subscribe to this mod's changes

budget is a skill published in the GitHub repository alanvaa06/forge-master (1 stars, last pushed 1mo ago), licensed MIT. It adds 118 tokens to every session and 1,208 once invoked, about $0.0006 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

goal-flight

Portable Goal Flight workflow for long-running repo work: planning, dispatch, review, recovery, file-backed resume.

simonrowland/goal-flight · 25 tokens

gossipcat

Use when installing or setting up gossipcat multi-agent orchestration (parallel review, consensus, adaptive dispatch) in Claude Code or Cursor. Installs the gossipcat MCP server and hands off to gossipstatus() for all live rules.

gossipcat-ai/gossipcat-ai · 50 tokens

code-review

Orchestrates code review by detecting the project language and architecture, then routing to the appropriate specialized review skill (code-review-go, code-review-typescript, code-review-python, code-review-php, code-review-architecture). Falls back to the generic checklist when no specific skill applies. Invoked when…

soulcodex/agentic · 80 tokens

new-gh-issue-orchestration

Orchestrates a GitHub-issue-driven delivery workflow from issue intake to PR creation using reviewer-first then worker execution. Invoked when the user provides a GitHub issue link/number and asks to start end-to-end delivery.

soulcodex/agentic · 54 tokens

surge

Use when a user provides a PRD, spec, or detailed requirements document and needs a full project delivered through iterative expert orchestration — multi-round analyze/research/design/implement/QA cycles with convergence detection. NOT for: single-file edits, quick prototypes, simple Q&A, or tasks without a written…

carbonshow/intent-fluid · 66 tokens

agentic-infrastructure-2026

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI…

curiositech/windags-skills · 173 tokens