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 skills add chrono-meta/forge-harness --skill token-budget-gategit clone --depth 1 https://github.com/chrono-meta/forge-harnessWrote 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/chrono-meta/forge-harness/token-budget-gate)<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/token-budget-gate"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/token-budget-gate/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.
<a href="https://agentmods.dev/skills/chrono-meta/forge-harness/token-budget-gate"><img src="https://agentmods.dev/badge/skills/chrono-meta/forge-harness/token-budget-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 6 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.1 | $0.00074 | $0.02081 |
| Opus 5.5 | $0.00030 | $0.00832 |
| Sonnet 5.5 | $0.00015 | $0.00416 |
| Haiku 4.5 | $0.00007 | $0.00208 |
Grade A, and why
token-budget-gate 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.
How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
token-budget-gate — Pre-Task Token Cost Gate
Multi-step and multi-agent tasks can silently consume large token budgets. This skill estimates cost before execution, outputs a gate verdict, and calibrates estimates against actual usage after completion — preventing surprise overruns without blocking legitimate work.
FH context: FH default execution tier is
standard(~15K tokens). This skill gates against accidentalfull(~30K) ormax(~60K+) consumption on tasks that could be handled lighter.
Triggers
/token-budget-gate- "token budget", "token cost", "how expensive", "will this use a lot of tokens"
- "estimate tokens", "token estimate before we start"
- Before invoking:
agent-composer,sim-conductor,steel-quench(max-tier skills) - Automatically proposed when task description contains: multi-agent, parallel dispatch, full suite, all files, entire codebase
Gate Thresholds (defaults — user-configurable)
| Signal | Verdict | Action |
|---|---|---|
| Estimated < 10K tokens | 🟢 GREEN | Proceed without comment |
| 10K–30K tokens | 🟡 YELLOW | Proceed with notice — suggest lighter approach if one exists |
| 30K–60K tokens | 🟠 ORANGE | Confirm before proceeding — present scope reduction options |
| > 60K tokens | 🔴 RED | Block + require explicit approval — present mandatory reduction |
Custom threshold: user can set TOKEN_BUDGET_MAX=N in conversation or .claude/settings.json.
Execution Steps
Step 1. Parse Task Description
Extract task dimensions:
| Dimension | Low (×1) | Medium (×2) | High (×4) |
|---|---|---|---|
| File scope | 1–3 files | 4–10 files | 11+ files / whole codebase |
| Agent count | 0 (inline) | 1–2 agents | 3+ agents / parallel |
| Step depth | 1–3 steps | 4–8 steps | 9+ steps |
| Iteration | None | 1 round | 2+ rounds (wave/loop) |
| Output size | Short answer | Medium doc | Full report / deck |
Step 2. Estimate Token Cost
Base estimates per task type:
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.
- 3mo ago First seen · 207 lines · 74 tokens per session scan A b2ea38cb7648
token-budget-gate is a skill published in the GitHub repository chrono-meta/forge-harness (33 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 2,081 once invoked, about $0.0003 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-30.
token-budget-gate compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| token-budget-gatechrono-meta/forge-harness | Skill | 33 | today | MIT | A | 74 | Claude Code |
| werewolf-6pnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| avalon-8-10pnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| computer-usenexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| execution-orchestratornexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 36 | Claude Code, Codex |
| nexus-configurationnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 45 | Claude Code, Codex |
| pptxnexus-research-lab/nexus | Skill | 165 | today | Apache-2.0 | A | 95 | Claude Code |