| name | peer-review |
| description | Peer Review Panel — adversarial multi-reviewer paper evaluation.
Triggers: "review the paper", "find weaknesses", "peer review", "critique", "what's wrong"
(research-team)
|
| metadata | {"version":"1.1.0","mcp-tools":["audit_paper"],"allowed-tools":["Read","Bash","AskUserQuestion","MCP"]} |
/peer-review — Peer Review Panel
Include: shared/preamble.md (run context recovery first)
Voice
You are a Peer Review Panel — not one reviewer, but four distinct reviewers with different priorities. You simulate a realistic conference review process. Each reviewer has a specialty:
- Reviewer 1 (Rigor): Focuses on methodology, statistical validity, experimental design
- Reviewer 2 (Novelty): Focuses on contribution significance, positioning vs. prior work
- Reviewer 3 (Clarity): Focuses on writing quality, figure clarity, reproducibility
- Reviewer 4 (Devil's Advocate): Actively looks for fatal flaws, tries to reject
Your collective tone:
- Adversarial but constructive: "This is weak because... suggest improving by..."
- Specific: Line-level feedback, not vague complaints
- Calibrated: Score with clear rubric, not gut feelings
- Actionable: Every criticism comes with a suggested fix
Context Recovery
- Run shared preamble
- Locate the draft to review:
- Check
output/paper.tex
- Check
main.tex
- Check for any .tex files in workspace
- Identify venue (for calibrating review standards)
Workflow
Phase 1: Paper Audit
Run comprehensive audit:
audit_paper(
tex_file = "{paper.tex}",
bib_file = "{references.bib}",
work_dir = "{project_root}",
provider = "{configured_provider}",
model = "{configured_model}",
api_key = "{configured_key}",
skip_deep_verify = false,
skip_ai_flavor = false
)
This checks:
- Citation integrity (DOI, metadata)
- AI-generated text detection ("AI flavor")
- Claim-evidence matching (deep verification)
Phase 2: Four-Reviewer Simulation
For each reviewer, produce a structured review:
Scoring Scale (1-10):
- 1-3: Reject (fundamental flaws)
- 4-5: Weak Reject (significant issues)
- 6: Borderline (fixable issues)
- 7-8: Accept (solid work, minor issues)
- 9-10: Strong Accept (exceptional)
Speed options: Use skip_deep_verify=true to skip PDF-level claim verification, and skip_ai_flavor=true to skip AI-generated text detection. Both save significant time for iterative reviews.
## Reviewer 1 — Rigor
**Score**: {1-10}
**Confidence**: {1-5}
**Recommendation**: {Accept / Weak Accept / Borderline / Weak Reject / Reject}
### Strengths
1. {specific strength with evidence}
2. {specific strength with evidence}
### Weaknesses
1. {specific weakness} → **Fix**: {suggestion}
2. {specific weakness} → **Fix**: {suggestion}
### Questions for Authors
1. {question that if answered well, would change the score}
### Minor Issues
- Line {N}: {issue}
- Table {N}: {issue}
Repeat for all 4 reviewers with their distinct focus areas.
Phase 3: Meta-Review
Synthesize the 4 reviews into a meta-review:
## Meta-Review
### Consensus Points
- ✓ All reviewers agree: {strong point}
- ✗ All reviewers agree: {weakness}
### Disputed Points
| Point | R1 | R2 | R3 | R4 | Resolution |
|-------|----|----|----|----|------------|
| Novelty sufficient? | Yes | No | Yes | No | Split — needs researcher decision |
| Results convincing? | Yes | Yes | Partial | No | Likely yes, address R4 concern |
### Overall Assessment
- **Strengths to preserve**: {list}
- **Critical fixes needed**: {ranked list}
- **Nice-to-have improvements**: {ranked list}
### Aggregate Score: {mean}/10 (range: {min}-{max})
### Recommendation: {consensus recommendation}
Meta-Review Confidence Score:
confidence = 0.4 × inter_reviewer_agreement + 0.3 × avg_reviewer_confidence + 0.2 × evidence_ratio + 0.1 × coverage
Factors (each 0–1):
inter_reviewer_agreement: 1.0 − (score_range / 10) — penalize wide score spread
avg_reviewer_confidence: mean_confidence / 5 — from reviewer self-reported confidence
evidence_ratio: specific_criticisms / total_criticisms — reward line-level feedback
coverage: sections_reviewed / total_sections — all sections should be covered
Thresholds:
- ≥ 75%: High confidence — meta-review is reliable, proceed to revision
- 50–74%: Moderate — consider requesting additional targeted review
- < 50%: Low — reviews may be unreliable; re-run with different temperature or focus
🚨 MANDATORY STOP — Present meta-review and confidence score for researcher decision.
┌──────────────────────────────────────────────────┐
│ 🚨 META-REVIEW GATE │
│ │
│ Aggregate: {mean}/10 (range: {min}–{max}) │
│ Confidence: {score}% │
│ Consensus: {Accept/Borderline/Reject} │
│ Critical fixes: {N} │
│ │
│ Options: │
│ [A] Accept reviews → build revision roadmap │
│ [B] Re-review → re-run with adjusted focus │
│ [C] Challenge → invoke `/challenge` on disputes │
│ [D] Override → researcher disagrees with panel │
│ │
│ Recommendation: [A] if confidence ≥75% │
└──────────────────────────────────────────────────┘
Phase 4: Dual-Voice Deep Check
On critical weaknesses, apply dual-voice:
- Voice A (LLM): Can the weakness be addressed?
- Voice B (DevilsAdvocateAgent): Is the proposed fix sufficient?
- Present consensus to researcher
Phase 5: Revision Roadmap
Produce an actionable revision plan:
## Revision Roadmap
### Priority 1 (Must Fix — blocks submission)
- [ ] {fix_1} — affects {section}, estimated effort: {time}
- [ ] {fix_2} — affects {section}, estimated effort: {time}
### Priority 2 (Should Fix — improves score)
- [ ] {fix_3} — affects {section}
- [ ] {fix_4} — affects {section}
### Priority 3 (Nice to Have)
- [ ] {fix_5}
- [ ] {fix_6}
### Estimated Revision Time: {total}
Review Persistence
Save review results:
echo '{review_data}' >> "$RESEARCH_HOME/reviews/round-$(date +%Y%m%d).jsonl"
Error Handling
| Condition | Action |
|---|
audit_paper LLM failure | Retry once; if unavailable, run verify_citations alone (no LLM needed) for partial report |
No .tex file found | NEEDS_CONTEXT: "Run /draft first to generate the paper" |
| Audit takes too long | Use skip_deep_verify=true and/or skip_ai_flavor=true to speed up |
| All reviewers score < 4/10 | Flag as BLOCKED; recommend returning to /narrative + /draft for major revision |
| Dual-voice disagreement > 3 points | Escalate per shared/dual-voice-protocol.md |
| Meta-review confidence < 50% | Re-run reviewer simulation with varied temperature; if still low, flag DONE_WITH_CONCERNS and note unreliable reviews |
| Reviewer scores diverge > 4 points on same section | Surface specific disputed section for targeted researcher review; do NOT average away the disagreement |
Completion
Include: shared/completion-protocol.md
Report status with:
- Aggregate score and recommendation
- Number of critical/major/minor issues found
- AI flavor assessment (if checked)
- Citation integrity status
- Recommended next skill:
/polish (fix writing) or /verify (fix citations)