azure-metrics-advisor — Claude Code skill: setup
azure-metrics-advisor is a Claude Code skill for configuring Azure AI Metrics Advisor, from data feeds and anomaly detection to alerts and REST API integrations.
CC-BY-4.0 166 installs ★ 818 updated 2026-10-25
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-codeWhat azure-metrics-advisor does
The skill covers connecting data sources, configuring alert hooks, and tuning anomaly detection. Its reference material also discusses service quotas, cost management, security, and credentials used for data sources.
For application work, it covers ingestion queries and the Metrics Advisor REST API and client SDKs. Local reference material is paired with remote Microsoft documentation fetched through mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage. Network access is required, so remote documentation cannot be retrieved offline.
What it helps with
- connect a data source to Metrics Advisor
- configure anomaly detection and alert hooks
- check service limits and quotas
- set up credentials and authentication
- call Metrics Advisor from an application with its REST API or SDK
Example prompts for the agent
- Help me connect a data source to Azure AI Metrics Advisor and check the ingestion query.
- Configure anomaly detection and webhook alerts for my Metrics Advisor instance.
- Show how to call the Metrics Advisor REST API from my application.
How to install azure-metrics-advisor
1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-code2Manually: put the files in place
~/.claude/skills/azure-metrics-advisor/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/azure-metrics-advisor/
1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a codex2Manually: put the files in place
.agents/skills/azure-metrics-advisor/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a cursor2Manually: put the files in place
.cursor/skills/azure-metrics-advisor/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install MicrosoftDocs/Agent-Skills skills/azure-metrics-advisor2Manually: put the files in place
.github/skills/azure-metrics-advisor/SKILL.md1Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a gemini-cli2Platform CLI
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-metrics-advisorManually: put the files in place
.devin/skills/azure-metrics-advisor/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about azure-metrics-advisor
How do I install azure-metrics-advisor in Claude Code?
Run npx skills add MicrosoftDocs/Agent-Skills --skill azure-metrics-advisor -a claude-code. The skill file is at ~/.claude/skills/azure-metrics-advisor/SKILL.md.
What does azure-metrics-advisor do?
It provides development guidance for Azure AI Metrics Advisor, including data feeds, anomaly detection, alert configuration, security, and REST API or SDK integrations.
Does azure-metrics-advisor need network access?
Yes. It retrieves Microsoft documentation with mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage, so remote documentation requires a network connection.
Source text
SKILL.md · CC-BY-4.0
--- name: azure-metrics-advisor description: Expert knowledge for Azure AI Metrics Advisor development including decision making, limits & quotas, security, configuration, and integrations & coding patterns. Use when configuring data feeds, tuning anomaly detection, managing alerts/hooks, or calling Metrics Advisor REST/SDKs, and other Azure AI Metrics Advisor related development tasks. Not for Azure AI Anomaly Detector (use azure-anomaly-detector), Azure Monitor (use azure-monitor), Azure Stream Analytics (use azure-stream-analytics). compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation. metadata: generated_at: "2026-06-14" generator: "docs2skills/1.0.0" --- # Azure AI Metrics Advisor Skill This skill provides expert guidance for Azure AI Metrics Advisor. Covers decision making, limits & quotas, security, configuration, and integrations & coding patterns. It combines local quick-reference content with remote documentation fetching capabilities. ## How to Use This Skill > **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file > **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md) This skill requires **network access** to fetch documentation content: - **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown. - **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown. ## Category Index | Category | Lines | Description | |----------|-------|-------------| | Decision Making | L33-L37 | Guidance on estimating, controlling, and optimizing Metrics Advisor costs and usage, including pricing factors, quotas, and cost-management best practices. | | Limits & Quotas | L38-L42 | Service limits for Metrics Advisor: max metrics, dimensions, alerts, data ingestion rates, detection constraints, and guidance on scaling within quotas. | | Security | L43-L48 | Configuring Metrics Advisor security: data encryption, auth options (keys, AAD), and creating/managing secure credential entities for data sources and monitoring. | | Configuration | L49-L53 | Setting up Metrics Advisor: configuring alert hooks (email/webhook), alerting rules, data feed and detection settings, and tuning anomaly detection behavior for your instance. | | Integrations & Coding Patterns | L54-L58 | Connecting Metrics Advisor to various data sources, crafting valid ingestion queries, and using its REST API/SDKs to integrate anomaly detection into applications | ### Decision Making | Topic | URL | |-------|-----| | Plan and manage Azure Metrics Advisor costs and usage | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/cost-management | ### Limits & Quotas | Topic | URL | |-------|-----| | Understand Metrics Advisor limits and constraints | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/faq | ### Security | Topic | URL | |-------|-----| | Configure encryption and authentication for Metrics Advisor | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/encryption | | Create and manage Metrics Advisor credential entities securely | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/how-tos/credential-entity | ### Configuration | Topic | URL | |-------|-----| | Configure Metrics Advisor instance and detection settings | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/how-tos/configure-metrics | ### Integrations & Coding Patterns | Topic | URL | |-------|-----| | Connect diverse data sources to Metrics Advisor | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/data-feeds-from-different-sources | | Use Metrics Advisor REST API and client SDKs | https://learn.microsoft.com/en-us/azure/ai-services/metrics-advisor/quickstarts/rest-api-and-client-library |
© MicrosoftDocs · CC-BY-4.0 · MicrosoftDocs/Agent-Skills