My Story AI Challenge Free Guides Get the free kitFree kit
← All free guides
SetupPut agents to workFree guide

How I Set Up a Night Shift for Claude

If you still have to tell Claude to keep going, you're babysitting it. This is how I hand it a whole fix list before bed and wake up to a short brief, with proof for every fix. Two prompts: one sets it up, one starts the shift.

3 to copy4 steps7 min read
Zach CrawfordA free guide by Zach Crawford
Claude Code
Help me set up a night shift for you in this folder. Before bed I'll hand you a list of fixes and go to sleep. In the morning I want a short brief, with proof for every fix.
First, look at the files in this folder so you know what's here. If NIGHT-LIST.md is already here, move its finished tasks to NIGHT-DONE.md first.
Then ask me these ONE at a time, and wait for each answer:
1. Tell me in one line what you think this folder is, and ask me if that's right.
The whole prompt is in this guide. One click copies it.

This is the start of a real prompt from this guide. It is not a result.

Most people use Claude like this: ask for a fix, wait, read it, say "keep going", wait again. You're doing the work of a manager, one message at a time.

Here's how I hand it off instead. Before bed, Claude gets the whole list. In the morning, I don't read every line. I read the brief, and I check the proof.

I've had Claude work through my video editor's whole fix list overnight. You can set up the same thing for your website, your course files, or any project you build with Claude Code.

1The 3 rules of a night shift

One. Before bed, it gets the whole list. Every task to fix tonight, in one file. Each task says what "done" looks like.

Two. Every fix needs proof. A screenshot, a test, something you can see. No proof, it's not done. This is the rule that lets you sleep. Claude can't say "fixed it" and move on. It has to show you.

Three. By morning, a short brief. What's done, what broke, and what you need to review. One screen. You read that, not the whole night of work.

2Set it up once

Open the Claude desktop app, click the Code tab, and pick the folder of the project you want fixed. Have your fix list ready, one task per line. Messy is fine.

Paste this. Nothing to fill in.

Copy and paste this
Help me set up a night shift for you in this folder. Before bed I'll hand you a list of fixes and go to sleep. In the morning I want a short brief, with proof for every fix.

First, look at the files in this folder so you know what's here. If NIGHT-LIST.md is already here, move its finished tasks to NIGHT-DONE.md first.

Then ask me these ONE at a time, and wait for each answer:
1. Tell me in one line what you think this folder is, and ask me if that's right.
2. Ask me to paste my fix list.
3. For each task, tell me what proof you'll save to show it's done: a test you can run, a screenshot, or the exact lines before and after the change, with the file name. Ask me if that's good enough. If a task can't be done or proved from this folder alone (it needs a login, an account, or something only I know), tell me now.
4. Ask me what you must never touch: files, folders, anything that costs money, sends a message or posts.

Then make these 3 things in this folder:

1. NIGHT-LIST.md. At the top, a "Never touch" list from my answer. Then one block per task:
## Task N. [the task, in my words]
- Done when: [what will be true when it's fixed]
- Proof: [what you'll save, and the file name in proof/]
- Status: TO DO
If a task needs something from me, write "Needs from me:" under it.

2. MORNING-BRIEF-TEMPLATE.md, short enough to read on one screen:
# Morning brief, [date]
## Done
- Task N. What changed, in one line. Proof: [file in proof/]
## Broke or blocked
- Task N. What went wrong, what you tried, what you need from me.
## What I need to review
- What a person should look at before this goes live, and anything else you noticed but didn't touch.

3. An empty folder called proof.

Don't fix anything in this chat, even if I paste the list again. Don't add tasks I didn't give you.
When you're done, show me NIGHT-LIST.md. Then tell me the setup is done, and that to start the shift I open a new chat in this folder and paste the night shift prompt.

Read NIGHT-LIST.md before bed. If a "Done when" or a "Proof" line is vague, tell Claude to fix it. Vague proof is how you wake up to "fixed it" with nothing to look at.

3Before bed, start the shift

Three things, in this order.

Keep your computer awake. Plug it in. If it goes to sleep, Claude stops. On a Mac, open System Settings, then Battery (or Energy on a desktop Mac), and turn on the option that stops it sleeping when the display is off. On Windows, open Settings, then System, then Power, and set sleep to Never when plugged in.

Pick Auto mode. Under the prompt box there's a mode selector. Pick Auto. In Auto, Claude can run your tests and save proof without stopping to ask you, and a safety check looks at each step first. In the other modes it can stop at the first step that needs your OK, like running a test, and wait there all night. Don't pick Bypass permissions for this. It turns off the checks.

Start a new chat in the same folder, and paste this. Nothing to fill in.

Copy and paste this
Night shift. I'm going to bed. Work through NIGHT-LIST.md on your own, from the top. Don't stop to ask me anything. I won't be here to answer.

BEFORE YOU START
- Read the "Never touch" list. Don't touch anything on it.
- Make a backup: copy every file you might change into night-backup/[today's date]/, so I can undo any fix.

FOR EACH TASK
1. Make the fix. Change only what the task needs.
2. Make the proof the task asks for and save it in proof/, with the task number in the file name.
3. Check the proof yourself. Does it really show the task is done? If not, keep working or mark it.
4. Update its Status in NIGHT-LIST.md: DONE (and the proof file), BLOCKED (why, and what you need from me) or FAILED (what broke).

THE RULES
- No proof, it's not done. Never mark a task DONE without a proof file.
- Never fake proof. Never write down a result you didn't see.
- Never make up content to finish a task: no made up reviews, quotes, names, numbers, prices or links. If a task needs something you don't have, like a login or a fact from me, mark it BLOCKED and say exactly what you need.
- If you're stuck after a few tries, mark the task and go to the next one.
- Don't do work I didn't ask for. If you notice something else wrong, put it in the brief.
- Nothing that spends money, sends a message, posts anything, or deletes my files.

WHEN YOU REACH THE END
Write MORNING-BRIEF-[today's date].md from MORNING-BRIEF-TEMPLATE.md. Keep it to one screen. Then stop.

Then go to bed.

4In the morning, read the brief and check the proof

Open the brief first. Then open the proof folder and look at the proof for every task marked done. That's the deal: you don't read every line Claude changed, but you do look at the proof.

If a fix is wrong, paste this in the same folder. Fill in the task number first.

Copy and paste this
Undo Task [number]. Put the files back from the night-backup folder, mark the task TO DO in NIGHT-LIST.md, and tell me what you put back.

For the next night, paste the Step 2 prompt again with the new list. It moves the finished tasks out of the way first.

The limitations you should know

Want the next guide? Follow @zachcrawford.ai

More free guides