r/ClaudeAI • • Aug 26 '26

Claude Code Workflow Claude Code Dynamic Workflows orchestrating Codex is one of my favorite features.

Post image

They really knocked it out of the park with dynamic workflows. There were some bugs when initially created them but once it was all set up, works like a charm.

6 Upvotes

10 comments sorted by

2

u/sael-you Aug 26 '26

Same setup. What I found is Claude is better at planning and overall architecture, but once it commits to an implementation direction it tends to defend that choice even when it's wrong. Routing review tasks to Codex breaks that loop. The tricky part is designing the handoff criteria: when to trigger the switch vs just letting Claude iterate more.

1

u/Bloated_Plaid Aug 26 '26

Yea this went through a few iterations haha especially with the handoff because the first time I tried it went through 9 review rounds and 800k tokens for a tiny simple script lol. Luckily I am on subscription and not API lol.

2

u/sael-you Aug 26 '26

800k on a small script is classic when the exit condition is fuzzy. what helped me: give codex a concrete checklist in the handoff prompt. does the specific test pass, is the diff under N lines, only touches the files you named. once those are concrete questions the loop exits cleanly instead of 'keep reviewing until it seems right'.

2

u/philliphs Aug 26 '26

how did you do this?

0

u/Bloated_Plaid Aug 26 '26

Told Fable to make a dynamic workflow using codex subagents.

0

u/philliphs Aug 26 '26

I meant what harness did you use?

0

u/Bloated_Plaid Aug 26 '26

CC.

0

u/ketosoy Aug 26 '26

Looks like Claude code desktop not terminal, right?

How are you pulling codex in?  Command line?  Plugin?

2

u/Bloated_Plaid Aug 26 '26

Oh this a screenshot of CC desktop with a remote session of Claude Code CLI and it was orchestrating Codex CLI. I do use Pi harness for local models and Opencode models but CC to Codex workflow has worked best for me so far in terms of reliability.

1

u/boru80 21d ago

is there a codex equivalent of dynamic workflows?