Get your API key

Lesson 3 of 5

Subagents: a fresh pair of eyes

Build a read-only launch-reviewer that checks your app before deploy in its own clean context, and see the same idea in OpenCode and Codex.

8 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will have a read-only launch-reviewer subagent that checks your app before every deploy with fresh eyes, and you will know when a subagent is worth it.

You need: Claude Code (OpenCode and Codex versions are in step 4), a small app you are about to put live, such as your Daily Routine app · Time: 8 minutes

  1. After a long build, your main chat is a crowded desk. It holds 60 messages, three failed fixes and the agent's own belief that its code is fine. Asking that same chat "is it ready to launch?" is like asking a student to mark their own exam paper.

    A subagent is a separate helper the main agent can hand a job to. It starts with a clean desk: it sees the task and the files, not your chat history. It can have its own instructions and only the tools you allow. When it finishes, the main chat gets back a short report, not all the files the helper read.

    Left, a crowded main chat that built the app; an arrow labelled task goes to a reviewer subagent with fresh context and only Read, Grep and Glob tools; an arrow labelled report brings back a short list of problems
    The main chat sends a task, the reviewer works on a clean desk, and only the short report comes back.
    Why?

    A reviewer that didn't write the code has no reason to defend it. And because only the report comes back, your main chat stays short and focused.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. Write the launch-reviewer
  2. Use it before every deploy
  3. The same idea in OpenCode and Codex
  4. When a subagent is worth it
  5. Recap