nazgulpauselisted
Install: claude install-skill OrodruinLabs/nazgul
# Nazgul Pause
## Examples
- `/nazgul:pause` — Pause the loop at the next iteration boundary
## Current State
- Config: !`cat nazgul/config.json 2>/dev/null || echo "NOT_INITIALIZED"`
- Paused: !`jq -r '.paused // false' nazgul/config.json 2>/dev/null || echo "unknown"`
## Instructions
Gracefully pause the Nazgul autonomous loop so it stops at the next iteration boundary.
### Step 1: Check Initialization
If the config shows "NOT_INITIALIZED":
- Output: "Nazgul not initialized. Run `/nazgul:init` first."
- Stop here.
### Step 2: Check Current Pause State
Read `nazgul/config.json` and check the `paused` field.
If already paused (`"paused": true`):
- Output: "Nazgul is already paused. Run `/nazgul:start` to resume."
- Stop here.
### Step 3: Set Pause Flag
Use `jq` to set `"paused": true` in `nazgul/config.json`:
```bash
jq '.paused = true' nazgul/config.json > nazgul/config.json.tmp && mv nazgul/config.json.tmp nazgul/config.json
```
### Step 4: Generate Handoff Document
After setting `paused: true`, generate `nazgul/HANDOFF.md` for human consumption:
1. Read `nazgul/config.json` for: iteration count, max iterations, mode, objective
2. Scan all `nazgul/tasks/TASK-*.md` files to gather status counts and details
3. Read any ADR files in `nazgul/docs/` for decisions made
4. Read blocked tasks for gotchas
Write `nazgul/HANDOFF.md`:
```markdown
# Nazgul Handoff — [date]
## Status
Iteration [current]/[max] | Mode: [hitl/afk] | Paused at: [timestamp]
## Objective
[cu