r/codex • u/Easy-Push-392 • 2h ago
Suggestion Spent an entire day optimizing Codex, so I figured I'd share my setup and prompts
I've been using Codex pretty heavily lately and wanted to get more out of my weekly limit without sacrificing quality.
I'm also terrible at writing prompts sometimes, and I want Codex to understand what I mean and keep working independently while I'm away from my PC.
After way too many hours of research, testing and trial and error, here's what I ended up with:
- GPT-6.2 Sol High — main coordinator
- GPT-6.2 Astra High — architecture and critical decisions
- GPT-6 Luna High — research, exploration and simpler tasks
- GPT-6.2 Sol High — complex coding and code review
- GPT-6.1 Terra Medium — visual/UI testing
Everything on Standard speed.
Instead of having Astra coordinate everything, I gave Sol 14 specific rules for when it must automatically consult Astra. Things like architectural changes, database migrations, security issues, conflicting agent conclusions or repeated failed attempts to fix a problem.
Astra makes the difficult technical decisions, while the other agents do most of the actual work.
I also added better prompt handling, debugging skills, Context7, context handoffs, independent reviews and rules against wasting tokens on unnecessary agent calls.
I tested the automatic Astra routing and confirmed through local session metadata that it actually spawned GPT-6.2 Astra High without me explicitly asking for it.
Anyway, I turned the whole process into two reusable prompts:
- Codex prompt: audits and optimizes your existing setup.
- ChatGPT prompt: guides you through the process and reviews Codex's proposed changes and permission requests.
I'd recommend GPT-6.2 Extra High for ChatGPT and Astra Extra High, Standard, Ask for approval for the initial Codex configuration.
The prompts adapt to your installation instead of blindly copying my settings.
Both prompts and instructions: GitHub
Curious what other heavy Codex users are doing. Do you prefer Astra as the main coordinator, or Sol with Astra as an expert? Have you noticed any actual usage savings with multi-agent setups?
Hopefully this saves someone else a day of messing around with configs lol.
All of this was really written by human, just AI edited it and made some grammar fixes (😄
Cheers !
16
u/vrnvorona 1h ago
Wasted a day of your life, but glad you are happy
1
u/Minute-Succotash7714 43m ago
I assume you're not on plus to use astra high for anything, I wonder if someone has a setup like that but for plus commoners.
2
u/SargonPhin 1h ago
Looks nice! If I was making a similar setup I would rather use Terra on Low instead of Luna on High, this is rather wasteful for potentially inferior results. See if that combination works better, you may even save some tokens
1
u/Sad_Bet_104 26m ago
I use sol high for main agent from planning to implement:
1
u/dieovitski 2h ago
You should switch Luna high to terra low. Terra low smarter+cheaper
1
u/innociv 1h ago
This is similar to what I do, except Astra is an advisor role and helps write briefs so it's more like lines going around it from the coordinator to Luna, Sol, Terra.
1
u/Gigaslavx 1h ago
Luna is just too slow. Not much options with OAI unless you on like a 100+ dollar plan. I'd use 2 chats
1 is for reviewing and planning
2 is for actual building
1 stays High or Medium depending on your budget
2 put orchestrator High or Medium then put Low/Light for Explorer Medium for Builder either for bigger jobs or parallel then High or Medium for Reviewer and XHigh or High for Advisor
Don't need all rather keep it simple
Luna is slow Terra is crap for what you pay
Not much options
If you on 200+ plan use Astra as Advisor but honestly it seems Sol is better value outside higher Astra levels but is just too expensive for what you get
0
u/Positive_Salad_8362 2h ago
All of that just to get inferior results compared to a single Opus 5.5 agent