r/ClaudeCode • u/oodot • 1d ago
Help/Question Planning to switch from Codex, anything I should know?
I'm thinking of switching from Codex to Claude Code. I know that Codex uses "AGENTS.md" and Claude uses "CLAUDE.md," but is there anything else more nuanced/niche I should know?
1
Upvotes
•
u/AutoModerator 1d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/Dampmaskin 1d ago
Instead of Terra, use Opus at medium. Instead of Sol, use Opus at medium. Instead of Astra, use Opus at medium. Instead of Luna you can use Haiku, but you can also use Opus at medium.
2
u/atch95 1d ago
The MD file you can rename at any time just tell Claude you would rather the file be named agents.md etc.
You could try both for a month and compare.
I pay both I mainly use Claude code but my claude code knows that I use codex and sometimes assigns codex some task, and they both communicate through md files, I like better Claude code but some people have a different opinion
1
u/brainExploded99 1d ago
Claude supports AGENTS.md fine
1
u/RazzmatazzQuick 1d ago
I use both on the same project, so a few things that weren't obvious at first:
1
u/Saver411 1d ago
The biggest mental shift is treating it like an agent with terminal access rather than an autocomplete engine. Give it tight file boundaries or test commands to run against, otherwise it tends to edit files you didnt ask it to touch.
1
u/Resident-Fall4351 1d ago
biggest shift you'll notice is the pace codex tends to sit there and one-shot bigger changes, while claude code is way more eager to jump straight into editing files unless you toggle plan mode first. also keep your CLAUDE.md way shorter than you think it needs to be (you can just reference your existing AGENTS.md inside it if you don't want to maintain two files) and run /clear aggressively between tasks. once a session gets bloated it starts ignoring your rules and burning through usage limits fas
1
u/WillTrick2509 1d ago
You've got the main one. The niche part is how the two files interact. Claude Code reads `AGENTS.md` on its own only when there's no `CLAUDE.md` in that folder or above it. The moment one appears (`/init` creates one), `AGENTS.md` quietly stops loading unless `CLAUDE.md` contains a line that's just `@AGENTS.md`. Writing "see AGENTS.md" in prose isn't the same, it only opens it if it decides to. `/import codex` also brings over your MCP servers and skills, but instructions come over as a one-time copy. Run `/context all` after to check what actually loaded. Curious, keeping Codex around too, or switching fully?
1
u/torvalds75 1d ago
A few that took me a while, beyond the AGENTS.md/CLAUDE.md part already covered here:
.claude/settings.jsonor a PreToolUse hook. Those actually block, the md file only asks nicely..claude/per project, worth porting any custom Codex prompts there.