Home/AI LLM Engineering/markdown-token-optimizer
M

markdown-token-optimizer

by @microsoftv
4.1(20)

Optimizes token usage efficiency for Markdown text, helping authors reduce token consumption while maintaining content quality, suitable for AI content generation and processing scenarios.

markdowntext-optimizationllm-prompt-engineeringcontent-compressiontokenizationGitHub
Installation
npx skills add https://github.com/microsoft/github-copilot-for-azure --skill markdown-token-optimizer
compare_arrows

Before / After Comparison

1 组
Before

Markdown documents were verbose, containing unnecessary words and redundant information, leading to high AI processing costs and low information extraction efficiency.

After

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.

SKILL.md

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

Weekly Installs314Repositorymicrosoft/githu…or-azureGitHub Stars157First SeenFeb 4, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex293gemini-cli288opencode259github-copilot254cursor252kimi-cli250

User Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs376
Rating4.1 / 5.0
Version
Updated2026年5月31日
Comparisons1

User Rating

4.1(20)
5
25%
4
50%
3
25%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月17日
Last Updated2026年5月31日
🎁 Agent Knowledge Cards
Survey