Skip to content

Nightshift

Accountable long-running coding shifts for Cursor, Codex, and Claude Code. Safe autonomy, recovery, persistent state, and reviewable results a clear view of what’s done, in…

Install

$/plugin marketplace add orwa-mahmoud/nightshift

Install command taken from the project's README or registry entry. Always review code before running it.

nightshift

Give the agent a shift. Come back to work you can review.

Nightshift gives Claude Code, OpenAI Codex, and Cursor a durable work contract for long coding runs. Bring a task list, choose a ready-made shift, or give your agent an objective and hours to work. A clock-out gate holds unfinished work, progress survives on disk, and a watchman can recover failed sessions. Review the results, per-item token usage and time where available, then archive the shift with its evidence intact.

MIT licensed · macOS, Linux, Windows · No separate service or API key

Install · First shift · Real runs · Why it exists · Documentation · Website

What you want What Nightshift provides
Finish the work you already planned A persistent punch list, item-by-item verification, and a gate that rejects premature clock-out.
Put a few hours into the project Open-ended product evolution, coverage hunts, or your own objective, with an explicit deadline and a continuation record.
Start without writing a backlog Ready-made shifts through Hunt and Quality. Choose the work yourself or let the agent compose it; review first or run directly.
Keep a long run moving Progress across compaction, parked decisions, deduplicated findings, and recovery under the host's supported signals.
See what the work consumed Runtime-measured token usage and duration per item, with host-specific gaps clearly marked.
Review today and continue tomorrow Live receipts, a morning receipt, and archived history that keeps unfinished work available for the next shift.

Choose a shift · Receipts and token usage · Archive and continue

The four-hour first night left nine focused items as reviewable commits. A later 45-hour contract survived a host handoff and became a human-reviewed 67-commit pull request. These are documented runs, not benchmarks.

Why Nightshift

It started with eight requested changes and a screen saying the four hard ones deserved a “focused session.” The agent had finished the easy work and left the rest for later.

Nightshift makes the remaining work explicit at every attempted stop. The list survives context compaction, decisions go into a parking lot with a default, and a watchman can recover failed sessions. The checks and your review still determine whether a completed item is good. Read the story and see the original screenshot →

Install

Codex and ChatGPT

Install Nightshift from the official OpenAI Plugin Directory.

For local Codex development, install the same package from its marketplace:

codex plugin marketplace add orwa-mahmoud/nightshift
codex plugin add nightshift@nightshift

Similar plugs

本地优先的跨平台 Claude Code / AI Agent 桌面工作台:多 Agent 协作、Git Worktree、代码 Diff、技能市场、多模型、Computer Use、桌面宠物;支持微信、飞书、钉钉及 H5 等远程访问。 | Local-first Claude Code / AI Agent desktop workspace:…

Coordinate your coding agents like a group chat — read receipts, delivery tracking, and remote ops from your phone. One pip install, zero infrastructure. A production‑minded…

Telegram ↔ tmux/herdr/agterm bridge for Claude Code, Codex CLI, and Pi Agent. Monitor output, respond to prompts, manage parallel sessions. Control AI coding agents from your…

Claudex is an open-source AI coding agent with multi-provider support (OpenAI, NIM, Ollama, and more), featuring a smart routing system, Telegram integration, and full Claude…

Explore related