Use cases

Nightshift plugin for Claude Code

Install Nightshift in Claude Code, prepare a bounded contract, diagnose early stops, and review recovery and morning evidence.

Updated

SHORT ANSWER

What does Nightshift add to Claude Code, and how do I start?

Install the marketplace plugin, open the real project, run /nightshift:setup, write approved outcomes, and run /nightshift:start. Claude Code hooks return open items on ordinary completion; a separate watchman handles classified failures.

01

Install and start in Claude Code

Run the two marketplace commands in Claude Code, then Setup in the persistent project. Review gates and permissions before the first attended shift.

/plugin marketplace add orwa-mahmoud/nightshift
/plugin install nightshift
/nightshift:setup
/nightshift:start
Install reference ↗Worked overnight setup ↗
02

When Claude Code stops

A normal attempted end with open approved items gets the contract again. Escape and an owner STOP remain valid interruptions; permission waits and usage limits require their own diagnosis. API Error 500 is an upstream service failure, which the watchman can retry through only when evidence supports revival.

Early-stop checklist ↗API 500 diagnosis ↗
03

Review before accepting

Check the receipts, commit diffs, gate results, and parked decisions. A recovered headless conversation may leave an old panel visually stale; reopen it before sending another message. The public Claude Code-to-Cursor case shows a handoff after an owner stop, followed by human review.

Morning review ↗Public handoff evidence ↗
TRY IT

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.

/nightshift:setup
BOUNDARIES

What this workflow does not claim

  • An unattended session cannot approve permission prompts, so the first run should verify the chosen mode attended.
  • A headless continuation may require reopening the recorded conversation before interaction.
SOURCES

Evidence and sources

These links support the released behavior, public outcomes, or problem language described on this page.

Installation guideThe repository's released host installation and first-run guidance.Open evidence ↗Workflow contractThe shipped one-item loop, decision boundary, gates, recovery, and clock-out behavior.Open evidence ↗First-night checklistThe attended checks required before trusting an unattended run.Open evidence ↗
RELATED QUESTIONS

Continue from the question you have

use Claude Code to increase test coverageRead the answer →use Claude Code to improve a product overnightRead the answer →recover Claude Code after a crashRead the answer →