Skip to content
Guide Center

You’re reading as a guest. Start your free 14-day trial and give your AI a second brain that remembers your business.

Start free trial

My ‘God mode’ Claude setup

One Opus planner on extra high effort, a crew of Haiku agents that check their own work, Auto-Compact set early, and one shared memory for the whole crew. The full walkthrough, every file and prompt included.


The memory behind my crew: Claude, connected to HeyBrain.
On this page
  1. What this is
  2. The setup at a glance
  3. What you need
  4. 1. Opus on extra high
  5. 2. Set up the folder
  6. 3. Set Auto-Compact
  7. 4. Build the Haiku crew
  8. 5. Add verification loops
  9. 6. Skills that improve
  10. 7. Plug in HeyBrain
  11. 8. Run it
  12. Why it works
  13. Questions people ask

What this is

If you came from my video, this is the walkthrough I promised. I call it God mode. It’s not an Anthropic feature, just my name for how I run Claude Code now: one Opus agent on extra high effort does the thinking, and a crew of cheaper Haiku agents does the work, checks it and reports back.

Below is every setting, file and prompt, in the order I set it up. The last piece is the shared memory, and that’s where HeyBrain comes in: every agent in the crew starts with the same knowledge of my Google Drive and Notion. HeyBrain has a 14-day free trial. Full disclosure: I co-founded it.

The setup at a glance

What you need


Step 1: Put Opus on extra high effort

The planner is your main Claude Code session. It’s the one you talk to, so it gets the strongest model and the most thinking. Start Claude Code in your project folder and run these two commands:

  1. /model opus switches the session to Opus.
  2. /effort xhigh sets effort to extra high. Run /effort on its own to get a slider instead, and /effort status to check the current level.

Effort is how much Claude thinks before it acts. Higher effort means deeper reasoning, and it also uses more of your limit, which is exactly why I give it to the planner. The crew runs on a cheaper model instead.

Using the Claude app too?

The app has the same setting. Click the model name next to the send button, choose Effort and pick Extra high. The change applies from Claude’s next reply.

The crew in this guide runs in Claude Code, so the rest of the steps happen there.


Step 2: Set up the folder

Everything the crew needs lives in one project folder. Claude Code already knows where to look for agents and skills, so the structure does half the work for you.

PathWhat goes in it
CLAUDE.mdThe planner’s brief: the goal of this project, how you like work done and the crew rules from step 5
.claude/agents/One file per crew member: researcher.md, builder.md, checker.md
.claude/skills/One folder per repeatable job, each with a SKILL.md
plans/The planner writes each plan here before the crew starts
outputs/Finished, checked work

Set up the folder

Open in Claude
Set up this folder for a planner and crew workflow. Create:

- CLAUDE.md with a short placeholder brief (I’ll fill it in with you next)
- .claude/agents/ (empty for now)
- .claude/skills/ (empty for now)
- plans/ and outputs/

Then interview me, one question at a time, to fill in CLAUDE.md: the goal of this project, who the work is for, what good looks like, and what you must never do without asking me. Keep it under one page.

Step 3: Set Auto-Compact to kick in early

When a session’s context fills up, Claude Code compacts it: it summarises the older conversation to free space. By default that happens late, close to the model’s limit. I’d rather it happen early, while the planner still has a clear head, at about 40% of the window for normal work and 60% for bigger tasks.

Claude Code sets this with the /autocompact command, using a size in tokens rather than a percentage. So first check how big your window is, then do the maths:

  1. Run /context. It shows how full the session is and how big the window is.
  2. Take 40% of that. On a 1M-token window, that’s /autocompact 400k.
  3. For a bigger task, raise it to 60%: /autocompact 600k on the same window.
  4. Run /autocompact auto any time to go back to the default.
Prefer to set it as a percentage?

Claude Code also reads an environment variable called CLAUDE_AUTOCOMPACT_PCT_OVERRIDE. Set it to 40 and compaction triggers at 40% of the auto-compact window. It can only make compaction happen earlier, never later, and it only applies in sessions that compact before the model’s context limit, which is the default on 1M-window models.

To keep it for this project, add it to .claude/settings.json under env, for example "env": { "CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "40" }, then restart Claude Code.

Two habits help as much as the setting. Use /compact with a note when you want to choose what survives, and /clear when you switch to unrelated work.

Compact with a note

Open in Claude
/compact Keep the goal, the current plan in plans/, which crew tasks are done and which failed checks, and any decisions I made. Drop the rest.

Step 4: Build the Haiku crew

Each crew member is a subagent: a short Markdown file in .claude/agents/ with a name, a description of when to use it, the model and its instructions. The model: haiku line is the whole trick. The planner stays on Opus, and every task it hands to the crew runs on Haiku.

Example agent file: builder.md

Open in Claude
---
name: builder
description: Does one clearly scoped task from the planner’s plan and reports back. Use proactively for execution work.
model: haiku
---

You are the builder on a small crew. The planner gives you one task, the files or sources to use, and a definition of done.

- Do only that task. If something is unclear or missing, stop and say what you need.
- Save your work where the task says.
- Finish with a short report: what you did, where it is, and anything you weren’t sure about.

Let the planner write all three for you:

Create the crew

Open in Claude
Create three subagents in .claude/agents/, each with model: haiku and no tools line:

1. researcher: gathers the facts, files and sources a task needs and returns a short, sourced summary. It never writes the final output.
2. builder: does one clearly scoped task from the plan and reports what it did and where it saved it.
3. checker: tests a result against the task’s definition of done and returns PASS or FAIL, with the exact reasons for a FAIL.

Keep each description to one line that says when to use it. Show me the three files before you save them.

Step 5: Add the verification loop

Cheap models are fast, and they miss things. The loop catches that before it reaches you: every task has a definition of done, the checker tests against it, and a failed check goes back to the builder with the reasons. Put the rules in CLAUDE.md so the planner follows them on every run.

Crew rules for CLAUDE.md

Open in Claude
Add this section to CLAUDE.md:

## Crew rules
- You are the planner. Think, plan and delegate. Don’t do execution work yourself unless a task is too small to hand out.
- Every run has one clear goal. Write it at the top of a new plan in plans/ before anything else.
- Break the goal into small tasks. Each task names its agent, its inputs and a definition of done.
- Send research to researcher and execution to builder.
- Send every finished task to checker. On FAIL, send it back to builder with the checker’s reasons. After two failed tries, stop and ask me.
- When every task passes, review the whole result against the goal, save it to outputs/ and give me a short summary.

Step 6: Skills that get better every run

A skill is a folder in .claude/skills/ with a SKILL.md that tells Claude how to do one job your way. Claude Code picks up edits to a skill during the session, so the simplest way to make skills better over time is to update them straight after a run, while the lessons are fresh.

Turn a job into a skill

Open in Claude
I want a skill for [a job the crew does often]. Ask me how I do it today, step by step, what good looks like, and the mistakes to avoid.

Then save it as .claude/skills/[skill-name]/SKILL.md with a name, a one-line description of when to use it, and the steps.

After every run: improve the skill

Open in Claude
Look back at this run. Which checker FAILs happened, what caused them, and what did I correct by hand? Suggest specific edits to the skills you used so those mistakes don’t happen again. Show me each change before you save it.

Step 7: Plug the crew into one shared memory

This is my addition to the setup. Without it, each agent only knows what the planner pastes into its task, and the planner only knows this folder. With it, every agent can look up my docs, decisions and projects for itself.

I use HeyBrain. It turns my Google Drive and Notion into one knowledge graph and connects it to Claude Code over MCP. When an agent needs something, it looks up the pieces that matter and pulls in only those, instead of re-reading everything. Subagents get the same tools as your main session unless you limit them, so one connection covers the planner and the whole crew.

Claude Code reads from your HeyBrain over the HeyBrain MCP: your Google Drive and Notion in one knowledge graph.
  1. Start your 14-day free trial and create your workspace.
  2. Connect Google Drive, Notion or both, so HeyBrain can build your knowledge graph.
  3. In HeyBrain, open HeyBrain MCP, choose Claude Code and copy the command. It carries your own key, so keep it private.
  4. Paste it into your terminal and run it. Then fully quit and reopen Claude Code.
  5. Type /mcp in Claude Code. You should see HeyBrain in the list, marked as connected.
The HeyBrain MCP page with Claude Code selected and its connect command ready to copy.
Recreated screen of the HeyBrain MCP page with Claude Code selected.
A terminal running the HeyBrain connect command, then Claude Code's /mcp list showing HeyBrain connected.
Recreated screen. Your key will be different.
Using the Claude app as well?

In HeyBrain, open HeyBrain MCP, choose Claude and copy your connection URL. It’s unique to your workspace, so keep it private.

In Claude, open Customize → Connectors, choose Add, then Add custom connector. Name it HeyBrain, paste the URL, click Continue, then Add. Click Connect, sign in to HeyBrain and click Allow, then click + in a chat and switch HeyBrain on. On Team and Enterprise plans, an Owner adds custom connectors for the organization.

Then tell the planner to use it, and check the crew can see it:

Memory rule for CLAUDE.md

Open in Claude
Add this to the Crew rules in CLAUDE.md:

- Before you plan, use HeyBrain to look up what my docs say about the goal. Name the documents you used in the plan.
- Tell each agent which HeyBrain documents matter for its task. Agents should look things up in HeyBrain instead of guessing.

Check the crew can see it

Open in Claude
Ask the researcher to use HeyBrain to list the five most recent documents about [a project or client], with one decision or open question from each. Then tell me whether it found them.

Step 8: Run it

Check the planner is on Opus and extra high effort, then start every run with the goal and let it work through the crew rules. This is the prompt I use:

Start a run

Open in Claude
Goal: [one clear sentence, for example: a launch email and three social posts for our new pricing page].

Follow the Crew rules in CLAUDE.md. Look up the relevant context in HeyBrain first, write the plan in plans/ and show it to me before the crew starts. Use the skills in .claude/skills where they fit. When you’re done, give me the result, what the checker failed and why, and which skills you’d update.

After the run, use the skill update prompt from step 6. That’s the loop: plan, delegate, check, improve.

Why it works (and where it doesn’t)

Every token Opus spends costs more than a token Haiku spends (see Anthropic’s pricing page). In a one-agent setup, Opus does everything: the thinking and the reading, searching and drafting. In this setup, Opus only plans and reviews, and the bulk of the work runs on the cheaper model.

This isn’t my invention. Anthropic built its Research feature as a lead agent that plans and hands pieces to subagents working in parallel, and wrote about it in its engineering post on multi-agent research. Claude Code’s own docs suggest routing simple subagent tasks to Haiku to control costs, and its opusplan mode uses Opus to plan and Sonnet to carry the plan out.

One agent vs a planner and crew

Questions people ask

Is God mode an official Claude feature?

No. It’s my name for this setup. Everything in it uses standard Claude Code features: models, effort, subagents, Auto-Compact and skills.

Which Claude plan do I need?

Claude Code runs on paid Claude plans, or on an Anthropic API key. Which models you can use, and how much, depends on your plan, so run /model to see what you have. HeyBrain has a 14-day free trial with a card required. See pricing.

Can I use Sonnet for the crew instead of Haiku?

Yes. Change the model line in an agent file to sonnet. It costs more per token than Haiku and handles harder tasks better, so I use it for the one job that needs it.

What about agent teams?

Claude Code also has agent teams, where several full sessions work together. They’re experimental and off by default. Subagents are simpler and are all this setup needs.

Does HeyBrain work for the whole crew?

Yes. Connect it once in Claude Code and every subagent without a tools line can use it. HeyBrain reads Google Drive and Notion today, and more sources are on the way.

Is my data used to train models?

No. HeyBrain doesn’t train any model on the content you connect.

JaysonCo-founder of HeyBrain

A planner that thinks, a crew that works, one shared memory

Start your 14-day free trial, connect your Drive and Notion, and plug your crew into the same brain.