azure-cli

azure-cli is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 36 tokens per session (2,037 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 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,037 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.00036 $0.02037
Opus 5.5 $0.00014 $0.00815
Sonnet 5.5 $0.00007 $0.00407
Haiku 4.5 $0.00004 $0.00204

Measured 1mo ago against content hash 4eb359748284, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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 · 173 lines

How it starts

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

Azure CLI (az) AI Skill Guide (Claude)

Overview & Engine Architecture

The Azure CLI (az) calls Azure Resource Manager (ARM). Work is scoped by tenant → subscription → resource group → resource. Auth is interactive login, service principal, managed identity, or federated OIDC (GitHub Actions). Agents always resolve tenant, subscription, and location before mutating—Azure often returns NotFound / “subscription doesn’t exist” when the real issue is wrong context or missing RBAC, not a missing resource name.

┌─────────────────────────────────────────────────────────────┐
│                 Azure CLI → ARM path                          │
│                                                             │
│  Identity                                                   │
│  ├── az login (user / device code)                          │
│  ├── SP / federated credential (OIDC CI)                    │
│  └── Managed identity (compute / Automation)                │
│                                                             │
│  Scope                                                      │
│  ├── Tenant → Subscription (az account set)                 │
│  ├── Resource group + location defaults                     │
│  └── RBAC assignments (role + scope + principal)            │
│                                                             │
│  Workloads                                                  │
│  └── AKS · App Service · ACR · Storage · Key Vault · …      │
└─────────────────────────────────────────────────────────────┘

When to use / when not to

Use when

  • Creating/managing resource groups, App Services, AKS, ACR, storage, and role assignments.
  • Fetching AKS kubeconfig, App Service logs, or Key Vault metadata (not dumping secrets to chat).
  • Debugging “wrong subscription” / RBAC timing after permission grants.

Do not use when

  • Shared multi-env infra should be declarative → @terraform / @pulumi (Bicep OK for Azure-native).
  • Day-2 cluster workloads after credentials → @kubernetes.
  • Someone asks to paste client secrets or Key Vault secret values into chat/logs → refuse; use managed identity / Key Vault references / @vault.

Read the full file on GitHub · 173 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +61 lines · +9 tokens per session 4eb359748284
  2. 2mo ago Changed · -7 tokens per session 7d67200bc96a
  3. 3mo 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 (6 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 2,037 once invoked, about $0.0001 per session on Opus 5.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

azure-cli compared with skills from other repositories

azure-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
azure-clialivirgo/Major-AI-SkillsSkill6yesterdayMITA36Claude Code
azure-diagnosticsseaworld008/Commonly-used-high-value-skillsSkill756d agoMITA22Claude Code, Codex
azure-clichaterm/terminal-skillsSkill609mo agoApache-2.0A7Claude Code, Codex
azure-support-tickettarujg/azure-support-ticketSkill24mo agoMITA76Claude Code
azure-managed-identity-abuseShulkwiSEC/bb-hugeSkill274mo agoMITC55Claude Code, Codex
aks-automatic-readinessAzure/AKS-SkillsSkill61mo agoMITA114Claude Code
aks-cluster-setupAzure/AKS-SkillsSkill61mo agoMITA176Claude Code