Hookyard

Claude Code hooks, ready to install.

A curated directory of hooks for ~/.claude/settings.json. Browse by event, copy the JSON, or one-shot install with the Hookyard CLI.

npx hookyard install obsidian-auto-commit
PostToolUse

Obsidian Auto-Commit

Auto-commit your Obsidian vault after every Write/Edit.

#automation#git#notes
PreToolUse

Block rm -rf

Refuse destructive recursive deletes before Bash runs them.

#security#guard
PostToolUse

Track Skill Usage

Increment a counter when a skill is invoked.

#telemetry#skills
Stopdemo

Speech Summary on Stop

Speak a one-line summary aloud when Claude finishes.

#voice#automation
UserPromptSubmitdemo

Prompt Redactor

Strip API keys and emails from user prompts before submit.

#security#privacy
PostToolUsedemo

Run Tests on Edit

Run `npm test` after every code edit.

#quality#testing
PostToolUsedemo

Lint on Edit

Run ESLint --fix after every edit.

#quality#lint
Notificationdemo

Desktop Notify

macOS notification when Claude needs your attention.

#automation#macos
Stopdemo

Git Status on Stop

Print git status when the agent finishes.

#git#automation
PostToolUse

AgentFS Checkpoint

Snapshot every Write/Edit to agentfs for time-travel debugging.

#telemetry#checkpoint#debugging
SubagentStopdemo

Subagent Cost Log

Log token spend each time a subagent finishes.

#telemetry#cost