r/ClaudeCode • • 7h 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

11 comments sorted by

•

u/AutoModerator 7h 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.

4

u/Dampmaskin 7h 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.

1

u/Niket_N1ghtWing 7h ago

Huh? For simller conversations Sonnet is great.

1

u/brainExploded99 7h ago

Claude supports AGENTS.md fine

1

u/Time_Cat_5212 6h ago

Best practice is to use CLAUDE.md for Claude specific config and point to AGENTS.md for the rest

1

u/atch95 7h 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/Time_Cat_5212 6h ago

Conventions are good. Models recognize them. With Claude specifically, CLAUDE.md has a specific role in the chain that other md files don't. I think most also read AGENTS.md in a different way from other markdown

1

u/RazzmatazzQuick 6h ago

I use both on the same project, so a few things that weren't obvious at first:

  • You don't have to pick one instruction file. I keep a short AGENTS.md that just says "read CLAUDE.md and the latest handoff file first", so both tools start from the same place.
  • Write your hard rules in CLAUDE.md as a short list of don'ts: files it must never read, commands it must never run, how it's allowed to deploy. It follows an explicit list much better than a long description of the project.
  • When you stop for the day, have it write a dated handoff file in the repo: what changed, test state, what's still open, what not to touch. The next session, Claude or Codex, reads that first instead of you re-explaining everything.

1

u/Saver411 6h 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 6h 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