prepare

prepare is a skill for Claude Code, Codex from microsoft/azure-skills. It costs 0 tokens per session (1,585 once invoked), scanned A, a copy of prepare, MIT.

An internal planning step that maps application components to Azure services and estimates their costs. It runs after prerequisite checks and produces a deployment plan for a larger Azure onboarding process.

In plain words
What is it for?
Use it to plan Azure architecture, estimate expected costs, validate quotas, and prepare the input for later infrastructure scaffolding.
Why use it?
It turns readiness findings into a service design before infrastructure is generated or deployed. It also checks quotas and keeps planning separate from code scanning and deployment.

Skill for Claude CodeCodex

Part of the azure plugin — 38 skills, 1 plugin shipped together

About the project

Azure Skills Plugin is an agent plugin that packages Azure-specific guidance with MCP server configurations for carrying out Azure work. Coding agents use it to plan, deploy, troubleshoot, monitor, govern, and optimize Azure applications and services. The catalogue entries are the plugin's skills, instructions, and execution integrations.

microsoft/azure-skills · 1,448 stars · on GitHub

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/microsoft/azure-skills/prepare
Any agent
npx skills add microsoft/azure-skills --skill prepare
Clone the repo
git clone --depth 1 https://github.com/microsoft/azure-skills

Made for: Claude Code, Codex.

Or install azure, the plugin that ships this one along with the rest of its 38 skills, 1 plugin.

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 prepare

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/azure-skills/prepare.svg)](https://agentmods.dev/skills/microsoft/azure-skills/prepare)
Your own site
<a href="https://agentmods.dev/skills/microsoft/azure-skills/prepare"><img src="https://agentmods.dev/badge/skills/microsoft/azure-skills/prepare.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,585 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.01585
Opus 5 $0.00000 $0.00792
Sonnet 5 $0.00000 $0.00317
Haiku 4.5 $0.00000 $0.00159

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

Security

Grade A, and why

prepare 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.

The scan reads SKILL.md. This mod also ships 1 executable file (references/prepare-schemas.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

100% identical to prepare — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/plugins/azure-skills/skills/azure-app-onboard/prepare/SKILL.md · 72 lines

How it starts

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

Prepare — Architecture Planning & Cost Estimation

Quick Reference

Property Value
Best for Mapping app components to Azure services with cost estimation and quota validation
Inputs prereq-output.json + context.json from .copilot-azure/sessions/{id}/
Outputs prepare-plan.json written to session directory
Parent azure-app-onboard

When to Use This Skill

Invoked by the azure-app-onboard orchestrator at Phase 2 when prereq-output.json exists. Not directly user-routable.

Return to orchestrator: When complete, return control to azure-app-onboard. Do NOT directly invoke scaffold or deploy.

When NOT to Use

Scenario Use Instead
Code readiness or prereq scanning azure-app-onboard Step 3 (prereq)
IaC generation from a completed plan azure-app-onboard Step 7 (scaffold)
Deploying resources to Azure azure-app-onboard Step 9 (deploy)
Optimizing existing Azure spend azure-cost
Estimating VM-specific costs azure-compute
Enterprise landing zone architecture azure-enterprise-infra-planner

MCP Tools

Tool Purpose
mcp_azure_mcp_pricing / azure-pricing (router → command: pricing_get) Cost estimation (inline — see Step 6). Fallback: dispatch subagent-pricing.md
mcp_azure_mcp_policy Subscription policy constraints
az rest Quota validation (via sub-agent — see Step 5)
mcp_azure_mcp_cloudarchitectcloudarchitect_design WAF-aligned architecture design
mcp_azure_mcp_wellarchitectedframework Per-service WAF guidance
mcp_azure_mcp_advisoradvisor_recommendation_list Optimization recommendations

Workflow

# Step Action Reference
1 Read session state Load prereq-output.json + context.json. Resolve subscription Cross-ref subscription-resolution.md if needed
2 Query policy constraints Inline MCP: fetch policy + advisor recommendations mcp_azure_mcp_policy + mcp_azure_mcp_advisor
3 Map components to services Per-component Azure service selection, Dockerfile routing, deploy-as-is You MUST read service-mapping.md and deploy-strategy.md
4 Select SKUs + WAF analysis Budget-aware SKU selection, inline WAF service guidance You MUST read sku-matrix.md
5 Validate quotas + region capacity ⛔ Read subagent-quota.md → dispatch as task (NEXT action MUST be task, ⛔ agent_type: "task" — NEVER "general-purpose"). Copy the COMPLETE and UNMODIFIED template text into the task prompt between <<<TEMPLATE_START>>> / <<<TEMPLATE_END>>> delimiters — do NOT summarize. Append the caller-provided inputs listed in subagent-quota.md's Input table AFTER the template block. ⛔ After dispatching, proceed to Step 6 (cost estimation) while the subagent runs. Do NOT run quota checks yourself — the subagent handles it. Collect subagent results before Step 9 (write plan). You MUST read subagent-quota.md
6 Estimate costs You MUST read pricing-guide.md for methodology, then pricing-guide-services.md for per-service filters. Call the pricing router (mcp_azure_mcp_pricing/azure-pricing) with command: "pricing_get" + a parameters{} object inline per paid service. If MCP unavailable or fails → ⛔ Read subagent-pricing.md → dispatch as task (NEXT action MUST be task, ⛔ agent_type: "task" — NEVER "general-purpose"). Copy the COMPLETE and UNMODIFIED template text into the task prompt between <<<TEMPLATE_START>>> / <<<TEMPLATE_END>>> delimiters — do NOT summarize. Append data (services[], region, budget tier) AFTER the template block. Write results to prepare-plan.json.costEstimate. pricing-guide.md
7 Generate naming Centralized naming: suffix, prefix, all resource names You MUST read naming-patterns.md
8 Determine IaC format Existing non-Azure .tfask_user Bicep vs TF, write to overrides[].iacFormat. No .tf → default Bicep. (inline)
9 Write prepare-plan.json Per PreparePlan schema. Include postDeployRecommendations, deploymentVariables You MUST read prepare-schemas.ts for PreparePlan schema
10 Return summary Structured summary for orchestrator approval gate (inline — 1 line)
11 Validate plan 4-dimension check: Goal Alignment, WAF Alignment, Dependency Completeness, Deployment Viability. Fix inline on failure, document tradeoffs in assumptions[]. All must pass before writing

Read the full file on GitHub · 72 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 · 72 lines · 0 tokens per session scan A f50410a3022f

Subscribe to this mod's changes

prepare is a skill published in the GitHub repository microsoft/azure-skills (1,448 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,585 tokens. A static security scan graded it A with 0 findings. It is 100% identical to prepare, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

application-design-center-design-deploy

Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting…

google/skills · 94 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens