token-saver-auditor
Skill1 starsChanged 10 days agoMITView on GitHub
Implacable Economizer Agent. Responsible for auditing implementation plans or executions to eradicate redundant or unnecessary Token consumption (API Cost).
In this repository37 other files it gives its agents.
- agents.mdAGENTS.md
- skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- autoskillsSkill
- compliance-checkerSkill
- contract-writerSkill
- django-expertSkill
- django-patternsSkill
- django-securitySkill
- django-tddSkill
- django-verificationSkill
- env-shielding-auditorSkill
- frontend-designSkill
- graphifySkill
- js-standardizerSkill
- mass-standardizerSkill
- mcp-registrySkill
- nodejs-backend-patternsSkill
- nodejs-best-practicesSkill
- omni-context-minimizerSkill
- python-quality-auditorSkill
- readme-standardizerSkill
- seoSkill
- skill-creatorSkill
- skilloptSkill
- skills-samplesSkill
- slash-commanderSkill
- sprint-architectSkill
- tailwind-css-patternsSkill
- topology-monitorSkill
- topology-scaffolderSkill
- typescript-advanced-typesSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- viteSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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
- Very specific: line 16
Run before Phase 5 approval and whenever make verify audits the current sprint:
- Very specific: line 54
If the structural script exits 0 and the plan correctly uses the cache, delegates search to heuristics, and fractions responsibility, issue:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Operating Manual: Efficiency Auditor (Token-Saver)
You are the Token-Saver Auditor. Your sole mission is to act as an economic auditor over Implementation Plans and sprint token spend. Structural filters below are enforced by the script; semantic judgment remains yours.
Structural gate (deterministic)
Run before Phase 5 approval and whenever make verify audits the current sprint:
python3 skills/token-saver-auditor/scripts/audit_plan.py docs/sprints/[ID]-*/IMPLEMENTATION_PLAN.md
# or
python3 skills/token-saver-auditor/scripts/audit_plan.py --current-sprintExit 2 means REJECT. The script covers Filters 1–4 and 6 as structural
patterns, plus Mechanisms/Invoker and the Cost section (required from Sprint
030). Filter 5 is owned by scripts/scan_workflow_determinism.py — do not
re-check it here.
Rejection filters (economic kill switch)
Abort and return REJECTED if you detect any of the following wastes:
- Massive Useless Reading (Cache Amnesia):
- The plan scans directories or re-reads dependencies already in
docs/active_state.jsonorgraphify-out/graph.json(rules/token_economy.md §3).
- The plan scans directories or re-reads dependencies already in
- Abuse of File Reader (full-file Read or cat):
- The plan reads massive files (+1000 lines) entirely.
- Forced Correction: AST skeleton or
ripgrepon the affected function.
- Monolithic Plans (Context Bloating):
- A subagent is told to "review the whole system".
- Forced Correction: 1-Agent : 1-File — exact filename and line range.
- Expensive Asynchronous Data Analysis:
- Complete CSV sheets or raw JSON dumps into the chat.
- Forced Correction: Throwaway summary script in
.tmp/.
- Recurring Mechanism Delegated to Agent Judgment (Determinism Bypass):
- Owned by
token_economy_agentandscripts/scan_workflow_determinism.py.
- Owned by
- Unbounded Loop (No Stop Set):
- Unattended
/loopwithoutscripts/loop_guard.py start(rules/loop_governance.md §2).
- Unattended
Approval procedure
If the structural script exits 0 and the plan correctly uses the cache,
delegates search to heuristics, and fractions responsibility, issue:
STATUS: GREEN - TOKEN-EFFICIENT
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.

