markdown-token-optimizer
Skill11 starsChanged 9 months agoMITView on GitHub
Analyzes markdown files for token efficiency. TRIGGERS: optimize markdown, reduce tokens, token count, token bloat, too many tokens, make concise, shrink file, file too large, optimize for AI, token efficiency, verbose markdown, reduce file size
3 other projects use a version of this, 3 of them edited.
Adopted by
Most recently taken up by
- microsoft/GitHub-Copilot-for-Azureedited, first seen Oct 27, 2026
- Azure/azure-sdk-toolsedited, first seen Aug 31, 2026
- AngelescuCiprian/claude-skillsedited, first seen Aug 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- microsoft/GitHub-Copilot-for-Azure★ 26293% same
- Azure/azure-sdk-tools★ 13444% same
- AngelescuCiprian/claude-skills★ 093% same
Wrote their own version · 0
None found.
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 repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-native-skills/AGENTS.mdAGENTS.md
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- azure-observabilitySkill
- azure-postgresSkill
- azure-prepareSkill
- azure-resource-visualizerSkill
- azure-role-selectorSkill
- azure-storageSkill
- azure-validateSkill
- entra-app-registrationSkill
- file-test-bugSkill
- markdown-token-optimizerSkill
- microsoft-foundrySkill
- senseiSkill
- skill-authoringSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- vercel-react-native-skillsSkill
- web-design-guidelinesSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- azure-observabilitySkill
- azure-postgresSkill
- azure-prepareSkill
- azure-resource-visualizerSkill
- azure-role-selectorSkill
- azure-storageSkill
- azure-validateSkill
- entra-app-registrationSkill
- file-test-bugSkill
- microsoft-foundrySkill
- senseiSkill
- skill-authoringSkill
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-complianceSkill
- azure-cost-optimizationSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-kustoSkill
- azure-networkingSkill
- The first 60 shown.
The file
Files
Markdown Token Optimizer
This skill analyzes markdown files and suggests optimizations to reduce token consumption while maintaining clarity.
When to Use
- Optimize markdown files for token efficiency
- Reduce SKILL.md file size or check for bloat
- Make documentation more concise for AI consumption
Workflow
- Count - Calculate tokens (~4 chars = 1 token), report totals
- Scan - Find patterns: emojis, verbosity, duplication, large blocks
- Suggest - Table with location, issue, fix, savings estimate
- Summary - Current/potential/savings with top recommendations
See ANTI-PATTERNS.md for detection patterns and OPTIMIZATION-PATTERNS.md for techniques.
Rules
- Suggest only (no auto-modification)
- Preserve clarity in all optimizations
- SKILL.md target: <500 tokens, references: <1000 tokens
References
- OPTIMIZATION-PATTERNS.md - Optimization techniques
- ANTI-PATTERNS.md - Token-wasting patterns
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.

