microsoft-docs

microsoft-docs is a skill for Claude Code, Codex from microsoft/ai-agents-for-beginners. It costs 61 tokens per session (1,150 once invoked), scanned A, original, MIT.

A research guide for finding official Microsoft documentation, tutorials, and code examples across Azure, .NET, AI agents, VS Code, GitHub, and related tools.

In plain words
What is it for?
Use it to search Microsoft Learn, retrieve complete documentation pages, and find relevant code samples.
Why use it?
It helps locate trustworthy, current instructions when a Microsoft technology question cannot be answered from the project files alone.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/microsoft/ai-agents-for-beginners/microsoft-docs
Any agent
npx skills add microsoft/ai-agents-for-beginners --skill microsoft-docs
Clone the repo
git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for microsoft-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/ai-agents-for-beginners/microsoft-docs.svg)](https://agentmods.dev/skills/microsoft/ai-agents-for-beginners/microsoft-docs)
Your own site
<a href="https://agentmods.dev/skills/microsoft/ai-agents-for-beginners/microsoft-docs"><img src="https://agentmods.dev/badge/skills/microsoft/ai-agents-for-beginners/microsoft-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.01150
Opus 5 $0.00030 $0.00575
Sonnet 5 $0.00012 $0.00230
Haiku 4.5 $0.00006 $0.00115

Measured 4d ago against content hash 631d406fa06a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

microsoft-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.agents/skills/microsoft-docs/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Microsoft Docs

Research skill for the Microsoft technology ecosystem. Covers learn.microsoft.com and documentation that lives outside it (VS Code, GitHub, Aspire, Agent Framework repos).


Default: Microsoft Learn MCP

Use these tools for everything on learn.microsoft.com — Azure, .NET, M365, Power Platform, Agent Framework, Semantic Kernel, Windows, and more. This is the primary tool for the vast majority of Microsoft documentation queries.

Tool Purpose
microsoft_docs_search Search learn.microsoft.com — concepts, guides, tutorials, configuration
microsoft_code_sample_search Find working code snippets from Learn docs. Pass language (python, csharp, etc.) for best results
microsoft_docs_fetch Get full page content from a specific URL (when search excerpts aren't enough)

Use microsoft_docs_fetch after search when you need complete tutorials, all config options, or when search excerpts are truncated.


Exceptions: When to Use Other Tools

The following categories live outside learn.microsoft.com. Use the specified tool instead.

.NET Aspire — Use Aspire MCP Server (preferred) or Context7

Aspire docs live on aspire.dev, not Learn. The best tool depends on your Aspire CLI version:

CLI 13.2+ (recommended) — The Aspire MCP server includes built-in docs search tools:

MCP Tool Description
list_docs Lists all available documentation from aspire.dev
search_docs Weighted lexical search across aspire.dev content
get_doc Retrieves a specific document by slug

These ship in Aspire CLI 13.2 (PR #14028). To update: aspire update --self --channel daily. Ref: https://davidpine.dev/posts/aspire-docs-mcp-tools/

CLI 13.1 — The MCP server provides integration lookup (list_integrations, get_integration_docs) but not docs search. Fall back to Context7:

Library ID Use for
/microsoft/aspire.dev Primary — guides, integrations, CLI reference, deployment
/dotnet/aspire Runtime source — API internals, implementation details
/communitytoolkit/aspire Community integrations — Go, Java, Node.js, Ollama

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 114 lines · 61 tokens per session scan A 631d406fa06a

Subscribe to this mod's changes

microsoft-docs is a skill published in the GitHub repository microsoft/ai-agents-for-beginners (73,847 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 1,150 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.