azd-patterns

azd-patterns is a skill for Claude Code, Codex from aiappsgbb/awesome-gbb. It costs 191 tokens per session (17,403 once invoked), scanned A, original, MIT.

A guide to using the Azure Developer CLI, a command-line tool for deploying Azure applications, including Container Apps jobs and deployment scripts.

In plain words
What is it for?
Use it to set up deployment hooks, update Container Apps job images, manage Azure environments, and write scripts that work across operating systems.
Why use it?
It fills gaps in the CLI's built-in deployment flow, especially when a Container Apps job needs a separate deployment step.

Skill for Claude CodeCodex

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/aiappsgbb/awesome-gbb/azd-patterns
Any agent
npx skills add aiappsgbb/awesome-gbb --skill azd-patterns
Clone the repo
git clone --depth 1 https://github.com/aiappsgbb/awesome-gbb

Made for: Claude Code, Codex.

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 azd-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/azd-patterns.svg)](https://agentmods.dev/skills/aiappsgbb/awesome-gbb/azd-patterns)
Your own site
<a href="https://agentmods.dev/skills/aiappsgbb/awesome-gbb/azd-patterns"><img src="https://agentmods.dev/badge/skills/aiappsgbb/awesome-gbb/azd-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.1 $0.00191 $0.17403
Opus 5 $0.00096 $0.08701
Sonnet 5 $0.00038 $0.03481
Haiku 4.5 $0.00019 $0.01740

Measured today against content hash 47ad531ab10a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

azd-patterns scanned grade A with 2 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 today.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **Identify** the verification command (e.g., `curl`, `az containerapp show`,

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run("azd env list -o json", shell=True, capture_output=True, text=True)
skills/azd-patterns/SKILL.md · 1,398 lines

How it starts

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

AZD Tips & Patterns

Conventions and best practices for azd workflows, hooks, and ACA job deployments gathered from real repos.


ACA Job Deployment

azd does not natively deploy Container Apps Jobs — only Container Apps. Jobs need a separate deployment step.

Recommended: Python + postdeploy hook (cross-platform)

Used in newer repos. The pattern:

  1. azure.yaml — wire a postdeploy hook that runs after azd deploy:

    hooks:
      postdeploy:
        shell: pwsh
        run: 'cd infra/scripts && uv sync --frozen && uv run deploy_job.py'
        interactive: false
        continueOnError: false
    
  2. infra/scripts/deploy_job.py — update the job image via Azure SDK:

    import asyncio, os, sys, logging
    from utils import load_azd_env
    from azure.identity.aio import AzureCliCredential
    from azure.mgmt.appcontainers.aio import ContainerAppsAPIClient
    
    async def main():
        load_azd_env()
        image_name = os.getenv("SERVICE_AGENTS_IMAGE_NAME")
        job_name = os.getenv("JOB_NAME")
        resource_group = os.getenv("RESOURCE_GROUP")
        subscription_id = os.getenv("SUBSCRIPTION_ID")
        tenant_id = os.getenv("AZURE_TENANT_ID")
    
        async with AzureCliCredential(tenant_id=tenant_id) as credential:
            async with ContainerAppsAPIClient(credential, subscription_id) as client:
                job = await client.jobs.get(resource_group, job_name)
                job.template.containers[0].image = image_name
                # Remove stale sidecars — they cause "Failed" status if they exit non-zero
                job.template.containers = [job.template.containers[0]]
                poller = await client.jobs.begin_create_or_update(resource_group, job_name, job)
                await poller.result()
    
    if __name__ == "__main__":
        try:
            asyncio.run(main())
        except Exception as e:
            logging.critical("Error deploying job: %s", e)
            sys.exit(1)
    

Read the full file on GitHub · 1,398 lines

Files

What ships with it

7 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. today Changed · -18 lines 47ad531ab10a
  2. 5d ago First seen · 1,416 lines · 191 tokens per session scan A 782ffcfe619b

Subscribe to this mod's changes

azd-patterns is a skill published in the GitHub repository aiappsgbb/awesome-gbb (5 stars, last pushed yesterday), licensed MIT. It adds 191 tokens to every session and 17,403 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). 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

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, policy iteration, settings, service exposure, BYOC workflows, and inference routing. Covers basic through advanced multi-step workflows. Trigger keywords - openshell, sandbox…

NVIDIA/OpenShell · 127 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

azure-cloud-migrate

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…

microsoft/skills · 106 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens