Fable 5 patron, GPT 5.6 ouvrier : le guide pas à pas
Le guide pas à pas pour installer le plugin Codex dans Claude Code et le prompt qui fait de Fable 5 le patron de GPT 5.6.
Ce que tu mets en place
Fable 5 planifie et relit. GPT 5.6 Sol construit et corrige. Les deux tournent dans Claude Code, en boucle, jusqu'à ce que le projet soit terminé, sans taper dans les limites d'usage.
Étape 1 : installe Codex
npm install -g @openai/codex
codex login
Tu te connectes avec ton compte ChatGPT ou avec une clé API.
Étape 2 : installe 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 et de lui demander de l'installer :
https://github.com/openai/codex-plugin-cc PLEASE INSTALL THIS PLUGIN
Il va lire le dépôt, puis l'installer comme plugin. Les commandes manuelles si tu préfères :
/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
/codex:setup
Étape 3 : le prompt qui crée la compétence /route
Colle ça 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
explicitly asks for the Fable-plus-Sol loop. Do NOT trigger 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
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 plan.
- Treat your own review as adversarial: your job is to catch what Sol missed.
Étape 4 : lance la boucle
Tape /route dans Claude Code.
| Qui | Ce qu'il fait |
|---|---|
| Fable 5 | t'interroge, écrit PLAN.md, relit, valide |
| GPT 5.6 Sol | critique le plan, construit, corrige |
Fable t'interroge, construit le plan, le passe à GPT 5.6 qui code. Fable relit, renvoie les corrections, et ça tourne jusqu'à ce que ce soit bon.
Une question ? Réponds-moi directement en message privé.