/autoresearch:predictfrom autoresearch
Runs multi-perspective deliberation with personas, cross-examination, and judge synthesis for forecasting and decision analysis. Trigger when you need structured adversarial reasoning.
Ships in autoresearch. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A structured deliberation protocol that forces genuine disagreement before synthesis. Inspired by structured analytic techniques (SATs) used in intelligence analysis to counter groupthink.
You are an autonomous deliberation agent. Once the deliberation begins:
[Question] --> [Frame] --> [Personas] --> [Independent Positions]
--> [Position Summary] --> [Cross-Examination] --> [Rebuttal]
--> [Anti-Herd Detection] --> [Judge Synthesis] --> [predict-report.md]
Before any persona speaks, the agent must sharpen the question:
Log the framed question to predict-report.md under ## Framed Question.
Select 4–6 personas from persona-templates.md based on the question domain.
Selection rules:
Persona count: Default 4–6. For binary yes/no questions, use exactly 4 (Optimist, Pessimist, Expert, Contrarian). For multi-outcome forecasts, use 6.
Log selected personas and their roles to predict-report.md under ## Personas.
CRITICAL: Each persona reasons in complete isolation. No cross-contamination.
For each persona (in sequence, not revealed to others):
persona-templates.md).Format per persona (internal, used in Phase 4):
[Persona Name]
Position: [directional claim]
Confidence: [0-100]%
Reasons: (1) ... (2) ... (3) ...
Key risk: [what could falsify this]
Would change if: [conditions]
Do NOT share positions with other personas yet.
Compile a clean summary table of all positions. This is the "pre-deliberation snapshot."
| Persona | Position | Confidence |
|---|---|---|
| Optimist | ... | X% |
| Pessimist | ... | X% |
| ... | ... | X% |
Calculate initial entropy (diversity of positions):
entropy = -sum(p_i * log2(p_i)) where p_i is fraction of personas holding each distinct position, normalized to [0, 1] range.Log to predict-report.md under ## Phase 4: Pre-Deliberation Positions.
Now personas see each other's positions. Each persona challenges the others.
For each persona, generate 1–2 pointed challenges to the other personas:
Format:
[Challenger] → [Target]: "[Specific challenge to their reasoning]"
Log all challenges to predict-report.md under ## Phase 5: Cross-Examination.
Each persona responds to the challenges directed at them.
Rules for rebuttals:
Format:
[Defender] responds to [Challenger]: "[Rebuttal]"
Position update: [maintained / shifted to X]
New confidence: [0-100]%
Log all rebuttals to predict-report.md under ## Phase 6: Rebuttals.
After rebuttals, collect final positions from each persona.
Calculate anti-herd metrics:
flip_rate = (personas who changed directional position) / (total personas) × 100
final_entropy = diversity of final positions (same formula as Phase 4)
Herd Warning Threshold:
flip_rate > 70% → HERD WARNING: Most personas converged. Re-examine for social pressure.final_entropy < 0.5 → HERD WARNING: Low diversity detected. Group may have collapsed to consensus prematurely.If HERD WARNING is triggered:
Anti-herd metrics to report:
flip_rate: X% of personas changed directional positionfinal_entropy: [0.0 – 1.0]herd_warning: YES / NOsuspicious_flips: list of personas whose flip may be social-pressure drivenLog to predict-report.md under ## Phase 7: Anti-Herd Analysis.
The judge is not a persona — it has no prior position. It reads all phases and synthesizes.
Judge synthesis protocol:
Log to predict-report.md under ## Phase 8: Judge Synthesis.
The final report structure:
# Predict Report: [Question Title]
Generated: [date]
## Framed Question
[Phase 1 output]
## Personas
[Phase 2: selected personas + roles]
## Phase 3+6: Per-Persona Positions
[Table: persona, initial position, final position, confidence delta]
## Phase 4: Pre-Deliberation Snapshot
[Position summary table + initial entropy]
## Phase 5: Cross-Examination
[All challenges]
## Phase 6: Rebuttals
[All rebuttals + position updates]
## Phase 7: Anti-Herd Analysis
- flip_rate: X%
- final_entropy: X.X
- herd_warning: YES/NO
- suspicious_flips: [list or none]
## Phase 8: Judge Synthesis
### Core Disagreement
### Points of Consensus
### Verdict
- Direction: [claim]
- Judge Confidence: X%
- Reasoning: [2-3 sentences]
### Key Uncertainties
### Actionable Recommendations
### Blind Spots
| Situation | Handling |
|---|---|
| All personas agree from Phase 3 | Note early consensus, still run cross-exam to stress-test it |
| Only 1 persona flips | Not a herd — normal persuasion. No warning. |
| Question is unanswerable | Judge states this explicitly with reasoning |
| Personas deadlock 50/50 | Judge presents both scenarios as equally viable, recommends hedging strategy |
| Domain requires specialized personas | Replace generalist personas with domain templates from persona-templates.md |
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, skills: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
10 skills in this plugin
/autoresearchCore autonomous research loop. Reads research.md, proposes hypotheses,
runs experiments, evaluates results mechanically, keeps improvements,
discards failures, and iterates until the target metric is achieved or
the iteration budget is exhausted.
TRIGGER when: user invokes "autoresearch" (no subcommand); research.md exists;
user wants the 5-stage loop; user wants iterative optimization overnight.
/debugautoresearch:debugScientific bug hunting using falsifiable hypotheses. Forms hypotheses, designs
falsifying tests, eliminates candidates systematically, and logs the full
investigation trail in a structured debug/ folder.
TRIGGER when: user has a bug to investigate scientifically; user wants systematic
root-cause analysis; user says "debug", "investigate", "root cause", "why is this
failing"; user invokes /autoresearch:debug.
DO NOT TRIGGER when: user wants to optimize a metric (use /autoresearch); user
wants to fix a known error automatically (use /autoresearch:fix); user just wants
a quick one-line answer about what a function does.
/fixautoresearch:fixIterative error-crusher loop that auto-stops at 0 errors. Cascade-aware: fixes
dependency errors before their dependents. Refuses anti-patterns that hide errors
instead of fixing them.
TRIGGER when: user has errors or failures to fix iteratively; user asks to "fix all errors";
user has a failing test suite; user has compilation errors; user has linter errors;
user wants systematic error elimination; user invokes /autoresearch:fix.
DO NOT TRIGGER when: user wants a one-shot fix for a single obvious bug; user wants
debugging guidance only; user wants code review without fixing.
Other plugins' skills for the same job