CLI utility to prompt both Claude Code and Codex
I often want to send the same prompt to Claude Code and Codex, then compare what they come up with.
Building on my project switcher, I’ve made a c2 utility. Here’s the flow:
- Type
c2 - Enter prompt.
- Select project folder using project switcher.
- Codex opens in the current pane, and Claude opens in a new pane, both running the prompt.
As a one-liner, I can do c2 <project_id> <prompt> to skip steps (2) and (3).
The script is made for Warp, but you can adapt it to your favourite terminal.
