Claude Code hook
Claude 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.
Install
/plugin marketplace add Filip-Podstavec/claude-leverageFound in the project README. Check it for setup steps after installing.
git clone https://github.com/Filip-Podstavec/claude-leverage.gitFrom the README
Make any repo AI-first - write sustainable code from the start, or refactor a legacy codebase to prepare it for agent-driven development. Convention layer (AGENTS.md) is also read by any AGENTS.md-aware tool - Cursor, Windsurf, Copilot… A small, opinionated AI-coding-agent suite for Claude Code and Codex CLI: deterministic security hooks, cross-tool skills, and self-maintaining conventions that keep a repo safe for the *next* agent to modify. Complements skills-based plugins like the official superpowers plugin; it does not try to replace them. Contents - The problem it solves - Who it's for - Quick start - Install - What you get - How it works - Benchmarks - How it compares - What's inside - Why one repo for two tools - Honest history - Verify, update, uninstall - License The problem it solves Shipping at velocity with AI agents is easy. Shipping in a way that the *next* agent (human or AI) opening the repo in six months can still safely modify is the hard part. That second part is what the hooks, conventions, and skills here automate - not just at session start, but continuously as the repo grows. Without a stackWith claude-leverage Context dies between sessions - every agent re-learns the repo from scratch. AIDEV anchors + the context-surface hook surface the right facts at the moment of edit. Docs drift out of sync with the code until nobody trusts them. Self-maintenance nudges flag missing AGENTS.md, stale anchors, and code↔docs drift while it's still cheap to fix. Big tasks lose the plot; the why behind decisions evaporates. Durable memory: ADRs and distilled session logs carry intent across sessions. Nothing stands between a careless agent and a leaked secret or a force-push. Deterministic shell hooks block secrets, force-push, and --no-verify before…
How hooks work
- Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
- They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
- A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Details
- Repository
- Filip-Podstavec/claude-leverage
- Type
- Hooks
- Website
- podstavec.cz
- Language
- Python
- License
- MIT
- Last updated
- 3 August 2026
- Topics
- claude-aiclaude-codeclaude-code-plugin
FAQ
What is Claude 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. It is a hook for Claude Code, from Filip-Podstavec/claude-leverage on GitHub.
How do I install Claude Leverage?
Run /plugin marketplace add Filip-Podstavec/claude-leverage inside Claude Code, then follow the setup in the README.
Is Claude Leverage popular?
Filip-Podstavec/claude-leverage has 68 GitHub stars and 3 forks. It was last updated on 3 August 2026.
More hooks
Evc
59SaigonXIII/evc
The open-source marketing agent workspace for Claude Code. 42 commands, 12 hooks, 4 industry starters.
c0ntextKeeper
61Capnjbrown/c0ntextKeeper
Automatic context preservation for Claude Code. Never lose work to compaction again. 7 hooks, 187 semantic patterns, 3 MCP tools.
claude-hooks
17liberzon/claude-hooks
PreToolUse hook that splits compound bash commands and checks each part against allow rules.
Secguard
61random1st/secguard
3-level security toolkit for AI agents: regex patterns, heuristic rules, ML classification. Claude Code hooks, git pre-commit, CI/CD scanner.
Codex Claude Bridge
63abhishekgahlot2/codex-claude-bridge
Claude Code and Codex CLI talk to each other through one markdown file in your project. No server, no hooks, no plugin.
Claude Hooks
41gabriel-dehan/claude_hooks
A Ruby DSL for creating Claude Code hooks
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.