markdown-token-optimizer
Optimizes token usage efficiency for Markdown text, helping authors reduce token consumption while maintaining content quality, suitable for AI content generation and processing scenarios.
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill markdown-token-optimizerBefore / After Comparison
1 组Markdown documents were verbose, containing unnecessary words and redundant information, leading to high AI processing costs and low information extraction efficiency.
After analysis and suggestions from the Token optimizer, the document became more concise and clear, effectively reducing the AI model's token consumption while improving document clarity and readability.
markdown-token-optimizer
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
Weekly Installs314Repositorymicrosoft/githu…or-azureGitHub Stars157First SeenFeb 4, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex293gemini-cli288opencode259github-copilot254cursor252kimi-cli250
User Reviews (0)
Write a Review
No reviews yet
Statistics
User Rating
Rate this Skill