Nightshift: a plugin for long-running Claude Code, Codex and Cursor tasks
Nightshift is a plugin for Claude Code, OpenAI Codex and Cursor that sets a durable work contract for long coding runs. The user plans the work with the agent first, then provides a task list, picks a ready-made shift, or gives the agent an objective and a number of hours. A clock-out gate[1] holds unfinished work, and each item can require specific evidence and carry a time or token budget. Progress is saved on disk, and a watchman[2] can recover failed sessions.
After a run, the user reviews the results, the token usage and time for each item where available, and archives the shift with its evidence. The tool is MIT licensed, runs on macOS, Linux and Windows, and needs no separate service or API key. The documented runs include a four-hour first night that left nine focused items as reviewable commits. A later 45-hour contract survived a host handoff and became a 67-commit pull request that a human reviewed.
The project describes these as documented runs, not benchmarks. A ticked item is the agent's claim that the work is complete, not independent proof of quality, so the checks and the user's review decide whether an item is good.
Read the original github.comDiscussion
Sources
-
GitHub
Nightshift — a plugin for long-running Claude Code, Codex and Cursor tasks


