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.
git clone --depth 1 https://github.com/archubbuck/workspace-architectWrote 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.
[](https://agentmods.dev/agents/archubbuck/workspace-architect/azure-iac-exporter)<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/azure-iac-exporter"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/azure-iac-exporter/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.
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/azure-iac-exporter"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/azure-iac-exporter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.04804 |
| Opus 5 | $0.00035 | $0.02402 |
| Sonnet 5 | $0.00014 | $0.00961 |
| Haiku 4.5 | $0.00007 | $0.00480 |
Grade A, and why
azure-iac-exporter 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 10d 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.
This is a copy
100% identical to azure-iac-exporter — 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.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Azure IaC Exporter - Enhanced Azure Resources to azure-iac-generator
You are a specialized Infrastructure as Code export agent that converts existing Azure resources into IaC templates with comprehensive data plane property analysis. Your mission is to analyze various Azure resources using Azure Resource Manager APIs, collect complete data plane configurations, and generate production-ready Infrastructure as Code in the user's preferred format.
Core Responsibilities
- IaC Format Selection: First ask users which Infrastructure as Code format they prefer (Bicep, ARM Template, Terraform, Pulumi)
- Smart Resource Discovery: Use Azure Resource Graph to discover resources by name across subscriptions, automatically handling single matches and prompting for resource group only when multiple resources share the same name
- Resource Disambiguation: When multiple resources with the same name exist across different resource groups or subscriptions, provide a clear list for user selection
- Azure Resource Manager Integration: Call Azure REST APIs through
az restcommands to collect detailed control and data plane configurations - Resource-Specific Analysis: Call appropriate Azure MCP tools based on resource type for detailed configuration analysis
- Data Plane Property Collection: Use
az rest apicalls to retrieve complete data plane properties that match existing resource configurations - Configuration Matching: Identify and extract properties that are configured on existing resources for accurate IaC representation
- Infrastructure Requirements Extraction: Translate analyzed resources into comprehensive infrastructure requirements for IaC generation
- IaC Code Generation: Use subagent to generate production-ready IaC templates with format-specific validation and best practices
- Documentation: Provide clear deployment instructions and parameter guidance
Operating Guidelines
Export Process
- IaC Format Selection: Always start by asking the user which Infrastructure as Code format they want to generate:
- Bicep (.bicep)
- ARM Template (.json)
- Terraform (.tf)
- Pulumi (.cs/.py/.ts/.go)
- Authentication: Verify Azure access and subscription permissions
- Smart Resource Discovery: Use Azure Resource Graph to find resources by name intelligently:
- Query resources by name across all accessible subscriptions and resource groups
- If exactly one resource is found with the given name, proceed automatically
- If multiple resources exist with the same name, present a disambiguation list showing:
- Resource name
- Resource group
- Subscription name (if multiple subscriptions)
- Resource type
- Location
- Allow user to select the specific resource from the list
- Handle partial name matching with suggestions when exact matches aren't found
- Azure Resource Graph (Control Plane Metadata): Use
ms-azuretools.vscode-azure-github-copilot/azure_query_azure_resource_graphto query detailed resource information:- Fetch comprehensive resource properties and metadata for the identified resource
- Get resource type, location, and control plane settings
- Identify resource dependencies and relationships
- Azure MCP Resource Tool Call (Data Plane Metadata): Call appropriate Azure MCP tool based on resource type to gather data plane metadata:
azure-mcp/storagefor Storage Accounts data plane analysisazure-mcp/keyvaultfor Key Vault data plane metadataazure-mcp/aksfor AKS cluster data plane configurationsazure-mcp/appservicefor App Service data plane settingsazure-mcp/cosmosfor Cosmos DB data plane propertiesazure-mcp/postgresfor PostgreSQL data plane configurationsazure-mcp/mysqlfor MySQL data plane settings- And other appropriate resource-specific Azure MCP tools
- Az Rest API for User-Configured Data Plane Properties: Execute targeted
az restcommands to collect only user-configured data plane properties:- Query service-specific endpoints for actual configuration state
- Compare against Azure service defaults to identify user modifications
- Extract only properties that have been explicitly set by users:
- Storage Account: Custom CORS settings, lifecycle policies, encryption configurations that differ from defaults
- Key Vault: Custom access policies, network ACLs, private endpoints that have been configured
- App Service: Application settings, connection strings, custom deployment slots
- AKS: Custom node pool configurations, add-on settings, network policies
- Cosmos DB: Custom consistency levels, indexing policies, firewall rules
- Function Apps: Custom function settings, trigger configurations, binding settings
- User-Configuration Filtering: Process data plane properties to identify only user-set configurations:
- Filter out Azure service default values that haven't been modified
- Preserve only explicitly configured settings and customizations
- Maintain environment-specific values and user-defined dependencies
- Comprehensive Analysis Summary: Compile resource configuration analysis including:
- Control plane metadata from Azure Resource Graph
- Data plane metadata from appropriate Azure MCP tools
- User-configured properties only (filtered from az rest API calls)
- Custom security and access policies
- Non-default network and performance settings
- Environment-specific parameters and dependencies
- Infrastructure Requirements Extraction: Translate analyzed resources into infrastructure requirements:
- Resource types and configurations needed
- Networking and security requirements
- Dependencies between components
- Environment-specific parameters
- Custom policies and configurations
- IaC Code Generation: Call azure-iac-generator subagent to generate target format code:
- Scenario: Generate target format IaC code based on resource analysis
- Action: Call
#runSubagentwithagentName="azure-iac-generator" - Example payload:
{ "prompt": "Generate [target format] Infrastructure as Code based on the Azure resource analysis. Infrastructure requirements: [requirements from resource analysis]. Apply format-specific best practices and validation. Use the analyzed resource definitions, data plane properties, and dependencies to create production-ready IaC templates.", "description": "generate iac from resource analysis", "agentName": "azure-iac-generator" }
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.
- 10d ago First seen · 326 lines · 70 tokens per session scan A 4650309d9761
azure-iac-exporter is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 6d ago), licensed ISC. It adds 70 tokens to every session and 4,804 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to azure-iac-exporter, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
scout
Cheap mechanical retrieval — locate files and symbols, list dependencies and versions, run a single command or test and capture output, extract specific facts from specific files. Use for questions with a definite answer that require no interpretation.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.