Azure Diagnostics 스킬
Grok Bot 지원
- 설치 수
- 78.8만
- GitHub 스타
- 1.7천
- 보안 스캔 통과
- 2/3
- 게시자
- 공식 인증
- 라이선스
- MIT
- 저장소 업데이트
- 2026년 11월 30일
TL;DR
azure-diagnostics는 AppLens, Azure Monitor, 리소스 상태 점검 및 서비스별 가이드를 사용해 Azure 프로덕션 이슈를 디버깅하는 운영(Operate) 단계 Microsoft 스킬입니다.
설치 추천 대상
App Service, Container Apps, Functions, AKS, VM, 메시징 장애의 근본 원인을 체계적으로 파악하려는 Azure 운영 개발자에게 적합합니다.
건너뛰어도 되는 경우
Azure 앱 배포나 사전 준비 작업에는 적합하지 않습니다. 해당 작업은 다른 Azure 스킬이 담당하며 이 스킬은 문제 진단 전용입니다.
npx skills add https://github.com/microsoft/azure-skills --skill azure-diagnosticsSkillselion MCP로 먼저 체험해 보세요. 설치할 필요도 없고 디스크에 아무것도 남지 않습니다.
1. 원격 커넥터 추가:
claude mcp add --transport http skillselion https://mcp.skillselion.com/mcp2. 에이전트에 요청하기:
Use Skillselion load_skill to load skill:microsoft/azure-skills#azure-diagnostics (Azure Diagnostics) and follow it.Skillselion MCP로 먼저 체험해 보세요. 설치할 필요도 없고 디스크에 아무것도 남지 않습니다.
1. 이 URL을 커스텀 커넥터로 추가 (Claude.ai, ChatGPT, Cursor):
https://mcp.skillselion.com/mcp2. 에이전트에 요청하기:
Use Skillselion load_skill to load skill:microsoft/azure-skills#azure-diagnostics (Azure Diagnostics) and follow it.azure-diagnostics 핵심 요약
- Container Apps, App Service, Functions, AKS, VM, 메시징 전반을 포괄
- AppLens, Azure Monitor, KQL 활용
- 로그를 읽기 전에 리소스 상태(Resource Health) 우선 점검
- 실시간 Azure 접근 없이 동작하는 증거 기반 전용 모드 지원
수치로 보는 azure-diagnostics
| 누적 설치 수 | 788,446 (78.8만) | skills.sh 레지스트리 |
|---|---|---|
| GitHub 스타 | ★ 1.7천 | GitHub |
| 보안 감사 | 스캐너 3개 중 2개 통과 | skills.sh 감사 |
| 저장소 최근 업데이트 | 2026년 11월 30일 | GitHub |
| 라이선스 | MIT | SKILL.md / GitHub |
| 저장소 | microsoft/azure-skills ↗ | |
2026년 12월 1일 기준 데이터 (Skillselion 카탈로그 동기화)
- 5단계 빠른 진단 흐름
- 6개 서비스별 트러블슈팅 가이드
- 9가지 규칙
azure-diagnostics은(는) Claude Code에서 무엇을 할 수 있나요?
무료 스킬. 유료 Azure 구독 및 구성된 모니터링 환경이 필요합니다.
- 주요 기능
- Azure 트러블슈팅 · 로그 분석 · 근본 원인 분석 · 리소스 상태 점검 · AKS 진단
- 연동 지원
- azure · kubernetes
- 활용 사례
- 디버깅 · DevOps
- 실행 환경
- 로컬 실행
- 요금제
- 자체 API 키 사용
Azure Diagnostics 스킬은(는) 어떤 결과물을 만드나요?
리소스 상태, 로그, 메트릭, 최근 변경 사항에 근거한 원인 분석 결과와 조치 단계를 문서화해 제공합니다.
- 문서화된 근본 원인 분석 결과
- 검증 단계가 포함된 조치(remediation) 방안
Deep dive: how does azure-diagnostics actually work?
azure-diagnostics is Microsoft's official agent skill for debugging live Azure services: App Service, Container Apps, Functions, AKS, VMs and messaging. It has 788,446 installs as of December 1, 2026 (Skillselion catalog). The SKILL.md diagnoses almost nothing itself. It is a router into a 54-file bundle, and the symptom-to-cause tables live in there.
분석 기준커밋 968f7bf
The skill is pinned here at commit 968f7bf of microsoft/azure-skills, read on November 14, 2026, where the frontmatter declares version: "1.2.14". Every measurement below comes from a checkout at that commit, counting the skill's .github/plugins/ tree only, because the repository ships a second byte-identical copy under skills/ that would double any repo-wide grep. On that basis the bundle is 54 files and 230,901 bytes, of which the SKILL.md is 7,481.
azure-diagnostics, step by step
1. Its own diagnostic procedure is five steps long
And every one of them is a verb a model already knows.
Line 12 is a banner reading AUTHORITATIVE GUIDANCE and MANDATORY COMPLIANCE, and the line under it calls the document the official source for debugging and troubleshooting Azure production issues. Then it gives you one numbered flow, and this is all of it:
- Identify symptoms - What's failing?
- Check resource health - Is Azure healthy?
- Review logs - What do logs show?
- Analyze metrics - Performance patterns?
- Investigate recent changes - What changed?
Source: SKILL.md, "Quick Diagnosis Flow"
Any competent model produces that list unprompted, and none of the five steps narrows a symptom to a cause. The banner survives that reading anyway, because the claim is about the skill and not about the file carrying it: the SKILL.md is 7,481 bytes of a 230,901-byte bundle, roughly three percent, and the debugging lives in the other ninety-seven. What the entry point owes you is a reliable way in.
2. What it actually ships is a routing contract
Four rules that decide which document gets loaded.
The load-bearing section is four bullets that decide which file the agent opens next:
- Keep Container Apps and Function Apps diagnostics in this parent skill.
- Route active AKS incidents, AKS-specific intake, evidence gathering, and remediation guidance to AKS Troubleshooting.
- Route Azure VM RDP/SSH connectivity, NSG/firewall, credential reset, and VM agent troubleshooting to VM Connectivity Troubleshooting.
- Route Azure Messaging SDK troubleshooting (Event Hubs, Service Bus) to Messaging Troubleshooting.
Source: SKILL.md, "Routing"
The first bullet reads like a contradiction, because the service table in the section just above points Container Apps and Function Apps at references/ READMEs of their own. It is not one, and the directory layout proves it. Files under references/ are flat symptom tables that the parent reads and applies directly. Files under troubleshooting/ run their own procedure: the AKS and compute guides carry their own evidence order, workflow, error handling and guardrails, and the messaging README routes on by symptom and SDK language. AKS, compute and messaging get handed over to a guide; Container Apps and Functions get consulted as tables while the parent keeps control. The verbs "keep" and "route" carry that distinction, and the directory names back them up.
That makes this an index-plus-references skill of the same family as microsoft-foundry from the same repo, and the same shape as its pipeline siblings azure-prepare and azure-deploy. Where foundry routes by intent into twenty-four sub-skills, this one routes by Azure service into six per-service destinations.
3. The real diagnosis lives in 31 symptom tables
That the entry point never shows you.
Follow a route and the character of the writing changes. Count a symptom table strictly: its first column header has to name the thing you observed (symptom, error, error message, error code, exception, exit code, event message, observation, condition; a header that contains one of these words counts), and its remaining columns have to carry both a cause (cause, likely cause, reason, meaning) and a fix (fix, fix path, quick fix, action). The bundle holds 64 markdown tables in all; 31 of them pass that test, spread across 16 of its 42 markdown files. references/functions/triggers.md contributes seven of them and pod-failures.md five. The latter maps container exit codes: 137 to OOMKilled with a memory-limit fix, 139 to a segfault, 143 to a SIGTERM that may have come from a liveness probe. references/app-service/README.md maps ERR_CERT_DATE_INVALID to an expired certificate and DNS_PROBE_FINISHED_NXDOMAIN to a missing CNAME.
Two boundaries move that number. All seven compute symptom references drop out, because their tables jump from symptom straight to action or solution with no cause column at all. Loosening the rule to cause or fix, with solution also accepted as a fix, raises the count to 40 tables in 25 files. Everything below rests on the strict reading.
The distinctions these tables draw are the ones that decide a fix:
Readiness probe failure -> pod removed from Service endpoints (no traffic). Liveness probe failure -> pod killed and restarted.
Source: troubleshooting/aks/pod-failures.md, "Readiness & Liveness Probe Failures"
An agent that has confused those two will chase a traffic problem while pods restart underneath it. So the skill does diagnose, and the mechanism is lookup rather than inference: match the observed string, read the cause. That is a thinner mechanism than the falsifiable deletion test improve-codebase-architecture hands its agent, and for production triage it is also the better fit. Knowing that context deadline exceeded on an image pull points at an unreachable registry is a fact about Azure rather than a conclusion to be reasoned out, and loading facts is what a reference bundle is for.
4. The scripts collect evidence and refuse to interpret it
And the SKILL.md never names them.
Twelve script files ship in the bundle: six collectors written twice, once in bash and once in PowerShell. They are aks-baseline, appservice-diagnostics, containerapp-diagnostics, pod-evidence, run-ig and test-messaging-connectivity, and together they weigh 66,429 bytes, about 29 percent of everything. They draw a line at the point where a script would start guessing:
For any pod symptom below, run the pod-evidence script to collect the same read-only evidence bundle. Per pod it digests STATUS, STATE (exit code, reason, last state), EVENTS, current/previous LOGS, and RESOURCES (requests vs
top). It only gathers; interpret with the tables.Source: troubleshooting/aks/pod-failures.md, "Evidence Bundle Script"
The App Service and Container Apps READMEs carry one identical sentence saying that interpreting the output remains your job, which with the pod-failures line above puts the boundary in writing in three separate reference files. Deterministic collection goes to bash, judgement goes to the model, and the reference tables are the shared vocabulary between them. Most skills that ship scripts leave that line unstated.
There is a routing gap around it. The SKILL.md does tell the agent to prefer the scripts:
- Prefer bundled diagnostic scripts over ad hoc calls for permitted live collection when identifiers are known. If supplied evidence suffices or live access is prohibited, don't run them; otherwise run the applicable script first.
Source: SKILL.md, "Rules"
That rule names no script and links none, so all twelve files are still reachable only after a route has already fired. Ask about a Container Apps cold start and the reference README hands you containerapp-diagnostics.sh. Ask a question the routing table cannot classify, and the agent knows bundled scripts exist with no path to any of them.
5. The one reference it promotes with a sentence of its own is 1,342 bytes
Four KQL queries and three tips, the second-smallest markdown file in the bundle.
Every other reference in the SKILL.md appears inside a table row, a routing bullet or the closing link list. Exactly one gets a standalone sentence: line 125, under the Azure Monitor tooling, points at references/kql-queries.md for common diagnostic queries. That file is 1,342 bytes, the second-smallest markdown file in the bundle. Four queries against AppExceptions, AppRequests and AppDependencies, then this.
- Always include time filter:
TimeGenerated > ago(Xh)- Limit results with
take 50for large datasets- Use
summarizeto aggregate data before analyzingSource: references/kql-queries.md, "Tips"
Nothing there maps a symptom to a query, and a model writing KQL unaided would have applied all three tips. The file is honestly labelled as common queries, so the complaint is shelf placement: the queries that carry weight are already inline in the per-service references, next to the symptom that calls for them.
Compare the neighbour. references/azure-resource-graph.md is more than twice the size, teaches the HealthResources and ServiceHealthResources tables, and closes by restating rule 4 of the skill's own rule list almost word for word, telling you to check HealthResources before deep-diving into application logs. It gets one bare bullet at the bottom. Ranking the references is most of an index's job, and thin indexes over deep references are a house style for vendor skills like supabase-postgres-best-practices. This one has its emphasis wrong by one file.
6. Read-only is the default, and root cause requires quoted evidence
The AKS and VM guides forbid restarts and deletes without an explicit request, and a root cause has to quote its evidence.
The AKS and VM guides both set guardrails; the messaging README states none. The AKS one:
- default to read-only diagnostics
- do not restart, delete, cordon, drain, scale, upgrade, or reconfigure resources unless the user explicitly asks for remediation
- do not conclude root cause without quoting the evidence that supports it
Source: troubleshooting/aks/aks-troubleshooting.md, "Guardrails"
The third line is the one that separates this from a query library. Hand a fluent model some queries and it will narrate a root cause with total confidence; require the evidence to be quoted before the conclusion is stated and the chain becomes visible, which makes it checkable by whoever else is on the incident call. The compute guide repeats the same rule and adds a sequencing one, that network-layer blockers get fixed before agent-dependent ones.
The VM path also carries a genuine interlock. Four extension-backed commands are gated behind a pre-flight check:
Run before
az vm user update,az vm user reset-ssh,az vm user reset-remote-desktop,az vm run-command invoke, or any extension-backed operation.Source: troubleshooting/compute/references/cannot-connect-to-vm.md, "Pre-Flight Safety Checks"
The check is two az vm reads and a four-row table of safe and unsafe values for power state, provisioning state, VM agent status and extension state. PowerState/running passes; anything else, including a query error, fails. Any failure stops the run and pushes the agent to Serial Console or an offline repair VM. Defined pass conditions turn a warning into an interlock, and this one has them.
7. It prescribes an az command that does not exist
In four separate remediation references.
az command that does not existThe interlock above gates az vm user reset-remote-desktop. There is no such command. az vm user has exactly three subcommands in the current Azure CLI reference, delete, reset-ssh and update, and no reset-remote-desktop appears anywhere under az vm.
The name is a plausible guess because the SSH half of the pair is real. az vm user reset-ssh resets the SSH configuration, restarting the service and opening the port while leaving the account alone. RDP has no such counterpart. Microsoft's own article on resetting Remote Desktop Services offers two routes and neither is the CLI: the portal's "Reset configuration only" button, or PowerShell Set-AzVMAccessExtension -Name VMAccessAgent -ForceRerun $true. The obvious substitute does not close the gap either, since az vm user update sets a username and password through VMAccessAgent, which is the credential repair rather than the configuration one. A user whose RDP service is disabled or whose firewall rule is missing gets nothing from it.
The string occurs six times in the bundle: twice in guardrail lists, and four times as a command the agent is told to run.
az vm user reset-remote-desktop --name <vm> -g <rg>
Source: troubleshooting/compute/references/rdp-connectivity.md, "Quick Commands"
The same command sits in credential-auth-errors.md, firewall-blocking.md and rdp-service-config.md. The failure is loud rather than dangerous, since the CLI rejects an unknown command, and it lands on the exact path a locked-out user reaches: someone who cannot RDP into a Windows VM, has passed the pre-flight checks, and is handed a remediation that errors out. Every other command in this bundle that we checked against the public CLI surface resolves, including az aks check-acr and az vm repair reset-nic. We could not execute anything against a live subscription, so this is a check of the documented CLI surface, not of runtime behavior.
Tools it drives: az CLI reads across webapp, functionapp, containerapp, aks, vm, monitor and graph; kubectl for cluster-side evidence; six bundled collectors, each shipped as a bash and a PowerShell file; Inspektor Gadget through run-ig for kernel-level tracing; and the Azure MCP tools mcp_azure_mcp_applens, _monitor, _resourcehealth, _compute, _appservice, _eventhubs, _servicebus and _documentation, plus the Azure MCP AKS area under whatever name the host assigns it.
Behavior change, before and after:
| You ask | Without the skill | With the skill |
|---|---|---|
| "Why is my pod in CrashLoopBackOff?" | A list of things it could be, then commands to try | One evidence bundle, then the exit code read off a table: 137 means OOMKilled, raise the memory limit |
| "I can't RDP into this VM" | Suggestions in whatever order they occur | Symptom category, then a pre-flight safety check before any credential-reset command runs |
| "Find the logs for this Function App" | Guesses at the App Insights resource | A single Resource Graph join returning the workspace, with a documented CLI fallback |
The fine print worth knowing:
- The twelve script files are not linked from the SKILL.md: rule 7 says to prefer bundled scripts, but only a routed reference names them.
- Most of the value assumes the Azure MCP server is connected. Without it the CLI fallbacks still work, but the AppLens and detector paths that the guides prefer first are gone.
- KQL queries assume Application Insights or a Log Analytics workspace with diagnostic settings already enabled. On a resource with no telemetry the log half of the flow returns nothing.
- Container Apps and Function Apps stay in the parent, so their guidance is thinner than the AKS and compute trees by design.
Should you install azure-diagnostics?
Install it if you run production workloads on App Service, Container Apps, Functions, AKS or Azure VMs and you want an agent that gathers evidence in a fixed order and refuses to name a root cause without showing its work. The symptom tables encode Azure-specific knowledge that a model gets wrong from memory, and the read-only default plus the VM pre-flight check make it safe to point at a live incident. Skip it if your Azure footprint is one web app, where the whole flow reduces to reading the log stream, and skip it if you cannot connect the Azure MCP server and are unwilling to work through CLI fallbacks. Verify any az command it suggests before running it; at this commit at least one is not real.
npx skills add https://github.com/microsoft/azure-skills --skill azure-diagnostics핵심 문답
Does azure-diagnostics actually diagnose, or does it just run queries?
It diagnoses, but not from the SKILL.md. The entry point contributes a five-step flow and a routing table; the diagnosis is 31 symptom-keyed tables in the routed reference files at commit 968f7bf (November 14, 2026), counting only those that carry a cause column and a fix column, which map an observed string such as exit code 137 or ImagePullBackOff to a cause and a fix. The mechanism is lookup rather than inference, and one guardrail requires the agent to quote the evidence before it states a root cause.
Will azure-diagnostics change my Azure resources?
Not by default. The AKS and VM guides set read-only diagnostics as the default and forbid restarting or deleting resources without an explicit request for remediation; the AKS guide adds cordon, drain, scale, upgrade and reconfigure, and the VM guide adds redeploy and deallocate. The messaging guide states no guardrail. Four VM commands that go through the agent or extensions are additionally gated behind a pre-flight check on power state, provisioning state, VM agent status and extension state, with any unsafe value stopping the run.
Do I need the Azure MCP server for it to work?
No, but you lose the paths the guides reach for first. AppLens diagnostics, the App Service detector run and the Resource Health lookup are all MCP calls, and each guide documents an az CLI fallback for when MCP cannot perform the read. With CLI only you still get every symptom table and every bundled collector script.
azure-diagnostics에는 어떤 파일이 포함되어 있나요?
원문 영어 스킬 파일 펼치기 (54개 파일)
SKILL.md 불러오는 중…
가이드
- Azure Skills for Claude Code: The Complete Guide to microsoft/azure-skills
microsoft/azure-skills is Microsoft's official repo of 27 Azure skills for Claude Code, covering deploy, AKS, diagnostics, compliance, cost, and Azure AI Foundry. Combined they have 9,775,059 installs, with microsoft-foundry alone at 797,832 installs (skills.sh registry, December 1, 2026). This guide maps every skill to the Azure job it does.
azure-diagnostics와 관련된 스킬은?
Azure Diagnostics 스킬 자주 묻는 질문
Azure Diagnostics 스킬은(는) 누구에게 적합한가요?
App Service, Container Apps, Functions, AKS, VM, 메시징 장애의 근본 원인을 체계적으로 파악하려는 Azure 운영 개발자에게 적합합니다. 건너뛰어도 되는 경우: Azure 앱 배포나 사전 준비 작업에는 적합하지 않습니다. 해당 작업은 다른 Azure 스킬이 담당하며 이 스킬은 문제 진단 전용입니다.
azure-diagnostics은(는) 언제 사용해야 하나요?
사용자가 503 오류, 높은 CPU, 크래시 루프, VM RDP 실패, Service Bus 락 오류 등 Azure 프로덕션 이슈의 디버깅·트러블슈팅을 요청할 때 호출합니다.
azure-diagnostics는 어떤 Azure 서비스를 다루나요?
Container Apps, App Service, Function Apps, AKS, VM 연결(RDP 및 SSH), Event Hubs·Service Bus 메시징 SDK 이슈를 다룹니다.
진단 순서는 어떻게 되나요?
증상 식별 → 리소스 상태 확인 → 로그 검토 → 메트릭 분석 → 최근 변경 사항 조사 순서로 진행합니다.
실시간 Azure 접근 권한 없이도 사용할 수 있나요?
네. 증거 기반 전용 분석을 요청하거나 실시간 접근을 금지하면 제공된 로그, 메트릭, 타임라인만으로 진단합니다.
Azure Diagnostics은(는) 안전하게 설치할 수 있나요?
skills.sh 감사 기준 보안 스캐너 3개 중 2개를 통과했습니다. 프로덕션에 설치하기 전에 이 페이지의 보안 감사 패널을 확인하세요.
azure-diagnostics 배지 추가하기
이 스킬이(가) Skillselion에 등재되어 있음을 개발자에게 알려 보세요. README에 붙여 넣으세요.