azure-plugin CLAUDE.md

azure-plugin CLAUDE.md is an instructions file for coding agents from charris-msft/azure-plugin. It costs 2,429 tokens per session, scanned B, original, MIT.

Project instructions for developing the Azure MCP plugin with Claude Code. They define how to handle Docker errors and run Azure Developer CLI commands without interactive prompts.

In plain words
What is it for?
Use them while developing the plugin, especially when Docker is stopped or when setting up and deploying Azure environments with azd.
Why use it?
They reduce setup failures by specifying how to start Docker when needed and how to prepare Azure environments before running commands.

Instructions file

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 instructions/charris-msft/azure-plugin/claude-md
Clone the repo
git clone --depth 1 https://github.com/charris-msft/azure-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 azure-plugin CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/charris-msft/azure-plugin/claude-md.svg)](https://agentmods.dev/instructions/charris-msft/azure-plugin/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/charris-msft/azure-plugin/claude-md"><img src="https://agentmods.dev/badge/instructions/charris-msft/azure-plugin/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,429 This file is loaded in full into every session.
When invoked 2,429 The same file — it is already loaded in full.
Security scan B 1 finding. 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.02429 $0.02429
Opus 5 $0.01215 $0.01215
Sonnet 5 $0.00486 $0.00486
Haiku 4.5 $0.00243 $0.00243

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

Security

Grade B, and why

azure-plugin CLAUDE.md scanned grade B with 1 finding 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Linux:** `sudo systemctl start docker`
CLAUDE.md · 239 lines

How it starts

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

Azure MCP Plugin Development Guidelines

⚠️ CRITICAL: Docker Daemon Errors - Auto-Start Required

When ANY Docker error occurs (daemon not running, cannot connect, etc.), you MUST:

  1. DO NOT just tell the user to start Docker manually
  2. DO ask: "Docker isn't running. Would you like me to start Docker Desktop for you?"
  3. If yes, run the appropriate command:
    • Windows: "/c/Program Files/Docker/Docker/Docker Desktop.exe" &
    • macOS: open -a Docker
    • Linux: sudo systemctl start docker
  4. Wait for Docker to be ready (30-60 seconds):
    for i in {1..30}; do docker info >/dev/null 2>&1 && echo "Docker is ready!" && break; sleep 2; done
    
  5. Retry the original command automatically

Error patterns to detect:

  • docker daemon is not running
  • Cannot connect to the Docker daemon
  • failed to connect to the docker API
  • The system cannot find the file specified (Docker pipe error)
  • Is the docker daemon running?

azd Commands - ALWAYS Use Non-Interactive Mode

CRITICAL: azd commands MUST be run non-interactively. Claude cannot provide interactive input.

Before ANY azd command:

  1. Create environment first: azd env new <env-name> --no-prompt
  2. Set required values:
    azd env set AZURE_SUBSCRIPTION_ID "<subscription-id>"
    azd env set AZURE_LOCATION "<location>"
    
  3. Always use --no-prompt: All azd commands should include --no-prompt

Correct patterns:

# Initialize with environment name
azd init --environment my-app-dev --no-prompt

# Or create environment separately first
azd env new my-app-dev --no-prompt
azd env set AZURE_SUBSCRIPTION_ID "xxxx-xxxx-xxxx"
azd env set AZURE_LOCATION "eastus2"

# Then provision/deploy
azd up --no-prompt
azd provision --no-prompt
azd deploy --no-prompt

NEVER run these without --no-prompt or pre-configured environment:

  • azd init (prompts for environment name)
  • azd up (prompts for environment, subscription, location)
  • azd provision (prompts for subscription)

Read the full file on GitHub · 239 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. 4d ago First seen · 239 lines · 2,429 tokens per session scan B 65a641d59309

Subscribe to this mod's changes

azure-plugin CLAUDE.md is an instructions file published in the GitHub repository charris-msft/azure-plugin (2 stars, last pushed 7mo ago), licensed MIT. It adds 2,429 tokens to every session, about $0.0121 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.