collaborative-looplisted
Install: claude install-skill DmitriyYukhanov/claude-plugins
# Collaborative Loop: Sequential Drive / Validate / Act
## Overview
Sequential pair-programming loop between Claude and Codex CLI. Claude PRODUCES an analysis with numbered findings, Codex VALIDATES each finding individually (CONFIRM/REJECT), Claude RE-EVALUATES the validation decisions, and only findings where both models agree proceed to implementation. After fixes, Codex reviews the changes and the loop repeats until clean.
**Core principle:** Claude never acts on its own unvalidated output. Every finding passes through bilateral consensus before implementation.
## Trigger Phrases
"collaborate with codex", "have codex review my changes", "drive and review loop", "iterative improvement", "produce-validate-act", "collaborative loop"
## Invocation
```
collaborative-loop [--max-rounds N] [--type code|plan|architecture|design] [target files...]
```
| Argument | Default | Description |
|----------|---------|-------------|
| `--max-rounds` | `3` | Maximum fix-review iteration rounds |
| `--type` | (auto-detected) | Artifact type override |
| target files | (branch diff) | Specific files to analyze |
## Step 1: Preflight
Read `${CLAUDE_PLUGIN_ROOT}/skills/shared/prerequisites.md` and execute the preflight check.
Invoke `/codex:setup` via the Skill tool. Two failure modes:
1. **Command not recognized** (plugin not installed) — print install instructions from prerequisites and ABORT. Do not continue to Step 2.
2. **Setup reports failure** (CLI missing, auth expired) — re