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 claude-dev-suite/claude-dev-suite --skill token-optimizationgit clone --depth 1 https://github.com/claude-dev-suite/claude-dev-suiteWrote 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/claude-dev-suite/claude-dev-suite/token-optimization)<a href="https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/token-optimization"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/token-optimization/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/claude-dev-suite/claude-dev-suite/token-optimization"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/token-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00110 | $0.01623 |
| Opus 5.5 | $0.00044 | $0.00649 |
| Sonnet 5.5 | $0.00022 | $0.00325 |
| Haiku 4.5 | $0.00011 | $0.00162 |
Grade A, and why
token-optimization 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.
How it starts
The opening of the file, as written. The whole thing — 213 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Token Optimization Best Practices
Deep Knowledge: Use
mcp__documentation__fetch_docswith technology:token-optimizationfor comprehensive documentation.
Guidelines for minimizing token consumption in MCP server and external tool interactions.
When NOT to Use This Skill
This skill focuses on API/tool call optimization. Do NOT use for:
- Runtime performance - Use
performanceskill for speed optimization - Code minification - Use build tools (Vite, Webpack, etc.)
- Database query optimization - Use database-specific skills
- Algorithm efficiency - Use computer science fundamentals
- Prompt engineering - This is about tool usage, not prompt design
General Principles
| Principle | Description |
|---|---|
| Lazy Loading | Load information only when strictly necessary |
| Minimal Output | Request only needed data, use limit and compact parameters |
| Progressive Detail | Start with overview/summary, drill down only if needed |
| Cache First | Check if information is already in context before external calls |
Anti-Patterns
| Anti-Pattern | Why It's Bad | Token-Efficient Solution |
|---|---|---|
| **SELECT *** | Returns unnecessary columns | Specify exact columns needed |
| No LIMIT clause | Returns entire dataset | Always add LIMIT (e.g., 100) |
| Full schema requests | Returns massive specs | Use compact=true or format="summary" |
| Recursive documentation fetch | Fetches entire doc tree | Use search_docs with specific query |
| Fetching full logs | Returns thousands of lines | Use tail_logs or find_errors with limit |
| Copy-paste documentation | Duplicates content | Summarize and reference, don't quote verbatim |
| No pagination | Returns all results at once | Use offset/limit for large datasets |
| Full API schema exploration | Multi-MB specifications | Get endpoint list first, details on-demand |
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 · 213 lines · 110 tokens per session scan A 0694e339f89d
token-optimization is a skill published in the GitHub repository claude-dev-suite/claude-dev-suite (51 stars, last pushed yesterday), licensed MIT. It adds 110 tokens to every session and 1,623 once invoked, about $0.0004 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-03.
token-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| token-optimizationclaude-dev-suite/claude-dev-suite | Skill | 51 | yesterday | MIT | A | 110 | Claude Code |
| subagent-driven-developmentNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 17 | Claude Code, Codex |
| mcporterNousResearch/hermes-agent | Skill | 268k | today | MIT | A | 16 | Claude Code, Codex |
| artifact-template-minimal-letterheadasgeirtj/system_prompts_leaks | Skill | 74k | 3d ago | CC0-1.0 | A | 54 | Claude Code, Codex |
| telegram-setupvellum-ai/vellum-assistant | Skill | 1.5k | yesterday | MIT | A | 22 | Claude Code, Codex |
| vellum-skills-catalogvellum-ai/vellum-assistant | Skill | 1.5k | yesterday | MIT | A | 20 | Claude Code, Codex |
| product-agentrshankras/claude-code-apple-skills | Skill | 923 | 23d ago | MIT | A | 81 | Claude Code |