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.
npx agentmods add skills/alanvaa06/forge-master/budgetnpx skills add alanvaa06/forge-master --skill budgetgit clone --depth 1 https://github.com/alanvaa06/forge-masterWrote 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.
[](https://agentmods.dev/skills/alanvaa06/forge-master/budget)<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>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.
| Model | Per session | Once 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 |
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.
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, theirtier,process,covers(AC IDs),depends_on, and any## Parallel Groups. - Read the PRD
docs/forge/prd/NNN-name.mdfor 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:
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.
- 3d ago First seen · 65 lines · 118 tokens per session scan A 8a69137f353b
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.
Other skills, from other repositories
goal-flight
Portable Goal Flight workflow for long-running repo work: planning, dispatch, review, recovery, file-backed resume.
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.
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…
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.
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…
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…