token-economy
Skill3 starsChanged 11 days agoMITView on GitHub
Minimize token and context usage while keeping answer quality — targeted search before reading, partial file reads, no re-reading, compact tool output, batching, delegation, and terse responses. Use for any long or large-codebase task, when the user mentions tokens, cost, context limits, "be efficient", "save tokens", or when context is filling up.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- samsam007b/claude-code-standards-kittheir own version, first seen Nov 16, 2026
- gatalifeltd/economizer-skillstheir own version, first seen Nov 15, 2026
- ralvarezdev/ralvaskillstheir own version, first seen Nov 8, 2026
- ralvarez-ai/ralvaskillstheir own version, first seen Nov 8, 2026
- fusebase-dev/fusebase-flowtheir own version, first seen Oct 16, 2026
- novahiz/novahiztheir own version, first seen Oct 11, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- fusebase-dev/fusebase-flow★ 9same name
- gatalifeltd/economizer-skills★ 4same name
- ralvarez-ai/ralvaskills★ 4same name
- ralvarezdev/ralvaskills★ 4same name
- atuljha23/holocron★ 2same name
- novahiz/novahiz★ 2same name
- samsam007b/claude-code-standards-kit★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- skills/ai-integration/references/agents.mdAGENTS.md
- agent-behaviorSkill
- agent-orchestraSkill
- ai-integrationSkill
- analysisSkill
- autonomous-loopSkill
- brand-ipSkill
- codebase-analysisSkill
- commerce-integrationsSkill
- company-setupSkill
- content-socialSkill
- daily-assistantSkill
- diagrams-mappingSkill
- growth-operationsSkill
- guided-discoverySkill
- infrastructure-planningSkill
- market-researchSkill
- memorySkill
- plannerSkill
- product-buildSkill
- researchSkill
- root-cause-analysisSkill
- security-operationsSkill
- software-engineeringSkill
- visual-designSkill
- workflow-automationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 11 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Every token in context is paid for on every later turn.
- Very specific: line 12
Search (grep/glob/symbol search) for the exact identifier first.
- Distinctive: line 13
Read line ranges around the hit, not whole files.
- Distinctive: line 14
Never read generated, vendored, lock, minified or binary files unless the task is about them.
- Distinctive: line 17
Do not re-read a file you already have in context and haven't changed.
- Distinctive: line 18
Do not re-derive facts already established.
- Distinctive: line 23
Run only the relevant test subset during iteration.
- Distinctive: line 24
When output is long, keep only the error signature + the minimal context.
- Very specific: line 29
Use the cheapest model that can do the sub-task (see the autonomous-loop skill tiers).
- Distinctive: line 34
No speculative alternatives unless asked.
- Distinctive: line 38
When the done criteria are met, stop.
- Distinctive: line 39
If blocked on a user decision, ask one precise question instead of exploring every branch.
- Distinctive: line 42
Do I already know this? → don't fetch it.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Token Economy
Every token in context is paid for on every later turn. Spend early tokens to avoid later ones.
1. Locate before you read
- Search (grep/glob/symbol search) for the exact identifier first; read only matching files.
- Read line ranges around the hit, not whole files. Expand only if needed.
- Never read generated, vendored, lock, minified or binary files unless the task is about them.
2. Never pay twice
- Do not re-read a file you already have in context and haven't changed.
- Do not re-derive facts already established; reference them.
- Persist durable facts (build commands, architecture notes, decisions) in a memory/notes file so future sessions don't rediscover them.
3. Shrink tool output
- Pipe long output through filters:
| tail -n 40,| grep -E "FAIL|Error",--quiet,--json | jq '<field>'. - Run only the relevant test subset during iteration; the full suite once at the end.
- When output is long, keep only the error signature + the minimal context.
4. Batch and delegate
- Issue independent tool calls together in one step.
- Push broad, exploratory searches to a sub-agent/cheaper model and keep only its conclusion.
- Use the cheapest model that can do the sub-task (see the
autonomous-loopskill tiers).
5. Write less
- Answer first, no preamble, no restating the question, no recap of what was just shown.
- Show diffs or changed snippets, not entire files.
- No speculative alternatives unless asked; give one recommendation.
- Code comments only where intent isn't obvious.
6. Stop early
- When the done criteria are met, stop. Don't polish unrequested parts.
- If blocked on a user decision, ask one precise question instead of exploring every branch.
Quick self-check before each action
- Do I already know this? → don't fetch it.
- Can I fetch a smaller slice? → do that.
- Can these calls run together? → batch them.
- Will this output be long? → filter it.
Measured techniques and command recipes: references/recipes.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

