Microsoft Learn CLI
Microsoft Learn CLI is an agent skill (a SKILL.md file) from MicrosoftDocs/mcp. Use the Microsoft Learn CLI to retrieve current official Microsoft documentation and code samples when Microsoft Learn MCP tools are unavailable. It works with Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot and has 1,936 GitHub stars across a repository of 2 listed skills.
github.com/MicrosoftDocs/mcp/cli/assets/microsoft-learn-cli (opens in a new tab)
- Multi-skill repo
- Plugin marketplace
- Docs & writing
- Actively maintained
Add this skill
Claude
This repository is a Claude Code plugin marketplace. In Claude Code:
/plugin marketplace add MicrosoftDocs/mcp
/plugin install microsoft-docs@microsoft-docs-marketplaceIn the Claude apps, zip the microsoft-learn-cli folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).
ChatGPT / Codex
Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:
git clone --depth 1 https://github.com/MicrosoftDocs/mcp.git
cp -r mcp/cli/assets/microsoft-learn-cli .agents/skills/microsoft-learn-cli # repo; ~/.agents/skills for all projectsStandalone skills also load in the ChatGPT desktop app.
Cursor
Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:
git clone --depth 1 https://github.com/MicrosoftDocs/mcp.git
cp -r mcp/cli/assets/microsoft-learn-cli .cursor/skills/microsoft-learn-cli # project; ~/.cursor/skills for all projectsSource (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), code.claude.com/docs/en/plugin-marketplaces (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)
What this skill does
Use the Microsoft Learn CLI to retrieve current official Microsoft documentation and code samples when Microsoft Learn MCP tools are unavailable. Use for questions about Microsoft technologies, SDKs, APIs, configuration, limits, best practices, tutorials, or Microsoft-specific coding errors that would otherwise benefit from current official documentation. Prefer Microsoft Learn MCP tools when they are available.
When it triggers
- Use the Microsoft Learn CLI to retrieve current official Microsoft documentation and code samples when Microsoft Learn MCP tools are unavailable.
- Use for questions about Microsoft technologies, SDKs, APIs, configuration, limits, best practices, tutorials, or Microsoft-specific coding errors that would otherwise benefit from current official documentation.
More skills in MicrosoftDocs/mcp
2 skills are listed from this repository.
Similar skills
More docs & writing skills
Writing Plans
obra/superpowers
Use when you have a spec or requirements for a multi-step task, before touching code.
Docs & writingShellWriting Skills
obra/superpowers
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
Docs & writingShellWriting Beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Docs & writingShellWriting Shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
Docs & writingShellKarpathy Guidelines
multica-ai/andrej-karpathy-skills
Behavioral guidelines to reduce common LLM coding mistakes.
Docs & writingDocument Generate
garrytan/gstack
Generate missing documentation from scratch for a feature, module, or entire project.
Docs & writingTypeScript
What is the Microsoft Learn CLI skill?
Microsoft Learn CLI is an agent skill (a SKILL.md file) from MicrosoftDocs/mcp. Use the Microsoft Learn CLI to retrieve current official Microsoft documentation and code samples when Microsoft Learn MCP tools are unavailable. It works with Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot and has 1,936 GitHub stars across a repository of 2 listed skills. Its SKILL.md lives at github.com/MicrosoftDocs/mcp/cli/assets/microsoft-learn-cli.
How do I install the Microsoft Learn CLI skill?
In Claude Code, run /plugin marketplace add MicrosoftDocs/mcp and then /plugin install microsoft-docs@microsoft-docs-marketplace. For Codex or Cursor, copy the microsoft-learn-cli folder into .agents/skills/ or .cursor/skills/.
Is the Microsoft Learn CLI skill free?
Yes. The repository is open source under the CC-BY-4.0 license.
Is Microsoft Learn CLI maintained?
The repository's most recent commit was on Sep 10, 2026. appsgit only lists skills from repositories with a commit in the last six months.