jordyvanvorselen

Pi Claude Hooks — Development skill for Claude Code

Development community

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