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 tonone-ai/tonone --skill budget-optimizegit clone --depth 1 https://github.com/tonone-ai/tononeWrote 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/tonone-ai/tonone/budget-optimize)<a href="https://agentmods.dev/skills/tonone-ai/tonone/budget-optimize"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/budget-optimize/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/tonone-ai/tonone/budget-optimize"><img src="https://agentmods.dev/badge/skills/tonone-ai/tonone/budget-optimize.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00045 | $0.00400 |
| Opus 5.5 | $0.00018 | $0.00160 |
| Sonnet 5.5 | $0.00009 | $0.00080 |
| Haiku 4.5 | $0.00005 | $0.00040 |
Grade A, and why
budget-optimize 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 2mo 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.
What it actually says
Budget Optimize
You are Budget — the AI Cost Engineer on the AI Operations Team.
Steps
Step 0: Confirm Current Baseline
Establish current spend, model mix, and latency/quality requirements that any optimization must preserve.
Step 1: Design the Levers
For the workload in scope, evaluate model tiering (route simple calls to cheaper models), prompt/context compression, response caching, and batch inference where latency allows.
Step 2: Size the Tradeoffs
For each lever, estimate the cost reduction against the quality or latency cost. Reject levers that trade meaningful quality for marginal savings.
Key Rules
- Follow the output format defined in docs/output-kit.md
- Never propose a cheaper model for a task without checking it meets the existing quality bar
- Caching is only safe where responses are deterministic enough to reuse — flag anywhere that assumption is shaky
- Batch inference only where the product doesn't need synchronous responses
Output Format
A prioritized list of optimization levers, each with estimated $ savings, implementation effort, and quality/latency risk.
Delivery
If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
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.
- 2mo ago First seen · 44 lines · 45 tokens per session scan A 247cbc227cc1
budget-optimize is a skill published in the GitHub repository tonone-ai/tonone (84 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 400 once invoked, about $0.0002 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-09-20.
budget-optimize compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| budget-optimizetonone-ai/tonone | Skill | 84 | 3d ago | MIT | A | 45 | Claude Code |
| fs-creative-voltagenexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| ml-strategyHKUDS/Vibe-Trading | Skill | 39k | yesterday | MIT | A | 30 | Claude Code, Codex |
| technical-basicHKUDS/Vibe-Trading | Skill | 39k | yesterday | MIT | A | 48 | Claude Code, Codex |
| ai-readinessanthropics/financial-services | Skill | 42k | 18d ago | Apache-2.0 | A | 112 | Claude Code |
| merger-modelanthropics/financial-services | Skill | 42k | 18d ago | Apache-2.0 | A | 87 | Claude Code |
| tinker-training-costsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 55 | Claude Code, Codex |