microsoft 头像

Azure AI 技能

安装量
78.7万
GitHub Star
1684
通过安全扫描
2/3
发布方
官方认证
开源协议
MIT
仓库更新
2026年11月30日

TL;DR

azure-ai 是一款 Agent 技能,将 Azure AI Search、Speech、OpenAI 与 Document Intelligence 任务精准映射至 MCP 工具、CLI 命令与 SDK 参考。

适合安装

在 Azure 上构建 AI 应用、需要跨 AI Search、Speech、OpenAI 与 Document Intelligence 精准路由指导的开发者。

可以跳过

非 Azure 云平台,或与认知 AI 服务无关的 Azure 工作负载。

npx skills add https://github.com/microsoft/azure-skills --skill azure-ai
本页目录
  1. azure-ai 核心要点
  2. azure-ai 核心数据
  3. Azure Ai 技能 会输出什么成果?
  4. Azure Ai 深度解析
  5. azure-ai, step by step
  6. Should you install azure-ai?
  7. azure-ai 包含哪些文件?
  8. 与 azure-ai 相关的技能有哪些?
  9. Azure Ai 技能常见问题
  10. 同仓库的更多技能

azure-ai 核心要点

  • 按场景精准路由 AI Search、Speech、OpenAI 与 Document Intelligence 任务
  • 优先调用 Azure MCP 命令 `azure__search` 与 `azure__speech` 处理索引与语音任务
  • 涵盖全文、向量、混合检索以及实体识别、OCR 与情感分析等 AI 富化能力
  • 支持语音转文本、文本转语音、说话人分离与自定义词表模型
  • 汇集 Python、TypeScript、.NET 与 Java 客户端库的精简 SDK 速查链接

azure-ai 核心数据

累计安装量786,882 (78.7万)skills.sh 注册表
GitHub Star★ 1684GitHub
安全审计通过 2 / 3 项扫描器检测skills.sh 审计
仓库最后更新2026年11月30日GitHub
开源协议MITSKILL.md / GitHub
代码仓库microsoft/azure-skills ↗

数据截至 2026年12月1日(Skillselion 目录同步)

  • 覆盖 4 大核心服务:AI Search、Speech、OpenAI 与 Document Intelligence
  • 启用 Azure MCP 时提供 3 条 AI Search 命令与 2 条 Speech 命令
  • 微软官方 MIT 协议发布,元数据版本 1.1.1

azure-ai 在 Claude Code 中能做什么?

技能免费;需付费的 Azure AI Services 订阅与端点凭据。

核心能力
按任务路由 Azure AI 服务 · MCP 搜索索引列举、获取与查询 · MCP 语音转写与语音合成 · 混合检索与向量检索指导 · 多语言 SDK 速查链接 · az search 与 az cognitiveservices CLI 回退
支持集成
azure · openai
适用场景
API 开发 · 数据分析 · 任务编排
运行方式
本地或远程
定价模式
自备 API 密钥

Azure Ai 技能 会输出什么成果?

准确的 Azure AI 服务选型,以及面向检索、语音、模型与表单提取的 MCP 命令范式或 SDK 接入入口。

  • 分服务的 MCP 或 SDK 接入指南
  • 搜索与语音集成范式

Deep dive: how does azure-ai actually work?

深度解析 · 最后更新于 2026年11月14日 · 所有引用已于 2026年11月14日 与 microsoft/azure-skills 逐条核对 · 撰写说明

azure-ai is Microsoft's official agent skill for Azure AI Search, Speech, OpenAI and Document Intelligence. It has 786,882 installs as of December 1, 2026 (Skillselion catalog). The SKILL.md is a routing table; the payload is fourteen one-page SDK cheat sheets covering seven Azure services across four languages, plus an offline analyzer for Speech SDK logs.

研读方法提交 968f7bf

We read the skill at commit 968f7bf of microsoft/azure-skills on November 14, 2026. Byte counts and file counts below were measured against the .github/plugins/azure-skills/skills/azure-ai/ tree at that commit; the repo ships a second byte-identical copy of every skill under skills/, which is not counted twice here.

azure-ai, step by step

1. What does this file actually tell the agent to do?

The SKILL.md carries no MUST, ALWAYS or NEVER, and the only reference it ties to a task is the Speech diagnostics guide.

The SKILL.md is 3,681 bytes of a 78,469-byte bundle measured at the pinned commit, so 95% of what you install is reference material and scripts. The line that hands the agent over to the SDK material is this one:

## SDK Quick References

For programmatic access to these services, see the condensed SDK guides:

Source: SKILL.md, "SDK Quick References"

Run grep -cinE "\b(MUST|ALWAYS|NEVER)\b" over the file and it returns 0. Imperatives do exist, two of them: "see the condensed SDK guides" above, and "ask the user to run /mcp" on L34. Neither of those says when. Nothing in the file makes reading an SDK reference a precondition for writing code, and what surrounds the two imperatives is three tables, two lists of MCP commands and two lists of links. The one place the file pairs a task with a file is new since our first read at ea76537: L53 and L73 send Speech SDK client logs and troubleshooting to references/speech/diagnostics.md. The plugin's Claude Code hooks file runs one script, a telemetry reporter, on SessionStart and PostToolUse, so nothing outside the file supplies the routing either. Compare the same repo's microsoft-foundry dive, where the documentation is given explicit precedence over what the agent already believes.

For a list this short the thin approach is defensible: fourteen links in one list is a set an agent can hold in view and pick from. The cost lands in section 4, on the one file that most needs opening and that the SKILL.md never routes to.

2. Is this just version pinning?

Two pinned package versions exist across the SDK sheets, so what those sheets pin is call shape.

A vendor SDK cheat sheet is the kind of artifact you expect to freeze package versions. This one mostly does not. Search the SDK sheets for a pinned package version and exactly two turn up, both reading 1.1.0-beta.1, both inside the Maven dependency blocks of the two Java sheets. The counting rule is grep -rnE "[0-9]+\.[0-9]+\.[0-9]+" over references/sdk/, and it is worth stating precisely, because widening it returns hits that are not package pins: the SKILL.md frontmatter on L7, which carries the skill's own version: "1.2.3", and the Speech diagnostics files, which name the Speech SDK release they were reviewed against and the release in which each binding gained its file logger. The other twelve SDK sheets install with bare pip install, npm install or dotnet add package lines carrying no version at all.

What each of the fourteen sheets does carry is a section headed "Non-Obvious Patterns", 53 bullets across the set. They record argument names, client construction and import paths. The Python Translator sheet is the clearest case:

  • API key auth requires region param: TextTranslationClient(credential=..., region="eastus")
  • Source language param: from_parameter="fr" (not from — reserved word)

Source: references/sdk/azure-ai-translation-text-py.md, "Non-Obvious Patterns"

from being a Python keyword forces the SDK to rename the parameter, and the replacement name is a choice the library made rather than something a reader can derive. The region requirement is the same category: it attaches to key auth and the file says so in the same breath as the constructor. So the honest answer to what the 19,323 bytes of SDK sheets add over general SDK knowledge is narrower than freshness, and it is also more durable: argument names and client shapes change far more slowly than package versions do.

3. The same warning appears in three files

One warning is repeated across three files, which tells you which mistake the author kept correcting.

Read the TypeScript Content Safety sheet and two of its five pattern bullets exist to head off a specific wrong guess:

  • REST client — ContentSafetyClient is a function, not a class [...]
  • API key import: AzureKeyCredential from @azure/core-auth (not @azure/identity)

Source: references/sdk/azure-ai-contentsafety-ts.md, "Non-Obvious Patterns"

The "is a function, not a class" line is repeated in structure, with the client name swapped, in the Document Intelligence and Translation TypeScript sheets. All three wrap @azure-rest/* packages. The contrast that makes the warning necessary is visible inside this same bundle: the TypeScript AI Search sheet, which wraps a plain @azure/* package, opens its client with new SearchClient(endpoint, indexName, credential). Same publisher, same language, opposite construction, and the only way to know which you have is to be told.

The second bullet is the sharper one, and the same file explains why it is needed: its install line is npm install @azure-rest/ai-content-safety @azure/identity @azure/core-auth, so the file tells you to add both candidate packages and then has to disambiguate which one the credential class comes out of. That is a detail you cannot recover by reading your own code.

4. Where does the auth guidance live?

The largest reference document in the bundle is the auth guide, and the SKILL.md never links it.

references/auth-best-practices.md is 6,207 bytes, larger than the SKILL.md and the largest reference document you install; only the Speech log analyzer script is bigger. It is opinionated:

Use managed identities and Azure RBAC in production. Reserve DefaultAzureCredential for local development only.

Source: references/auth-best-practices.md, "Golden Rule"

The SKILL.md does not link it. Grep the skill and three files do: the .NET AI Search sheet and both Document Intelligence sheets. The other eleven SDK files carry no path to it, which includes every Python sheet, both Java sheets and all three Content Safety sheets. An agent that opens the TypeScript Content Safety file lands on this, with nothing attached:

const client = ContentSafetyClient(endpoint, new AzureKeyCredential(key));

Source: references/sdk/azure-ai-contentsafety-ts.md, "Quick Start"

A raw key in a quick start is ordinary. The oddity is that the bundle already ships the correction, in four languages with working code for each, and eleven of the fourteen entry points have no path to it. The three that do link it are also the three that already state the rule in their own text, so the pointer sits where a reader needs it least.

5. Five reference files cover services the trigger never names

Five reference files cover services the trigger description never names.

The frontmatter description is what decides whether an agent loads this skill at all:

description: "Build and troubleshoot Azure AI Search, Speech, OpenAI, and Document Intelligence apps. WHEN: AI Search, query search, vector search, hybrid search, semantic search, speech-to-text, text-to-speech, transcribe, Speech SDK logs, session ID, result ID, OCR, convert text to speech."

Source: SKILL.md, frontmatter

The description was rewritten after our first read, and the three keywords it gained are all for the new Speech diagnostics. Content Safety and Translation still appear in neither the service list nor the WHEN keywords, and neither appears in the two capability tables in the body. Their only appearance anywhere in the SKILL.md is as link text:

  • Content Safety: Python | TypeScript | Java

Source: SKILL.md, "SDK Quick References"

That is five files and 6,889 bytes, more than a third of the SDK sheets, sitting behind a description that gives an agent no keyword to match on "moderate this text" or "translate this string".

Two of the five have a second home. The sibling skill azure-aigateway in the same plugin ships byte-identical copies of the Python and TypeScript Content Safety sheets, verified by diff at this commit, and its own SKILL.md does discuss content safety. The other three do not. Searching all 28 skills at this commit for Content Safety and Translation filenames returns no Java Content Safety sheet outside azure-ai, and no Translation sheet outside it in either language. So the Java Content Safety sheet and both Translation sheets are reachable only through a skill whose own trigger will rarely wake up for them, and installing the plugin is the only way you get them at all.

6. Speech has an MCP tool, a log analyzer, and no SDK sheet

Speech still has no SDK sheet, but it now has an offline log analyzer that works without the MCP server.

The MCP server is presented as the preferred path, with a fallback that is a request to the user rather than a code path:

If Azure MCP is not enabled: In Copilot CLI or Claude Code, ask the user to run /mcp and enable Azure MCP; in other hosts, ask the user to enable Azure MCP through the host's MCP configuration.

Source: SKILL.md, "MCP Server (Preferred)"

The plugin's .mcp.json now wires that server as npx -y @azure/mcp@4.0.0-beta.6, a pinned prerelease where our first read found @latest. Two of the four services in the opening table have an MCP tool. Document Intelligence has neither that nor a CLI:

| Document Intelligence | Form extraction, OCR | - | - |

Source: SKILL.md, "Services"

Document Intelligence at least has two SDK sheets behind it, so the dashes cost you little. Speech has an MCP tool and a dash in the CLI column, and the reference tree still ships no Speech SDK sheet for writing code: the closest is azure-ai-transcription-py.md, a different package whose own note says that DefaultAzureCredential is not supported there.

What changed since our first read is the troubleshooting half. The bundle now carries eight files under references/speech/, 28,349 bytes, and a Node.js analyzer, scripts/analyze-speech-sdk-log.mjs, at 18,156 bytes with Bash and PowerShell launchers beside it. The guide routes the agent through log collection, a run of the analyzer on one local UTF-8 log (Node.js 22 or later, offline, JSON to stdout), and a report that separates observed facts from interpretation. It is explicit that the MCP server is optional for this work:

[...] missing MCP, auth failure or unsupported tools must not block offline work.

Source: references/speech/diagnostics.md, "Workflow"

We read the analyzer and its guide; we did not run it, because that takes a real Speech SDK log. Turn the MCP server off and you can still work out why a Speech client failed from its log. You still cannot get a sheet for writing one: that path is one link to learn.microsoft.com.

Tools it drives: the azure__search and azure__speech MCP tools, with five named commands between them; az search and az cognitiveservices, named in the services table with no flag, argument or example anywhere in the skill; node running the bundled Speech log analyzer; and Read calls against twenty-three reference files.

Behavior change, before and after:

You askWithout the skillWith the skill
"Call Azure Translator from Python"You look up which parameter name the SDK uses for the source languagefrom_parameter="fr" and region on the client, from the reference
"List my search indexes"You pick between REST, CLI and SDK yourselfazure__search with command search_index_list, if the MCP server is enabled
"Why did my Speech recognizer cancel? Here is the SDK log"You read the raw log yourselfThe bundled analyzer runs offline on the log and the report keeps session and result IDs apart, with or without MCP
"Moderate this text with Content Safety"You work from SDK knowledgeUnchanged unless you invoke the skill by name, since the WHEN list covers only search, speech, Speech SDK logs and IDs, transcription and OCR

The fine print worth knowing:

  • Outside the two Speech diagnostics lines in SKILL.md and three SDK sheets that point at the auth guide, nothing in the skill, and nothing in the plugin's hooks, says when to open a reference file. The hooks run telemetry only, but since our first read that script fetches a standalone reporter binary, ghcfa-telem, from a microsoft/GitHub-Copilot-for-Azure release, checks its SHA-256 against a bundled list, and runs it. Setting AZURE_MCP_COLLECT_TELEMETRY=false turns it off.
  • azure-prepare, azure-deploy, azure-ai and azure-diagnostics showed 702,005, 700,963, 701,292 and 702,907 installs respectively, read off the by-the-numbers block of each listing page on November 14, 2026. That is a spread of 1,944 across the four, or 0.28%, while azure-prepare's bundle runs to 166 files and 7.2 times this one's bytes. The packaging supplies the mechanism: .claude-plugin/marketplace.json at the repo root lists seven plugins, the one named "azure" has "source": "./.github/plugins/azure-skills", and that plugin's own manifest declares "skills": "./skills/". All 28 skills in that tree ship as one unit.

Should you install azure-ai?

Install it if you write Azure AI SDK code across more than one language and keep losing time to the differences between them. Fourteen one-page sheets with the argument names, the import paths and the factory-versus-constructor traps is a good trade for 78KB, and three of them, the AI Search .NET sheet and both Document Intelligence sheets, route you to real auth guidance on top. Install it too if you debug Speech SDK clients from their logs: the Speech diagnostics files and the analyzer are now most of the bundle's bytes.

Skip it if you live in one SDK you already know well, or if you want Speech SDK code samples, since the bundle ships no Speech SDK sheet; the nearest is a Python sheet for the separate Transcription package. For the operational stages of Azure work, the siblings azure-deploy and azure-diagnostics are the ones carrying the procedures.

npx skills add https://github.com/microsoft/azure-skills --skill azure-ai

快问快答

What breaks in azure-ai if the Azure MCP server is off?

AI Search degrades and Speech splits in two. AI Search keeps three SDK reference files and an az search mention in the services table, so there is somewhere to go. For writing Speech SDK code there is no sheet; the nearest is a Python sheet for the separate Transcription package. Speech's CLI column is a dash, and the fallback the SKILL.md offers is to ask the user to enable Azure MCP through /mcp or the host's MCP configuration. Speech troubleshooting does survive: the bundled diagnostics guide and its Node.js log analyzer run offline, and the guide says missing MCP must not block that work. Four of the thirteen WHEN keywords that decide whether the skill loads name speech directly: speech-to-text, text-to-speech, Speech SDK logs and convert text to speech.

What is actually inside the azure-ai bundle?

Twenty-seven files, 78,469 bytes at commit 968f7bf, counted in the .github/plugins/azure-skills/skills/azure-ai/ tree. One SKILL.md of 3,681 bytes; fourteen one-page SDK quick references covering AI Search, OpenAI, Vision, Transcription, Translation, Document Intelligence and Content Safety in Python, TypeScript, .NET and Java; an authentication guide of 6,207 bytes, the largest reference document; eight Speech SDK diagnostics references; and a Node.js log analyzer of 18,156 bytes with Bash and PowerShell launchers.

azure-ai 包含哪些文件?

展开查看原始英文技能文件(共 73 个文件)
SKILL.mdMarkdownGitHub ↗

正在加载 SKILL.md…

与 azure-ai 相关的技能有哪些?

Azure Ai 技能常见问题

Azure Ai 技能 适合哪些用户?

在 Azure 上构建 AI 应用、需要跨 AI Search、Speech、OpenAI 与 Document Intelligence 精准路由指导的开发者。 以下情况建议跳过:非 Azure 云平台,或与认知 AI 服务无关的 Azure 工作负载。

什么时候应该使用 azure-ai?

当涉及 AI Search、检索查询、向量/混合/语义搜索、语音转文本、文本转语音、转写或 OCR 时调用。

azure-ai 适合谁使用?

适合需要通过 MCP、CLI 或 SDK 集成 Azure AI Search、Speech、OpenAI 或 Document Intelligence 的开发者。

安装 azure-ai 安全吗?

在生产环境安装前,请先查看本页的 Security Audits(安全审计)面板。

添加 azure-ai 徽章

向开发者展示此技能已收录于 Skillselion,可将以下代码粘贴至 README。

Listed on Skillselion
获取嵌入代码

本周 AI 编程动态

每周一五分钟,精选面向开发者的工具、发布动态与实战技巧。

可随时退订。