技巧精选

用Fable 5编排Opus、Sonnet和Codex的Claude Code工作流

源:https://t.co/fw9BXROk4I

精选理由

Diego教你在Claude Code里用Fable 5指挥Opus、Sonnet和Codex,像带团队一样写代码,省心又高效。

AI 摘要

Diego介绍了一个在Claude Code中创建多智能体编程工作流的配置方法:将Fable 5设为编排器(max reasoning),创建deep-reasoner子智能体(Opus)用于架构和复杂调试,fast-worker子智能体(Sonnet)处理机械任务,并安装OpenAI的Codex插件作为资深工程师视角。通过在CLAUDE.md中写入编排规则,用户可以用类似技术领导的提示词让Fable 5自动分派任务。该工作流能同时利用三个模型和Codex的并行协作,提升编码效率。

原文 · AI Will

源:https://t.co/fw9BXROk4I

源: x.com/diegocabezas01… Diego | AI 🚀 - e/acc @diegocabezas01 Use Fable 5 as orchestrator and Opus + Codex to execute (to save fable usage): Fable 5 (max reasoning) = orchestrator Opus = deep reasoning subagent Sonnet = mechanical work subagent Codex = peer Sr. engineer, different perspective Setup: 1. Set Fable 5 as your main model In Claude Code: /model → Fable 5 → reasoning /effort to max 2. Create 2 subagents with /agents In Claude Code: deep-reasoner → pinned to opus "Use for reasoning-heavy phases, architecture, debugging complex issues, algorithm design. Think thoroughly, return a concise conclusion the orchestrator can act on." fast-worker → pinned to sonnet "Use for mechanical tasks, boilerplate, tests, formatting, simple edits. Execute efficiently." 3. Add OpenAI's official Codex plugin (install codex cli in your computer first), In Claude Code type: /plugin marketplace add openai/codex-plugin-cc /plugin install codex @openai -codex /codex:setup 4. Drop this in your CLAUDE.md in your folder: ## Orchestration workflow You (Fable) are the orchestrator. Plan, decompose, synthesize. Reasoning-heavy phases → deep-reasoner Mechanical work → fast-worker Codex (/codex:rescue --background) is a cracked engineer on par with deep-reasoner, from a different perspective. Treat as a peer, not a reviewer. High-stakes decisions: task Opus + Codex on the same problem in parallel, synthesize the best of both, without showing either the other's answer. Keep your own context lean. 5. Then prompt Fable like a tech lead: "Goal: [what you want] Context: [files, constraints] You're the lead. Delegate reasoning to deep-reasoner, grunt work to fast-worker, fresh-perspective problems to Codex. Show me your plan first, then execute." That's it. 🔗 View Quoted Tweet 💬 0 🔄 0 ❤️ 0 👀 35 ⚡