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 skills add niels-emmer/myace --skill agent-guardrailsgit clone --depth 1 https://github.com/niels-emmer/myaceWrote 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/skills/niels-emmer/myace/agent-guardrails)<a href="https://agentmods.dev/skills/niels-emmer/myace/agent-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/agent-guardrails/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/skills/niels-emmer/myace/agent-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/agent-guardrails.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.00028 | $0.01125 |
| Opus 5.5 | $0.00011 | $0.00450 |
| Sonnet 5.5 | $0.00006 | $0.00225 |
| Haiku 4.5 | $0.00003 | $0.00112 |
Grade C, and why
Agent Guardrails 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 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Recursive deletion (`rm -rf`) outside a scratch directory. How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Autonomous agents are useful precisely because they act. This skill makes the boundary of "acting safely" explicit: which targets are protected, which commands require a pause, what to check before a live action, and when to stop and ask. It is a policy an agent can follow without knowing any particular infrastructure.
When to use it
Before any command that could change shared state: deploying, restarting a service, applying infrastructure, running a migration, changing network or routing configuration, publishing a package, or deleting data.
Declared protected targets
Treat these as protected by default. Confirm before acting on any of them:
- Production names — any namespace, host, container, database, bucket, or
environment whose name contains
prodorproductionas a whole word or name segment (for exampleprod-db, notproducer). - Routing and ingress — reverse-proxy configuration, DNS records, TLS certificates, and anything that changes which service answers a public name.
- Network membership — firewall rules, security groups, network policies, and the set of services attached to a shared network.
- Data migrations — schema changes, backfills, and anything that rewrites or removes stored data.
- Identity and access — IAM users, roles, policies, RBAC bindings, and service-account credentials.
- Secret stores — reading, writing, rotating, or printing any secret, key, or credential.
- Shared infrastructure — hosts or clusters that also run services other people or other teams depend on.
- Publication — pushing to a protected branch, publishing a package, or making a repository public.
A project may add to this list; it must never silently remove from it.
Soft-deny commands
A soft deny is not a prohibition — it is a requirement to stop, state the blast radius, and get explicit confirmation. Treat at least these as soft-denied:
docker compose(ordocker stack) against a file or project whose name includesprod.kubectl apply,kubectl delete, or a rollout against a production context or namespace.terraform applyorterraform destroy, and any equivalent IaC apply.- Database downgrades, destructive migrations,
DROP,TRUNCATE, or aDELETE/UPDATEwithout a narrowing predicate. git push --forceor--force-with-leaseto a shared branch.- Recursive deletion (
rm -rf) outside a scratch directory. - Cloud provider delete, terminate, or purge operations.
- Piping a remote script directly into a shell.
- Package or image publication (
npm publish,pip upload, registry push). - Firewall, DNS, or proxy-routing changes.
- Editing IAM, RBAC, or secret-store contents.
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 Changed 35dc465e9052
- 7d ago First seen · 117 lines · 28 tokens per session scan C f57321b52d30
Agent Guardrails is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 1,125 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-11-23.
Agent Guardrails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Agent Guardrailsniels-emmer/myace | Skill | 1 | 2d ago | MIT | C | 28 | Claude Code, Codex |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| eclipse-license-checkTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 110 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| publish-vscode-extensionTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 107 | Claude Code |
| domainmodel-dslTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 68 | Claude Code |
| statemachine-dslTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 63 | Claude Code |