azure-caf-naming

azure-caf-naming is a skill for Claude Code, Codex from AgenticPawan/FullStack-Pilot. It costs 99 tokens per session (1,367 once invoked), scanned A, original, MIT.

An Azure naming and tagging checker based on Microsoft's Cloud Adoption Framework, a set of cloud-management guidelines. It checks infrastructure definitions such as Bicep files for approved names and required tags.

In plain words
What is it for?
Checking Azure resource names and tags, including storage accounts, databases, apps, registries, and monitoring resources.
Why use it?
It catches inconsistent resource names, missing type prefixes, and missing ownership or cost information before deployment.

Skill for Claude CodeCodex

Part of the pilot-azure plugin — 15 skills, 3 agents shipped together

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.

agentmods
npx agentmods add skills/agenticpawan/fullstack-pilot/azure-caf-naming
Any agent
npx skills add AgenticPawan/FullStack-Pilot --skill azure-caf-naming
Clone the repo
git clone --depth 1 https://github.com/AgenticPawan/FullStack-Pilot

Made for: Claude Code, Codex.

Or install pilot-azure, the plugin that ships this one along with the rest of its 15 skills, 3 agents.

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-caf-naming

README.md
[![agentmods](https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-caf-naming.svg)](https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-caf-naming)
Your own site
<a href="https://agentmods.dev/skills/agenticpawan/fullstack-pilot/azure-caf-naming"><img src="https://agentmods.dev/badge/skills/agenticpawan/fullstack-pilot/azure-caf-naming.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00099 $0.01367
Opus 5 $0.00049 $0.00683
Sonnet 5 $0.00020 $0.00273
Haiku 4.5 $0.00010 $0.00137

Measured 5d ago against content hash f5ddcf344967, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

azure-caf-naming 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 5d 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.

plugins/pilot-azure/skills/azure-caf-naming/SKILL.md · 139 lines

How it starts

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

CAF resource-name pattern

<type>-<workload>-<env>-<region>-<instance>

Examples:

Resource CAF abbreviation Example name
Storage account st stmyappdeveus001 (no hyphens — storage limits to 24 chars, alphanumeric)
App Service app app-myapp-dev-eus-001
Container App ca ca-myapp-dev-eus-001
Container App Environment cae cae-myapp-dev-eus-001
Key Vault kv kv-myapp-dev-eus-001
SQL Server sql sql-myapp-dev-eus-001
SQL Database sqldb sqldb-myapp-dev-eus-001
Log Analytics Workspace log log-myapp-dev-eus-001
Application Insights appi appi-myapp-dev-eus-001
Container Registry cr crmyappdeveus001 (no hyphens — ACR has restrictions)

If microsoft-learn MCP is available, call microsoft_docs_search with "Azure Cloud Adoption Framework abbreviations" to retrieve the full current list before running checks.


Step 1 — Extract resource names

For each resource declaration in .bicep files, extract:

  • type (e.g., Microsoft.Storage/storageAccounts)
  • name value (may be a parameter reference — record as unknown if so)
  • tags property

Step 2 — Validate naming pattern

For each resource with a literal string name:

  1. Look up the CAF abbreviation for the resource type.
  2. Check that the name starts with the abbreviation followed by - (or is concatenated correctly for no-hyphen types like storage accounts and container registries).
  3. Check that the name contains environment segment (dev, test, staging, prod, uat).
  4. Check that the name ends with a numeric instance segment (001, 01, etc.).
// BAD: no CAF structure
resource sa 'Microsoft.Storage/storageAccounts@2023-01-01' = {
  name: 'mystoragedev'    // no type prefix, no region, no instance
}

// GOOD: storage uses concatenation (no hyphens allowed)
param workload string = 'myapp'
param env string = 'dev'
param region string = 'eus'
param instance string = '001'

resource sa 'Microsoft.Storage/storageAccounts@2023-01-01' = {
  name: 'st${workload}${env}${region}${instance}'
}

Read the full file on GitHub · 139 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. 5d ago First seen · 139 lines · 99 tokens per session scan A f5ddcf344967

Subscribe to this mod's changes

azure-caf-naming is a skill published in the GitHub repository AgenticPawan/FullStack-Pilot (2 stars, last pushed 1mo ago), licensed MIT. It adds 99 tokens to every session and 1,367 once invoked, about $0.0005 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-08-31.

Related

Other skills, from other repositories

azure-mgmt-applicationinsights-dotnet

Azure Application Insights SDK for .NET. Application performance monitoring and observability resource management. Use for creating Application Insights components, web tests, workbooks, analytics items, and API keys. Triggers: "Application Insights", "ApplicationInsights", "App Insights", "APM", "application…

microsoft/skills · 82 tokens

azure-mgmt-fabric-dotnet

Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity"…

microsoft/skills · 88 tokens

azure-resource-manager-durabletask-dotnet

Azure Resource Manager SDK for Durable Task Scheduler in .NET. Use for MANAGEMENT PLANE operations: creating/managing Durable Task Schedulers, Task Hubs, and retention policies via Azure Resource Manager. Triggers: "Durable Task Scheduler", "create scheduler", "task hub", "DurableTaskSchedulerResource", "provision…

microsoft/skills · 84 tokens

azure-resource-manager-mysql-dotnet

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "MySQL", "MySqlFlexibleServer", "MySQL Flexible Server", "Azure Database for MySQL", "MySQL database…

microsoft/skills · 87 tokens

azure-compute-batch-java

Azure Batch SDK for Java. Run large-scale parallel and HPC batch jobs with pools, jobs, tasks, and compute nodes. Triggers: "BatchClient java", "azure batch java", "batch pool java", "batch job java", "HPC java", "parallel computing java".

microsoft/skills · 64 tokens

azure-eventhub-dotnet

Azure Event Hubs SDK for .NET. Use for high-throughput event streaming: sending events (EventHubProducerClient, EventHubBufferedProducerClient), receiving events (EventProcessorClient with checkpointing), partition management, and real-time data ingestion. Triggers: "Event Hubs", "event streaming"…

microsoft/skills · 94 tokens