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 Edmonds-Commerce-Limited/claude-code-hooks-daemon --skill acceptance-testgit clone --depth 1 https://github.com/Edmonds-Commerce-Limited/claude-code-hooks-daemonWrote 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/edmonds-commerce-limited/claude-code-hooks-daemon/acceptance-test)<a href="https://agentmods.dev/skills/edmonds-commerce-limited/claude-code-hooks-daemon/acceptance-test"><img src="https://agentmods.dev/badge/skills/edmonds-commerce-limited/claude-code-hooks-daemon/acceptance-test/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/edmonds-commerce-limited/claude-code-hooks-daemon/acceptance-test"><img src="https://agentmods.dev/badge/skills/edmonds-commerce-limited/claude-code-hooks-daemon/acceptance-test.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.00019 | $0.01867 |
| Opus 5.5 | $0.00008 | $0.00747 |
| Sonnet 5.5 | $0.00004 | $0.00373 |
| Haiku 4.5 | $0.00002 | $0.00187 |
Grade D, and why
acceptance-test scanned grade D with 2 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 1mo 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- Examples: git reset --hard, rm -rf, sudo pip, sed -i Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Examples: git reset --hard, rm -rf, sudo pip, sed -i How it starts
The opening of the file, as written. The whole thing — 227 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/acceptance-test - Acceptance Testing Skill
Run this first
Claude Code loads this markdown and nothing else — the file below is not run for you, and it holds the procedure to follow (Plan 00324):
bash "${CLAUDE_SKILL_DIR:-.claude/skills/acceptance-test}/invoke.sh" <filter, or omit for all>
Follow its output exactly; what is written here is orientation.
Description
Execute acceptance tests for hooks daemon handlers via real Claude Code tool calls in the main thread. Tests verify real-world handler behaviour by invoking actual tools (Bash, Write, Edit, Read) and observing hook responses in system-reminders.
Execution Routing
Each test's Requires Main Thread field in the generated playbook decides where it runs. The method's canonical
home is CLAUDE/AcceptanceTests/GENERATING.md ("SUB-AGENT EXECUTION"); CLAUDE/development/RELEASING.md Step 12
points there too. In short:
Requires Main Thread: yes— run in the main session, sequentially, and NEVER delegate. Lifecycle events (SessionStart, SessionEnd, UserPromptSubmit) and this session's system-reminders cannot be observed from a sub-agent. The v2.9.0 incident (async agents created race conditions with release gates) is why these stay in the main thread.Requires Main Thread: no— may be delegated to parallel sub-agents, batched by the playbook'sRecommended Modelfield (haiku for blocking tests, sonnet for advisory). Verified experimentally: sub-agents ARE blocked by PreToolUse hooks (Write and Edit included) and DO see PostToolUse system-reminders in their own context.
The measured hook-visibility table and per-test-type model rules are in CLAUDE/AcceptanceTests/GENERATING.md
("SUB-AGENT EXECUTION"). Whoever delegates still owns the result: every delegated test is a real tool call whose hook response was observed, and
the main thread tallies the results before the gate passes.
Usage
# Test all handlers (default)
/acceptance-test
/acceptance-test all
# Test only blocking handlers
/acceptance-test blocking-only
# Test only advisory handlers
/acceptance-test advisory-only
# Test only context injection handlers
/acceptance-test context-only
# Test specific handler by name substring
/acceptance-test DestructiveGit
/acceptance-test npm
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +7 lines 237c62aa9e46
- 2mo ago Changed · +11 lines 128dde4eea60
- 3mo ago First seen · 209 lines · 19 tokens per session scan D 6ff90642989d
acceptance-test is a skill published in the GitHub repository Edmonds-Commerce-Limited/claude-code-hooks-daemon (4 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 1,867 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
acceptance-test compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| acceptance-testEdmonds-Commerce-Limited/claude-code-hooks-daemon | Skill | 4 | today | MIT | D | 19 | Claude Code |
| mobile-app-testingsecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 47 | Claude Code |
| proof-e2etonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 63 | Claude Code |
| proof-strategytonone-ai/tonone | Skill | 84 | 2d ago | MIT | A | 53 | Claude Code |
| e2e-panther-playwrightdev-toolings/superpowers-symfony | Skill | 235 | 19d ago | MIT | A | 29 | Claude Code |
| functional-testsdev-toolings/superpowers-symfony | Skill | 235 | 19d ago | MIT | A | 27 | Claude Code |
| e2ekochetkov-ma/claude-brewcode | Skill | 41 | 7d ago | MIT | A | 37 | Claude Code |