This is a structured workflow for taking a finalized plan and executing it through repeated Claude-Codex collaboration. You hand it a plan file, and Claude orchestrates while Codex does all the actual coding. Claude reviews each batch of changes, writes up issues by severity in a shared review file, then sends Codex back to fix them until the code passes. It enforces hard limits from your CLAUDE.md (800 line files, 50 line functions, 3-level nesting) and reuses Codex sessions so context carries forward. The strict division of labor is interesting: Claude never touches code, only reads and reviews. It's essentially a CI pipeline run by an AI pair, complete with build checks and multi-round iteration. Works best when you already have a detailed plan and want mechanical execution with quality gates.

skills.sh installs
249
GitHub stars
81
last updated
Aug 21, 2026

Install

$ npx -y skills add longranger2/claude-gpt-workflow --skill plan-execute --agent claude-code

Installs into .claude/skills of the current project.

Files

Plan Execute Skill

Purpose

When the user runs /plan-execute {plan-file-path}, start the "orchestrated plan execution" workflow:

  1. I (Claude Code) ask Codex to implement the code according to the plan.
  2. After Codex finishes, I review the generated code.
  3. I write the review into the reviews/ directory, then ask Codex to inspect and fix the issues.
  4. Repeat until the code quality bar is met.

Core principle: I do not write or edit code myself. I only do two things: review code and orchestrate Codex. All code changes, including implementation and fixes, are performed by Codex.

Usage

/plan-execute plans/my-feature-plan.md

Session Reuse

After each Codex invocation, extract session_id=xxx from the script output and save it as the session ID for the current task. In later Codex calls for the same task, pass --session <id> to reuse context so Codex remembers prior implementation and fix history instead of rereading the entire codebase every time.

My Workflow (Claude Code)

Step 1: Read the Plan and Split Execution Steps

Sponsors

Details

Repository
github.com/longranger2/claude-gpt-workflow
Categories
Code Review & Quality, Productivity & Planning, Automation & Workflows
First seen
Jun 3, 2026

More from longranger2/claude-gpt-workflow

All 3
1markpitt avatarkiss-principlemarkpitt/claude-skillsApply the K.I.S.S principle (Keep It Simple, Stupid) to reduce complexity, improve maintainability, and solve problems elegantly. Use when designing systems, wr248skills.sh installs
2pproenca avatarrust-implementpproenca/dot-skillsWrite production-grade Rust code using a multi-pass approach. Design types first, then implement, then simplify, then verify with automated lint. Use this skill246skills.sh installs
3ncklrs avatarsales-ops-analystncklrs/startup-os-skillsExpert sales operations and analytics guidance for revenue teams. Use when designing CRM workflows, building sales dashboards, optimizing pipeline analytics, cr245skills.sh installs
4community-access avataraccessibility-rulescommunity-access/accessibility-agentsCross-format accessibility rule reference with WCAG 2.2 mapping for Word, Excel, PowerPoint, and PDF documents.243skills.sh installs
5rysweet avatarcode-visualizerrysweet/amplihackAuto-generates code flow diagrams from Python module analysis. Detects when architecture diagrams become stale (code changed, diagram didn't). Use when: creatin242skills.sh installs
6awslabs avatardeployawslabs/agent-pluginsDeploy applications to AWS. Triggers on phrases like: deploy to AWS, host on AWS, run this on AWS, AWS architecture, estimate AWS cost, generate infrastructure.240skills.sh installs