Documentation
Install Nightshift
Install Nightshift for Cursor, Codex, or Claude Code and open the persistent project or folder you want it to work in.
Updated
How do I install Nightshift in Claude Code, Codex, or Cursor?
Choose the native installation path for your coding host, then invoke Setup from a persistent project or notes folder. The same local-first package needs no separate Nightshift server or API key.
Codex and repository-connected ChatGPT
Recommended: install the full plugin from the Git-hosted marketplace. Review and trust its hooks, then start a new conversation. It carries the clock-out gate, safety rules, session recovery, and per-item token usage and time.
The official OpenAI Plugin Directory lists a skills-only edition: the punch list, receipts, parked decisions and continuation notes, without the clock-out gate, recovery or usage accounting. Directory versions up to 0.25.3 carry the full plugin; later versions are skills-only, because the directory does not accept lifecycle hooks. Its Setup offers the full plugin; after installing it, turn the directory copy off.
codex plugin marketplace add orwa-mahmoud/nightshift
codex plugin add nightshift@nightshiftClaude Code
Run these two commands inside Claude Code. Nightshift needs no npm package, separate CLI, API key, or server.
/plugin marketplace add orwa-mahmoud/nightshift
/plugin install nightshift@nightshiftCursor
Inside Cursor, open Customize → Add → From GitHub Repository, import https://github.com/orwa-mahmoud/nightshift, then select Nightshift from the imported marketplace to install it. Open the persistent project before Setup. The Cursor Directory listing is for discovery; installation happens inside Cursor.
Choose the project
Open the repository or project that should receive the work before setup. A disposable scratch conversation is temporary and cannot preserve changes to that project.
- macOS and Linux use the bundled shell runtime.
- Native Windows uses the bundled PowerShell runtime.
- WSL is treated as Linux and should keep host, repository, plugin, and watchman in one distribution.
- The plugin ships shell and PowerShell only: no Python, and no JSON parser to install.
Start with a bounded prompt
This prompt names the outcome and preserves Nightshift’s review boundary. Paste it into the supported coding host from the project you want to change.
Set up Nightshift in this project and explain each proposed gate before writing it.What this workflow does not claim
- A normal ChatGPT scratch conversation cannot preserve changes to the project repository.
- An unattended shift needs host permissions appropriate to its repository or artifact work mode.
Evidence and sources
These links support the released behavior, public outcomes, or problem language described on this page.