Skip to content
AddHunt
Agent skills & plugins

Nightshift

Runs long coding-agent tasks as shifts with receipts

Works with Claude Code, Codex, CursorOpen source

  • Open source
  • Licence: MIT

In short

Nightshift is an open-source plugin for Claude Code, Codex and Cursor that turns a bounded task list into an unattended coding-agent run with gates, budgets, recovery and per-item receipts. It is aimed at developers who leave agents working overnight and review the results in the morning.

What you get

  • Plugin for Claude Code, Codex and Cursor
  • Punch lists with verify and commit lines per item
  • Clock-out gate, evidence and budgets for each item
  • Parked questions instead of overnight waits
  • Crash recovery and scheduled night starts
  • Local receipts with checks, tokens and time per item

The details

Nightshift adds structure to long, unattended runs of coding agents. It installs in Claude Code, Codex or Cursor and works inside a persistent project folder.

How a shift runs

Work starts as a punch list of complete, verifiable items, each with lines describing how to verify and commit it, so the list holds up through long runs, context compaction and handoffs. The agent then works through one item at a time under a clock-out gate, with evidence and budgets per item. When the agent would stop to ask a question, Nightshift parks a default answer instead of letting the run wait until morning.

Safety and recovery

Opt-in owner rules in rules.json can deny sudo, containers, global package installs, daemons and logins. If a session crashes, Nightshift checks the shift state and recovery log and decides whether to resume or stand down. It can also generate a scheduler entry (launchd, cron, systemd or Task Scheduler) to begin a shift at a set time.

Morning review

Each item writes a local receipt listing the checks performed, the outputs produced, and the tokens and time spent. The guides cover reviewing those receipts, settling parked decisions and archiving shift history. Other guides apply the same approach to product improvements, SEO audits, research reports and documentation.

Alternatives to Nightshift

All alternatives

Questions

Which coding agents does Nightshift work with?

It installs in Claude Code, Codex and Cursor, and the docs include host-specific guides for each of them.

What happens if the agent asks a question during a run?

On shift, Nightshift denies the question tool and parks a default answer, so the run continues and the decision can be settled during the morning review.

Is Nightshift open source?

Yes. The code is on GitHub under the MIT license.

More like this