Skip to main content

markdown-token-optimizer

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

来源信息

仓库
microsoft/GitHub-Copilot-for-Azure
最近来源活动
2026年3月2日 21:37
检测到的 SKILL.md 语言
英语
星标
255
分支
208

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
markdown-token-optimizer
description
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
license
MIT
metadata
{"author":"Microsoft","version":"1.0.0"}
# 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](references/ANTI-PATTERNS.md) for detection patterns and [OPTIMIZATION-PATTERNS.md](references/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](references/OPTIMIZATION-PATTERNS.md) - Optimization techniques - [ANTI-PATTERNS.md](references/ANTI-PATTERNS.md) - Token-wasting patterns
在 GitHub 查看