Tools

Run Claude Code Overnight and Wake Up to a Report

Leave Claude Code working all night on one task: it keeps your computer awake, checks its own work, switches AIs when a limit hits, and leaves a morning report.
View on GitHubgithub.com/vadimchernets/nightcall
At 11 p.m. a laptop with a task is kept awake for 8 hours. A timeline repeats plan, step, check, and when a limit is reached the next AI takes over. At 7 a.m. MORNING.md lists Done, Not done, Check first and Decided without you.
Swipe to see the whole diagram, or tap to open it

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.

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. 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.

Things that cannot be undone are never decided at night: sending, publishing, paying, deleting with no way back, signing in with a password.

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.

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

Then run /nightcall:ready for the checklist before leaving, and /nightcall:start with your task and the number of hours. In the morning, /nightcall:morning writes the report and switches everything off. The "coffee for the computer" also works on its own, without Claude: bash scripts/awake.sh 8 on a Mac or Linux. 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 line on your phone ("Working, round 7", "Resting on a limit until 03:10", "Done") and the phone rings when the night rests on a limit or ends.

Before the night, Safecall can add a copy of anything Claude is about to change, and both are part of the Poly A1 plugins catalogue.

The code is open under the Apache-2.0 licence: https://github.com/vadimchernets/nightcall.

View nightcall on GitHub

Vadym Chernets also builds Poly A1, an app in which AIs from different companies check each other's work.

All tools · All papers and notes