/open-horizons-platform:azure-resource-health-diagnosefrom open-horizons-platform
Diagnoses Azure resource health issues by querying Resource Health, Log Analytics, and Application Insights, then produces a prioritized remediation plan with Azure CLI commands, validation, and rollback steps.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this workflow to identify an Azure resource, assess its current health, query logs and telemetry, classify root causes, and return a remediation plan with validation and rollback steps.
azmcp-subscription-list, azmcp-monitor-workspace-list, azmcp-monitor-table-list, and azmcp-monitor-log-query over direct Azure CLI when they are available.az resource list --name <resource-name> only as a fallback for discovery.| Resource type | Primary checks | Useful signals |
|---|---|---|
| Web Apps / Function Apps | Availability, HTTP response codes, response times, recent deployments | Application logs, AppServiceHTTPLogs, AppServiceAppLogs, dependency tracking, execution success rate, duration, error frequency |
| Virtual Machines | Provisioning state, boot diagnostics, guest OS metrics, network connectivity | CPU, memory, disk, system logs, performance counters |
| Cosmos DB | Request metrics, throttling, partition statistics | RU consumption, 429s, latency, hot partitions |
| Storage Accounts | Availability, request success rate, latency | Access logs, performance metrics, capacity, authorization failures |
| SQL Database | Connection success, query performance, deadlocks | SQLSecurityAuditEvents, DTU/vCore pressure, blocking, action_name_s CONNECTION_FAILED |
| Application Insights | Application telemetry, exceptions, dependencies | Failed requests, exception trends, dependency failures |
| Key Vault | Access logs, certificate status, secret usage | Authentication failures, throttling, certificate expiration |
| Service Bus | Message metrics, throughput, dead letters | Dead letter queues, lock loss, send/receive failures |
Run azmcp-monitor-log-query with queries adapted to the detected tables and resource type.
// Recent errors and exceptions
union isfuzzy=true
AzureDiagnostics,
AppServiceHTTPLogs,
AppServiceAppLogs,
AzureActivity
| where TimeGenerated > ago(24h)
| where Level == "Error" or ResultType != "Success"
| summarize ErrorCount=count() by Resource, ResultType, bin(TimeGenerated, 1h)
| order by TimeGenerated desc
// Performance degradation patterns
Perf
| where TimeGenerated > ago(7d)
| where ObjectName == "Processor" and CounterName == "% Processor Time"
| summarize avg(CounterValue) by Computer, bin(TimeGenerated, 1h)
| where avg_CounterValue > 80
// Application Insights - Failed requests
requests
| where timestamp > ago(24h)
| where success == false
| summarize FailureCount=count() by resultCode, bin(timestamp, 1h)
| order by timestamp desc
// Database - Connection failures
AzureDiagnostics
| where ResourceProvider == "MICROSOFT.SQL"
| where Category == "SQLSecurityAuditEvents"
| where action_name_s == "CONNECTION_FAILED"
| summarize ConnectionFailures=count() by bin(TimeGenerated, 1h)
Correlate recurring errors with deployment times, configuration changes, dependency failures, external service incidents, and performance trends.
| Severity | Definition | Response |
|---|---|---|
| Critical | Service unavailable, data loss, or security breach | Immediate restoration, workaround, escalation, and rollback plan. |
| High | Performance degradation, intermittent failures, or high error rates | Short-term fix, scaling, configuration correction, or application patch. |
| Medium | Warnings, suboptimal configuration, or minor performance issues | Planned remediation and monitoring improvement. |
| Low | Informational alerts or optimization opportunities | Backlog item or preventive recommendation. |
| Root cause category | Examples to test |
|---|---|
| Configuration Issues | Incorrect settings, missing dependencies, invalid connection strings, disabled diagnostic settings. |
| Resource Constraints | CPU, memory, disk, RU, connection, or throughput limits and throttling. |
| Network Issues | DNS resolution, firewall rules, private endpoint, NSG, route, or connectivity problems. |
| Application Issues | Code bugs, memory leaks, inefficient queries, dependency exceptions. |
| External Dependencies | Third-party service failures, API limits, regional outages. |
| Security Issues | Authentication failures, expired certificates, missing roles, denied access. |
A complete remediation plan includes Immediate Actions for Critical issues, Short-term Fixes for High and Medium issues, Long-term Improvements for all recurring risks, implementation steps with specific Azure CLI commands, validation procedures, rollback plans, and monitoring to verify resolution.
| Symptom | Likely cause | Resolution |
|---|---|---|
| Resource Not Found | Wrong name, subscription, or resource group | Ask for scope or search with azmcp-subscription-list and az resource list --name <resource-name>. |
| Authentication Issues | Azure session missing or expired | Guide the user through Azure authentication setup. |
| Insufficient Permissions | RBAC role lacks read, metrics, or log access | List required RBAC roles for resource and monitoring access. |
| No Logs Available | Diagnostic settings are disabled or data has not arrived | Suggest enabling diagnostic settings and waiting for ingestion. |
| Query Timeouts | Time window or table union is too large | Break analysis into smaller time windows and resource-specific tables. |
| Service-Specific Issues | Logs unavailable for the service | Provide a generic health assessment and state limitations. |
Keep these Azure triage phrases intact when matching incidents and reports: Web Apps/Function Apps, azmcp-*, logs/telemetry, group/subscription, subscription/resource, name/location, Healthy/Warning/Critical, High/Medium, High/Medium/Low, Performance/reliability, performance/reliability, CPU/Memory/Storage, CPU/memory/disk, and affected users/systems.
open-horizons-orchestration (skill).# Azure Resource Health Report: <Resource Name>
**Generated**: <timestamp>
**Resource**: <full resource ID>
**Type**: <resource provider/type>
**Location**: <region>
**Overall Health**: Healthy | Warning | Critical | Unknown
## Executive Summary
<brief health status and key findings>
## Health Metrics
- **Availability**: <percent over time window>
- **Performance**: <average response time/throughput>
- **Error Rate**: <percent over time window>
- **Resource Utilization**: <CPU/memory/storage/RU values>
## Issues Identified
| Severity | Issue | Evidence | Root Cause | Impact |
| --- | --- | --- | --- | --- |
| Critical | <issue> | <KQL/metric/resource evidence> | <analysis> | <business impact> |
## Remediation Plan
### Phase 1: Immediate Actions (0-2 hours)
- `<Azure CLI command>` — <purpose>
- Rollback: `<rollback command or procedure>`
### Phase 2: Short-term Fixes (2-24 hours)
- `<Azure CLI command>` — <purpose>
- Validation: <logs, metrics, or functional test>
### Phase 3: Long-term Improvements (1-4 weeks)
- <architectural or preventive measure>
## Monitoring Recommendations
- **Alerts to Configure**: <recommended alerts>
- **Dashboards to Create**: <dashboard suggestions>
- **Regular Health Checks**: <frequency and scope>
## Validation Steps
- [ ] Verify issue resolution through logs.
- [ ] Confirm performance improvements.
- [ ] Test application functionality.
- [ ] Update monitoring and alerting.
- [ ] Document lessons learned.
## Prevention Measures
- <recommendation>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls./agent-skillsApplies current portable Agent Skill conventions for discovery metadata, progressive disclosure, bundled resources, safety, and validation. Use when creating or updating SKILL.md./azure-agentic-architecture-patternsProvides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls./azure-api-centerDesign Azure API Center as the enterprise inventory and governance plane for APIs, agent tools, OpenAPI definitions, environments, deployments, metadata, linting, and MCP server discovery. Use when building an API or tool catalog, enforcing API standards, registering MCP servers, or making approved tools discoverable to agent builders.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platformOther plugins' skills for the same job