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.
npx agentmods add instructions/stephnangue/warden/agents-mdgit clone --depth 1 https://github.com/stephnangue/wardenWrote 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/stephnangue/warden/agents-md)<a href="https://agentmods.dev/instructions/stephnangue/warden/agents-md"><img src="https://agentmods.dev/badge/instructions/stephnangue/warden/agents-md.svg" alt="Measured on agentmods" 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 | $0.01063 | $0.01063 |
| Opus 5 | $0.00531 | $0.00531 |
| Sonnet 5 | $0.00213 | $0.00213 |
| Haiku 4.5 | $0.00106 | $0.00106 |
Grade A, and why
warden 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Warden — agent guide
This file orients an autonomous agent (LLM, AI assistant, automation script) that needs to call services through Warden. Operators looking to set up Warden, mount providers, or onboard credentials should read the docs — start with Providers and the per-backend guides under docs/provider-backends/; this tree is for the consumer side.
Where to start
Warden runs its own MCP discovery server at /v1/sys/mcp. Point your
MCP client at it (for Claude Code, claude mcp add), presenting your
identity — a bearer JWT (Authorization: Bearer <jwt>) or an mTLS client
certificate — and, for a sub-namespace, the X-Warden-Namespace header.
It needs no role: it authorizes on the identity you present. It exposes
two tools:
list_roles— the roles your identity can assume, each with an operator-writtendescription. This is your menu.get_skill— given a skill name, returns that skill: the markdown recipe for driving the role's provider.
The description on each role carries what you need: the skill name,
and — for a non-MCP provider — the role's gateway URL (relative;
prepend $WARDEN_ADDR). For example:
"read app secrets (skill: vault, url: /v1/vault/role/read-secret/gateway/)".
The agent loop
[ connect MCP client to /v1/sys/mcp ] ← identity in the connection
│
▼
[ list_roles ] ← which roles can I assume?
│
▼
[ match task → pick a role ] ← read descriptions; choose the fit
│
▼
[ get_skill <name-from-description> ] ← the per-provider recipe
│
▼
[ act under the chosen role ]
How you act depends on the provider kind. Your role is the role/<role>/
segment of the gateway URL, so you pick a role by targeting that role's URL —
the selector that works for every client. (X-Warden-Role is a header override,
usable only where the client sets per-call headers — not an MCP tool call, whose
headers are fixed and which carries no role.)
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.
- 5d ago First seen · 100 lines · 1,063 tokens per session scan A c562a0dc0488
warden AGENTS.md is an instructions file published in the GitHub repository stephnangue/warden (152 stars, last pushed today), licensed MPL-2.0. It adds 1,063 tokens to every session, about $0.0053 per session on Opus 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-08-30.
Other instructions, from other repositories
toolmux AGENTS.md
Instructions for fiam/toolmux, covering agents.md, maintenance, go version, quality gates and releases.
ollama CLAUDE.md
Claude Code instructions for ollama/ollama: See AGENTS.md for the shared agent instructions for this repository.
azure-sdk-for-go go-code.instructions.md
Instructions for Azure/azure-sdk-for-go: All code should follow the guidelines from the Azure Go SDK Guidelines. This document is a summary of the most important guidelines to follow when contributing to the Azure Go SDK.
chatgpt-cli CLAUDE.md
Claude Code instructions for kardolus/chatgpt-cli, covering chatgpt-cli — release runbook, prerequisites, 1. cut the release, 2. publish the github release + binaries and 3. update the homebrew tap.
gorest AGENTS.md
AGENTS.md instructions for pilinux/gorest, covering agents.md, project overview, build and run commands, build and tidy dependencies.
pvetui AGENTS.md
AGENTS.md instructions for devnullvoid/pvetui, covering agent instructions, initial setup, development workflow, quick reference and code quality standards.