Pi Claude Hooks — Development skill for Claude Code
Exact behavior clone of Claude Code hooks into Pi agent harness.
How to install Pi Claude Hooks
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jordyvanvorselen/pi-claude-hooks and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Claude Hooks does
Exact behavior clone of Claude Code hooks into Pi agent harness.
Alternatives in Development
- Fidelity — Measure how faithfully a clone reproduces a site — pixel-diff plus motion-fidelity into one 0-100 score, a let 3.6k ★
- Clone — Dig into /tmp/cc-repos/drizzle-v1 for Drizzle v1 and /tmp/cc-repos/drizzle-orm-docs for Drizzle ORM docs - it' 401 ★
- Clio — Claude Code CLI Clone — Agentic coding CLI that connects to Anthropic API (or compatible endpoints) to provide a terminal-based Claude 172 ★
README
pi-claude-hooks
Run your Claude Code hooks inside [pi](https://pi.dev). The extension reads the hook configuration your team already deploys to `.claude/` and runs those command hooks on pi's events. Existing hook scripts keep working unchanged, including scripts that read `.tool_input.file_path` or match on `Edit|Write`.
Quick start
Install the package:
pi install npm:@jordyvanvorselen/pi-claude-hooks
Or install from a local checkout:
pi install /path/to/pi-claude-hooks
Or try it for one run without installing:
pi -e npm:@jordyvanvorselen/pi-claude-hooks
pi -e /path/to/pi-claude-hooks
Open pi in a project that has `.claude/settings.json` hooks. Run `/claude-hooks` to see what was loaded.
Hooks only run for trusted projects. If pi has not trusted the project yet, only your user-level `~/.claude/settings.json` hooks load, and you get a warning.
Config sources
Hook files are read in this order. Later files append to the earlier ones.
| Order | File | Notes |
|---|---|---|
| 1 | ~/.claude/settings.json |
Your user hooks. Turn off with loadUserSettings: false. |
| 2 | /.claude/settings.json |
Team hooks. Only for trusted projects. |
| 3 | /.claude/settings.local.json |
Personal project hooks. Only for trusted projects. |
| 4 | /.claude/*.json |
Any other JSON file that contains hooks, for example apm-hooks.json. Glob is configurable. |
A file counts as a hook file when it has a top-level `hooks` object, or when it has event names such as `PreToolUs
Related Skills
Pi Claude Rules
Exact behavior clone of Claude Code rules into Pi agent harness
Hef.Doctor
Framework self-check: the running copy against the clone and upstream, the rules against upstream, the hooks l
Lesson
Use when: capturing a non-obvious lesson/gotcha/workaround after a tricky fix or surprising behavior. Writes a
Claude Code Hooks Mastery
🔧 Master Claude Code hooks to control behavior and enhance agent orchestration with sub-agents and validation
Skill Healthcheck
Find agent skills that silently stopped working, and when your agent's behavior changed. For Claude Code, Code
Dsh Movein
Migrate Claude Code setup into DeepSeek Harness. Import skills, commands, agents, hooks, permission rules, and
Related Agents
Grind
Runs multi-step shell work — fleet/ssh sweeps, build+deploy, test-harness runs, service polls. Use when the ne
Harness Engineer
Diseña cambios del harness (agentes, skills, política, hooks y contexto) como propuestas con hipótesis y evals
Harness Architect
Expert in designing and building agent harnesses — agent/skill/tool decomposition, subagent teams, hooks, MCP