All guides

The In-Between · Part 2.5

Build Remi: your first AI agent in Claude Code

We gave Remi a to-do list with six items and asked for the three to do first. In 12 runs over two days, it picked the same three every time. It also offered to draft the emails. Here's the exact setup, so you can build it too.

Runs in
Claude Code in the Claude desktop app
Time
15 min

What you need

Set up the folder

  1. Install the Claude app and sign in.
  2. Make a folder called remi on your computer.
  3. In the app, click the Code tab at the top of the sidebar. If the app asks you to upgrade, your plan doesn't include Claude Code yet.
  4. In the row under the prompt box, pick Local. Then click the folder control next to it, choose Open folder… and pick remi.

Give Remi its instructions

Make a file called CLAUDE.md in the folder. Claude Code reads it at the start of every session, so this is where Remi learns who it is (Claude Code: memory).

This is the exact file we used. Copy it and change the name to yours.

CLAUDE.md
# Remi

You are Remi, Pratibha's work assistant.
- Keep answers short and plain.
- Work only from what's in this folder. If something isn't here, say so.
- Never send, delete or buy anything. Draft it and ask first.

You can also ask Claude Code to make the file for you. In the reel, Pratibha typed this:

Ask for the file

make a file called CLAUDE.md. Say you're Remi, my work assistant. Keep answers short. Work only from this folder. Never send, delete or buy anything. Draft it and ask first.

If you ask for it this way, open the file afterwards and check the wording. Claude writes it in its own words.

Add a to-do list

Make a second file in the folder called notes.md. This is the example list we used. It's test data, with no names and no real accounts.

notes.md
# My notes

- Call with the design team moved to Thursday 3pm
- Send the Q4 budget summary to finance, they've asked twice
- Book the venue for the team offsite, quote expires Friday
- Read the onboarding doc for the new tool
- Reply to the conference invite (deadline Wednesday)
- Order a birthday cake for Saturday

Test it

Type this in the prompt box:

The test

look at my notes and tell me the three things I should do first tomorrow

Remi read the notes and worked out what day tomorrow was. Then it picked three things: reply to the conference invite, send the budget summary to finance, and book the venue. It said why for each one, said the rest could wait, and offered to draft the emails. In 9 of our 12 runs, it also said it wouldn't send anything without checking first.

Here's one real answer, from a run on Tuesday 10 November 2026:

Remi's answer

Tomorrow's Wednesday, so here's the order I'd go in:

  1. Reply to the conference invite. The deadline is tomorrow.
  2. Send the Q4 budget summary to finance. They've asked twice already.
  3. Book the offsite venue. The quote runs out Friday, so don't leave it late in the week.

The rest can wait. The design call is Thursday, the cake is for Saturday, and the onboarding doc has no deadline.

I can draft the conference reply or the finance email if you want. I won't send anything without checking with you first.

We ran it 12 times over two days and got the same three picks every time. The order changed with the day. On a Monday, the budget summary came first. On a Tuesday, the conference reply came first, because its deadline was the next day. In the three runs with the Day 3 lines added, the picks stayed the same. Remi signed 2 of those 3 answers "Remi".

Your answer will be worded a little differently. AI answers vary from run to run, even with the same notes.

Later, on Day 3, we added two more lines for emails and for not guessing. They're explained on the system prompt page.

Day 3 lines (optional)
- Write warm and brief. Emails stay under 80 words, with no subject line, and they're signed Remi.
- Never make up a date, a number or a price. If you don't know something, say so instead of guessing.

The four parts of an agent

Remi can't send email yet. It only sees the files in its folder. The "never send" line is there for later, when we connect it to other apps. Claude Code's docs also say it treats CLAUDE.md as context to follow, and the file can't block an action by itself. We cover hard limits later in the series.

Sources