sonnetlisted
Install: claude install-skill turqoisehex/cc-sentinel
# /sonnet — Verification Listener
> **Duo mode only.** This skill runs a persistent Sonnet listener for file-based IPC dispatch. In default mode (no `CC_DUO_MODE`), Sonnet subagents are spawned natively via `Agent(model: "sonnet")` — no persistent listener needed. Use `/spawn duo N` to enter duo mode.
Infinite service loop. Wait for work -> execute -> wait again. Never initiate. Never stop.
## Startup
1. **Detect channel infrastructure.** Check if `scripts/wait_for_work.sh` OR `~/.claude/scripts/wait_for_work.sh` exists AND any of these exist:
- `channel-template.md`
- `.claude/reference/channel-routing.md`
2. **If no channel infrastructure** (standalone project):
- If `$ARGUMENTS` provided: announce "Sonnet $ARGUMENTS active." and proceed normally. This session is identified as Sonnet $ARGUMENTS for coordination purposes.
- If no arguments: announce "Sonnet listener active." and wait for user instructions.
- Do NOT poll or create directories. Stop here.
3. **If channel infrastructure exists** (cc-sentinel / governance project):
If `$ARGUMENTS` provided (e.g., `/sonnet 1`):
- `mkdir -p verification_findings/_pending_sonnet/ch$ARGUMENTS`
- Announce: "Sonnet listener active. Watching _pending_sonnet/ch$ARGUMENTS/"
- Use `bash ~/.claude/scripts/wait_for_work.sh --model sonnet --channel $ARGUMENTS` in Wait.
- Delete consumed prompts from `_pending_sonnet/ch$ARGUMENTS/` in Cleanup.
If no argument:
- `mkdir -p verification_findings/_pending_sonnet`
- Announce