hookify
Skill0 starsChanged 5 months agoMITView on GitHub
Use when adding automated hook behavior to Claude Code or Cursor from a natural language description.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- neronain/ClaudeSkills-Neronaintheir own version, first seen Aug 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- neronain/ClaudeSkills-Neronain★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- autodoc-analystSkill
- autodoc-architectSkill
- autodoc-assemblerSkill
- autodoc-orchestratorSkill
- autodoc-scannerSkill
- autodoc-writerSkill
- brainstormSkill
- brd-creatorSkill
- caveman-modeSkill
- changelogSkill
- claude-md-managementSkill
- code-ai-reviewSkill
- code-boss-reviewSkill
- code-mobx-store-reviewSkill
- code-reviewSkill
- code-style-reviewSkill
- code-verifierSkill
- commitSkill
- constraint-driven-developmentSkill
- context-collectorSkill
- db-migrateSkill
- dependency-updateSkill
- deploySkill
- doubt-driven-developmentSkill
- feature-analyzerSkill
- feature-devSkill
- fsd-creatorSkill
- gproject-consistency-checkerSkill
- gproject-discoverySkill
- gproject-orchestratorSkill
- gproject-patterns-researcherSkill
- gproject-plannerSkill
- gproject-problem-definerSkill
- gproject-spec-writerSkill
- gproject-stack-advisorSkill
- iagoSkill
- interviewerSkill
- interviewSkill
- issue-analyzerSkill
- job-documenterSkill
- job-orchestratorSkill
- perf-checkSkill
- plan-gatekeeperSkill
- prd-creatorSkill
- pr-issue-documenterSkill
- pr-review-commentsSkill
- prSkill
- pushSkill
- review-architectureSkill
- review-backendSkill
- review-clean-codeSkill
- review-core-boundariesSkill
- review-flow-graphSkill
- review-frontend-conventionsSkill
- review-frontendSkill
- review-greptileSkill
- review-highloadSkill
- review-logicSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Create agent hooks from natural language descriptions.
- Distinctive: line 42
Check for existing hooks to avoid conflicts.
- Distinctive: line 61
Verify command exists and is executable
- Distinctive: line 62
Test standalone if safe
- Distinctive: line 63
Check for conflicts with existing hooks
- Distinctive: line 75
After confirmation, merge into settings.
- Distinctive: line 92
Notify on done: Stop → notification command
- Distinctive: line 96
ALWAYS preview before applying
- Distinctive: line 97
NEVER overwrite existing hooks — merge or ask
- Distinctive: line 98
Keep timeouts reasonable (10-60s)
- Distinctive: line 100
Test commands before adding as hooks
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hookify
Create agent hooks from natural language descriptions.
Arguments
/hookify <description>— create hook from description/hookify --list— show all current hooks/hookify --remove <event>— remove a hook
Workflow
Step 1: Parse Request
Understand from natural language:
- When: what event triggers it (before edit, after bash, on stop)
- What: what should happen (run command, check, notify)
- Condition: optional matcher (specific tool, file pattern)
Examples:
- "Run lint after every file edit" → PostToolUse + Edit matcher + lint command
- "Notify me when done" → Stop + notification command
- "Check types before committing" → PreToolUse + Bash(git commit) + tsc
Step 2: Read Current Settings
Check for existing hooks to avoid conflicts.
Step 3: Generate Hook Config
{
"hooks": {
"<event>": [
{
"matcher": "<tool name or pattern>",
"command": "<shell command>",
"timeout": 60000
}
]
}
}Step 4: Validate
- Verify command exists and is executable
- Test standalone if safe
- Check for conflicts with existing hooks
Step 5: Preview & Apply
🔧 New hook:
Event: PostToolUse (Edit)
Command: npm run lint --fix
Timeout: 30s
Add to settings.json? [confirm]After confirmation, merge into settings.
Hook Event Reference
| Event | When | Matcher |
| PreToolUse | Before tool runs | Tool name: Edit, Bash, Write |
| PostToolUse | After tool runs | Tool name |
| Notification | Agent notifies | — |
| Stop | Response complete | — |
| SubagentStop | Sub-agent done | — |
Common Patterns
- Auto-lint: PostToolUse(Edit) →
eslint --fix $FILE - Auto-format: PostToolUse(Write) →
prettier --write $FILE - Type-check gate: PreToolUse(Bash:git commit) →
npx tsc --noEmit - Notify on done: Stop → notification command
Rules
- ALWAYS preview before applying
- NEVER overwrite existing hooks — merge or ask
- Keep timeouts reasonable (10-60s)
- Warn if hook could slow down every tool call
- Test commands before adding as hooks
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

