Skip to content
appsgit

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)

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-marketplace

In 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 projects

Standalone 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 projects

Source (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.

FAQ

Microsoft Learn CLI FAQ

Still curious? Email info@appsgit.com.

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.