@microsoft/markdown-token-optimizer

GitHub Copilot for Azure

View in AI SkillSafe app
Scanned · no findings
183 downloads
0 stars
0 demos
SKILL.md
namemarkdown-token-optimizer
descriptionAnalyzes 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
licenseMIT

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

  1. Count - Calculate tokens (~4 chars = 1 token), report totals
  2. Scan - Find patterns: emojis, verbosity, duplication, large blocks
  3. Suggest - Table with location, issue, fix, savings estimate
  4. 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

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@microsoft/markdown-token-optimizer/verified)](https://skillsafe.ai/skill/@microsoft/markdown-token-optimizer/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@microsoft/markdown-token-optimizer/installs)](https://skillsafe.ai/skill/@microsoft/markdown-token-optimizer/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@microsoft/markdown-token-optimizer/scan)](https://skillsafe.ai/skill/@microsoft/markdown-token-optimizer/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@microsoft/markdown-token-optimizer/eval)](https://skillsafe.ai/skill/@microsoft/markdown-token-optimizer/)