Back to Skills

azure-resource-lookup

List, find, and show Azure resources across subscriptions or resource groups. Handles prompts like "list websites", "list virtual machines", "list my VMs", "show storage accounts", "find container apps", and "what resources do I have". USE FOR: resource inventory, find resources by tag, tag analysis, orphaned resource discovery (not for cost analysis), unattached disks, count resources by type, cross-subscription lookup, and Azure Resource Graph queries. DO NOT USE FOR: deploying/changing resour

181stars119forksUpdated 4/8/2026

Security Assessment

Safe(100/100)
Security Score100/100

About azure-resource-lookup

The Azure Resource Lookup skill provides a comprehensive way to list, find, and discover Azure resources across multiple subscriptions or resource groups. This skill solves the challenge of accessing and managing diverse Azure resources by allowing users to query resources based on specific types, tags, or states. It leverages Azure Resource Graph (ARG) to execute fast, efficient queries across large datasets, enabling users to easily retrieve information about their Azure resources. This skill is particularly useful for discovering orphaned resources, finding resources missing required tags, and gaining insights into the state of resources (e.g., unhealthy, stopped).

FAQ

How can I use the Azure Resource Lookup skill to list my Azure resources?

You can use the Azure Resource Lookup skill to list your Azure resources by querying with specific resource types or using Azure Resource Graph for broader, cross-subscription queries. The CLI command to use is `az graph query -q "<KQL>" -o table`.

Can this skill be used for cost analysis or optimization?

No, this skill is not designed for cost analysis or optimization. For cost-related tasks, you should use the `azure-cost` skill.

What types of Azure resources can I query with this skill?

You can query various types of Azure resources, including virtual machines, web apps, storage accounts, container apps, databases, and more, using the Azure Resource Graph for fast queries.

Are there any limitations on using this skill across subscriptions?

The Azure Resource Lookup skill supports cross-subscription queries, making it possible to retrieve resources across multiple subscriptions and resource groups. However, the skill's efficiency may depend on the number of subscriptions and resources queried.

Do I need to install any extensions to use this skill?

Yes, you need to install the `resource-graph` extension using the command `az extension add --name resource-graph` to enable Azure Resource Graph queries.

All Files

2 files
SKILL.md5.0 KB
View
references/azure-resource-graph.md5.1 KB
View

Install azure-resource-lookup

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill