Skip to content
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
$ npx -y skills add Filip-Podstavec/claude-leverage --agent claude-code

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.

  • Runs stack-freshness.sh.

PreToolUse

  • Runs block-secrets-precommit.sh.

PostToolUse

  • Runs ai-first-nudge.sh.

Stop

  • Runs security-nudge.sh.
Read hooks/hooks.json
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, auto-invoked
Stats
68
Stars
0
Views
3
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
3mo ago
Created

Repo: Filip-Podstavec/claude-leverage