Development
Hook
Hooks
What claude-leverage runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.
Install
> /plugin marketplace add Filip-Podstavec/claude-leverage > /plugin install claude-leverage@filip-podstavec
Ships with claude-leverage. Installing the plugin gets these hooks.
What fires, and when
SessionStart
Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.
${CLAUDE_PLUGIN_ROOT}/scripts/hooks/stack-freshness.sh${CLAUDE_PLUGIN_ROOT}/scripts/hooks/bare-repo-nudge.sh${CLAUDE_PLUGIN_ROOT}/scripts/hooks/skill-cheatsheet.sh${CLAUDE_PLUGIN_ROOT}/scripts/hooks/overdue-todo-nudge.sh
PreToolUse
- Matches
Bash${CLAUDE_PLUGIN_ROOT}/scripts/hooks/block-secrets-precommit.sh${CLAUDE_PLUGIN_ROOT}/scripts/hooks/block-dangerous-git.sh - Matches
Read|Edit|Write|MultiEdit${CLAUDE_PLUGIN_ROOT}/scripts/hooks/context-surface.sh
PostToolUse
- Matches
Write|Edit|MultiEdit${CLAUDE_PLUGIN_ROOT}/scripts/hooks/ai-first-nudge.sh
Stop
${CLAUDE_PLUGIN_ROOT}/scripts/hooks/security-nudge.sh
Ships withclaude-leverage
Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development.Building blocks for Claude Code: subagents, slash commands, hooks, and workflow patterns. Copy what you need. A working developer's stack for Claude Code.
Get the whole plugin
Stats
68
Stars
3
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
4mo ago
Created
Repo: Filip-Podstavec/claude-leverage

