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 dennishavermans/agentfile --skill agent-configgit clone --depth 1 https://github.com/dennishavermans/agentfileWrote 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/dennishavermans/agentfile/agent-config)<a href="https://agentmods.dev/skills/dennishavermans/agentfile/agent-config"><img src="https://agentmods.dev/badge/skills/dennishavermans/agentfile/agent-config/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/dennishavermans/agentfile/agent-config"><img src="https://agentmods.dev/badge/skills/dennishavermans/agentfile/agent-config.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.00051 | $0.00816 |
| Opus 5 | $0.00026 | $0.00408 |
| Sonnet 5 | $0.00010 | $0.00163 |
| Haiku 4.5 | $0.00005 | $0.00082 |
Grade A, and why
agent-config 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 2d 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 — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Writing agent configuration that means what it says
Permission rules are the part people get wrong, because a rule that looks narrow can be wide. The behaviour below was measured on Claude Code 2.1.238 with a write probe, a command that creates a file, so the read-only classifier could not approve it on its own.
The one thing to know
Everything before the first * is matched as written, and that prefix is the
only thing limiting the rule. The wildcard spans spaces.
Nearly every dangerous rule follows from that sentence.
Rule shapes that grant more than they read
A wildcard where the subcommand goes leaves only the program.
Bash(git * main) reads as "git something main". It approves every git
subcommand and every option before it. Measured with that rule as the only rule
present: git branch -D main deleted the branch, and
git -c core.fsmonitor=<script> diff main ran the named script. -c core.fsmonitor= makes git run a program you name, so this rule is arbitrary
command execution.
A leading wildcard leaves nothing at all.
Bash(* --version) has no prefix, so nothing limits it. Measured: bash -c 'touch <marker>' --version ran and the marker appeared. The tail still has to
match, which is exactly what makes the rule read narrower than it is.
A runner passes the wildcard to a shell.
Bash(npx *), Bash(uvx *) and friends approve any command, because the
runner executes its arguments. The rule limits the runner, not what runs.
gh api writes look like reads.
A rule shaped for fetching also approves mutation, because the method is a
flag. -X, --method, -f, -F, --field, --raw-field and --input all
turn a GET into a write, and short flags cluster, so -fkey=value is -f.
Some rules approve nothing at all.
:* is only recognised at the end of a pattern. A shell separator like &&
splits a command before rules are matched, so a rule containing one never
fires. These are the harmless half of the same misunderstanding, and they are
worth fixing because they give false confidence.
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.
- 2d ago First seen · 86 lines · 51 tokens per session scan A 0d05aac10c36
agent-config is a skill published in the GitHub repository dennishavermans/agentfile (9 stars, last pushed 3d ago), licensed MIT. It adds 51 tokens to every session and 816 once invoked, about $0.0003 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-09-10.
Other skills, from other repositories
nist-ai-rmf
AI risk assessment using NIST AI RMF 1.0 framework. Evaluate AI systems across 4 core functions (Govern, Map, Measure, Manage) for trustworthy and responsible AI deployment.
cognitive-walkthrough
Deep-dive usability evaluation of specific user tasks. Simulates novice user cognition step-by-step to identify learnability issues, unclear actions, and points of confusion.
gdpr-audit
GDPR compliance audit of code, plans, schemas, or IaC. Produces a findings report with article citations, severity, confidence, and fixes; flags evidence gaps. Not a substitute for a DPO/lawyer.
owasp-ai-testing
AI trustworthiness testing using OWASP AI Testing Guide v1. Execute 32 test cases across 4 layers (Application, Model, Infrastructure, Data) with practical payloads and remediation.
iso-42001-ai-governance
AI governance readiness and gap assessment using ISO/IEC 42001:2023. Evaluate AI management-system practices for risk management, accountability, transparency, security, and continuous improvement.
owasp-llm-top10
Security audit for LLM and GenAI applications using OWASP Top 10 for LLM Apps 2025. Assess prompt injection, data leakage, supply chain, and 7 more critical vulnerabilities.