Skip to content
Automation
Skill

/stop

Issue a stop-work order that pauses the shift now and leaves unfinished items open.

From plugin
nightshift
45317 skills

Claude Code

$ npx -y skills add orwa-mahmoud/nightshift --skill stop --agent claude-code

SKILL.md

stop.SKILL.md
name: stop
description: Issue a stop-work order that pauses the shift now and leaves unfinished items open.
license: MIT
metadata:
  internal: true

Pause the host-opened project immediately so the owner can edit the punch list and resume later.

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/stop/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 write `$NS/STOP` by hand, do not delete `$NS/run/.shift-armed`, and do not kill `$NS/run/.watchman` yourself — the helper performs the safe teardown:

"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" stop-shift

The helper writes `$NS/STOP` with a reason and UTC timestamp, appends `stopped by owner` to `$NS/run/shift-log.md`, and kills only a verified live Nightshift watchman. It does not remove `$NS/run/.shift-armed`. It drops `$NS/run/.shift-session` so the same conversation is not a second agent on the next Start. Open boxes stay open as the record. Hardhat stays until clock-out writes `$NS/run/.ended`. Reset is the manual escape. The deadline, punch list, rules, parking lot, work orders, receipts, archives, research, opportunities, and shift history stay on disk. Do not wait for a later Stop event to write the marker — the helper writes it now.

Report the helper's `open-items` count and that the deadline was preserved. A second Stop is safe.

Resume later with Start (`/nightshift:start` on Claude Code, or ask Nightshift to start on Codex). Start clears the pause markers and begins a new ownership lease. A future preserved deadline remains the deadline. An expired preserved deadline is not silently renewed: write a new UNIX epoch to `$NS/run/deadline`, or run Reset then Start.

This works from the bound conversation, from a helper conversation, and when a failed clock-out left a recovery nonce that still fences the recorded conversation.

**Panic form (does not disarm immediately):** from any POSIX terminal, `touch "$NS/STOP"`. In native Windows PowerShell, run `New-Item -ItemType File -Force "$NS\STOP"`. That marker is honored at the next Stop event or watchman wake. Prefer the helper when the model is stuck — it does not wait for that event.

Read more
@orwa-mahmoud
Ships withnightshift

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.

Stars on GitHub

Momentum

stars in total
453
Star history of orwa-mahmoud/claude-nightshift on GitHub, a chart by star-history.com

Other skills on nightshift.

archive

archive

File a finished shift into its own archive folder, laid out like the live site, so the live files keep only open work.

doctor

doctor

Read-only diagnosis of the workspace, rules, markers, lease, watchman and deadline, with classified next actions; never repairs…

hunt

hunt

Turn a request like "improve this project for 5 hours" into a shift from the ready catalog and start it, asking only for the…

nightshift

nightshift

Work a punch list to completion autonomously, overnight, through a todo list or until a product is polished, parking decisions…

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n2w209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about stop.

Which coding agents can use stop?
stop installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.