archive
File a finished shift into its own archive folder, laid out like the live site, so the live files keep only open work.
Drop the runtime markers and deadline after damaged or confusing runtime state, without deleting the owner's work or evidence.
Claude Code
$ npx -y skills add orwa-mahmoud/nightshift --skill reset --agent claude-code
Codex
$ npx skills add orwa-mahmoud/nightshift --skill reset -a codex -y
Cursor
$ npx skills add orwa-mahmoud/nightshift --skill reset -a cursor -y
Gemini CLI
$ npx skills add orwa-mahmoud/nightshift --skill reset -a gemini-cli -y
GitHub Copilot
$ npx skills add orwa-mahmoud/nightshift --skill reset -a github-copilot -y
OpenCode
$ npx skills add orwa-mahmoud/nightshift --skill reset -a opencode -y
Windsurf
$ npx skills add orwa-mahmoud/nightshift --skill reset -a windsurf -y
name: reset description: Drop the runtime markers and deadline after damaged or confusing runtime state, without deleting the owner's work or evidence. license: MIT metadata: internal: true
Reset runtime mechanics for the host-opened project. This recovers from damaged or confusing runtime state. It does not delete the punch list, rules, history, or `.nightshift/` itself.
Resolve the installed plugin root to an absolute `$NIGHTSHIFT_PLUGIN_ROOT` — `${CLAUDE_PLUGIN_ROOT}` on Claude Code, `$PLUGIN_ROOT` on Codex when set, otherwise the absolute path this skill was attached from (`skills/reset/SKILL.md`). Run every command below through `"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns"` — native Windows: `& "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\ns.ps1"` in the PowerShell tool, same verbs — which resolves the host and the workspace; `ns help` lists the verbs, and `ns bind` prints the six resolved facts (`TASK_ROOT`, `NIGHTSHIFT_WORKSPACE`, `NS`, `NIGHTSHIFT_PLUGIN_ROOT`, `HOST`, `SOURCE`); `$NS` below is that `NS`. Never a bare relative path: the working directory persists between calls. Each `$NS/...` path below is where the current layout keeps that file; `ns path <key>` prints where this workspace keeps it, and `ns path --list` names every key.
Run the trusted helper. Do not delete runtime files by hand:
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" reset-shift
The helper first performs Stop (pause and disarm), then removes the current deadline, leftover `STOP`, and temporary session, recovery, watchman, lease, and mutex markers. It preserves the punch list and unfinished items, rules, parking lot, work orders, receipts, archives, research, opportunities, snag log, shift log, and workspace configuration such as work-target and work-mode. A second Reset is safe. It never deletes `.nightshift/`.
Report that the deadline was removed and that durable files remain. The plugin install is untouched. Start after Reset writes a new deadline only when Hunt, a work order, or the owner supplies one — it does not invent a time budget.
Nightshift is a plugin for Claude Code, Codex, and Cursor. Plan Take your plan further. Before the first write, bring the hard questions into the plan room. Compare approaches, set the boundaries, and choose the evidence for each task.
File a finished shift into its own archive folder, laid out like the live site, so the live files keep only open work.
Show every setting, template and catalog entry on one screen, and change only what the owner names.
Read-only diagnosis of the workspace, rules, markers, lease, watchman and deadline, with classified next actions; never repairs…
Turn a request like "improve this project for 5 hours" into a shift from the ready catalog and start it, asking only for the…
Stage explicitly selected GitHub issues onto the drafting table as quoted source; never searches or writes back.
Work a punch list to completion autonomously, overnight, through a todo list or until a product is polished, parking decisions…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…