azure-cli

Inspect and manage Azure subscriptions, resource groups, and deployments using the Azure CLI.

Updated May 6, 2026
One-click install
npx skills add https://github.com/UnionStreetAI/unionstreet --skill azure-cli-unionstreetai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-cli
Source: https://github.com/UnionStreetAI/unionstreet/tree/main/plugins/azure/skills/azure-cli
Command: npx skills add https://github.com/UnionStreetAI/unionstreet --skill azure-cli-unionstreetai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing Azure resources through the web portal is slow and hard to audit. This Skill gives you subscription-aware command-line workflows for inspecting and operating Azure resources safely, with explicit context and guardrails against accidental production changes. ## Core Features & Use Cases - Subscription Context Verification: Confirm the active account, tenant, and subscription before running any operation with az account show and az account list. - Resource Inspection: List resource groups, deployments, web apps, container apps, and monitor activity logs with explicit --subscription and --resource-group scoping. - Safe Operations Guardrails: Enforces confirmation before IAM/RBAC, networking, database, or production mutations, and never prints service principal secrets. - Use Case: You need to check why a deployment failed in a specific resource group. Use this Skill to set the correct subscription, list recent deployments, and pull the last 20 activity log events for diagnosis. ## Quick Start Ask the AI to list all resource groups in your Azure subscription and show the current account context.

Frequently Asked Questions about azure-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check which Azure subscription is active in the CLI?▼

Run `az account show` to display the current subscription, tenant, and account context. Use `az account list --output table` to see all available subscriptions before switching with `az account set --subscription <subscription>`.

How to list Azure resources in a specific resource group?▼

Use `az group list --output table` for resource groups and scope commands with explicit `--subscription` and `--resource-group` flags. For deployments, run `az deployment group list --resource-group <rg>`.

Can I inspect Azure Container Apps and Web Apps from the CLI?▼

Yes, use `az containerapp list --output table` and `az webapp list --output table` to enumerate these resources. Always confirm your subscription context first to avoid querying the wrong environment.

How do I view recent Azure activity logs for troubleshooting?▼

Run `az monitor activity-log list --max-events 20` to retrieve the most recent activity log events. This helps diagnose deployment failures and track resource changes within the active subscription.

What safety rules apply when running Azure CLI mutations?▼

Always name the subscription, tenant, resource group, and region explicitly. Ask for confirmation before IAM/RBAC, networking, database, or production changes, and never print service principal secrets or credential JSON.