AI School · Level 4 · Lesson 5

Coding with Claude Code or Codex

Léelo en español →

Claude Code and Codex are agents, not chats. The difference is not marketing: a chat hands you text that you paste; an agent opens your project, reads the files, writes, runs the tests and writes again. It works on its own for minutes at a time.

And that is the whole change: what it writes no longer passes through your hands. Before, for a mistake to reach production you had to copy it there yourself. Now the path from "it decides to" to "it is live" can have nobody in the middle. Your job is to put yourself in the middle, in the right place.

What it is good at and what it is not, measured

The jobHow it goes
"Add a field to the form and save it" Very well. This is what it does best: copying a pattern that already exists in your project and repeating it properly.
"Translate this page into Spanish" Well, and it drops things. The text comes out; what falls off is a button, an identifier, or the block you cannot see.
"Fix this error" with the error pasted Very well if you give it the whole message. With "it does not work" on its own, it guesses.
"Build me the pharmacy website" Badly. You get something that looks like a website and has to be redone, because it decided nothing with you.
"Is this right?" Badly. It leans towards yes. Ask what is wrong with it, not whether it is right.

Claude Code or Codex: what actually differs

Both do the same thing and both are good. Comparing specific versions is pointless — whatever one does better today the other does in three months — so what is useful is knowing how alike they are, which is in almost everything: both install on your machine, work inside your folder, read and write files, run commands and show you what they changed before saving it.

What is worth looking at when choosing, and does not go stale: which subscription it comes with (you may well already pay for one of them), whether it lets you work in your editor or in the terminal depending on how you work, and whether you can leave it a project instructions file that it always reads. The third pays off most over time and almost nobody uses it.

That instructions file is the most underrated tool here. It is a text file at the root of the project where you write down how things are done: what is not to be touched, what gets checked before anything is called done, which mistake has already been made once. The agent reads it every session. Every time you get something wrong, write it in there — it is the difference between repeating a mistake five times and repeating it once.

← Previous: the stack Next: Analytics and Search Console →