Run Claude Code Overnight and Wake Up to a Report

You have a big job and not enough evenings. Sort three years of notes into a book outline. Go through two hundred customer emails and draft the replies. Clean up a messy website. Claude Code can do this kind of work, but it needs hours, and hours at a desk are the one thing you do not have. So you would like to say "do this" at ten in the evening, go to bed, and read the result at breakfast. Nightcall is a free, open-source plugin for Claude Code, Anthropic's AI assistant that works with the files on your computer. It sets up exactly that: a night shift with a morning report, and a card on your phone that shows what the night is doing.
Why leaving it running usually fails
The idea is simple, but a night alone is hard on a computer and on an AI. The laptop goes to sleep and the work stops. The usage limit of your subscription runs out at 3 a.m. and the session sits there, or ends. The AI stalls on step four and spends six hours politely stuck. Or it keeps going and does something you never asked for in a folder you did not mean it to touch. And while it runs, you have no idea what it is doing: Google's suggestions for "claude code check progress" and "control claude code from phone" show how many people want to know. In the morning you find a half-done mess and no idea what happened. People look for ways around each of these separately: how to keep a Mac awake, how to continue after a limit, how to run Claude Code overnight at all. Nightcall puts the answers in one place.
What it does
You write one line in Claude Code, for example:
/nightcall:start Go through all my notes in the "Ideas" folder, build a 12-chapter book outline from them, and draft the first chapter. 8 hours.
Then Nightcall spends about five minutes with you before you leave and takes care of the rest.
- A plan and a safety net. Claude writes a plan first. Before the night begins Nightcall makes a restore point of your task folder (a saved snapshot you can go back to), and writes a rule into the folder that the work stays inside it. The night belongs to the Claude Code window that started it, never to another one you have open.
- Coffee for the computer. A small program keeps the computer awake for the number of hours you choose, on a Mac, Linux or Windows, without administrator rights, and switches itself off at the end. It also gives you a short checklist of the three things only you can do: leave the lid open, plug in the charger, pause system updates.
- Work in steps, with checks. Claude works one step at a time, checks each step, criticises its own work, and writes what it did into a progress file. A step that fails three times is marked and skipped, so one problem cannot eat the whole night.
- A second head from other AIs. Before you leave, Nightcall tests which other AIs you already have, such as Codex, Gemini or Grok, free keys you set up, or web chats in your Chrome, and says which ones are alive tonight. During the night Claude can ask them for a second opinion, and a dead one is replaced by the next. When it weighs their answers, it sees them as "Answer A, B, C", without company names, so it does not simply favour the one that sounds like itself.
- When a limit runs out, the work goes on. If you have your own Codex or Gemini subscription, the next step can continue there from the same plan and progress files when the Claude limit runs out, and the work returns to Claude when its limit is back. Nightcall reads how much of each limit is left and hands over before a step is cut in the middle. By default it keeps 20% of each weekly allowance untouched, so one night does not burn your whole week.
- Families can share the night. When one person's subscription is used up, the next round can run in another family member's own account, signed in by themselves and with a consent they typed in their own window, until a time they chose. The task moves between accounts; the sign-ins never do.
- A sturdier mode. A loop option starts a fresh Claude for every step, so a closed window or a limit at 3 a.m. does not end the night. It stops by itself at the end time, or when you put a file named STOP in the folder.
- Nothing lost on the way. An optional checklist keeps your own words, one item per line, and an item only counts as closed when something real exists behind it: a commit (a saved version of the folder), a file, a test that ran. The night does not wrap up early while items are still open.
- The morning report. When you come back,
MORNING.mdbegins with what was not done, then the decisions that were left for you, each with the way to undo it. Then it lists what is done and how it was checked, what to look at first (five things at most), and which AIs really took part.
Things that cannot be undone are never decided at night: sending, publishing, paying, deleting with no way back, signing in with a password.
See the night, stop it, approve what it wanted
Ask "what is it doing?" or type /nightcall:status, and you get one card built from the night's own files, not from the AI's memory: the state ("working until 07:00", stopped, done), the last thing it did, how many plan steps are done, how many checks are closed with proof, and what is waiting for you.
From the same place you can say "stop the night": it finishes the step it is in and stops, and the morning report is written from what is there. "Continue" takes the stop away and the night goes on.
Everything the night wanted to do that is yours to decide (a message to send, money, a publication, a choice the AIs made together) goes into a ledger, a running list of "what the AI wanted, and what you decided". In the morning Nightcall reads the waiting lines out one by one, and you answer each with one word: approve or decline. Nothing in that list is ever rewritten, so you can always see who chose what and when.
A locked room for the night
If you would rather the night could not see anything but the task folder, start it in a box, a sandbox (a closed space for programs) that reads and writes only that folder. The rest of your home folder, including your other projects, passwords and Claude Code history, is not even readable from inside, and the internet is open only to the sites on a short allowed list.
On a Mac nothing extra has to be installed: Nightcall uses Anthropic's own sandbox runtime and fetches it on the first run. If Docker is on the computer, the box is a real container instead. Your subscription sign-in is kept in the Mac's Keychain, set up once with one command, and handed to the box only for that night. One command stops a boxed night at once, and the phone card still works from outside the box.
A concrete example
Marta is a writer with a folder of 300 loose notes. At 10:30 p.m. she types the line above, answers a few questions, checks the lid, charger and updates, and goes to sleep. In the night Claude reads the notes, writes the plan, groups the notes into themes, builds the outline and drafts chapter one. Around 2 a.m. her Claude limit runs out and her own Codex takes the next steps from the same files. At 7 a.m. she opens MORNING.md: the outline is done, chapter one is drafted, one folder of unreadable scans was marked and skipped after three failed tries, and two choices about the book's order are waiting for her, each with the way to undo it. She answers "approve" to one and "decline" to the other.
How to start
You need Claude Code. In it, add the catalogue and install the plugin:
/plugin marketplace add https://raw.githubusercontent.com/vadimchernets/poly-a1-plugins/main/.claude-plugin/marketplace.json
/plugin install nightcall@poly-a1
The first line adds the Poly catalogue by its link, with no git or GitHub account (Claude Code 2.1.224 or later). Then run /nightcall:ready for the checklist before leaving, and /nightcall:start with your task and the number of hours. During the night, /nightcall:status shows the card. In the morning, /nightcall:morning writes the report and switches everything off. The other commands are /nightcall:awake, /nightcall:team, /nightcall:mine (your own subscriptions in turn) and /nightcall:family (the family relay).
The "coffee for the computer" also works on its own, without Claude: bash scripts/awake.sh 8 on a Mac or Linux. The boxed night is bash scripts/night-loop.sh --box "<task folder>" 8. Nightcall needs no paid service and buys nothing; it speaks English, Spanish, Portuguese, Russian and Ukrainian.
If you also install its sibling plugin Pocketcall, the night appears as one card on your phone ("Working, round 7", "Resting on a limit until 03:10", "Done") with the steps, the checks and the number of things waiting for you. The phone rings, by Telegram or your own ntfy topic, when the night rests on a limit or ends, and the message comes with Stop and Continue buttons.
Before the night, Safecall can add a copy of anything Claude is about to change, and both are part of the Poly plugins catalogue.
Where it comes from
Nightcall is written by Vadym Chernets, comes with 120 automated tests and a Zenodo archive (DOI 10.5281/zenodo.23107725), and is open under the Apache-2.0 licence: https://github.com/vadimchernets/nightcall.
Vadym Chernets also builds Poly, an app in which AIs from different companies check each other's work.