
Description
You hand your coding agent a list before bed and wake up to find it declared victory after item two, forgot the agreed rules once its context got compacted, and left a marathon chat where the only way to learn what changed is to scroll it all.
nightshift is built for exactly that. It is a plugin for Claude Code, Codex and Cursor that turns the work into a punch list. If the agent tries to clock out with items still open, a hook sends it back to work. Questions that need your call don't stall it either: it takes a default, and files the decision with its reasoning in a parking lot for you to review in the morning.
Every finished item gets a receipt covering what was delivered, what was tried and rejected, which checks ran, and the time and tokens it took, measured from the host's own records rather than the agent's guess. MIT licensed, no separate service or API key, runs on macOS, Linux and Windows, in a Git repo or a plain folder.
Plan room:
Evidence per item: ask for screenshots at named widths for a layout change or before-and-after numbers for a speed-up, and choose whether a missing file blocks the item or is only noted on the receipt.
Clock-out gate: the agent cannot stop while unticked items remain; one commit per item, ticked only when done, and deleting an item doesn't count as finishing it.
Two ways to run a shift: work the list until the last tick, or use
Ready-made shifts: coverage hunts, defect hunts, dependency upgrades, vulnerability sweeps, flaky-test repair, accessibility fixes, doc drift and release readiness, so you can start without a backlog.
Item budgets: estimates from past receipts, with soft and hard limits in time or tokens; at the hard limit the agent commits work in progress, writes the receipt and moves on.
Hand-off between agents: plans and progress live in project files, so when Claude Code runs out of allowance, Cursor can pick up the same branch and the same list.
Morning receipt: which changes to inspect first, which decisions need you, and the shift's working time, paused time and token spend.
Status and diagnostics:
nightshift is built for exactly that. It is a plugin for Claude Code, Codex and Cursor that turns the work into a punch list. If the agent tries to clock out with items still open, a hook sends it back to work. Questions that need your call don't stall it either: it takes a default, and files the decision with its reasoning in a parking lot for you to review in the morning.
Every finished item gets a receipt covering what was delivered, what was tried and rejected, which checks ran, and the time and tokens it took, measured from the host's own records rather than the agent's guess. MIT licensed, no separate service or API key, runs on macOS, Linux and Windows, in a Git repo or a plain folder.
Features
Plan room:
/nightshift:plan keeps project code read-only so the agent can't jump into implementing; it reads the code and history, explains what each approach buys you, writes agreed items into the list and keeps rejected options and open questions for the next day.Evidence per item: ask for screenshots at named widths for a layout change or before-and-after numbers for a speed-up, and choose whether a missing file blocks the item or is only noted on the receipt.
Clock-out gate: the agent cannot stop while unticked items remain; one commit per item, ticked only when done, and deleting an item doesn't count as finishing it.
Two ways to run a shift: work the list until the last tick, or use
/nightshift:hunt with a goal and a number of hours and let the agent keep finishing complete units until quitting time.Ready-made shifts: coverage hunts, defect hunts, dependency upgrades, vulnerability sweeps, flaky-test repair, accessibility fixes, doc drift and release readiness, so you can start without a backlog.
Item budgets: estimates from past receipts, with soft and hard limits in time or tokens; at the hard limit the agent commits work in progress, writes the receipt and moves on.
Hand-off between agents: plans and progress live in project files, so when Claude Code runs out of allowance, Cursor can pick up the same branch and the same list.
Morning receipt: which changes to inspect first, which decisions need you, and the shift's working time, paused time and token spend.
Status and diagnostics:
/nightshift:status shows the open item and snags, /nightshift:stop pauses while keeping unfinished items, /nightshift:doctor diagnoses without changing anything.