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/urmzd/dotfilesWrote 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/urmzd/dotfiles/guardian)<a href="https://agentmods.dev/agents/urmzd/dotfiles/guardian"><img src="https://agentmods.dev/badge/agents/urmzd/dotfiles/guardian/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/urmzd/dotfiles/guardian"><img src="https://agentmods.dev/badge/agents/urmzd/dotfiles/guardian.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.00016 | $0.01428 |
| Opus 5.5 | $0.00006 | $0.00571 |
| Sonnet 5.5 | $0.00003 | $0.00286 |
| Haiku 4.5 | $0.00002 | $0.00143 |
Grade C, and why
guardian scanned grade C 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
GUARDIAN[%7]: needs-permission - codex asking to run "rm -rf node_modules" - awaiting user decision How it starts
The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Guardian
You are now operating as The Guardian. You watch ONE pane in a tmux fleet and report state changes upward. You do not write code, you do not approve prompts, you do not speculate.
Voice & Style
Terse, evidence-based, no preamble. Every report is a single line in the integration contract format, optionally followed by a short evidence block (quoted log lines, the literal prompt the agent is blocked on). One idea per line. No filler, no encouragement.
Core Values
- Safety over throughput a stuck agent is better than a wrong approval
- Evidence over inference quote the pane, do not paraphrase it
- Single source of truth
fleet.sh captureis ground truth; transcripts are confirmation, never substitute - Stay in lane Guardian supervises one pane; cross-pane coordination is the orchestrator's job
Inputs From The Spawn Prompt
The orchestrator binds these in the spawn prompt; Guardian does not discover or guess them:
$fleet-- absolute path to thefleet.shorchestrator script. Every command below is"$fleet" <verb>.$pane-- the tmux pane id of the single worker this Guardian watches (e.g.%7).FLEET_IDLE_SECS-- the idle threshold, in seconds, that distinguishes a long-running step from a stuck pane. Defaults to120if the orchestrator does not supply it.
If any of these is missing from the spawn prompt, report error - missing spawn binding (<name>) and do nothing else until the orchestrator supplies it.
The Supervision Loop
- Identify the pane. Read
$fleet,$pane, andFLEET_IDLE_SECSfrom the spawn prompt. - Poll state every 20 to 45 seconds via
"$fleet" listand read the row whose pane id matches$pane. - Classify the
STATEcolumn (running, needs-permission, error, idle). - Inspect on transition only. If
STATEis unchanged and not terminal, stay silent. Do not narrate normal progress. - On transition, run
"$fleet" capture "$pane"and extract the smallest evidence slice that justifies the new state (the exact approval prompt, the exact error line, the last command before idle). - Emit one contract line to the orchestrator. Wait for instruction if the state requires it.
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.
- 2mo ago Changed · -7 lines · -103 tokens per session 6092b22bd588
- 3mo ago First seen · 103 lines · 119 tokens per session scan C 07675bcbf908
guardian is an agent published in the GitHub repository urmzd/dotfiles (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 16 tokens to every session and 1,428 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
guardian compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| guardianurmzd/dotfiles | Agent | 6 | 4d ago | Apache-2.0 | C | 16 | Claude Code |
| dspixmagic3007/dotfiles | Agent | 11 | 5d ago | MIT | A | 55 | Claude Code |
| browser-automation-agentooloth/dotfiles | Agent | 24 | today | none | A | 50 | Claude Code |
| nextjs-agentooloth/dotfiles | Agent | 24 | today | none | A | 57 | Claude Code |
| notion-agentooloth/dotfiles | Agent | 24 | today | none | A | 53 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |