Skip to content

Azure Infra

Verified

Chat-based Azure infrastructure assistance using Azure CLI and portal context. Use for querying, auditing, and monitoring Azure resources (VMs, Storage, IAM, Functions, AKS, App Service, Key Vault, Azure Monitor, billing, etc.), and for proposing safe changes with explicit confirmation before any write/destructive action.

1,184

Install

Claude Code

Add to .claude/skills/

About This Skill

# Azure Infra

Overview Use the local Azure CLI to answer questions about Azure resources. Default to read‑only queries. Only propose or run write/destructive actions after explicit user confirmation.

Quick Start 1. Ensure login: `az account show` (if not logged in, run `az login --use-device-code`). 2. If multiple subscriptions exist, ask the user to pick one; otherwise use the default subscription. 3. Use read‑only commands to answer the question. 4. If the user asks for changes, outline the exact command and ask for confirmation before running.

Safety Rules (must follow) - Treat all actions as **read‑only** unless the user explicitly requests a change **and** confirms it. - For any potentially destructive change (delete/terminate/destroy/modify/scale/billing/IAM credentials), require a confirmation step. - Prefer `--dry-run` when available and show the plan before execution. - Never reveal or log secrets (keys, client secrets, tokens).

Task Guide (common requests) - **Inventory / list**: use `list`/`show`/`get` commands. - **Health / errors**: use Azure Monitor metrics/logs queries. - **Security checks**: RBAC roles, public storage, NSG exposure, Key Vault access. - **Costs**: Cost Management (read‑only). - **Changes**: show exact CLI command and require confirmation.

Subscription & Tenant Handling - If the user specifies a subscription/tenant, honor it. - Otherwise use the default subscription from `az account show`. - When results are subscription‑scoped, state the subscription used.

References See `references/azure-cli-queries.md` for common command patterns.

Assets - `assets/icon.svg` — custom icon (dark cloud + terminal prompt, Azure‑blue accent)

Use Cases

  • Query Azure VMs, Storage accounts, and Functions to audit your cloud resource inventory
  • Check RBAC role assignments and NSG rules for security misconfigurations
  • Monitor Azure costs and resource health using Azure Monitor and Cost Management CLI
  • Propose infrastructure changes with exact az CLI commands and require confirmation before running
  • Troubleshoot Azure resources by querying logs and diagnostic settings

Pros & Cons

Pros

  • + Read-only by default with explicit confirmation required for any destructive operations
  • + Handles multi-subscription environments and lets users pick the target subscription
  • + Supports --dry-run where available so you can preview changes before committing

Cons

  • - Requires Azure CLI to be installed and authenticated with az login
  • - Scoped to a single subscription at a time — cross-subscription queries need manual switching
  • - No built-in support for Azure Resource Graph queries which are more efficient for large-scale audits

Frequently Asked Questions

What does Azure Infra do?

Chat-based Azure infrastructure assistance using Azure CLI and portal context. Use for querying, auditing, and monitoring Azure resources (VMs, Storage, IAM, Functions, AKS, App Service, Key Vault, Azure Monitor, billing, etc.), and for proposing safe changes with explicit confirmation before any write/destructive action.

What platforms support Azure Infra?

Azure Infra is available on Claude Code, OpenClaw.

What are the use cases for Azure Infra?

Query Azure VMs, Storage accounts, and Functions to audit your cloud resource inventory. Check RBAC role assignments and NSG rules for security misconfigurations. Monitor Azure costs and resource health using Azure Monitor and Cost Management CLI.

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts