Skip to content

Guide · Agent skill

How to use the Azure Architecture Autopilot agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The Azure Architecture Autopilot is an agent skill that guides an AI agent through designing Azure infrastructure from a plain-language request, or analysing resources already in an Azure subscription. It produces an interactive HTML architecture diagram, generates Bicep infrastructure-as-code templates, reviews them, and runs validate, what-if and deploy steps. This guide explains what the skill does, how to install it, how to trigger it and what it needs before you start.

Azure Architecture Autopilotgithub/awesome-copilot · MIT

Quick start

  1. 1Download the ZIP. Download the azure-architecture-autopilot skill as a ZIP from the directory page.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ in a project.
  3. 3Check prerequisites. Make sure Python 3, the Azure CLI (az) signed in to a subscription and the Bicep CLI are available.
  4. 4Make a natural request. Ask for a design, for example to create a RAG architecture, or for an analysis of an existing resource group.
  5. 5Confirm the diagram. Review the interactive HTML architecture diagram and request changes through conversation until it is right.
  6. 6Review Bicep and what-if. Check the generated Bicep and the what-if output before allowing the validate and deploy steps.

What is an agent skill and what does this one do?

An agent skill is a folder of instructions and supporting files that an AI agent loads when your request matches the skill's purpose. This skill is described as a pipeline. It either designs a new Azure architecture or analyses existing resources, then moves through modification, code generation and deployment in stages.

Each stage is described in a separate reference file that the agent follows. The stages cover scanning existing resources, interactive design, Bicep generation, Bicep review and deployment.

  • Designs Azure infrastructure from a natural-language request, such as a RAG or AI platform.
  • Scans an existing resource group and draws a diagram of it.
  • Produces an interactive HTML architecture diagram using bundled Python scripts (scripts/cli.py), with refinement through conversation.
  • Generates Bicep templates, reviews them and checks compilation.
  • Runs validate, what-if and deploy steps, with a what-if check before deployment.

Install the azure-architecture-autopilot skill

Download the skill as a ZIP from the directory page and unzip it. Place the folder in one of two locations, depending on whether you want it available everywhere or only in one project.

For a personal install across projects, unzip it into ~/.claude/skills/. For a project-only install, unzip it into the .claude/skills/ folder inside that project.

If you use the Claude apps instead, upload the ZIP under Settings → Capabilities → Skills.

  • Personal: ~/.claude/skills/
  • Project only: .claude/skills/ inside your project folder
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP

Check the requirements before you start

The skill depends on several tools. Scanning and deployment need an Azure subscription and the Azure CLI, so check these first. Diagram generation runs through Python scripts, so Python 3 must be available.

The agent also needs access to Microsoft Learn documentation pages through web_fetch, and an environment that provides web_fetch, web_search, ask_user and PowerShell tools. The skill notes that az, python and bicep are often not on the PATH, so the agent looks for them on disk.

  • Python 3 (for scripts/cli.py)
  • Azure CLI (az), signed in to an Azure subscription for scanning and deployment
  • Bicep CLI for compilation checks
  • Access to Microsoft Learn pages fetched via web_fetch
  • An agent environment providing web_fetch, web_search, ask_user and PowerShell

How to trigger the skill with natural requests

You do not need a special command. Describe what you want in plain language and the agent decides which path to follow. Requests to create something lead to a new design. Requests to analyse or draw a diagram of existing resources lead to a scan first.

If it is unclear which path you want, the agent asks you directly with a choice between designing a new architecture and analysing and modifying existing resources.

  • "Create a RAG architecture on Azure" (new design)
  • "Set up a RAG architecture" (new design)
  • "Analyze my current Azure infrastructure" (existing analysis)
  • "Draw a diagram for rg-xxx" (existing analysis, using your resource group name)
  • "I want to reduce costs" or "Strengthen security" (modifying an existing design)

Walk through a typical new design

For a new design, the agent first collects your requirements and produces an interactive diagram in Phase 1. You review and confirm it. Only after the diagram has been shown and you have confirmed it does the agent generate Bicep code.

Phase 2 generates the Bicep templates, Phase 3 reviews them and checks compilation, and Phase 4 runs validate, then what-if, then deploy. The skill says not to skip phases, especially the what-if step between Phase 3 and Phase 4.

  • Phase 1: interactive design and diagram, confirmed by you
  • Phase 2: Bicep generation
  • Phase 3: code review and compilation verification
  • Phase 4: validate, what-if, then deploy

Analyse and modify existing resources

For an existing environment, the agent scans resources first (Phase 0), infers relationships between them and draws a diagram. It then asks what you would like to change. Your modification request goes to Phase 1, which confirms the changes and updates the diagram, before Phases 2 to 4 follow.

If you request changes after a deployment, the agent returns to Phase 1 rather than the scan step.

  • Phase 0: scan existing resources, infer relationships and draw the diagram
  • Describe the change you want in natural language
  • Phase 1: confirm modifications and update the diagram
  • Phases 2 to 4: generate, review and deploy

Safety notes: scripts and network use

This skill runs scripts and uses the network. The agent executes Azure CLI commands that can create or change billable resources. The skill's own guidance is that production deployments need a human to review the Bicep and the what-if output before anything is created.

The diagram engine is bundled inside the skill's scripts/ folder and, according to the skill, needs no pip install and no network access to generate diagrams. Documentation lookups for Azure services do use the network through web_fetch.

  • Review the Bicep code and the what-if output yourself before approving deployment.
  • Scanning and deployment act on your Azure subscription through the az CLI.
  • Only use it with a subscription you are allowed to change, since deployments create billable resources.
  • Diagram generation runs bundled Python scripts; read scripts/cli.py if you want to inspect them.

Tips for better results

Give the agent concrete requirements. The skill is strongest on RAG, AI and data platforms such as Microsoft Foundry, Azure OpenAI, AI Search, ADLS Gen2, Key Vault, Microsoft Fabric and Azure Data Factory. Other Azure services are also supported, with documentation looked up as needed.

Name the resource group when you want an analysis, so the scan targets the right resources. Review each diagram before you move on, because Bicep is only generated after you confirm the design.

  • State the workload, for example a RAG system or a data platform.
  • Name the resource group (for example rg-xxx) for scans.
  • Confirm the diagram before asking for Bicep.
  • Ask for a specific change in plain words, such as cost or security.

What people use it for

  • Drafting a reference architecture with a diagram and starter Bicep for a RAG or AI platform.
  • Inventorying and visualising an existing resource group before making changes to it.
  • Asking for cost or security improvements to an existing design and seeing the updated diagram.
  • Generating Bicep templates for review, then running validate and what-if before any deployment.

Frequently asked questions

Is the Azure Architecture Autopilot skill free?

The skill is published under the MIT licence on github/awesome-copilot. Azure resources that you create or change through deployment are billable under your own Azure subscription.

What do I need to install the azure-architecture-autopilot skill?

Download the ZIP from the directory page and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder. You can also upload the ZIP in the Claude apps under Settings → Capabilities → Skills.

Does the skill need Python and the Azure CLI?

Yes. It requires Python 3 for scripts/cli.py, and the Azure CLI (az) signed in to an Azure subscription for scanning and deployment. The Bicep CLI is needed for compilation checks.

Will the skill deploy resources without asking me?

The skill is designed to run validate and what-if before deploy and not to skip phases. The source still says the agent executes Azure CLI commands that create or change billable resources, so review the Bicep and what-if output yourself before approving deployment.

Can it work with my existing Azure resource group?

Yes. Ask it to analyse or draw a diagram for a named resource group, such as rg-xxx. It scans the resources, infers relationships and produces a diagram you can then modify through conversation.

What should I use instead if I do not have an Azure subscription?

The skill is not useful for scanning or deploying without an Azure subscription and the Azure CLI, since both depend on them. Without these, you can only use the design conversation and diagrams if your agent environment supports them, and you would need another tool to deploy.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you are an engineer who wants an Azure reference architecture for a RAG, AI or data platform, with a diagram and starter Bicep, or who wants to inventory an existing resource group before changing it. Do not use it for production deployments without a human reviewing the Bicep and what-if output, and skip it if you have no Azure subscription or Azure CLI.

Download the skill