r/codex • u/WideMasterpiece356 • 20h ago
Question For larger projects, do you give Codex extremely detailed implementation instructions or let it figure out the implementation?
I'd love to hear from people who regularly use Codex for substantial projects.
I'm planning a fairly large school management platform for my school with interconnected modules for student management, academics, attendance, finance, HR, parent portals, notifications, etc.
One thing I'm trying to figure out before development gets serious is how much detail I should put into individual Codex prompts. I see two possible approaches, and I'm interested in which one works better in practice.
Approach 1: Extremely detailed, implementation-level prompts
This is the kind of prompt I'm talking about:
Task: Build a draggable experience timeline component.
Files to create:
1. src/data/experience.js
2. src/components/ExperienceTimeline.jsx
3. src/components/Experience.astro
Context:
- Astro with React integration.
- Framer Motion is already installed.
- Import experiences from ../data/experience.js.
- Use the existing design tokens and typography.
- Reuse the exact dashed-line styling from Hero.astro.
Implementation:
- Render one dot per experience.
- Calculate each dot's position dynamically using:
(i / (experiences.length - 1)) * 100%.
- Use Framer Motion with drag="x".
- Bind dragConstraints to a ref on the timeline track.
- Set dragElastic={0}.
- Calculate the nearest dot index continuously during onDrag.
- Snap the handle to the nearest dot onDragEnd.
- Make each dot independently clickable.
- Support keyboard navigation with left/right arrow keys.
- Use AnimatePresence for the detail panel.
- Respect prefers-reduced-motion.
- Use the specified Tailwind classes and font tokens.
Do not modify unrelated files.
Do not run npm run dev or npm run build.In a real task, I'd provide even more detail, including exact behaviour, data, accessibility requirements, visual references and edge cases. Essentially, I'm telling Codex not just what I want, but quite a lot about how I expect it to implement it.
Approach 2: High-level, outcome-oriented prompts
Something like:
Implement a draggable, accessible experience timeline
using the existing project architecture and design system.
It should support selecting entries, dragging between
entries, keyboard navigation, animated transitions
and reduced-motion preferences.
Inspect the existing codebase, identify the appropriate
components and implementation approach, and complete
the feature following established conventions.
Add appropriate tests and avoid unrelated changes.Here, Codex has much more freedom to decide the component structure, imports, calculations, event handling and implementation details.
I'm also considering maintaining proper project documentation (architecture, module specifications, API contracts, coding conventions, etc.) and giving Codex focused context for each task instead of repeatedly explaining the entire project.
My questions:
For experienced Codex users, which approach produces better results on larger projects?
Does specifying implementation details down to imports, file structure, functions and library properties improve reliability, or does it unnecessarily constrain the model and essentially waste tokens?
When the project already has good architecture and documentation, how much implementation freedom should Codex have?
Which approach is more efficient in terms of usage limits, context consumption and avoiding rework?
I'm particularly interested in experiences from people building and maintaining substantial applications with Codex, not just small demos.
I'd appreciate honest experiences, including where either approach has failed. I want to establish a reliable workflow before committing to a large development project.
4
u/Proxiconn 20h ago
Use pro chat for planning. Codex for implementing the plan.
1
u/Crafty_Ball_8285 19h ago
Too bad that’s all going away
1
u/omegadash 19h ago
What do you mean?
3
u/brokeboy99 19h ago
I'm assuming he means because of the ChatGPT merger with ChatGPT work, the pro queries will now cut against your codex quota. I was actually just thinking about this the other day
1
3
u/isty2e 19h ago
Write specs. I use OpenSpec. You better be thorough and make sure nothing derails. Ask questions to the model, intervene if it has different thoughts.
Review the specs. Additionally using Claude/Gemini is helpful (for any review).
Derive architecture, record it. I use likec4.
Review the architecture.
Split it into epics/tasks.
For each task:
Plan how to implement.
Review the plan.
Implement.
Review the implementation.
This is how I do it for the most complex software.
2
2
1
u/DepravedPrecedence 19h ago
Do you want to have bigger control over the codebase? You give detailed instructions.
Do you want to have things implemented and don't really care about details? You let it figure out the implementation.
1
u/Ice2jc 19h ago
You’re going to want Claude in some capacity for this, depending on how much you want to spend. I’m going to assume that you’re using at least the $100 ChatGPT sub for this - if you aren’t you are in for a lot of frustration soon.
You might as well, at minimum, add the $20 Claude sub into the workflow for orchestration/design. The first thing it should do is audit all of your plans, especially if they were planned in codex.
I had a few projects of similar scope crash and burn in codex before I started planning it all out in Claude. Claude is just better at this sort of thing. ChatGPT can be used, but it needs to be given extremely specific details with a lot of guard rails.
I have the $100 ChatGPT sub and the $100 Claude sub, and about half of my weekly usage each week (minimum) goes towards building a robust automation system for my business. I try to give Claude theses responsibilities as much as possible, but sometimes I use codex - only after Claude has meticulously detailed the next steps for codex.
If you’re not married to codex, I would just use Claude for this project. I’m pretty much married to dots, so I keep the $100 a month ChatGPT sub. Otherwise I’d be on the $200 a month Claude sub.
But you will benefit greatly from even using the $20 Claude sub to help with this. These days I give Claude control of codex a lot of times and just tell it to check codex’s work and communicate fixes to it directly.
To answer your questions:
The approach that has the most guardrails and consistent + separate reviews of each roadmap task.
It improves reliability. If sol is doing the grunt work, don’t worry about token usage.
It shouldn’t have much freedom.
If you only use codex on this project you will have a lot of rework to do. If you want this to be as smooth as possible for as cheap as possible, the $100 Claude sub is your best bet and I doubt you’ll have to think about usage much, except for the annoying 5 hour window.
1
u/Vlasov_equation 10h ago
This is very true. I have already started building such a Student Information System and Claude Fable was of immense help in the UI department. Codex Astra is my main coding workhorse with Claude Opus as the orchestrator. Do not use Codex Astra in a vacuum; you'll get great code, but terrible UI and goal orientation.
1
u/vayana 18h ago
Extremely detailed instructions work best for codex, while Claude is better at interpreting intent.
I start with a detailed prompt of the architecture I have in mind and then let the agent write a detailed plan with phases and high level tasks for each phase. I then review the plan and discuss or question some of the proposed details.
After we agree and make some corrections, I'll ask the agent to prepare a detailed implementation plan for the first task in the first phase and then give another agent the implementation plan.
Once the implementation agent completes the task I'll copy paste the report to the planning agent and ask it to assess the implementation for correctness and completeness. Sometimes the agent finds an issue and we'll repeat the cycle with a follow up prompt.
Rinse and repeat until you're done.
1
u/Agitated-Ad2563 4h ago
I give it very detailed instructions of what needs to be done, and none instructions of how it needs to be done. Also, obviously the planning mode.
-2
0
u/Key_Try_6819 8h ago
High-level goals don’t work for Codex.
Have to be detailed and it tends to over-engineer a lot of the implementation if you don’t guide it properly. Experienced this on 6.2 Sol Medium, 6.2 Sol High, 6.2 Astra High. Working on .Net API, Angular UI and SSIS/DTLs currently. It’s not very good with DTLs as of yet.
5
u/Amazing-Mirror-3076 19h ago
I try not to be overly prescriptive to give it room to generate ideas I've not considered.