hook-development SKILL.md skillA
hook-development from kanevry/session-orchestrator is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kanevry/session-orchestrator/hook-development@git:20261101.758cdacPins git:20261101.758cdac in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kanevry/session-orchestrator
- Path
skills/hook-development/SKILL.md- Versions recorded
- 9
- Latest version
- git:20261101.758cdac, committed Nov 1, 2026
- First version recorded
- Apr 24, 2026
- Size
- 15,975 bytes
- Repository stars
- 53
- License
- MIT
Use when creating, modifying, or debugging Claude Code hooks — PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification. Covers the plugin `hooks/hooks.json` wrapper format vs. the user `settings.json` direct format, matchers, security patterns, `$CLAUDE_PLUGIN_ROOT` portability, lifecycle limitations, and debugging. Trigger on "add a hook", "validate tool use", "block dangerous commands", "enforce completion", "hook-based automation".
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Hook Development for Claude Code Plugins
Use the [official Claude Code hooks reference](https://code.claude.com/docs/en/hooks) as the source of truth for current events and schemas. This skill keeps only the conventions needed to author this plugin's hooks.
## Hook types used in this plugin
Claude Code also documents `http`, `mcp_tool`, and experimental `agent` handlers. Use those only after checking their current fields and event support in the official reference.
### Prompt-based (LLM-driven, for complex reasoning)
```json
{
"type": "prompt",
"prompt": "Evaluate whether this event should proceed: $ARGUMENTS",
"timeout": 30
}
```
Prompt hooks are supported only on events documented for that handler type. `$ARGUMENTS` contains the hook input JSON.
Use for: context-aware decisions, flexible evaluation, natural-language reasoning.
### Command (deterministic, for fast checks)
```json
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/validate.mjs",
"timeout": 60
}
```
Use for: fast deterministic validations, file-system ops, external tools, performance-critical paths.
…Read the whole file at its exact version.
How to install
mdr add kanevry/session-orchestrator/hook-development@sha256:603382151d597960The line at the top of this page pins the label git:20261101.758cdac, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_q35ltokettbgycxg)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 9 versions of this file, between Apr 24, 2026 and Nov 1, 2026, about one every 24 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261101.758cdac latest | 2026-11-01 | 758cdac | 15,975 B | A | view · diff |
| git:20261003.c34ec50 | 2026-10-03 | c34ec50 | 15,422 B | A | view · diff |
| git:20260916.dd05e0f | 2026-09-16 | dd05e0f | 15,400 B | A | view · diff |
| git:20260915.81c9ffa | 2026-09-15 | 81c9ffa | 15,128 B | A | view · diff |
| git:20260803.d2de3ca | 2026-08-03 | d2de3ca | 13,225 B | A | view · diff |
| git:20260518.a68e94f | 2026-05-18 | a68e94f | 13,225 B | A | view · diff |
| git:20260517.a84eba8 | 2026-05-17 | a84eba8 | 13,245 B | A | view · diff |
| git:20260428.503e15a | 2026-04-28 | 503e15a | 13,231 B | A | view · diff |
| git:20260424.77aa46e | 2026-04-24 | 77aa46e | 9,697 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (15975 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kanevry/session-orchestrator · 53 stars · license MIT · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_q35ltokettbgycxg GET https://markdownregistry.com/api/v1/resolve?ref=kanevry/session-orchestrator/hook-development GET https://markdownregistry.com/api/v1/blob/603382151d597960d69a2a73df58c5eff5a03a4d02b1aa9bc8d63ce43f9ab3b3
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from kanevry/session-orchestrator
Every file in kanevry/session-orchestrator