stop — скилл для Claude Code: что делает и как установить
Скилл stop для Claude Code приостанавливает смену Nightshift и оставляет незавершённые задачи открытыми. Запускает безопасное завершение смены по команде остановить работу.
MIT ★ 571 обновлён 2026-11-16
npx skills add orwa-mahmoud/nightshift --skill stop -a claude-codeЧто делает stop
Скилл вызывает stop-shift, чтобы немедленно поставить открытую в проекте смену на паузу. Вспомогательная команда записывает причину и время в $NS/STOP, добавляет отметку в журнал и останавливает только проверенный процесс Nightshift watchman. Счётчик открытых задач нужно сообщить после запуска.
Список задач, дедлайн и рабочие файлы остаются на диске; открытые пункты не закрываются. Маркер паузы создаёт сам помощник, а не ручная запись: работа через touch срабатывает только при следующем событии Stop или пробуждении watchman. Для остановки используется "$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" stop-shift; в PowerShell предусмотрен отдельный скрипт ns.ps1.
Какие задачи решает
- приостановить текущую смену Nightshift
- оставить незавершённые пункты открытыми
- сохранить дедлайн и список задач при остановке
- записать остановку в журнал смены
Примеры запросов агенту
- Останови текущую смену Nightshift и оставь незавершённые задачи открытыми.
- Поставь смену на паузу сейчас, сохрани дедлайн и сообщи число открытых пунктов.
- Выполни безопасную остановку Nightshift, не закрывая список задач.
Как установить stop
1Через Skills CLI (Vercel)
npx skills add orwa-mahmoud/nightshift --skill stop -a claude-code2Вручную: положить файлы
~/.claude/skills/stop/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/stop/
1Через Skills CLI (Vercel)
npx skills add orwa-mahmoud/nightshift --skill stop -a codex2Вручную: положить файлы
.agents/skills/stop/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add orwa-mahmoud/nightshift --skill stop -a cursor2Вручную: положить файлы
.cursor/skills/stop/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install orwa-mahmoud/nightshift plugins/nightshift/skills/stop2Вручную: положить файлы
.github/skills/stop/SKILL.md1Через Skills CLI (Vercel)
npx skills add orwa-mahmoud/nightshift --skill stop -a gemini-cli2Командой платформы
gemini skills install https://github.com/orwa-mahmoud/nightshift --path plugins/nightshift/skills/stopВручную: положить файлы
.devin/skills/stop/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add orwa-mahmoud/nightshift --skill stop -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о stop
Как установить stop в Claude Code?
Выполни npx skills add orwa-mahmoud/nightshift --skill stop -a claude-code. Файл скилла устанавливается в ~/.claude/skills/stop/SKILL.md.
Что делает скилл stop?
Он останавливает смену Nightshift, записывает причину и время остановки и оставляет открытые задачи и дедлайн на диске.
Как возобновить смену после stop?
В Claude Code запусти /nightshift:start. Start снимает маркеры паузы и начинает новую аренду владения.
Исходный текст
SKILL.md · MIT
---
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:
```bash
"$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.
© orwa-mahmoud · MIT · orwa-mahmoud/nightshift