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.

68 stars 3 forksHooks Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add Filip-Podstavec/claude-leverage

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/Filip-Podstavec/claude-leverage.git

From 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…
Read the full README on GitHub

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.
Claude Code docs

Details

Type
Hooks
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

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.