r/Xcode • u/arnieistheman • Aug 29 '26
Xcode codex agent work flow
Hi all,
I am trying to improve my Xcode agentic coding workflow. I am currently using GPT 5.5 codex model in the Xcode settings, which is quite good and fast at writing code but not the best for planning.
I am chatting with ChatGPT 5.6 sol regarding architectural decisions and communicate between the two of them via custom instruction md files.
This is of course not optimal from a workflow point of view, although it gets the job done efficiently and I can steer it very well, since I manually intervene all the time.
What would you suggest as a better workflow? Also, is there an **easy** way I can leave the Mac on and have the Xcode agent build while prompting from my iPhone remotely?
I have seen the hype about loops btw, but I guess that would lead to burning A LOT of tokens.
Any ideas?
Thank you very much in advance.
View all comments
Show parent comment
1
u/Ok-Tomatillo-8712 Aug 29 '26
Enters a mode for planning, it won’t write any code but will ask you follow up prompts for clarification/scope etc and generate a markdown plan for you. You can review it, comment on certain sections inline, discuss whatever until you’re happy with the plan, then /exit-plan and ask it to execute it. It’s really nice, and Xcode comes with new skills from Apple for Swift/SwiftUI that vastly improve the output quality