Pi Claude Rules — Development skill for Claude Code
Exact behavior clone of Claude Code rules into Pi agent harness.
How to install Pi Claude Rules
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jordyvanvorselen/pi-claude-rules and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pi Claude Rules does
Exact behavior clone of Claude Code rules into Pi agent harness.
Alternatives in Development
- Claude Skills Project Configuration — This file governs Claude's behavior when working on the claude-skills repository 6.8k ★
- 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 ★
README
pi-claude-rules
Load Claude Code rules from `.claude/rules/` into [pi](https://github.com/earendil-works/pi-coding-agent).
Pi only reads `AGENTS.md` and `CLAUDE.md`. Teams that deploy scoped instructions with APM or Claude Code into `.claude/rules/*.md` get nothing from them in pi. This extension fixes that. By default it uses a smart hybrid: global rules are loaded before the first request, reads load matching scoped rules into their result, and mutations are blocked until those rules have reached the model.
Quick start
Install the package:
pi install npm:@jordyvanvorselen/pi-claude-rules
Or install from a local checkout:
pi install /path/to/pi-claude-rules
Or try it for one run without installing:
pi -e npm:@jordyvanvorselen/pi-claude-rules
Put rule files in `.claude/rules/` in your project. Start pi. A `[Claude rules]` block appears under pi's own `[Skills]` and `[Extensions]` blocks:
[Claude rules]
api-versioning, authorization, design-system, git-workflow, java-code-style
5 rules: 0 always, 5 path-scoped, 0 listed
Press Ctrl+O to expand it. The expanded form shows one line per rule with its mode and glob scope, grouped by source directory:
[Claude rules]
5 rules: 0 always, 5 path-scoped, 0 listed
.claude/rules
api-versioning on match connect-backend/src/main/**/*.java
authorization on match connect-backend/src/**/*.java
design-system on match connect-portal/src/**/*.scss
git-workflow on match **
java-code-style on match {connect-backend,panel-event-processor}/src/main/**/*.java
The block is a TUI-only session entry. It is stored in the session file so it survives a resume, and it is never sent to the model.
Run `/claude-rules` to see what was found.
Rule files
A rule is a Markdown file with optional YAML frontmatter. The body is the instruction text.
---
description: V1/V2 API versioning rules for the backend
paths:
- "connec
Related Skills
Signal Compress.Min
Compress memory/rules/prompts/docs; preserve exact technical tokens.
Hef.Doctor
Framework self-check: the running copy against the clone and upstream, the rules against upstream, the hooks l
Claude Evolve
Self-evolving learning system for Claude Code — learns from your corrections and behavior, auto-writes rules t
Opus 5.5 System Prompt Components
Claude Opus 5.5 system prompt leak split into readable components (tools, behavior, agentic rules, memory). Re
My Claude Md
A minimal CLAUDE.md for Claude Code, containing only rules that are not already default behavior.
Authoring Against State Rules
Always-on. Investigation-as-deliverable discipline for code, config, and commands whose runtime behavior depen
Related Agents
Grind
Runs multi-step shell work — fleet/ssh sweeps, build+deploy, test-harness runs, service polls. Use when the ne
Regression Hunter
Use when a test, behavior, or build worked at a known-good commit and is broken at HEAD. Bisects the commit hi
Trinity
Implementation specialist. Executes ONE well-defined task per invocation — exact files, exact changes, exact v