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 commands/zakelfassi/skills-driven-development/skdd-hooksgit clone --depth 1 https://github.com/zakelfassi/skills-driven-developmentWrote 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/commands/zakelfassi/skills-driven-development/skdd-hooks)<a href="https://agentmods.dev/commands/zakelfassi/skills-driven-development/skdd-hooks"><img src="https://agentmods.dev/badge/commands/zakelfassi/skills-driven-development/skdd-hooks.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.00023 | $0.00460 |
| Opus 5 | $0.00012 | $0.00230 |
| Sonnet 5 | $0.00005 | $0.00092 |
| Haiku 4.5 | $0.00002 | $0.00046 |
Grade A, and why
skdd-hooks 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 3d 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.
What it actually says
Manage the SkDD enforcement hooks for this project. The hooks are off by default and their state lives in .claude/skdd.local.md (project-scoped, survives sessions; add it to .gitignore if the team shouldn't share it).
The user's request: $ARGUMENTS
What to do
-
Read
.claude/skdd.local.mdif it exists. Its frontmatter holds the toggles:--- skdd-hooks: finish-the-loop: false freeze-the-session: false --- # SkDD hook toggles Managed by /skdd-claude:skdd-hooks. `true`/`on` enables a gate for this project. -
Apply the request:
on/off(no gate named) → set both gates to that state.finish-the-loop on|offorfreeze-the-session on|off→ set just that gate.statusor empty → don't write anything; report the current state of both gates.
-
Write the file back (create
.claude/if needed, keep the format above — the hook scripts parse thegate-name: true|falselines). -
Confirm to the user what changed, and remind them what each gate does:
- finish-the-loop (Stop gate): if the session changed product source and the final report claims success without observed evidence ("should work now"), the stop is bounced once with instructions to verify or state plainly that it's unverified. Second stop always passes.
- freeze-the-session (SessionEnd + PreCompact reminder): if the session looks substantive and the colony registry hasn't been touched, a non-blocking reminder to extract skills/conventions before the context dies.
A skill is a procedure the model follows when it decides to; a hook is a gate for when it forgets.
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.
- 3d ago First seen · 38 lines · 23 tokens per session scan A 36f668857737
skdd-hooks is a command published in the GitHub repository zakelfassi/skills-driven-development (18 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 460 once invoked, about $0.0001 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 commands, from other repositories
upgrade
Upgrade the skillshare CLI binary and/or the built-in skillshare skill.
verify
Perform a non-destructive post-implementation verification gate validating the implementation against spec.md, plan.md, tasks.md, and constitution.md.
release
Git geçmişinden hedef kitleye uygun sürüm notları oluştur.
spec-forge
Use when generating software specifications — full chain (Idea→Decompose→Tech Design + Feature Specs) or individual documents.
create-worktree
Follow these steps to create a git worktree.
dd-init
Initialize product documentation structure in current directory.