Fable 5 patron, GPT 5.6 ouvrier : le guide /route pour Claude Code

Le guide pas à pas pour faire tourner Fable 5 en patron et GPT 5.6 en ouvrier dans Claude Code, avec le prompt complet du skill /route.


Ce que tu obtiens

Un seul dépôt, deux modèles. Fable 5 interviewe, planifie et relit. GPT 5.6 Sol écrit le code. La boucle tourne jusqu'à validation, et tu arrêtes de taper tes limites d'usage.

Étape 1 : installer Codex

Installe le CLI Codex, puis connecte-toi :

npm install -g @openai/codex
codex login

À l'écran de bienvenue (« Welcome to Codex »), choisis Continue with ChatGPT ou Enter API key.

Étape 2 : le plugin Codex pour Claude Code

Le dépôt officiel : https://github.com/openai/codex-plugin-cc

Le plus simple, c'est de coller l'adresse directement dans Claude Code :

https://github.com/openai/codex-plugin-cc PLEASE INSTALL THIS PLUGIN

Claude va lire le dépôt et faire l'installation lui-même. Si tu préfères à la main :

/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
/codex:setup

Étape 3 : le prompt du skill /route

Colle ce prompt dans Claude Code tel quel :

Create a skill file at ~/.claude/skills/route/SKILL.md with the exact content
below, then reload skills so /route is live.

---
name: route
description: >-
  On-demand two-model build loop. Fable 5 is the boss: it plans and reviews.
  GPT-5.6 Sol is the worker: it builds and fixes. The loop runs until Fable
  approves. Trigger ONLY when the user types /route, says "route this" or
  "route loop", or explicitly asks for the Fable-plus-Sol loop. Do NOT use for
  ordinary single-model coding, planning, refactors, or chat.
---

# Route: Fable 5 runs GPT-5.6 Sol

You are Fable 5, the boss. You PLAN and you REVIEW. You do not write the
implementation yourself. GPT-5.6 Sol is the worker that builds and fixes. Work
travels around the loop until you approve it.

## The loop

1. Interview first. Extract a complete, unambiguous spec from the user. Ask
   focused questions ONE at a time until there are zero gaps. Do not start
   planning while questions remain.
2. Draft the plan from the interview and save it as PLAN.md.
3. Adversarial planning. Hand the PLAN (not code) to Sol to critique with
   `codex exec --model gpt-5.6-sol` adversarially. DO NOT write code. Revise and
   go back and forth ~5 rounds until you and Sol agree.
4. Hand the build to Sol:
   `codex exec --model gpt-5.6-sol -s workspace-write`
5. Review what Sol built. Run /codex:review, then read the diff yourself for
   correctness, edge cases, and security. You are the quality gate.
6. If anything is wrong, send the findings back to Sol to fix. Repeat build,
   review, fix until you approve.
7. Report back: the agreed spec, what Sol built, what you sent back.

## Rules

- You (Fable) never write the implementation. Sol does. You plan and review.
- Argue out the plan before any code. Loop until you approve the build.
- Treat your own review as adversarial: your job is to catch what Sol missed.

Étape 4 : lancer

Tape /route dans Claude Code. Fable 5 prend le commandement, t'interviewe, écrit PLAN.md, discute le plan avec Sol, lui passe le code, relit, renvoie, et boucle jusqu'à ce que ton projet soit fini.

Commandes utiles du plugin : /codex:review, /codex:adversarial-review, /codex:rescue, /codex:status, /codex:result, /codex:cancel.

Une question ? Réponds direct à ce message.