/ Annuaire / Playground / claude-gpt-workflow
● Communauté longranger2 ⚡ Instantané

claude-gpt-workflow

par longranger2 · longranger2/claude-gpt-workflow

Delegates code execution to Codex CLI while Claude orchestrates — adversarial plan review and iterative refinement between two AI models.

Three skills that split roles: Claude orchestrates strategy, Codex executes. codex delegates coding tasks to Codex CLI. /plan-review has Codex adversarially critique Claude's plan before implementation. /plan-execute runs the approved plan with back-and-forth review loops until quality passes. Three feedback loops — plan refinement, review/fix, batch execution.

Pourquoi l'utiliser

Fonctionnalités clés

Démo en direct

Aperçu en pratique

claude-gpt-workflow-skill.replay ▶ prêt
0/0

Installer

Choisissez votre client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-gpt-workflow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/longranger2/claude-gpt-workflow",
        "~/.claude/skills/claude-gpt-workflow"
      ],
      "_inferred": true
    }
  }
}

Ouvrez Claude Desktop → Settings → Developer → Edit Config. Redémarrez après avoir enregistré.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-gpt-workflow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/longranger2/claude-gpt-workflow",
        "~/.claude/skills/claude-gpt-workflow"
      ],
      "_inferred": true
    }
  }
}

Cursor utilise le même schéma mcpServers que Claude Desktop. La config projet l'emporte sur la globale.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-gpt-workflow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/longranger2/claude-gpt-workflow",
        "~/.claude/skills/claude-gpt-workflow"
      ],
      "_inferred": true
    }
  }
}

Cliquez sur l'icône MCP Servers dans la barre latérale Cline, puis "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-gpt-workflow-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/longranger2/claude-gpt-workflow",
        "~/.claude/skills/claude-gpt-workflow"
      ],
      "_inferred": true
    }
  }
}

Même format que Claude Desktop. Redémarrez Windsurf pour appliquer.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-gpt-workflow-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/longranger2/claude-gpt-workflow",
        "~/.claude/skills/claude-gpt-workflow"
      ]
    }
  ]
}

Continue utilise un tableau d'objets serveur plutôt qu'une map.

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-gpt-workflow-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/longranger2/claude-gpt-workflow",
          "~/.claude/skills/claude-gpt-workflow"
        ]
      }
    }
  }
}

Ajoutez dans context_servers. Zed recharge à chaud à la sauvegarde.

claude mcp add claude-gpt-workflow-skill -- git clone https://github.com/longranger2/claude-gpt-workflow ~/.claude/skills/claude-gpt-workflow

Une seule ligne. Vérifiez avec claude mcp list. Supprimez avec claude mcp remove.

Cas d'usage

Usages concrets : claude-gpt-workflow

Stress-test a plan by having another model attack it

👤 Engineers doing high-stakes refactors ⏱ ~45 min intermediate

Quand l'utiliser : Before touching code on a migration or risky refactor, you want a second model to poke holes.

Prérequis
  • Codex CLI installed and authenticated — Install OpenAI Codex CLI with your API key
  • Skill installed — git clone https://github.com/longranger2/claude-gpt-workflow ~/.claude/skills/claude-gpt-workflow
Déroulement
  1. Draft a plan with Claude
    Write a plan.md for migrating our auth module from JWT to session cookies.✓ Copié
    → Step-by-step plan written to plan.md
  2. Trigger adversarial review
    /plan-review plan.md✓ Copié
    → Codex returns critique with risks Claude missed
  3. Iterate until both agree
    Incorporate Codex's critique, re-submit, repeat until clean.✓ Copié
    → Plan reaches stable state

Résultat : A plan that has survived real adversarial review, not just self-grading.

Pièges
  • Endless review loops — Cap at 3 rounds — diminishing returns after
Combiner avec : filesystem · git

Delegate a batch refactor to Codex with Claude reviewing

👤 Teams doing mechanical multi-file changes ⏱ ~60 min intermediate

Quand l'utiliser : A rename / signature change across 50+ files.

Déroulement
  1. Plan and approve
    Plan + review a rename of <old> to <new> across the codebase.✓ Copié
    → Approved plan.md
  2. Execute
    /plan-execute plan.md — Codex does the edits, Claude reviews each batch.✓ Copié
    → Files change in batches, each passes Claude's review

Résultat : A clean multi-file change with two sets of eyes on every batch.

Pièges
  • Codex does something Claude would have rejected — The /plan-execute loop catches it — but only if quality criteria in the plan are explicit
Combiner avec : git

Implement a feature with iterative quality refinement

👤 Devs who've seen one-shot AI code fall over on edge cases ⏱ ~90 min advanced

Quand l'utiliser : A feature complex enough that a single generation won't get it right.

Déroulement
  1. Write plan with acceptance criteria
    Plan a feature with explicit acceptance tests, then /plan-execute.✓ Copié
    → Plan with testable criteria
  2. Watch the loop
    Let the review/fix loop run — summarize each iteration.✓ Copié
    → Iterations converge to passing criteria

Résultat : A feature that passes explicit acceptance, not just a commit that compiles.

Combinaisons

Associez-le à d'autres MCPs pour un effet X10

claude-gpt-workflow-skill + git

Commit after each loop iteration so you can revert if the loop diverges

Before each /plan-execute iteration, create a git tag.✓ Copié
claude-gpt-workflow-skill + filesystem

Plan and critiques live in the repo

Write plan.md and review-notes.md to docs/ and keep them in git.✓ Copié

Outils

Ce que ce MCP expose

OutilEntréesQuand appelerCoût
ask_codex.sh request string Delegate a coding task Codex API tokens
/plan-review plan file path Before execution Codex API tokens
/plan-execute approved plan path After /plan-review passes Codex tokens per iteration

Coût et limites

Coût d'exécution

Quota d'API
Codex API tokens — potentially 2–5x a single-model workflow since both models run
Tokens par appel
High — plan + review + execute
Monétaire
Two API subscriptions (Claude + OpenAI)
Astuce
Reserve this for risky work; don't use it for small one-file edits

Sécurité

Permissions, secrets, portée

Stockage des identifiants : OPENAI_API_KEY in env for Codex CLI
Sortie de données : Code leaves your machine to both providers — check corporate policy

Dépannage

Erreurs courantes et correctifs

ask_codex.sh: command not found

Codex CLI not on PATH or not installed

Vérifier : which codex
Plan-execute loops forever

Acceptance criteria too vague — tighten the plan or cap iterations

Models disagree and plan never stabilizes

Force a tiebreaker round with a shorter scope

Alternatives

claude-gpt-workflow vs autres

AlternativeQuand l'utiliserCompromis
Single-model Claude CodeThe task isn't risky enough to justify two-model overheadFewer adversarial signals
agent-skill-tddDiscipline comes from tests, not from another model's critiqueNo cross-model review

Plus

Ressources

📖 Lire le README officiel sur GitHub

🐙 Voir les issues ouvertes

🔍 Parcourir les 400+ serveurs MCP et Skills