pi-code-review

Installation
SKILL.md

Pi Code Review

Delegate the review to pi. Run it from the repository root so pi can inspect the project rules, changed files, and surrounding code.

Run the review

Use this command through Claude Code's Bash tool:

pi -p --no-session \
  --model openai-codex/gpt-5.6-sol \
  --tools read,bash \
  "Review the code changes in this repository. Determine the requested scope from my request; when no scope was specified, review staged and unstaged changes, or the current branch against its default base branch when the working tree is clean. Read applicable project instructions and inspect changed files in context. Do not modify files. Focus on correctness, security, regressions, performance, maintainability, and missing tests. Report only actionable findings, ordered by severity, with exact file paths and line numbers. For each finding explain the impact and the smallest sound fix. If no findings exist, say so explicitly."

-p makes pi return one review and exit. --no-session avoids creating review session history. --tools read,bash removes pi's direct file-editing tools while retaining git inspection; the prompt explicitly forbids modification because shell access itself cannot be made read-only.

If the user names a specific scope, append it to the quoted prompt. Examples:

Installs
1
GitHub Stars
1
First Seen
Aug 4, 2026