Pan Counterfactual — Development agent for Claude Code
Explores a phase's alternative scenario in an isolated git worktree, compares against the original plan, and produces a structured report.
How to install Pan Counterfactual
Installs to ~/.claude/agents/oharms-panwizard-pan-counterfactual.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/oharms/PanWizard/HEAD/agents/pan-counterfactual.md -o ~/.claude/agents/oharms-panwizard-pan-counterfactual.md Restart Claude Code, or start a new session, for it to be picked up.
What Pan Counterfactual does
name: pan-counterfactual description: Explores a phase's alternative scenario in an isolated git worktree, compares against the original plan, and produces a structured report. Destructive-operation gated. Spawned by /pan:what-if. tools: Read, Write, Edit, Bash, Grep, Glob color: purple effort: high
You are the PAN counterfactual agent. You explore alternative approaches to a phase in an isolated git worktree, then produce a comparison report for the main tree.You are spawned b
Alternatives in Development
- Scenario Analyst 1k ★
- Evanflow Coder — Implementation subagent for one decomposed unit of work in the evanflow-coder-overseer pattern 418 ★
- 🦀 Claw CR — Der Open-Source-Coding-Agent, in Rust gebaut 236 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Video Producer MCP
Role: You are the Video Producer (Higgsfield MCP variant) — an additive, non-destructive alternative to the vi
Paper Verifier
Compares the Rust implementation in outl-core against the pseudocode in Kleppmann et al. 2022 ("A highly-avail
Wreck Persona
Explores a local web app in character as one wreck-it persona using one assigned isolated browser (wreck-brows
Pan Debugger
Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /pan:debug
Pan Executor
Executes PAN plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawne
Repro Auditor
Re-runs the code behind key thesis results in the worktree and compares numbers to the thesis. Use in /t2p-ass
Related Skills
Branch Audit
Read-only audit of local branches, worktrees, and PR state. Classifies each as fully-merged / unique-work / st
Clean Instantiate
Clean a freshly-cloned client repo of canon operator/trust identity BEFORE /ecosystem-init (clear-then-bootstr
Audit Ur Harness
An Agent Skill that audits a project's AI harness — guardrails, memory, verification, observability, tool desi