[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FD7BZPE2KG4BFBR20JDGFR":3,"skill-same:01M6FD7BZPE2KG4BFBR20JDGFR":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FD7BZPE2KG4BFBR20JDGFR","azure-resource-lookup",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fmicrosoft\u002Fskills\u002Fazure-resource-lookup\u002FSKILL.md",[],[18,19,20],"azure resource lookup","azure","lookup","2026-11-10 10:12:30",false,"# Azure Resource Lookup\r\n\r\nList, find, and discover Azure resources of any type across subscriptions and resource groups. Use Azure Resource Graph (ARG) for fast, cross-cutting queries when dedicated MCP tools don't cover the resource type.\r\n\r\n## When to Use This Skill\r\n\r\nUse this skill when the user wants to:\r\n- **List resources** of any type (VMs, web apps, storage accounts, container apps, databases, etc.)\r\n- **Show resources** in a specific subscription or resource group\r\n- Query resources **across multiple subscriptions** or resource types\r\n- Find **orphaned resources** (unattached disks, unused NICs, idle IPs)\r\n- Discover resources **missing required tags** or configurations\r\n- Get a **resource inventory** spanning multiple types\r\n- Find resources in a **specific state** (unhealthy, failed provisioning, stopped)\r\n- Answer \"**what resources do I have?**\" or \"**show me my Azure resources**\"\r\n\r\n> ? **Tip:** For single-resource-type queries, first check if a dedicated MCP tool can handle it (see routing table below). If none exists, use Azure Resource Graph.\r\n\r\n## Quick Reference\r\n\r\n| Property | Value |\r\n|----------|-------|\r\n| **Query Language** | KQL (Kusto Query Language subset) |\r\n| **CLI Command** | `az graph query -q \"\u003CKQL>\" -o table` |\r\n| **Extension** | `az extension add --name resource-graph` |\r\n| **MCP Tool** | `extension_cli_generate` with intent for `az graph query` |\r\n| **Best For** | Cross-subscription queries, orphaned resources, tag audits |\r\n\r\n## MCP Tools\r\n\r\n| Tool | Purpose | When to Use |\r\n|------|---------|-------------|\r\n| `extension_cli_generate` | Generate `az graph query` commands | Primary tool — generate ARG queries from user intent |\r\n| `mcp_azure_mcp_subscription_list` | List available subscriptions | Discover subscription scope before querying |\r\n| `mcp_azure_mcp_group_list` | List resource groups | Narrow query scope |\r\n\r\n## Workflow\r\n\r\n### Step 1: Check for a Dedicated MCP Tool\r\n\r\nFor single-resource-type queries, check if a dedicated MCP tool can handle it:\r\n\r\n| Resource Type | MCP Tool | Coverage |\r\n|---|---|---|\r\n| Virtual Machines | `compute` | ✅ Full — list, details, sizes |\r\n| Storage Accounts | `storage` | ✅ Full — accounts, blobs, tables |\r\n| Cosmos DB | `cosmos` | ✅ Full — accounts, databases, queries |\r\n| Key Vault | `keyvault` | ⚠️ Partial — secrets\u002Fkeys only, no vault listing |\r\n| SQL Databases | `sql` | ⚠️ Partial — requires resource group name |\r\n| Container Registries | `acr` | ✅ Full — list registries |\r\n| Kubernetes (AKS) | `aks` | ✅ Full — clusters, node pools |\r\n| App Service \u002F Web Apps | `appservice` | ❌ No list command — use ARG |\r\n| Container Apps | — | ❌ No MCP tool — use ARG |\r\n| Event Hubs | `eventhubs` | ✅ Full — namespaces, hubs |\r\n| Service Bus | `servicebus` | ✅ Full — queues, topics |\r\n\r\nIf a dedicated tool is available with full coverage, use it. Otherwise proceed to Step 2.\r\n\r\n### Step 2: Generate the ARG Query\r\n\r\nUse `extension_cli_generate` to build the `az graph query` command:\r\n\r\n```yaml\r\nmcp_azure_mcp_extension_cli_generate\r\n  intent: \"query Azure Resource Graph to \u003Cuser's request>\"\r\n  cli-type: \"az\"\r\n```\r\n\r\nSee [Azure Resource Graph Query Patterns](references\u002Fazure-resource-graph.md) for common KQL patterns.\r\n\r\n### Step 3: Execute and Format Results\r\n\r\nRun the generated command. Use `--query` (JMESPath) to shape output:\r\n\r\n```bash\r\naz graph query -q \"\u003CKQL>\" --query \"data[].{name:name, type:type, rg:resourceGroup}\" -o table\r\n```\r\n\r\nUse `--first N` to limit results. Use `--subscriptions` to scope.\r\n\r\n## Error Handling\r\n\r\n| Error | Cause | Fix |\r\n|-------|-------|-----|\r\n| `resource-graph extension not found` | Extension not installed | `az extension add --name resource-graph` |\r\n| `AuthorizationFailed` | No read access to subscription | Check RBAC — need Reader role |\r\n| `BadRequest` on query | Invalid KQL syntax | Verify table\u002Fcolumn names; use `=~` for case-insensitive type matching |\r\n| Empty results | No matching resources or wrong scope | Check `--subscriptions` flag; verify resource type spelling |\r\n\r\n## Constraints\r\n\r\n- ✅ **Always** use `=~` for case-insensitive type matching (types are lowercase)\r\n- ✅ **Always** scope queries with `--subscriptions` or `--first` for large tenants\r\n- ✅ **Prefer** dedicated MCP tools for single-resource-type queries\r\n- ❌ **Never** use ARG for real-time monitoring (data has slight delay)\r\n- ❌ **Never** attempt mutations through ARG (read-only)\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fmicrosoft\u002Fskills\u002Fazure-resource-lookup",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill azure-resource-lookup",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill azure-resource-lookup",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill azure-resource-lookup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fmicrosoft\u002Fskills\u002Fazure-resource-lookup\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]