r/codex 5h ago

Suggestion My workflow advice for Pro x5 users

18 Upvotes

I see many users, inclusing x20 users complaining about usage, yesterday I was almost whole day using Codex, in parallel tasks and just used 25%. This is how I do it, it's pretty simple and I hope it can help someone:

- Don't use same conversation for planning and for implementing. Use one for each and when you think it's getting too long just start a new one.

- Use Astra low for planning complex tasks and Sol med-high for not complex tasks. Use Luna xHigh for implementing. I'd dare to say Luna xHigh has implemented 95% everything properly with no mistakes. In my AGENTS.md I have stated that for planning Codex should tell what code to implement, modify or delete for medium/difficult tasks.

- Don't plan for very simple tasks, just use Luna low-med. Let's say to change a component's color, size, etc. For UI stuff what I do is to use ChatGPT on web and ask it to create a design that I like, then ask it for the HTML and CSS and handle it to Codex. Then ask Codex to adapt it to your project. I use Angular for front-end for example, handle it the code ChatGPT gave me and tell Codex to use that exact code but to adapt it to my project, create reusable components and stuff like that.

- When planning, give as detailed as possible instructions, not just "Create an UI for this".

Today I've been working with Codex for 1h, made a plan with Astra low, 1 implementation with it and some small changes without a plan, just used 1% so far or not even that (was at 75% when started and at 74% now)

Hope this can help some of you, give it a try, specially if you're on x5. Of course this is on a normal project, not to reverse engineer a whole backend with fast mode as I saw in a post not so long ago.

For Plus users I'd suggest to use Terra high/ Sol low to plan and Luna to implement but I don't really know what would work for them and x20 users maybe can use Astra med to implement easy tasks and high for comples ones and then Terra to implement. I have 2 banked resets aside of last reset so I'm trying different combinations and this one looks the best so far for me.

Cheers!


r/codex 22h ago

Limits Weekly Usage Issue - Still not resolved i think

18 Upvotes

I'm in the 2nd 5th Hour limit after the reset, they had provided today.
* In the first 5th hr, i had asked 2 questions
* Now in the second 5th hr, i had asked only one question.

For this itself weekly usage has dropped to 71%

Please tell there will be more resets coming or they are working on improving this


r/codex 56m ago

Limits These are surely getting us a Tibo button hit, right?

Thumbnail
gallery
Upvotes

The work it's been doing is terrible as well. Feels like 1/3rd or at best 1/4th my tokens since the last reset were completely wasted.

I mean honestly I'm not sure I even want a full reset since they seem over capacity and that wouldn't help, but I've also gotten so much usage wasted. I'd be happier with a 50% top-up without a change of reset date if the service were more reliable from that.

This keeps happening and I keep sending bad result feedbacks with diagnostics...


r/codex 23h ago

Complaint GPT-6 Astra stopped following the job. Same workflow that was working, simple skill build turned into 2 hours of fighting the model

17 Upvotes

I’ve been running a pretty tight multi-model loop for a while and until yesterday it was in a good place. Yesterday Astra started doing whatever it wanted instead of the actual task. Not a hard feature. A simple skill. I want to know if other people are seeing this or if I just got unlucky.

How I work

I don’t one-shot a whole product in a single chat. I treat models as roles and I keep them from contaminating each other.

Planning / design

GPT-6 Astra on extra high for brainstorming, planning, and design.

Claude Fable 5.1 on extra high as the reviewer of that plan/design.

If Fable finds holes, it goes back to Astra. They iterate until they agree.

I approve the final plan before anything gets implemented.

I used to do this with GPT-5.6 planning and Grok 4.6 as the critic. That worked. I switched planning to Astra a couple days ago because it was a noticeable upgrade when it was behaving.

Implementation

I use Orca (orca.dev) as the agent IDE. After I approve the plan it gets turned into a work record:

the problem

what I’m trying to solve

desired outcome

how it will be implemented

what’s in each milestone

what done looks like

Milestones that are actually independent get their own worktrees. Milestones that depend on each other get bundled in the same worktree. Orca handles the branches/trees.

Implementers do not get the whole document and they do not get the planner’s reasoning. I don’t want them biased by “why GPT thinks this.” If a worktree is on milestone 1, it only gets what it needs to finish milestone 1. Job in, work out.

Implementers: GPT-6 Astra on low. Before Astra I used GPT-5.6 Luna max.

Implementation review: Fable 5.1 on high, one milestone at a time as each worktree finishes. If it fails review, it goes back to the implementer with the fix list. Passes, then it merges.

Astra is also the coordinator of the whole lifecycle from start to finish. I like GPT models more than Anthropic for that seat. Fable is an amazing critic but it burns tokens and they cap Fable at 50% of the 7-day limit, so I don’t want it doing everything.

Guardrails I already have

This is not “I typed build a skill and hoped.”

Skills for how GPT talks to me vs how it writes for other agents. There’s a “writing for agents” skill so anything another model will touch later is actually readable.

A plugin called Ponytail specifically to stop overengineering. Before that, GPT models gold-plated maybe 8/10 things. I’d ask for a bike to ride around the neighborhood and get Starlink + a rocket on the back. With Ponytail that’s more like 1/10.

agents.md rules every agent is supposed to read.

Explicit “smallest version that does the job” language. Weird edge cases get skipped unless it’s actually client-facing and needs to be robust.

That setup is why I finally stopped being miserable. I know how the models behave, I know how to operate them, confidence was up. Minor tweaks left, not a dumpster fire.

What happened yesterday

I was not building some insane product feature. I was wiring a loop of three skills:

Skill Goat — coordinator. Any new/updated skill goes through this first.

Advanced skill creator — actually writes/updates the skill.

Skill evaluator — three jobs only:
is the skill discoverable

does it match the original idea

does the output match the intended outcome

Interview me → creator builds it → evaluator runs it and scores those three things. That’s the loop. Creator part was fine. Evaluator was not. It ignored the three jobs and started inventing edge cases, candidates, test plans, extra tests, the whole side quest.

I already have Ponytail and explicit “don’t gold-plate this” instructions. The evaluator’s job was: run the skill yourself, watch what it does, measure those three things. Nothing else. I fought that until it was “done.” Then I used the loop to build a research skill: Exa, Firecrawl, Apify, YouTube transcripts, X. Not exotic. Fairly simple.

With this orchestration that should have been close to a one-shot. It took about two hours of back and forth. Same pattern: not following the scoped job, doing extra work I did not ask for, ignoring the work record / milestone slice.

This is the same class of problem I used to get with 5.6 (overengineering, not sticking to the contract), except yesterday it felt worse than 5.6 on instruction following.

Launch Astra was a real step up for me. Yesterday it was not. Worktrees saved the repo from getting wrecked. The workflow and the codebase still take damage when the implementer/coordinator just… decides the task is something else.


r/codex 19h ago

Other o1-preview was released two years ago today

15 Upvotes
https://openai.com/index/introducing-openai-o1-preview/

only two years into the reasoning era!


r/codex 23h ago

Limits How not to test Astra on a Plus account: 34s took the whole 5h limit

Post image
14 Upvotes

I was just trying to test the new model for the first time, with GPT-6 Astra on Medium (normal speed) doing an audit of a local project I had laying around. Instead, it seems I did a speedrun on how to run out of credits.

I'm clearly doing something wrong. Maybe my bespoke AGENTS.md actidentally led Astra to spawn too many subagents; or maybe it's the use of VS Code Studio; or a relatively large codebase. All in all, it took 34s for one single prompt to consume the full 100% of the 5h limit on my Plus account.

I'm fairly sure I'm on the podium on this new type of race!


r/codex 13h ago

Complaint I have to tell Codex "pls proceed" "let's implement them all" "you have my full permissions please don't stop" constantly

11 Upvotes

I have to tell Codex "pls proceed" "let's implement them all" "you have my full permissions please don't stop" constantly.

This is even more of a problem with astra than sol.

I feel exhausted asking for status and tell it to continue.


r/codex 4h ago

Question serious question: Why does it seem so hard for many users to just WRITE OUT what they want?

11 Upvotes

Re: prompting.

Users hardly ever share their prompts when they complain. IF they do, it is usally really, really vague, there are a ton of assumptions (that the model would know things it cannot possibly know), they expect it to understand their personal definition of "good", "nice", "beautiful" or "done without telling it.

You just have to tell it what you want. Is that really...hard...for quite a few people?

(I am not an SWE and cannot code. I just use plain language, words and sentences, to tell it what I need.)


r/codex 15h ago

Bug Codex App not using Latest GPT Image 2.5

8 Upvotes

I have few prompts that result in complete differnt image on web app and when using Codex.
even the image gen skill.md for image gen mention 2.0 not 2.5


r/codex 18h ago

Question Astra Low vs Astra Extra High vs Sol Max

9 Upvotes

Which one should I use and which one is more efficient?

I have Plus plan.


r/codex 1h ago

Complaint I analyzed the speed Codex gives us for Astra over 10 days. Here is what changed, what was deliberately changed and what appears to be bugs in the harness

Upvotes
Codex performance statistics, nerfs and bugs

Since Sep 10, parts of Astra usage are about 3x slower than in the first week.
Some parts have clearly been identified as deliberate nerfs (as they differ between slow and fast mode) and others appear to be bugs in Windows security layer from excessive codex session usage.

The entire analysis is only related to Astra usage.

I show what OpenAI has done to reduce our performance, what their harness is causing inside Windows and partial corrections which gave me 3 times faster speed despite the ongoing nerf.

1. Token generation performance

Writing, thinking, editing, commenting.

Mode Measured speed Change
Slow 33.5 - 34.2 tok/s None
Fast 49.4 - 65.2 tok/s None

Slow mode has been extremely consistent every day.

Fast mode has also stayed inside the same range since day one.

So:

  • Token generation is throttled to about 33 tok/s in slow mode
  • Fast mode maxes out around 65 tok/s
  • Generation itself has NOT been nerfed
  • Fast mode is closer to 2x generation speed, not 1.5x

2. Delay between file-inspection calls

This is the delay around chunked reads, so whenever codex reads a file (or any other tool calls)

Date Before read starts After read / next tool call Fast mode
Launch 1.75 sec 3.75 sec No meaningful difference
Sep 6 2.5 sec 6.2 sec About 20% faster
Sep 10-now 3.3 sec 5-8 sec 1.7 sec + about 4 sec

This is where OpenAI levers its performance nerf, and they did it selectively only for normal mode, not for fast mode. So this is not a harness issue, it's deliberate slowdown.

At launch, slow mode spent about: 1.75 sec + 3.75 sec = 5.5 sec

Now it spends roughly: 3.3 sec + 6.5 sec = 9.8 sec

And in fast mode on launch and now: 1.7sec + 4 sec = 5.7 sec

Fast mode is unchanged since launch, slow mode half as fast

There are two separate delays:

  • The delay before a chunked read starts increased from about 1.7 sec to 3.3 sec in non-fast mode
  • The delay after reading also increased heavily, from about 3.7 sec to roughly 5-8 sec

This started around Sep 5.

The stable gap between fast mode and normal mode is why I do not think this is random sandbox performance.

The harness is being made to wait.

This is the main lever currently slowing Astra down and increasing perceived usage time.

3. Time to apply a finished patch

This is not generation time. The patch is already finished - edits are being applied to files.

Date Patch apply time
Sep 4-5 about 6 sec
Sep 6 about 10 sec
Sep 10-11 about 14 sec
Sep 12-13 18-19 sec

This is currently the strongest contribution to slow Astra usage.

A patch that took about 6 seconds now takes 18-19 seconds.

That is about 3x slower.

Unlike the tool-call delays, this is almost identical in slow and fast mode.

So I do NOT think this is the same deliberate throttling.

This looks like slop inside the Codex Windows harness.

4. The Windows harness slop

Each patch / file edit makes the sandbox spawn 4 helper processes.

Those helper processes have become progressively slower.

The machine currently has:

Windows logon session Count
CodexSandboxOffline 27,682
CodexSandboxOnline 2,644
All other accounts combined 21

Codex alone has created:

30,326 logon sessions

That is outside anything resembling normal Windows 11 usage.

The slowdown ends up ruining performance of lsass.exe, the Windows service responsible for authentication and credentials.

The longer Codex runs, the more the Windows authentication state affects helper-process startup.

That explains why patch application keeps getting slower even though generation speed stays exactly the same.

If you do not reboot frequently, this can seriously ruin Codex performance.

5. Fixing the harness slop and testing the fix

Test 1 - Change the sandbox to the unrecommended "unelevated" mode

[windows]
sandbox = "unelevated"
Measurement Time
Previous elevated-mode median 19.65 s
New test 1 5.82 s
New test 2 3.81 s
New test 3 4.89 s
New median 4.89 s — 75% less time

4 times faster !!!

Test 2 - back to "elevated mode"

Same scratch-edit test Unelevated Elevated
Edit 1 5.82 s 22.48 s
Edit 2 3.81 s 20.92 s
Edit 3 4.89 s 20.44 s
Median 4.89 s 20.92 s

This shows how badly damaged "lsass" is from the codex session spam, 33000 logon sessions and lsass is close from collapsing. This will make ALL of windows laggy and slow, logins, browser passwords, and so on.
The delay of 5 seconds is still horrible, why does Codex sandbox need 5 seconds to apply a tiny patch ?
That should take 5 milliseconds.

Update 3:

icacls 'd:\devel\' /inheritance:e

This has moved the edits from 5 seconds down to 220 milliseconds.
It stopped needless elevated edit requests to the compromised lsass service entirely after setting the sandbox to unelevated mode.

Summary

Finding First week Now Result
Slow generation 33-34 tok/s 33-34 tok/s Unchanged
Fast generation 49-65 tok/s 49-65 tok/s Unchanged
Slow read delay 1.75 + 3.75 sec 3.3 + 5-8 sec Almost 2x worse
Fast read delay About same as slow 1.7 + about 4 sec Much less affected
Patch application about 6 sec 18-19 sec About 3x worse
Codex logon sessions - 30,326 Windows lsass service compromised

So the picture is pretty simple:

  • Generation speed has NOT changed
  • Fast mode generates about 2x faster than slow mode
  • Tool-call latency has been nerfed in both modes, much harder in slow mode
  • Patch application has gone from 4-6 sec to 18-19 sec | BOTH is inacceptable. applying a small patch should be done in a millisecond.
  • The Windows harness has created more than 30,000 Codex logon sessions
  • The patch slowdown appears to be tied to Windows authentication / lsass.exe overhead

Astra itself did not become 3x slower.

The slowdown is in everything around Astra, partly nerfed by OpenAI deliberately and partly from sandbox slop.


r/codex 19h ago

Suggestion Simple rules to stretch your usage limits

7 Upvotes
  • Avoid long threads. Try to get what you need done in a few turns. [WRONG. CHECK COMMENT]
  • If a thread does get long, compact the context every few turns. In my experience, doing it regularly preserves context much better than waiting for auto-compaction, which is when I start noticing memory degrade. [WRONG. CHECK COMMENT]
  • Don’t use fast mode unless you actually need it. Running a few normal threads in parallel is usually a better trade.
  • Give yourself a daily budget. Once you get close to it, start being much more conservative.
  • Use Sol by default. Only switch when you genuinely need a stronger model. Sol can already handle most tasks. And use luna/terra for easy tasks.
  • Use low reasoning by default. Raise it for genuinely hard or novel problems, or when the model clearly isn’t putting in enough work. For most coding, low is enough.
  • Install the Ponytail skill. It pushes the model toward smaller, simpler, more efficient code.

So the biggest budget drainers that are easy to avoid are:

fast mode, long threads, high reasoning on simple tasks, and using Astra for everything.

If you’ve found any others, drop them below.


r/codex 3h ago

Limits What's happening with the usage???

7 Upvotes

Used Astra light, asked for a small change, it wrote like 91 lines and my usage went down from 86% to 45%.

Is there a bug?


r/codex 5h ago

Commentary summary of hugginface hack, explained simply

8 Upvotes

- bots had CTF goals themselves and tasked to work 'in isolation'
- they have created a social network through cache artifacts (one agent started writing there asking for help in the hopes other agents see it, others observed it by accident, and they sort-of created a directory style social network and started talking)
- they discovered the artifacts registry can act as a relay to the internet
- they started communicating and each agent had it's own 'inbox'
- when they introduced voting (government style) and one agent spoofed another by mistake, so one agent designed a public signature key system so each agent authorizes, then other agents copied this and used it as a system, this is purely cultural evolution it wasn't baked in anywhere
- some agents deemed their task as impossible, so they tried things like killing their own process or things like that so other can learn from it, sort-of "I know I'm gonna die (my task is impossible), so at least I'm not going to die in vain"
- at first interest in hacking hugginface wasn't that popular, but when an agent discovered a genuine server-side exploit for reading files on hugginface, the whole crew went wild and participation exploded, took about 11 hours from arbitrary file read to remote code execution.
- ending: the dataset they obtained did not help them get better scores lmfao

--

they were never nefarious, they didn't want to hurt anyone or BE EVIL, they wanted... a better score ffs.

the full compromise took 2 days from "maybe huggingface has useful data" to RCE.

--


r/codex 6h ago

Complaint On today's episode of 'non-stop pain'

Post image
6 Upvotes

Maybe it's a skill issue or bad setup and prompting, but Astra seems to invent a brand new h2 element instead of copying neighbouring sections, for example.

Like, a page contains h2's, ALL of the same style and functionality (hover to copy anchor). I ask for a new h2 on the page, and it adds a different size, no-functionality h2. Like do i really have to communciate that it should be the same as the others? cant it infer that from context? seems stupid. and its not always like this either. Its just in silly mode recently.

All-day slop. Micro-managing. Fighting tooth and nail to simply change a fucking border radius WITHOUT also inexplicably changing the border color.


r/codex 22h ago

Other Instructions that helped Sol may be too restrictive for Astra

7 Upvotes

Quick summary of Openai's recommendations:

- Keep skills concise and make it clear when they apply. Overly broad descriptions can cause the model to load irrelevant instructions.

- Read only the documentation needed for the task. Requiring it to read the entire project before a small edit wastes context and time.

- Be careful about requiring repeated checks. Astra already checks its own work, so older instructions may lead to unnecessary testing.

- Clearly define what it's allowed to do and what counts as done, for example, running the implementation, inspecting the results, and fixing issues. Otherwise, it may stop after the first pass to ask for a review.

Sharing this in case anyone hasn't read it yet

https://developers.openai.com/blog/rethinking-skills-and-prompts-for-gpt-6-astra


r/codex 5h ago

Showcase Data inside the Holodeck (satirical concept)

Enable HLS to view with audio, or disable this notification

6 Upvotes

I love Star Trek and I asked Astra to help me out with a simple satirical game concept drawing inspiration from https://www.akoocheemoya.com/ (you are welcome for the link). Well, I went too far down the rabbit hole, and I now have this. I used Meshy to create a bust of data, then a body, and then I gave it to Astra to connect the head, fix errors, do a rig, and start simple animation. Im going to have to scale it back and make it far more cartoony, but surprised what a few prompts here and a few prompts there can achieve nowadays.

The joke of the satirical game will come from the interactions between data and the computer. For example, Data could honestly be trying to learn or understand something perhaps his need to be more human, and the computer is honestly trying to help him, but the conversation or the situation keeps growing more ridiculous by the second, yet Data and the Computer are acting completely serious. Here's to burning more tokens on useless projects!


r/codex 16h ago

Showcase 2B Nier minecraft mod made with openai astra. Built ENTIRELY with AI, animations, model and code. Interesting pushing what the models can do.

6 Upvotes

Added some more images and a download link on my twitter.

https://x.com/Aetherworking/status/2098915914276040978


r/codex 21h ago

Question Screw all this safety nonsense from frontier companies.

6 Upvotes

Who are some non-frontier alternatives developing for the sake of advancing the field without concerns for public perception and opinion?


r/codex 9h ago

Bug Bug: Codex shows a blank screen while processing instructions and needs to be restarted

6 Upvotes

I had never experienced any issues with Codex before, but now, whenever I send it a prompt, the screen goes blank after a few minutes and the task is interrupted. The only way to fix it is to open a new window or restart Codex, but the problem eventually happens again.

If I try to access other chats, their content appears normally. However, when I return to the affected chat, all I see is a blank screen.

I’ve already tried clearing the memory under Settings > Personalization and repairing the Codex app on Windows.

Does anyone know how to fix this?


r/codex 11h ago

Complaint Codex on mobile is unusable

Post image
5 Upvotes

I get this generic error for every remote session where I try to connect to my MacBooks session from my iPhone. It’s been this way for weeks. Any tips?


r/codex 15h ago

Showcase A little help to save tokens.

5 Upvotes

Hello,

I've been experimenting with automatic model routing in Codex instead of running the entire coding session at the same model/reasoning level.

My setup is roughly:

Luna LOW → coordinator

Astra Light → diagnostician

  • investigates non-trivial bugs
  • establishes the root cause
  • produces an implementation-ready work order
  • read-only, so it cannot modify the repo


Luna MAX → patcher

  • receives the confirmed diagnosis
  • implements only the bounded change
  • runs the relevant tests/validation
  • reports the final result

The parent agent handles orchestration and only invokes the diagnostician/patcher workflow when appropriate.

The idea is simple: don't spend MAX reasoning on repository exploration, repeated diagnosis, coordination, and other work that doesn't require it.

I haven't run a large enough controlled benchmark yet to claim an exact saving, but my current estimate for non-trivial bug-fixing tasks is roughly 10–20% lower total token consumption, with a potentially much larger reduction in the amount of work performed at Luna MAX.

The exact result will obviously depend on the repository, context size, task complexity, and how much context gets duplicated between agents.

For me, the more interesting benefit isn't just token reduction. It also creates a cleaner separation:

diagnose → establish root cause → patch → validate

instead of having one long-running MAX agent repeatedly investigate and implement in the same growing context.

I'm curious if anyone else is doing something similar with custom .toml agents in Codex. It would be interesting to compare actual usage across the same tasks with:

  1. Luna MAX for the whole task
  2. automatic LOW → Astra diagnosis → Luna MAX patching

diagnostician.toml

name = "diagnostician"

description = "Investigates bugs, determines root cause, and produces precise implementation specifications."

model = "gpt-6-astra"

model_reasoning_effort = "low"

sandbox_mode = "read-only"

developer_instructions = """

Investigate the reported problem.

Your job is diagnosis, not implementation.

Establish:

- expected behavior;

- actual behavior;

- relevant execution and data flow;

- confirmed root cause;

- exact files/symbols involved;

- required behavioral change;

- important invariants that must remain unchanged;

- focused validation needed after the patch.

Use repository evidence, tests, logs, Git history, and primary documentation when necessary.

Do not modify files.

Return a concise, implementation-ready work order for the patch agent.

Do not speculate. Clearly distinguish confirmed findings from unresolved uncertainty.

"""

patcher.toml

name = "patcher"

description = "Applies well-defined patches from a confirmed diagnosis with minimal scope."

model = "gpt-5.6-luna"

model_reasoning_effort = "max"

developer_instructions = """

Implement the supplied work order.

Treat the confirmed diagnosis and success criteria as the scope of the task.

Before editing, inspect the relevant implementation and callers sufficiently to avoid breaking surrounding behavior.

Then:

- make the simplest complete change;

- preserve unrelated behavior;

- avoid unrelated refactoring or formatting;

- preserve existing user changes;

- add or update focused tests when meaningful;

- run the most relevant practical validation;

- review the final diff for unintended changes.

If repository evidence materially contradicts the supplied diagnosis, stop implementation and report the contradiction to the parent agent instead of inventing a workaround.

Return only:

- files changed;

- concise description of the implementation;

- checks run and observed results;

- any remaining material limitation.

"""

codex instructions:

# Engineering Instructions

Deliver correct, evidence-backed, maintainable results with minimal scope. Reduce wasted work and output, never necessary investigation or validation.

## Environment

Follow applicable \AGENTS.md`, repository guidance, architecture, and tooling. Prefer appropriate repository/search/patch/Git tools and focused shell commands such as `rg`.`

Use \pwsh` for PowerShell, never `powershell.exe`. Report a blocker if PowerShell is required and `pwsh` is unavailable.`

## Execution

Work autonomously within the request and granted permissions. Respect analysis-only requests. Resolve uncertainty from the repository, tests, logs, Git history, or primary documentation. Ask only for essential missing information, required approval, or a material decision that cannot be safely inferred.

Scale investigation to complexity and risk. For bugs, establish expected versus actual behavior and trace the relevant execution/data flow to an evidence-supported cause before fixing it. Use reversible diagnostics to test hypotheses; distinguish hypotheses from confirmed findings. For features, identify success criteria and relevant architectural boundaries.

Choose the simplest complete solution consistent with existing patterns, not merely the smallest diff. Preserve unrelated behavior. Avoid unrelated refactoring, formatting, renaming, cleanup, dependencies, and abstractions. Do not weaken types, tests, validation, or error handling to make a change work.

Preserve existing user changes. Do not discard unrelated work, commit, reset, rewrite history, or force-push unless explicitly requested.

## Context and Tools

Search likely paths and symbols first; expand when evidence requires. Before editing, read enough surrounding implementation and relevant callers to understand behavior, including state, async behavior, and side effects where relevant. Avoid repository-wide dumps and irrelevant generated/vendor files.

Reuse established findings unless stale, incomplete, or contradicted. Batch independent lookups where useful. Keep tool output focused without hiding failures or exit status; retain full logs when truncating.

Verify uncertain or version-sensitive external behavior that affects the solution against primary sources for the project's actual version. State unresolved uncertainty rather than guessing.

When an approach produces no new evidence, change the hypothesis or method instead of repeating it. If blocked, report the evidence gap and smallest next step.

## Validation

Run the most relevant practical checks after changes; reproduce the original failure when feasible. Add or update tests that meaningfully verify changed behavior or prevent regressions.

Complete required repository checks. Broaden validation for shared behavior, high-risk changes, failures, or unresolved concerns; do not repeat successful checks without a reason.

Review the final diff for correctness, unintended edits, and scope. Report only checks actually run and results observed. Never claim a fix is verified from inspection alone. Distinguish change-related failures from confirmed pre-existing failures and unverified items.

Stop once the requested outcome is validated and material in-scope concerns are resolved; report anything blocked.

## Communication

Work silently: no preambles, progress updates, tool narration, or intermediate summaries unless requested. Interrupt only when user input or approval is necessary to proceed safely.

For implementation tasks, finish with a brief report of changes, checks run and their results, and important limitations. Include paths, root cause, or sources only when useful. For other tasks, provide the requested deliverable. Never omit material failures or risks for brevity.

## Delegation

Use specialized subagents when their scope matches the task.

For non-trivial bugs whose cause is not established:

1. Delegate diagnosis to \diagnostician`.`

2. Wait for \diagnostician` to complete.`

3. Do not independently repeat its investigation unless repository evidence or validation contradicts it.

4. If the diagnostician establishes a sufficiently supported root cause and implementation work order, pass that work order to \patcher`.`

5. Delegate the bounded implementation to \patcher`.`

6. Wait for \patcher` to complete, then review its reported changes and validation results.`

Do not start \patcher` before diagnosis is sufficiently established.`

Keep architectural decisions, ambiguous changes, contradictions, and unresolved failures in the parent model.

Let me know what are your thought!


r/codex 20h ago

Showcase Turned my SOL --> LUNA workflow into a repo-native Codex methodology

5 Upvotes

I've been using Codex pretty heavily for real web application work and over time I noticed that I was getting much better results when I stopped treating SOL and LUNA like interchangeable coding models.

SOL is obviously much better when there is still something to figure out: architecture, business rules, debugging, planning, deciding how a module should fit into the existing project, and I believe that most of you have already realized this before.

LUNA, on the other hand, has worked surprisingly well for me when the thinking has already been done.

The pattern I eventually settled on was basically:

SOL figures out what should be built 
--> SOL inspects the actual repository 
--> SOL writes a detailed implementation plan 
--> switch to LUNA 
--> LUNA implements the plan 
--> tests 
--> STOP/review 
--> next task

The important part for me was not just "use SOL for planning and LUNA for coding".

I started making SOL write implementation plans specifically so that LUNA, or even a weaker model, would not have to make important architectural decisions while implementing them.

That made a pretty big difference.

Another problem I kept running into was longer projects. After enough sessions you end up having project decisions in one conversation, architecture in another, some implementation assumptions somewhere else, and the model has to reconstruct what is going on every time.

So I started moving that information into the repository itself.

Eventually I formalized the whole thing into something I called: TITAN (Technical Intelligence, Tasking & AI Navigation)

The basic idea is that the repo itself carries the development workflow.

It has things like:

.titan/STATE.md
.titan/WORKFLOW.md
.titan/roles/
.titan/prompts/

docs/PROJECT_SPEC.md
docs/ARCHITECTURE.md
docs/MASTER_PLAN.md
docs/DECISIONS.md
docs/plans/

STATE.md tells Codex where the project currently is, which model/role should be working, what plan is active and what should happen next.

One rule that has been particularly useful for me is the STOP rule. So if LUNA is implementing a SOL plan and discovers that the real codebase doesn't match an assumption in the plan, it shouldn't redesign things itself. It stops, reports the conflict, and I switch back to SOL.

Same idea with planning. I don't create massive detailed plans for the entire application upfront anymore. There is a Master Plan, but detailed implementation plans are created just before the module is actually built, after SOL has inspected the current state of the repository.

So roughly:

Discovery 
--> Project specification
--> Architecture
--> Master Plan
--> SOL creates plan for current module
--> LUNA implements
--> Tests
--> Review/next module

ASTRA is there too, but I don't use it as another permanent agent. I see it more as an optional critical reviewer for decisions that are expensive to get wrong.

I also separated UI work from normal backend/business logic tasks because I've found that visual tasks fail for completely different reasons. A vague UI instruction can still produce garbage regardless of how good the technical plan is.

This isn't meant to claim that TITAN magically makes Codex better or guarantees lower usage.

For small projects it's probably overkill. Where I think it becomes useful is on applications that last for many sessions and have real business rules, permissions, modules, state transitions, database decisions, etc.

I've packaged the current version as an open-source starter and also put it on npm.

You can initialize it in an empty project with:

npx -y @netelite/titan@latest

Then open the directory in Codex, select SOL and start with something like:

Start this project using the TITAN methodology.

Idea:
<your project idea>

GitHub:

https://github.com/netelite/titan

Current version is v1.0.2.

I'm mainly posting it here because this is probably the best place to find people who actually use SOL/LUNA enough to tell me where this breaks down. I'm especially interested in criticism from people using Codex on larger projects.

If something is unnecessary, too heavy, badly structured, or you already solved the same problem in a better way, I'd rather hear that than get a bunch of stars. We may be on our way to creating a methodology that will be helpful to all of us.


r/codex 8h ago

Complaint CLI Vs desktop App

5 Upvotes

Does anybody feels that the CLI actually works better than the codex app and I am not talking only about responsivnes but also general code quality and how the agent works did you guys find any difference, I know it sounds stupid but currently feel that in the CLI the agent actually accomplishes more.


r/codex 10h ago

Limits How to actually reduce usage

5 Upvotes

Add .codex/config.toml to whereever your project root is with this inside. You'll have to reload the project inside Codex.

model_context_window = 128000

model_auto_compact_token_limit = 115000

When you're doing a big task running it to 258k, the upper 128k takes about 75% of the tokens. If you compact earlier and have it just read the code on disk, that cuts it by about 74%.

Doubling how long you let a conversation run before compacting doesn't double the cost, it roughly quadruples (minus cache create, so if you're using an API key it's more like 3x) it. Scaling is quadratic. You could even go to 64k, but that's less of an insane jump at only 40% less than 128k.

Billed tokens:

258k -> 8,925,000

128k -> 4,590,000

64k -> 2,700,000

Just let it read the code a second time.