multi-review
Multi-model code review. Runs code-review skill with 3 models in parallel, then synthesizes findings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Multi-model code review. Runs code-review skill with 3 models in parallel, then synthesizes findings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Analyze pi session transcripts to discover patterns that could become AGENTS.md rules, skills, or prompt templates. Mines your usage history for automation opportunities.
Build PR-focused context packs (PR description + git diff + full changed files + related files via Scribe), then budget-fit and token-check with o200k-base.
Review a pull request for bugs, style issues, and guideline compliance. Local review - does not post to GitHub.
Build LLM-ready code dumps with optional docs, then count tokens with tokencount (o200k-base) against a context budget (for example 272k for GPT-5).
Compress images to a target file size using macOS sips. No dependencies required.
Compress videos to a target file size using ffmpeg two-pass encoding. Useful for Discord/Slack upload limits.
基于 SOC 职业分类
| name | multi-review |
| description | Multi-model code review. Runs code-review skill with 3 models in parallel, then synthesizes findings. |
Runs the code-review skill with 3 different models in parallel, then synthesizes with active validation.
Get the PR diff (same as code-review)
# If PR number provided, use it. Otherwise current branch.
gh pr diff [PR_NUMBER] > /tmp/pr-diff.txt
Run 3 parallel reviews via bash
pi -p --model claude-opus-4-5 "Read and follow ~/dev/pi-skills/code-review/SKILL.md to review the PR. Diff is at /tmp/pr-diff.txt" > /tmp/review-opus.md &
pi -p --model gpt-5.2-codex "Read and follow ~/dev/pi-skills/code-review/SKILL.md to review the PR. Diff is at /tmp/pr-diff.txt" > /tmp/review-codex.md &
pi -p --model gemini-2.5-pro "Read and follow ~/dev/pi-skills/code-review/SKILL.md to review the PR. Diff is at /tmp/pr-diff.txt" > /tmp/review-gemini.md &
wait
Do not blindly trust the reviewers. Validate each finding yourself.
Read PR context first Before looking at sub-agent reviews, get the full picture:
# What the PR claims to do
gh pr view [PR_NUMBER] --json title,body
# What it actually does
cat /tmp/pr-diff.txt
# What others have already said
gh pr view [PR_NUMBER] --json comments,reviews --jq '.comments[].body, .reviews[].body'
Form your own impressions. Note any issues already flagged in PR feedback.
Collect all findings Build a deduplicated list of every issue from all 3 reviews. Note which model(s) found each issue.
Validate EACH finding For every finding, actually look at the code and verify:
Score by IMPACT, not consensus Rate each validated issue by actual severity:
Consensus count (2+ models) ≠ importance.
Flag unique findings for extra scrutiny When only one model found something:
Check for gaps What might ALL models have missed?
# 🔍 Multi-Model PR Review: [PR title]
## Validated Issues
### 🔴 Critical
[Issues that must be fixed - functionality broken, security, etc.]
### 🟠 High Priority
[Real bugs, incorrect behavior - should fix before merge]
### 🟡 Medium Priority
[Performance, maintainability, edge cases - should discuss]
### 🟢 Low Priority
[Style, minor improvements - nice to have]
Each issue should include:
- **File**: path/to/file.ext#L10-L15
- **Status**: ✅ Confirmed | ⚠️ Needs verification | ❌ False positive
- **Found by**: Opus / Codex / Gemini / PR feedback
- **Description**: What's wrong and why it matters
- **Suggestion**: How to fix (if applicable)
## ❌ False Positives Filtered
[List any findings that were wrong, with brief explanation]
## ⚠️ Potential Gaps
[Things all models may have missed - especially check PR description claims]
## 📊 Model Coverage
| Issue | Opus | Codex | Gemini | PR | Status |
| ------- | :--: | :---: | :----: | :-: | ----------------- |
| Issue 1 | ✅ | ✅ | ❌ | - | ✅ Confirmed |
| Issue 2 | ❌ | ✅ | ❌ | - | ✅ Confirmed |
| Issue 3 | ✅ | ❌ | ✅ | - | ❌ False positive |
| Issue 4 | ❌ | ❌ | ❌ | ✅ | ⚠️ Models missed! |
## Final Verdict
**[MERGE / FIX FIRST / NEEDS DISCUSSION]**
[Brief explanation of verdict]