azure-cli

azure-cli is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 27 tokens per session (1,017 once invoked), scanned A, original, MIT.

A set of instructions for using Microsoft Azure’s command-line tool, `az`, to manage cloud accounts and services. It covers subscriptions, resource groups, Kubernetes clusters, web apps, secrets, and access permissions.

In plain words
What is it for?
Use it to create resource groups and cloud services, assign permissions, retrieve Kubernetes configuration, inspect web-app logs, and script Azure deployments.
Why use it?
It helps avoid changing the wrong Azure account or location and reduces mistakes when creating, inspecting, or updating cloud resources. It also encourages safer access practices, such as managed identities instead of stored passwords.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit Use it to create resource groups and cloud services, assign permissions, retrieve Kubernetes configuration, inspect web-app logs, and script Azure deployments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/azure-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill azure-cli
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/azure-cli/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/azure-cli)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/azure-cli"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/azure-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/azure-cli"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/azure-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01017
Opus 5 $0.00014 $0.00508
Sonnet 5 $0.00005 $0.00203
Haiku 4.5 $0.00003 $0.00102

Measured yesterday against content hash 7d67200bc96a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

azure-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/azure-cli/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure CLI (az) AI Skill Guide

Overview

The Azure CLI (az) talks to Azure Resource Manager (ARM). Work is scoped by subscription and usually grouped under a resource group. Agents should always resolve tenant, subscription, and default location before mutating resources - Azure errors often look like "NotFound" when the real issue is the wrong subscription context.

az login / identity
        |
        v
+-------------------+     +--------------------+
| Subscription      | --> | Resource groups    |
| Tenant / RBAC     |     | AKS / App Service  |
+-------------------+     | Storage / Key Vault|
                          +--------------------+

When to use

  • Creating resource groups, App Services, AKS clusters, or storage accounts
  • Wiring managed identities and role assignments
  • Fetching AKS kubeconfig or App Service logs
  • Scripting ARM-friendly deployments without full Bicep/Terraform yet

Operational directives

  1. Start every session with az account show and az account list -o table.
  2. Prefer explicit --resource-group / --subscription on write commands.
  3. Use managed identities over client secrets when the platform supports it.
  4. Prefer --output json for scripting; use JMESPath --query instead of fragile greps.
  5. Never print Key Vault secret values into chat or CI logs unless the user explicitly needs them redacted.

Concrete examples

Account and defaults

az login
az account set --subscription "Prod Engineering"
az configure --defaults group=rg-prod-api location=eastus
az account show --query "{name:name, id:id, tenant:tenantId}" -o json

Resource group + App Service

az group create -n rg-prod-api -l eastus
az appservice plan create -g rg-prod-api -n plan-api --sku P1v3 --is-linux
az webapp create -g rg-prod-api -p plan-api -n app-api-prod --runtime "NODE:20-lts"
az webapp config appsettings set -g rg-prod-api -n app-api-prod \
  --settings WEBSITE_NODE_DEFAULT_VERSION=20

Read the full file on GitHub · 112 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · -7 tokens per session 7d67200bc96a
  2. 7d ago First seen · 112 lines · 34 tokens per session scan A 2a86ae598089

Subscribe to this mod's changes

azure-cli is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 1,017 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

azure-cli

A command-line tool for managing Microsoft Azure, Microsoft's cloud platform, from a terminal. It covers account sign-in, subscriptions, resource groups, virtual machines, and other cloud resources.

chaterm/terminal-skills · 7 tokens

awesome-azd-template-submit

Submit an azd template to the awesome-azd gallery. Use when asked to submit, add, or contribute a template to awesome-azd. Requires only a GitHub repository URL — all metadata (title, description, languages, frameworks, Azure services, IaC) is auto-detected by the submission pipeline.

Azure/awesome-azd · 72 tokens

power-automate-api-client

Work with Microsoft Power Automate cloud flows through the power-automate CLI. Use for pull, diff, deploy, create, start, stop, run history, action diagnostics, or replacing a hosted MCP service with local open tooling.

Wals-pro/claude-power-automate · 54 tokens

aks-automatic-readiness

Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility. Identifies incompatibilities, generates fixes, and guides migration from AKS Standard to AKS Automatic. WHEN: migrate to AKS Automatic, check AKS Automatic readiness, validate manifests for Automatic, assess cluster for Automatic…

Azure/AKS-Skills · 114 tokens

aks-cluster-setup

Make the AKS-specific design decisions for a new production Azure Kubernetes Service (AKS) cluster — SKU (Automatic vs Standard), pod IP model (Azure CNI Overlay vs kubenet), API-server access, egress, identity, upgrades, node pools, and reliability — then delegate the actual provisioning to the Azure Skills…

Azure/AKS-Skills · 176 tokens

aks-network-capture

Packet-level network evidence for AKS: run a bounded, distributed packet capture across nodes (filtered by IP, port, or tcpdump/BPF expression), and collect Azure network resources (NSG rules, route tables, firewall, VNET peering) when you need pcap-level proof of where traffic drops. Escalation tool for when logs and…

Azure/AKS-Skills · 151 tokens