Dual Agent Workflow — Productivity skill for Claude Code
Cross-vendor coding-agent policy: Claude Code + Codex implement and review each other's work.
How to install Dual Agent Workflow
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pattertj/dual-agent-workflow and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Dual Agent Workflow does
Cross-vendor coding-agent policy: Claude Code + Codex implement and review each other's work. Copyable AGENTS.md/CLAUDE.md templates.
Alternatives in Productivity
- Octoboss Reorganize Todos — You are the Octoboss — a cross-tentacle orchestrator 1.4k ★
- Agentacct — See what your coding agents did and what it cost 665 ★
- Comfy Search Templates — Search for ComfyUI workflow templates available on Comfy Cloud: $ARGUMENTS 178 ★
README
dual-agent-workflow
A reusable **cross-vendor coding-agent policy**: two AI coding tools from two different vendors — **Claude Code** and **Codex** — take turns implementing and reviewing each other's work. Whichever agent writes the code, the *other one* reviews it. Never itself.
That single rule (cross-vendor review) is the point. An AI reviewing its own work is anchored to its own choices and shares its own blind spots; a different vendor is independent by construction and fails differently, so it catches what a self-review never would. Everything else in these templates — the work-type routing, the staged pipeline, the merge gates — exists to serve that rule and keep the process honest.
This repo is a **template**, not a library. You copy one file (`AGENTS.md`) into your own repo, fill in a handful of project-specific placeholders, and both agents pick up the policy automatically — Codex and Claude Code (v2.1.277+) both read `AGENTS.md` natively.
What's in here
| File | What it is |
|---|---|
AGENTS.template.md |
The canonical shared policy. Copy to AGENTS.md in your repo. Both agents read it natively. This is the file you edit. |
CLAUDE.template.md |
Optional. A thin pointer that imports AGENTS.md (@AGENTS.md). Only needed if your repo already has a CLAUDE.md (Claude Code then reads it instead of AGENTS.md) or someone runs Claude Code older than v2.1.277. |
SETUP_PROMPT.md |
Hand this to a Claude/Codex session running inside your target repo and it will do the setup for you — inspect the repo, fill placeholders, wire the files, and report back. |
GUIDE.md |
A from-scratch explainer for people new to the pattern: why it's shaped this way, the roles, the routing table, and two day-in-the-life walkthroughs. Start here if it's your first time. |
Quick start
**Option A — let an agent do it.** Open your target repo in Claude Code, attach `AGENTS.template.md`, `CLAUDE.template.md`, and `SETUP_PROMPT.md`, a
Related Skills
Agent Sop
Human-gated, capability-slotted collaboration workflow (SOP) for coding agents — discovered rosters, condition
Envoy Setup
Check whether the local Codex CLI is ready (plus grok/kimi vendor availability) and optionally toggle the stop
Ielts Writing Logic
A cross-platform Agent Skill for IELTS Writing Task 1/2 guidance, essay review, and Socratic practice. Support
Bead Workflow
Flywheel bead lifecycle workflow — claim, implement, review, and close beads following the Agentic Coding Flyw
Artibot
Autonomous Agent OS for Claude Code — 28 agents, 114 skills, 72 commands. Dual-process cognition, lifelong lea
Encode Reform
Orchestrates multi-agent workflow to implement contributed policy reforms (proposed bills, policy experiments)
Related Agents
Deep Repo Auditor
Cross-validated deep repository audit — dual AI models (Sonnet + Codex) in parallel, consolidated report with
Mp Adversarial Reviewer
Adversarial second-opinion review of a completed masterplan task. The harness runs this agent on the routing p
Second Opinion Codex
Cross-vendor second opinion from the OpenAI Codex CLI. Use ONLY when the user explicitly asks for a codex/Open