Markdown Token Optimizer
Azure/azure-sdk-tools
Analyze markdown files for token efficiency and reduce context-window bloat.
Analyzes markdown files for token efficiency. An agent skill from microsoft/GitHub-Copilot-for-Azure.
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .claude/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .claude/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .agents/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .agents/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .cursor/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .cursor/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/microsoft/GitHub-Copilot-for-Azure.git --path .github/skills/markdown-token-optimizer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .gemini/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .gemini/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .github/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .github/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install microsoft/GitHub-Copilot-for-Azure markdown-token-optimizer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/markdown-token-optimizer .opencode/skills/markdown-token-optimizer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "markdown-token-optimizer" agent skill from https://github.com/microsoft/GitHub-Copilot-for-Azure/tree/main/.github/skills/markdown-token-optimizer into .opencode/skills/markdown-token-optimizer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "markdown-token-optimizer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
markdown-token-optimizerAnalyzes markdown files for token efficiency. An agent skill from microsoft/GitHub-Copilot-for-Azure.
Markdown Token Optimizer is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. 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
Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/ANTI-PATTERNS.md` and `references/OPTIMIZATION-PATTERNS.md`).
It sits in Documents & Office, covering Markdown and LLM cost and token optimization. The repository describes itself as: GitHub Copilot for Azure. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d8f4f4e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Markdown Token Optimizer loads about 364 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 110 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from microsoft/GitHub-Copilot-for-Azure at commit d8f4f4e, republished under its MIT licence (© microsoft). 110 words, ~364 tokens.
.claude/skills/markdown-token-optimizer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.This skill analyzes markdown files and suggests optimizations to reduce token consumption while maintaining clarity.
See ANTI-PATTERNS.md for detection patterns and OPTIMIZATION-PATTERNS.md for techniques.
© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in .github/skills/markdown-token-optimizer of microsoft/GitHub-Copilot-for-Azure.
Open the folder on GitHubat commit d8f4f4e
Markdown Token Optimizer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Markdown Token Optimizer this skillmicrosoft/GitHub-Copilot-for-Azure | 255 | — | ~364 | Automated safety check: Pass | MIT | |
| Markdown Token OptimizerAzure/azure-sdk-tools | 134 | — | ~602 | Automated safety check: Pass | MIT | |
| Markdown Token OptimizerAzure/azure-sdk-tools | 134 | — | ~494 | Automated safety check: Pass | MIT | |
| Defuddlekepano/obsidian-skills | 49k | 11 repos | ~208 | Automated safety check: Pass | MIT | |
| Markdown Article FormatterJimLiu/baoyu-skills | 26k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| MarkitdownImCa0/just-laws | 781 | 14 repos | ~3.2k | Automated safety check: Notes | MIT |
Azure/azure-sdk-tools
Analyze markdown files for token efficiency and reduce context-window bloat.
Azure/azure-sdk-tools
Analyze markdown files for token efficiency and reduce context-window bloat.
kepano/obsidian-skills
Uses the Defuddle CLI to pull clean, readable Markdown, JSON or metadata from web pages, stripping navigation, ads and clutter to save tokens.
JimLiu/baoyu-skills
Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.
ImCa0/just-laws
Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.
Atmosphere/atmosphere
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.
microsoft/GitHub-Copilot-for-Azure
Discovers available Azure OpenAI model capacity across regions and projects.
microsoft/GitHub-Copilot-for-Azure
Unified Azure OpenAI model deployment skill with intelligent intent-based routing.
microsoft/GitHub-Copilot-for-Azure
Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant)…
microsoft/GitHub-Copilot-for-Azure
Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end.
microsoft/GitHub-Copilot-for-Azure
Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake.
microsoft/GitHub-Copilot-for-Azure
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage.
Categories
Analyzes markdown files for token efficiency. An agent skill from microsoft/GitHub-Copilot-for-Azure. Markdown Token Optimizer is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. Analyzes markdown files for token efficiency.
Markdown Token Optimizer fits situations like: tasks that involve Markdown; tasks that involve LLM cost and token optimization.
Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a claude-code`. Or copy the skill folder (.github/skills/markdown-token-optimizer in microsoft/GitHub-Copilot-for-Azure) into .claude/skills/markdown-token-optimizer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a codex`. Or copy the skill folder (.github/skills/markdown-token-optimizer in microsoft/GitHub-Copilot-for-Azure) into .agents/skills/markdown-token-optimizer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill markdown-token-optimizer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/markdown-token-optimizer, .gemini/skills/markdown-token-optimizer, .github/skills/markdown-token-optimizer and .opencode/skills/markdown-token-optimizer in your project.
SKILL.md names no scripts, command-line tools or credentials: Markdown Token Optimizer is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Markdown Token Optimizer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 364 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Markdown Token Optimizer: Markdown Token Optimizer (Azure/azure-sdk-tools, 134 stars), Markdown Token Optimizer (Azure/azure-sdk-tools, 134 stars), Defuddle (kepano/obsidian-skills, 49k stars) and Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
microsoft (a GitHub organization, an official publisher) maintains it in microsoft/GitHub-Copilot-for-Azure, which has 255 GitHub stars. The repository holds 56 skills in this directory. The repository was last updated on October 7, 2026.
Source: microsoft/GitHub-Copilot-for-Azure on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.