# After Hours Stop

> Stop an active /after-hours unattended loop for this repo. Kills the wake sleeper, finalizes the morning report, and marks state stopped. Use when the user runs /after-hours-stop or asks to cancel after-hours.

- Skill: `dca23/after-hours-stop` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dca23/after-hours-stop`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dca23/after-hours-stop/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: DCa23 (https://skillmd.com/u/dca23)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/dca23/after-hours-stop

---


# After Hours Stop

Stop the unattended after-hours loop cleanly.

## Steps

1. Read `.after-hours/state.md` if it exists. If missing, say no active after-hours session and stop.
2. If `loop_pid` is set, kill that PID (and its process group if needed). Await the shell task so completion notifications are consumed and do not wake the agent later.
3. Set in state: `status: stopped` and clear `loop_pid`.
4. Finalize `docs/after-hours/YYYY-MM-DD.md` using the `started` date from state:
   - Replace the Summary with what was accomplished, what was left unfinished, and suggested next human steps.
   - Do not delete existing commit sections.
5. Confirm: stopped at iteration N, report path, branch tip if known.

## Rules

- Do not revert commits or delete the morning report.
- Do not push unless the user explicitly asks.
- You may edit only `.after-hours/state.md` and the morning report file.

