Official agent skill

Microsoft Docs

by microsoft in microsoft/ai-agents-for-beginners

Truy vấn tài liệu chính thức của Microsoft để tìm các khái niệm, hướng dẫn và ví dụ mã trên Azure, .NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa.

OfficialMITAuto-check passedAI & LLM Engineering

Install Microsoft Docs

skills CLI
$ npx skills add microsoft/ai-agents-for-beginners --skill microsoft-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/ai-agents-for-beginners microsoft-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/ai-agents-for-beginners.git skills-src && mkdir -p .claude/skills && cp -r skills-src/translations/vi/.agents/skills/microsoft-docs .claude/skills/microsoft-docs && rm -rf skills-src

Use ~/.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/

Facts

Skill name
microsoft-docs
GitHub stars
77k
Token cost
~1.4k tokens
SKILL.md length
753 words
Files
1
Skills in repo
123
Repo updated
First seen
Licence
MIT

At a glance

Truy vấn tài liệu chính thức của Microsoft để tìm các khái niệm, hướng dẫn và ví dụ mã trên Azure, .NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa.

  • Works in 2 steps: Gọi mcp_context7_resolve-library-id với… → Gọi mcp_context7_query-docs với ID thư…
  • Tasks that involve Building AI agents
  • SKILL.md covers Mặc định: Microsoft Learn MCP, Ngoại lệ: Khi nào sử dụng các…, Thiết lập Context7 and Viết truy vấn hiệu quả
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Microsoft Docs is an agent skill from microsoft/ai-agents-for-beginners, published by the product's own GitHub organization. Truy vấn tài liệu chính thức của Microsoft để tìm các khái niệm, hướng dẫn và ví dụ mã trên Azure, .NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa. Sử dụng Microsoft Learn MCP làm mặc định, với Context7 và Aspire MCP cho nội dung nằm ngoài learn.microsoft.com.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Building AI agents and MCP servers. It works with Visual Studio Code, Model Context Protocol, Microsoft Azure and .NET. The repository describes itself as: 18 Lessons to Get Started Building AI Agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Building AI agents
  • Tasks that involve MCP servers

Example prompts

  • “/microsoft-docs”

Requirements

  • Python 3
  • Node.js

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Gọi mcp_context7_resolve-library-id với tên công nghệ
  2. Gọi mcp_context7_query-docs với ID thư viện trả về và một truy vấn cụ thể

What it can do on your machine

Read from SKILL.md and the folder at commit 25b7985. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • davidpine.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Microsoft Docs loads about 1.4k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 753 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from microsoft/ai-agents-for-beginners at commit 25b7985, republished under its MIT licence (© microsoft). 753 words, ~1,423 tokens.

Download SKILL.mdSave it as .claude/skills/microsoft-docs/SKILL.md (or your agent's skills folder).
name
microsoft-docs
description
Truy vấn tài liệu chính thức của Microsoft để tìm các khái niệm, hướng dẫn và ví dụ mã trên Azure, .NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa. Sử dụng Microsoft Learn MCP làm mặc định, với Context7 và Aspire MCP cho nội dung nằm ngoài learn.microsoft.com.

Microsoft Docs

Kỹ năng nghiên cứu cho hệ sinh thái công nghệ Microsoft. Bao gồm learn.microsoft.com và tài liệu nằm ngoài trang đó (VS Code, GitHub, Aspire, các repo Agent Framework).


Mặc định: Microsoft Learn MCP

Sử dụng những công cụ này cho mọi thứ trên learn.microsoft.com — Azure, .NET, M365, Power Platform, Agent Framework, Semantic Kernel, Windows, và hơn thế nữa. Đây là công cụ chính cho phần lớn các truy vấn về tài liệu Microsoft.

ToolPurpose
microsoft_docs_searchTìm kiếm learn.microsoft.com — khái niệm, hướng dẫn, bài học, cấu hình
microsoft_code_sample_searchTìm các đoạn mã hoạt động từ tài liệu Learn. Truyền language (python, csharp, etc.) để có kết quả tốt nhất
microsoft_docs_fetchLấy toàn bộ nội dung trang từ một URL cụ thể (khi đoạn trích tìm kiếm không đủ)

Sử dụng microsoft_docs_fetch sau khi tìm kiếm khi bạn cần hướng dẫn đầy đủ, tất cả các tùy chọn cấu hình, hoặc khi các đoạn trích tìm kiếm bị rút gọn.


Ngoại lệ: Khi nào sử dụng các công cụ khác

Các danh mục sau nằm bên ngoài learn.microsoft.com. Hãy sử dụng công cụ được chỉ định thay thế.

.NET Aspire — Sử dụng Aspire MCP Server (ưu tiên) hoặc Context7

Tài liệu Aspire nằm trên aspire.dev, không phải Learn. Công cụ tốt nhất phụ thuộc vào phiên bản Aspire CLI của bạn:

CLI 13.2+ (khuyến nghị) — Aspire MCP server bao gồm các công cụ tìm kiếm tài liệu tích hợp:

MCP ToolDescription
list_docsLiệt kê tất cả tài liệu có sẵn từ aspire.dev
search_docsTìm kiếm từ vựng có trọng số trên nội dung của aspire.dev
get_docLấy một tài liệu cụ thể theo slug

Những công cụ này được phát hành trong Aspire CLI 13.2 (PR #14028). Để cập nhật: aspire update --self --channel daily. Tham khảo: https://davidpine.dev/posts/aspire-docs-mcp-tools/

CLI 13.1 — MCP server cung cấp tra cứu tích hợp (list_integrations, get_integration_docs) nhưng không có tìm kiếm tài liệu. Quay về dùng Context7:

Library IDUse for
/microsoft/aspire.devChính — hướng dẫn, tích hợp, tham chiếu CLI, triển khai
/dotnet/aspireNguồn runtime — nội bộ API, chi tiết triển khai
/communitytoolkit/aspireTích hợp cộng đồng — Go, Java, Node.js, Ollama
VS Code — Sử dụng Context7

Tài liệu VS Code nằm trên code.visualstudio.com, không phải Learn.

Library IDUse for
/websites/code_visualstudioTài liệu người dùng — cài đặt, tính năng, gỡ lỗi, phát triển từ xa
/websites/code_visualstudio_apiAPI phần mở rộng — webviews, TreeViews, lệnh, điểm đóng góp
GitHub — Sử dụng Context7

Tài liệu GitHub nằm trên docs.github.com và cli.github.com.

Library IDUse for
/websites/github_enActions, API, kho lưu trữ, bảo mật, quản trị, Copilot
/websites/cli_githubLệnh và cờ của GitHub CLI (gh)
Show full SKILL.md (323 more words)Show less
Agent Framework — Sử dụng Learn MCP + Context7

Các hướng dẫn Agent Framework có trên learn.microsoft.com (sử dụng microsoft_docs_search), nhưng repo GitHub có chi tiết ở cấp API thường đi trước tài liệu đã xuất bản — đặc biệt là tham chiếu DevUI REST API, tùy chọn CLI, và tích hợp .NET.

Library IDUse for
/websites/learn_microsoft_en-us_agent-frameworkHướng dẫn — hướng dẫn DevUI, theo dõi, điều phối luồng công việc
/microsoft/agent-frameworkChi tiết API — endpoint REST DevUI, cờ CLI, xác thực, .NET AddDevUI/MapDevUI

DevUI tip: Truy vấn nguồn trang Learn để lấy các hướng dẫn cách làm, sau đó truy vấn nguồn repo để biết các chi tiết ở cấp API (endpoint schemas, proxy config, auth tokens).


Thiết lập Context7

Đối với bất kỳ truy vấn Context7 nào, hãy phân giải library ID trước (một lần cho mỗi phiên):

  1. Gọi mcp_context7_resolve-library-id với tên công nghệ
  2. Gọi mcp_context7_query-docs với ID thư viện trả về và một truy vấn cụ thể

Viết truy vấn hiệu quả

Hãy cụ thể — bao gồm phiên bản, mục đích và ngôn ngữ:

# ❌ Too broad
"Azure Functions"
"agent framework"

# ✅ Specific
"Azure Functions Python v2 programming model"
"Cosmos DB partition key design best practices"
"GitHub Actions workflow_dispatch inputs matrix strategy"
"Aspire AddUvicornApp Python FastAPI integration"
"DevUI serve agents tracing OpenTelemetry directory discovery"
"Agent Framework workflow conditional edges branching handoff"

Include context:

  • Version khi cần thiết (.NET 8, Aspire 13, VS Code 1.96)
  • Mục đích tác vụ (quickstart, tutorial, overview, limits, API reference)
  • Ngôn ngữ cho tài liệu đa ngôn ngữ (Python, TypeScript, C#)

<!-- CO-OP TRANSLATOR DISCLAIMER START -->

Miễn trừ trách nhiệm: Tài liệu này đã được dịch bằng dịch vụ dịch thuật AI Co-op Translator. Mặc dù chúng tôi nỗ lực đảm bảo độ chính xác, xin lưu ý rằng bản dịch tự động có thể chứa lỗi hoặc không chính xác. Văn bản gốc bằng ngôn ngữ ban đầu nên được coi là nguồn có thẩm quyền. Đối với thông tin quan trọng, khuyến nghị sử dụng dịch vụ dịch thuật chuyên nghiệp do người thực hiện. Chúng tôi không chịu trách nhiệm về bất kỳ hiểu lầm hoặc diễn giải sai nào phát sinh từ việc sử dụng bản dịch này.

<!-- CO-OP TRANSLATOR DISCLAIMER END -->

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in translations/vi/.agents/skills/microsoft-docs of microsoft/ai-agents-for-beginners.

Open the folder on GitHubat commit 25b7985

Compare with similar skills

Microsoft Docs 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.

Microsoft Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Microsoft Docs this skillmicrosoft/ai-agents-for-beginners77k—~1.4kAutomated safety check: PassMIT
Agent Framework Azure AI Pymicrosoft/skills3.1k1 repos~3.1kAutomated safety check: PassMIT
Microsoft Skill CreatorMicrosoftDocs/mcp1.9k3 repos~2.1kAutomated safety check: PassCC-BY-4.0
Agent Frameworkjihadkhawaja/Egroo178—~1.9kAutomated safety check: PassApache-2.0
Copilot SDKgithub/awesome-copilot40k5 repos~6.3kAutomated safety check: PassMIT
Microsoft DocsMicrosoftDocs/mcp1.9k1 repos~723Automated safety check: PassCC-BY-4.0

Similar skills

  • Official

    Build Azure AI Foundry agents using the Microsoft Agent Framework Python SDK (agent-framework-azure-ai).

    3.1k GitHub starsUsed in 1 repo~3.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Microsoft Skill Creator

    MicrosoftDocs/mcp

    Official

    Create agent skills for Microsoft technologies using official documentation.

    1.9k GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Agent Framework

    jihadkhawaja/Egroo

    Build, extend, and debug AI agents in Egroo using the Microsoft Agent Framework (C .NET).

    178 GitHub stars~1.9k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Copilot SDK

    github/awesome-copilot

    Official

    Build agentic applications with GitHub Copilot SDK. An agent skill from github/awesome-copilot.

    40k GitHub starsUsed in 5 repos~6.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Microsoft Docs

    MicrosoftDocs/mcp

    Official

    Understand Microsoft technologies by querying official documentation.

    1.9k GitHub starsUsed in 1 repo~723 tokens
    Agent WorkflowsAuto-check passed
  • Setup Context A8c

    woocommerce/woocommerce-ios

    Set up the ContextA8C MCP server for accessing Automattic internal resources (Slack, Linear, P2s, GitHub Enterprise, etc.)

    358 GitHub starsUsed in 1 repo~627 tokens
    Agent WorkflowsAuto-check: notes

More from microsoft/ai-agents-for-beginners

All 123 skills in this repo
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    A skill your agent uses when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script…

    77k GitHub starsUsed in 8 repos~1k tokens
    Auto-check passed
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Migrate Python apps from Azure OpenAI Chat Completions to the Responses API.

    77k GitHub stars~6k tokensUpdated 18 days ago
    Auto-check: notes
  • Azure Openai To Responses

    microsoft/ai-agents-for-beginners

    Official

    Shift Python apps dem from Azure OpenAI Chat Completions go Responses API.

    77k GitHub stars~6k tokensUpdated 18 days ago
    Auto-check: notes
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Kasuta, kui kasutaja palub luua, üles ehitada või redigeerida Jupyteri märkmikke (.ipynb) katsetuste, uurimiste või juhendite jaoks; eelista kaasasolevaid malle ja käivita abiskript newnotebook.py…

    77k GitHub stars~1.2k tokensUpdated 18 days ago
    Auto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    Käytetään, kun käyttäjä pyytää luomaan, alustamaan tai muokkaamaan Jupyter-muistikirjoja (.ipynb) kokeita, tutkimuksia tai opetusohjelmia varten; käytä mieluummin mukana olevia mallipohjia ja…

    77k GitHub stars~1.3k tokensUpdated 18 days ago
    Auto-check passed
  • Jupyter Notebook

    microsoft/ai-agents-for-beginners

    Official

    À utiliser lorsque l'utilisateur demande de créer, structurer ou modifier des notebooks Jupyter (.ipynb) pour des expériences, explorations ou tutoriels ; privilégiez les modèles fournis et exécutez…

    77k GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed

Questions about Microsoft Docs

What does Microsoft Docs do?

Truy vấn tài liệu chính thức của Microsoft để tìm các khái niệm, hướng dẫn và ví dụ mã trên Azure, .NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa. Microsoft Docs is an agent skill from microsoft/ai-agents-for-beginners, published by the product's own GitHub organization.NET, Agent Framework, Aspire, VS Code, GitHub và nhiều hơn nữa.

When should I use Microsoft Docs?

Microsoft Docs fits situations like: tasks that involve Building AI agents; tasks that involve MCP servers.

How do I install Microsoft Docs in Claude Code?

Run `npx skills add microsoft/ai-agents-for-beginners --skill microsoft-docs -a claude-code`. Or copy the skill folder (translations/vi/.agents/skills/microsoft-docs in microsoft/ai-agents-for-beginners) into .claude/skills/microsoft-docs in your project. Claude Code loads it when a task matches its description.

How do I install Microsoft Docs in Codex?

Run `npx skills add microsoft/ai-agents-for-beginners --skill microsoft-docs -a codex`. Or copy the skill folder (translations/vi/.agents/skills/microsoft-docs in microsoft/ai-agents-for-beginners) into .agents/skills/microsoft-docs in your project. Codex loads it when a task matches its description.

Can I use Microsoft Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/ai-agents-for-beginners --skill microsoft-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/microsoft-docs, .gemini/skills/microsoft-docs, .github/skills/microsoft-docs and .opencode/skills/microsoft-docs in your project.

What does Microsoft Docs need to run?

SKILL.md names no scripts, command-line tools or credentials: Microsoft Docs is instructions for the agent only. Our summary lists: Python 3; Node.js.

Does Microsoft Docs access the network?

SKILL.md names 2 domains. As links in the text: github.com and davidpine.dev. This is read from the text; nothing was executed.

Is Microsoft Docs safe to install?

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.

What licence does Microsoft Docs use?

Microsoft Docs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Microsoft Docs use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Microsoft Docs?

Skills that share tags, products or a category with Microsoft Docs: Agent Framework Azure AI Py (microsoft/skills, 3.1k stars), Microsoft Skill Creator (MicrosoftDocs/mcp, 1.9k stars), Agent Framework (jihadkhawaja/Egroo, 178 stars) and Copilot SDK (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Microsoft Docs?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/ai-agents-for-beginners, which has 76,612 GitHub stars. The repository holds 123 skills in this directory. The repository was last updated on September 19, 2026.

Source: microsoft/ai-agents-for-beginners on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.