Azure/setup-azd is a GitHub Action that installs the Azure Developer CLI, a command-line tool for provisioning Azure resources and deploying applications. It supports workflows that choose a specific CLI version or use the latest one.
Borrowing it
Nothing to install: this file belongs to Azure/setup-azd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Azure/setup-azd/main/AGENTS.mdgit clone --depth 1 https://github.com/Azure/setup-azdWrote 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/instructions/azure/setup-azd/agents-md)<a href="https://agentmods.dev/instructions/azure/setup-azd/agents-md"><img src="https://agentmods.dev/badge/instructions/azure/setup-azd/agents-md/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/instructions/azure/setup-azd/agents-md"><img src="https://agentmods.dev/badge/instructions/azure/setup-azd/agents-md.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.01782 | $0.01782 |
| Opus 5.5 | $0.00713 | $0.00713 |
| Sonnet 5.5 | $0.00356 | $0.00356 |
| Haiku 4.5 | $0.00178 | $0.00178 |
Grade A, and why
setup-azd AGENTS.md 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — setup-azd
Guidance for Copilot (Chat, CLI, code review) and other AI agents working in the Azure/setup-azd repository. Read this file in its entirety before making changes.
About this repository
Azure/setup-azd is a GitHub Action that installs the Azure Developer CLI (azd) onto a workflow runner. The action is authored in TypeScript under src/, bundled with @vercel/ncc into dist/index.js, and published to the GitHub Marketplace.
Key files:
| File | Purpose |
|---|---|
action.yml |
Action manifest. runs.using controls the Node.js runtime. |
src/main.ts |
Action entry point. |
dist/index.js |
Bundled output — committed to the repo and must stay in sync with src/. Enforced by .github/workflows/check-dist.yml. |
package.json / package-lock.json |
Action version lives here (version field). Must match CHANGELOG. |
CHANGELOG.md |
Release history. Append a new section at the top for every release. |
README.md |
Marketplace-facing docs. uses: samples use the latest floating major tag. |
General conventions
- Never edit
dist/by hand. Regenerate withnpm run all(ornpm run build && npm run package) and commit the result. - Never pin
uses: Azure/[email protected]inREADME.md. The public samples use the latest floating major tag so users do not have to update docs on every release. - Always rebuild
dist/whensrc/changes. Thecheck-distCI will fail otherwise. - On Windows,
prettierandnccmay rewrite line endings (LF→CRLF). If the only diff after rebuildingdist/is line endings (git diff --ignore-space-at-eol dist/is empty), discard the change — do not commit EOL-only churn.
Release workflow
This is the canonical procedure for cutting a new release. The matching Copilot skill lives at .github/skills/github-action-release/SKILL.md — invoke it when available; otherwise follow these steps literally.
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.
- yesterday First seen · 143 lines · 1,782 tokens per session scan A d48f967389f3
setup-azd AGENTS.md is an instructions file published in the GitHub repository Azure/setup-azd (11 stars, last pushed 2d ago), licensed MIT. It adds 1,782 tokens to every session, about $0.0071 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.
setup-azd AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-azd AGENTS.mdAzure/setup-azd | Instructions file | 11 | 2d ago | MIT | A | 1,782 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |