, , 11 min

My way to software engineering

On this page
  1. The big picture
  2. How it starts
  3. Always draw it first
  4. The method, in short
  5. Why a second model
  6. The loop
  7. Saying what I want
  8. Slice by slice
  9. Several slices at once
  10. The review
  11. The skill, to copy
  12. How I got here
  13. What I still do myself
  14. What I don't know yet

I'm a marketer who builds software: I say what I want and AI agents write the code, which I can't judge.

This year alone, I put in production software used by almost 100,000 people, for my clients. Some of it has super complex rules, like a payroll engine. Sometimes I even open pull requests to fix bugs in my clients' own code :)

The big picture

DiscussLock the intangiblesDraw it in PaperCut into slicesBuild with crewMergeCheck it myselfwith an agent, until a direction holds4 lines in a filethe screens, before any codeeach one small enough to reviewone model builds, the other reviewscrew handles ithow it behaves and how it looks

7 steps, top to bottom. Discuss, with an agent, until a direction holds. Lock the intangibles: 4 lines in a file. Draw it in Paper: the screens, before any code. Cut into slices, each one small enough to review. Build with crew: one model builds, the other reviews. Merge: crew handles it. Check it myself: how it behaves and how it looks.

The first 4 steps find what to build, the next 2 run without me, and the last one is mine.

How it starts

I describe a problem to an agent, and we iterate until we find a direction. For anything big, I ask the other model to challenge that direction first.

Always draw it first

Before any code, I draw the screens in Paper, a design tool. The agent draws right in my file, I move things around, I say what's wrong, and it redraws. There's no connector to launch inside Paper, and no file to keep in the foreground.

The Paper app with one of my design files open. On the left, the list of its pages, named Home v21 to Home v28, then Hero directions v29 and Onboarding directions. In the middle, 3 dark versions of the same page top, one under the other, labelled Hero A, neighbours, Hero B, pixels, and Hero C, vector dump. Each has the headline Change models. Keep your memory. and 2 buttons. On the right, a panel with a button, Connect more agents.
  • Copy an element, paste it into Claude or Codex. Its reference lands in the chat, something like "Node IDs: SOX-0", so I can point at one thing
  • Copy a frame in Figma, paste it in Paper, and it's rebuilt directly
  • Paper's canvas is real HTML and CSS. The agent reads the exact structure and values. In a tool like Figma, a design is a drawing, and some things get lost on the way to code

Figma's connector got better. But as with Webflow or Framer, new models will always get even better at real code. It's a dead-end race, somehow.

The designs in my setup come straight out of my Paper files.

The method, in short

I can't judge the code, but I can judge a finding. When a reviewer says "this would mark your mail as read without you", I get it, and I can check it. So another model reviews each slice, and the builder only applies the fixes that block what I asked for. At the end, I use the result like a user would and read a 4-line report.

It all happens inside one Rex tab (see my setup). Claude calls Codex, or Codex calls Claude, without me asking: both load the same skill, crew, that you can copy below.

MeThe agent I'm inbuildsThe other modelreviews, changes nothingaskreview thisship or fix

3 boxes in a row. Me, on the left, asks the agent I'm in, which builds. That agent sends the work to the other model with the words review this. The other model reviews and changes nothing, and answers ship or fix.

Why a second model

A model that just wrote something tends to find it fine, a bit like grading your own homework. A second model starts fresh, and only sees what I asked for and what was built.

I take it from another company on purpose: if I build with Claude, I let GPT review, and vice versa. They don't have the same blind spots. What one lets through, the other often catches.

The loop

Lock directionmeSlice by slicewithout meMergethen my checkBuildone modelReviewthe other oneFixwhat mattersCommitOne slicenext slice

3 steps in a row: lock the direction, done by me. Then slice by slice, done without me. Then the merge, followed by my check. Below, the middle step is opened up into a loop of 4 steps: build, by one model. Review, by the other one. Fix what matters. Commit. Then an arrow goes back to build for the next slice.

  1. I say what I want, and for anything big it gets written down
  2. The agent builds one slice and runs its checks
  3. It asks the other model to review that slice, in the background
  4. It fixes what moves the needle and asks again, until the verdict is ship, 3 reviews at most
  5. It saves that slice and moves on to the next one
  6. At the end, it merges the work
  7. I check the result: how it behaves and how it looks

Steps 2 to 6 run without me. The agent tells me when it's done, or when it has a question only I can answer.

Merging adds the work to the main version of the project. Until then, it sits on a separate copy. Most of the time I check after the merge, and when I can, before, on that copy. Merging isn't releasing: anything that reaches other people still waits for my yes.

Saying what I want

Talk to the model in your own words, ask it for these 4 lines, fix them until they're right, then paste them in a new session. I do it for anything big, and skip it for small things.

tasks/the-date-and-the-name-of-the-task.md
Outcome: one line, what becomes true for me
Done when: checks anyone can observe, 4 or fewer
Must preserve: what must not break
Out of scope: what we're not doing
  • Outcome: an agent that knows the goal makes better small choices than one that only knows the task
  • Done when: a check anyone can observe can't be argued with
  • Must preserve: agents break things next to the thing they touch
  • Out of scope: agents love to do more than what was asked

It says what I want, never how to do it. It's a file because the reviewer gets it too, and checks the work against what I asked for, not against what the builder remembers. My mail client's repository has about 50 of these files.

Slice by slice

A slice is a piece that's useful on its own, and small enough to review in one go. A reviewer does a much better job on a small change than on a whole day of work. And if a slice goes wrong, I lose an hour, not a day.

The latest redesign of my mail client was cut into 8 slices. The agent proposed the cut, and I approved it before it started. The first one was the window frame, the list row that every screen shares, and the status line. All 8 were built and reviewed in one day.

Slice 1Slice 2Slice 3Slice 8Mergedby crewMy checkI use the resultbuilt, reviewed, savedbuilt, reviewed, savedbuilt, reviewed, savedbuilt, reviewed, saved· · ·One model builds a slice, the other reviews it, then the next one starts

On the left, a pile of slices, one on top of the other: slice 1, slice 2, slice 3, and so on to slice 8. Each one is marked built, reviewed, saved. Under the pile: one model builds a slice, the other reviews it, then the next one starts. An arrow goes from the pile to a box on the right, Merged, by crew, and from there down to a last box, My check, I use the result.

Several slices at once

When slices don't touch the same files, crew can build them at the same time, a step called dispatch:

  • The session I'm talking to writes the 4 lines for each slice and starts up to 3 sessions in the background, my cap for now. No new tab opens
  • Each one is a whole session in its own copy of the project, and runs the loop above by itself until ship
  • I only talk to the first session. It passes questions and answers, in one line
  • When they've all shipped, it lands them one at a time and stops their sessions
  • Where each one stands shows in the side pane, in Claude Code and in Codex: api ● needs you | ui ◐ review r2

The first version opened one tab per slice, and the last slice to finish merged the pile. The copy of the skill below, and the one on GitHub, still work that way, because the background version runs on a command of mine, crew, that isn't public.

The review

When a slice is done, the agent writes a short brief and calls the other model. From Claude Code:

cd ~/projects/my-app && env -u AI_ROUTING_DONE crew-timeout 1800 \
  codex exec -s read-only -C ~/projects/my-app \
  -m gpt-6.1-sol -c 'model_reasoning_effort="xhigh"' \
  --json -o reply.md - < brief.md
  • cd ~/projects/my-app comes first because my wrapper picks the account from the folder it starts in, and env -u AI_ROUTING_DONE makes it pick again, instead of reusing the first agent's account
  • crew-timeout 1800 stops the whole thing after 30 minutes if it hangs, the model included. It's a small command of mine, and the copy of the skill below uses a plain timer instead
  • codex exec runs Codex once, with no chat window
  • -s read-only lets it read every file and change none. I want one writer at a time: a reviewer that also edits leaves me with 2 versions to sort out
  • -C ~/projects/my-app says which project to open
  • -m and -c pick the model and how hard it thinks
  • --json prints what it does, one line per step. The first line holds the id of the session, which the agent keeps for the next review
  • -o reply.md says where to write the answer
  • The end hands it the brief

For a routine slice the model is GPT-6.1 Sol, set to think as hard as it can. When a wrong ship would be hard to undo, like a migration, permissions, sync between devices, or anything that sends to people or moves money, crew picks GPT-6 Astra at the same effort. Both are passed again on every round, because resuming a session doesn't keep them. When I want another model, I just say so.

Claude starts that command in the background and keeps working. What I see meanwhile:

A Claude Code session. Claude reports that version 0.3.0 of an extension passed its full check again, and that Codex is reviewing it now, with a ring drawn around those 5 words. The report says what the builder did, what Claude verified itself, what it did not verify, one cost to know about and the state of things. It ends with: nothing is needed from you until Codex answers. Under it, a line says done at 2:09 PM, 2 shells still running, with a ring drawn around those last 4 words.
Claude has already reported to me while Codex is still reviewing. Circled: 2 shells still running, the commands it started in the background

The brief says what I asked for, where the changes are, and how to answer. The reviewer doesn't take the builder's word: it opens the task file and the changes itself. This is what comes back:

A terminal split in 2. On the left, Claude's report: what changed, the checks it ran, and what needs me. On the right, Codex, asked to review that report as CPO and CTO. Its answer starts with SHIP: the change is ready to merge, no blocker found. Then what it assumed, then 3 things it checked, among them 161 tests that passed. Then: blockers, none. Client names are covered.
A real review. Left, Claude's report. Right, Codex's verdict: ship, what it checked, no blocker. Client names are covered

The first line is always the verdict, ship or fix.

A blocker can only be one of 5 things: data loss or corruption, a security or privacy leak, an action that can't be undone, behaviour that breaks what I asked for, or a claim in the report that the code doesn't back. No remarks on style, no rewrites, no extra tests, no nice-to-haves.

The list is that narrow because a reviewer always finds something. If every remark gets applied, the real work stops moving, which I've lived. My instruction was: "you'll implement what moves the needle and iterate back and forth until it seems reasonable to commit and move forward (no overengineering)".

A Claude Code session. Claude writes: the reviewer flagged six issues, I'm fixing four and pushing back on two, explaining my reasoning for those instead of changing the code. Then a background command: send the reviewer the fixes and the reasons for the two points left as they are. Then: second review approved, no further issues raised.

The builder can leave out a remark that isn't a blocker. For a blocker, it has 2 choices: fix it with the smallest change, or say why it's wrong with a fact, like a file and a line, or what a command printed. If the reviewer still holds it, it comes to me with both positions, and I decide whether to allow another pass.

The builder runs every check the project has before the review. The reviewer reads the code and doesn't run it, so its ship covers the code, not how the product behaves. That part is my check.

The skill, to copy

Crew is one file of instructions for both tools. The agent opens it by itself when I give roles, ask for a review, or just say crew. It started as 2 saved prompts in Raycast, the launcher on my Mac: -codex in Claude Code, -claude in Codex.

It names 4 roles: the front door (the session I'm talking to), the builder, the reviewer, and the lander, which puts the reviewed work on the main version and prepares the release. Either model can take any of them, in my own words, like "codex builds, claude reviews". If I say nothing, the one I'm talking to builds and lands, and the other one reviews.

MeFront doortalks to meBuildermakes the changeLanderputs it on mainReviewera fresh sessionchanges nothingMainthen the releaseaskreview thisship or fixafter shipThe agent I'm inThe other modelmy yes first, if itcan't be undone

On the left, Me, with an arrow marked ask to the front door. A dashed frame, The agent I'm in, holds 3 roles one under the other: Front door, which talks to me, Builder, which makes the change, and Lander, which puts it on main. On the right, The other model: the Reviewer, a fresh session that changes nothing. The builder sends review this to the reviewer, which answers ship or fix. After ship, the builder hands over to the lander, and the lander puts it on Main, then the release, with my yes first if it can't be undone.

The rest is rules I learned along the way.

crew/SKILL.md, read by Claude Code and Codex
--- name: crew description: Who builds, who reviews and who lands work, between Claude and Codex. Use when the user gives roles ("codex builds, claude reviews", "you land"), asks for a review by the other model, asks to build a slice and get it reviewed, or asks to merge, land, ship, install or deploy finished work. Also when they type crew. --- # Crew The user chooses who plays which role, in their own words, and can change it at any time, in any session. Claude and Codex can each take any role. Nothing here fixes a direction. - **Front door:** the session the user is talking to. It reports to them and starts the other roles. They may talk to several sessions; this is a convenience, not a rule. - **Builder:** makes the change. - **Reviewer:** checks the change against what the user asked. Always a fresh session, never the builder's own context. By default the other model; if the user names the same model, use a fresh session of it. - **Lander:** puts reviewed work on `main` and prepares the release. If the user has not said: the front door builds and lands, the other model reviews. Say in your first reply who plays what, in one line, so they can change it. ## Rules 1. One writer per folder. A lone builder works in the main folder, on its own branch. A second writer takes a worktree inside the repo (`.worktrees/<branch>`, never `/tmp`), installs dependencies from its own lockfile, and copies the local config it needs (`.env`). 2. Each slice gets a review against what the user asked: blockers only, at most 3 rounds. A blocker still held after the builder's answer goes to the user with both positions. A review starts only once every check and journey the repo names for the change has passed: the reviewer reads the code and doesn't run it, so its SHIP covers the code, not how the product behaves. 3. One landing at a time per repo. Land exactly the reviewed commit. If landing needs a code edit (a conflict), that edit goes back to the reviewer. Check the combined result before `main` moves. 4. Before an install or deploy, list everything that changes compared with what is live or installed, and release only what is meant to go. 5. Ask the user before anything that cannot be undone, reaches other people, or replaces one of their daily apps, unless they have allowed automatic installs for that app. How to brief, how many slices and which checks: your call, unless the user says. ## Model and effort The model and effort the user names take precedence. Otherwise pick the reviewer's model by what a wrong SHIP would cost. For Codex, for example: - A strong model at high effort (`gpt-6.1-sol` at `xhigh` when this was written) for routine, contained slice reviews - The strongest model available (`gpt-6-astra` at `xhigh`) when a wrong SHIP could be hard to undo: migrations or backfills, auth or permissions, cross-device or cross-process sync, actions that send to others or move money, or a concrete builder doubt about data, security or reversibility - The strongest model for consequential decisions about architecture, scope, dependencies or conflicting requirements Choose by concrete consequences and uncertainty. An ordinary stored-data write or a large file count alone is not an escalation trigger. Keep Claude's CLI default unless the user names another selection. On consequential slices, consider a short challenge of the plan before building: mistaken assumptions, likely failure paths, and whether a smaller solution works. This is optional, not an extra phase for every slice. Choose the review tier before round 1. Keep the same session, model and effort for follow-up fixes. If a stronger model becomes necessary, start a fresh review with the current brief, diff and unresolved blockers. It still counts toward the same three-round limit. Report an unavailable named selection rather than silently substituting. ## Starting the other model Always call `claude` and `codex` by name, started from inside the repo. Run them in the background, prompt on stdin, answer in a file. Keep the session id to send rounds 2 and 3 to the same session. Do not edit the repo while a review reads it. | Role | Codex | Claude | |---|---|---| | Review | `codex exec -s read-only -C <repo> --json -o <reply> - < <brief>` | `claude -p --permission-mode plan --output-format json < <brief> > <reply.json>` | | Next round | `codex exec resume <thread_id> -c sandbox_mode="read-only" -o <reply> - < <followup>` | `claude -p --resume <session_id> --permission-mode plan --output-format json < <followup> > <reply.json>` | | Build or land | `codex exec -s workspace-write --add-dir <repo>/.git -C <folder> --json -o <reply> - < <brief>` | `claude -p --permission-mode auto --output-format json < <brief> > <reply.json>`, started in `<folder>` | - Codex's `thread_id` is on the first `thread.started` line of `--json` output; Claude's `session_id` is in its JSON reply, with the answer in `result`. - `--add-dir <repo>/.git` lets Codex commit from a worktree, whose git data lives in the main folder. - Codex calling `claude` needs the network and `~/.claude`: in `codex exec` add `-c sandbox_workspace_write.network_access=true --add-dir ~/.claude`; in an interactive Codex session, ask for the escalation. - A `codex exec` given its prompt as an argument waits on stdin: pass `< /dev/null`. - Pass the selected model and effort on every review round, including resumes: Codex `-m <model> -c 'model_reasoning_effort="<effort>"'`, Claude `--model <model> --effort <effort>` when selected. Resume does not pin them, and the front door's model selection does not choose a subprocess reviewer's model. Include the actual model and effort with its verdict. - Give a review 30 minutes. A failed or timed-out review is not an approval; run it once more. ## The review brief The front door writes it. It holds: what the user asked, in their words, with its "Done when" line; what changed and where the diff is (base commit); what was run and seen; what the builder is unsure of. A default ending that has worked: ``` Read the real diff in this repo. Do not trust my summary. Report blockers only: data loss or corruption, a security or privacy leak, an action that cannot be undone, behaviour that breaks what was asked, or a claim in the summary that the code does not back. For each blocker: file and line, the concrete way it fails, the smallest fix. No style, no refactors, no extra tests, no nice-to-haves. First line of your reply: VERDICT: SHIP or VERDICT: FIX. ``` Keep each round's reply in its own file, so an old SHIP is never read as the current verdict. When a reviewer's restraint and the user's stated look conflict (motion, colour), the user's look wins. Ask them before stripping it. ## While a review runs - Tell the user which review is running and on which round, then end the turn. You are woken when the background job ends; don't poll it. - Cap the reviewer at 30 minutes: put `perl -e 'alarm shift; exec @ARGV' 1800` in front of `codex exec` or `claude -p`. A review stopped by the cap is a failed review: run it once more. ## Goals A `/goal` condition holds 4,000 characters, so point it to a spec file. The model that decides "done" reads only the conversation, so the goal names what the last message must show, with a SUCCESS and an INCOMPLETE ending. ## Dispatch When the user asks to split work into sessions ("split it", "dispatch"), the front door plans them, starts them and steps back. `<crew>` below is the `crew` folder in `git rev-parse --path-format=absolute --git-common-dir`, shared by every worktree. 1. Cut the work into slices that touch different files, at most 3 running at once unless the user says otherwise. Write one brief per slice in `<crew>/<slice>.md`: what the user asked, the slice's "Done when", the files it owns, who builds and who reviews (the user's choice, else the front door's model builds). 2. Start each slice as a whole session in its own worktree (rule 1), in a new terminal tab, with a first prompt such as "Use the crew skill: build the slice in `<crew>/<slice>.md`". When no tab can open (a locked screen), run that slice from the front door instead: the Build row above in the background, then the usual review. 3. Whoever runs a slice writes `<crew>/<slice>.ship` on SHIP (branch, reviewed commit, verdict file), then looks: when every brief has its `.ship`, it lands them all; otherwise it stops, and the last one to finish lands. If the landing lock is held, wait for it, then look again. 4. A slice that goes to the user holds the landing until they decide. The lander removes the briefs and `.ship` files it landed. ## Landing - Take the landing lock: `mkdir <repo>/.git/crew-landing` (it fails if another lander holds it). Write who and when inside; remove it when done. One older than an hour with no live session behind it can be removed, saying so. - Merge reviewed branches in an order that works: what others depend on first, then the smallest risk. Note the reviewed commit of each. - Release the way the repo's README or AGENTS.md says. If it says nothing, ask the user once and write the answer there. - Before installing over one of the user's daily apps, read the whole build log for "NOT", "missing", "skipped". - Afterwards remove merged worktrees, and merged branches unless the repo keeps them. ## Handoff End with four short parts, so someone outside the chat can check the work: - **Asked:** what the user asked, in their words, including scope changes on the way - **Changed:** commits or files - **Verified:** what you ran or saw, against the "Done when" line - **Needs me:** one question or action for the user, or "nothing" Then one line: who built, who reviewed (verdict, rounds), who landed, and what is released or waiting for the user.

Codex runs its commands in a sandbox, and from in there Claude can reach neither the internet nor its own login. The skill gives Codex the 2 options that open those up, or tells it to ask me when I'm in a Codex window. As a reviewer, Claude runs in plan mode: it reads everything and changes nothing.

Reviews 2 and 3 go back to the same session, so the reviewer only receives what was fixed and what's contested. A review that failed or ran out of time doesn't count as a yes: the agent runs it once more.

The report closes with the 4 lines from What I still do myself, plus one: who built, who reviewed (verdict, rounds), who landed, and what's released or still waiting for me.

To use it:

  • Install Claude Code and Codex, signed in, on the same computer
  • The skill is on GitHub, in clementrog/skills, next to 3 others I use every day
  • In Claude Code: /plugin marketplace add clementrog/skills, then /plugin install crew@clementrog
  • For Codex: copy the crew folder into ~/.codex/skills/
  • I keep one copy on my Mac and link it from both skills folders

Both public copies say "the user" where mine says my name, and leave out what is specific to my Mac. For dispatch, the agent needs a way to open a terminal tab. I used a short script that asks Ghostty for one.

How I got here

  • I built my own tools to pass the work from one model to the other, and open-sourced some of them, like Pilot and claude-relais
  • Then I went back to copy and paste, with a few saved prompts
  • Then I discovered on X that Claude and Codex could speak to each other directly

The models now handle by themselves what my tools were built for.

What I still do myself

  • Saying what I want, before anything gets built
  • Checking the result: I use it, and I look at how it behaves and how it looks, never at the code. Most of the time that's after crew has merged it
  • Saying yes to anything that can't be undone: installing over the app I use every day, touching real emails, a decision about the product or about money

Every report ends with the same 4 lines: Asked, Changed, Verified, Needs me. The left side of the review screenshot above is one of them. The reviewer has already checked them, so I can trust them without rereading the whole session.

On a product I build that has other users, every change goes through a pull request. 311 have been merged since the end of March. On my own mail client, I skip that: crew merges, and I check after.

What I don't know yet

  • If this still works in 3 months
  • How many review rounds are too many
  • What it misses that a senior developer would see. I have no way to measure that from where I sit
  • If 3 sessions at once really beat one session that builds the slices one after the other

I'll update this note when the loop changes. At the current pace, that's in about 2 weeks I guess :)

More

What if Claude Code, Codex, Grok and any other agent could fill a memory automatically and get the context they need? Onadit keeps your sessions with all AI models on your Mac, in 1 memory every agent can search.

Change agents.Keep your memory.

Write the launch postFor the 17th. You moved it with Codex.
Try OnaditFree for 7 days

Get new notes by email

One email per new note. Or use the RSS feed.

Contact

Thanks for reaching out. A short brief helps before we talk.

My day rate is €1,200 to €2,000, depending on commitment and volume.

Try

is invite only for now. Leave your email and I'll send you an invite.