Skill: Pace
Purpose
Persist the user's explicit choice of pace mode — how visibly the analytical
machinery surfaces during L3+ analyses. Pace is orthogonal to complexity level
(L1–L5). Level decides which agents run; pace decides how visible the work is.
Modes
| Mode |
Behavior |
guided |
Announce each phase, run it, pause and wait for /continue before the next phase |
narrated |
Announce each phase, run it, announce the result, continue to the next phase without pausing (the safe default) |
autopilot |
Silent end-to-end. No phase banners. The final message is the user's first look at the work: open with the outcome, then findings, then what is next, written for a reader who saw none of the run. |
Invocation
The user types one of:
/pace guided
/pace narrated
/pace autopilot
/pace (no argument) — show the current mode and the three options
- Natural language: "slow down, pause between steps" → guided; "just run it silently" → autopilot; "narrate but don't stop" → narrated
Behavior
- Resolve the target mode. If the argument is one of
guided|narrated|autopilot,
use it. If no argument, print the current mode (read from
working/session_state.yaml → pace_mode) and the three options. Stop.
- Validate. If the argument is anything else, echo the three valid modes
and ask which one the user wants. Do NOT guess or silently fall back.
- Read existing state. Load
working/session_state.yaml if it exists;
otherwise start with an empty dict. Preserve every other key.
- Write atomically. Write the updated YAML to
working/session_state.yaml.tmp, then rename to working/session_state.yaml.
This prevents corruption if the process is interrupted mid-write.
- Confirm to the user. One line:
guided → "Pace set to guided. I'll pause after each phase and wait for /continue."
narrated → "Pace set to narrated. I'll announce each phase and run end-to-end."
autopilot → "Pace set to autopilot. I'll run silently and show you the final output."
- Apply on next phase boundary. If an analysis is already in flight, the
new mode takes effect starting with the next phase. Tell the user so.
Never switch mid-phase — it produces inconsistent banner state.
Failure Handling
- Write fails (permissions, disk full, working/ missing): honor the mode
in the current session in memory and warn: "Pace set to {mode} for this
session, but I couldn't write
working/session_state.yaml ({reason}). Run
/pace {mode} again after resume to restore it."
- YAML parse fails on existing file: back up the broken file to
working/session_state.yaml.broken-{timestamp}, write a fresh one with just
pace_mode, and tell the user. Never overwrite without backing up.
- No
working/ directory: create it (mkdir -p working), then proceed.
Implementation
Use Python for atomic write and YAML safety. Keep it minimal:
import yaml, os, pathlib, datetime
STATE_PATH = pathlib.Path("working/session_state.yaml")
def set_pace(mode: str) -> tuple[bool, str]:
assert mode in {"guided", "narrated", "autopilot"}
STATE_PATH.parent.mkdir(parents=True, exist_ok=True)
state = {}
if STATE_PATH.exists():
try:
state = yaml.safe_load(STATE_PATH.read_text()) or {}
except yaml.YAMLError:
bak = STATE_PATH.with_suffix(
f".yaml.broken-{datetime.datetime.now().strftime('%Y%m%dT%H%M%S')}"
)
STATE_PATH.rename(bak)
state = {}
state["pace_mode"] = mode
tmp = STATE_PATH.with_suffix(".yaml.tmp")
try:
tmp.write_text(yaml.safe_dump(state, sort_keys=False))
os.replace(tmp, STATE_PATH)
return True, ""
except OSError as e:
return False, str(e)
Edge Cases
- Mid-phase invocation: honor at next phase boundary, not immediately. Tell the user.
- No L3+ analysis running: still persist the mode. It applies to the next one.
- User types
/pace during a guided pause: show current mode + options, do not consume the pause.
working/session_state.yaml already has other keys (from session-handoff, resume-pipeline): preserve them all; only touch pace_mode.
See Also
- Full pace-mode spec and auto-detection rules:
.claude/skills/question-router/SKILL.md → "Step 3.5: Pace Mode Selection" and "Phase Banner Format".
- Session state schema and other persisted keys:
.claude/skills/session-handoff/SKILL.md.
1---2name: pace3description: Change how visibly Claude surfaces analytical work during L3+ analyses. Three modes — guided (announce each phase and pause for /continue), narrated (announce each phase and run end-to-end), autopilot (silent end-to-end, final output only). Use this skill whenever the user invokes `/pace`, `/pace guided`, `/pace narrated`, `/pace autopilot`, or says things like "slow down and walk me through", "pause between steps", "just run it silently", "narrate each step", "don't stop to ask me", "stop narrating". Pace is orthogonal to complexity level — it changes surfacing, not which agents run. Full spec and phase-banner format live in the question-router skill. This skill is the write-side: it persists the user's explicit pace choice to `working/session_state.yaml` so it survives across phases, across `/resume-pipeline`, and across sessions.4---56# Skill: Pace78## Purpose910Persist the user's explicit choice of **pace mode** — how visibly the analytical11machinery surfaces during L3+ analyses. Pace is orthogonal to complexity level12(L1–L5). Level decides which agents run; pace decides how visible the work is.1314## Modes1516| Mode | Behavior |17|------|----------|18| `guided` | Announce each phase, run it, **pause** and wait for `/continue` before the next phase |19| `narrated` | Announce each phase, run it, announce the result, continue to the next phase without pausing (the safe default) |20| `autopilot` | Silent end-to-end. No phase banners. The final message is the user's first look at the work: open with the outcome, then findings, then what is next, written for a reader who saw none of the run. |2122## Invocation2324The user types one of:25- `/pace guided`26- `/pace narrated`27- `/pace autopilot`28- `/pace` (no argument) — show the current mode and the three options29- Natural language: "slow down, pause between steps" → guided; "just run it silently" → autopilot; "narrate but don't stop" → narrated3031## Behavior32331. **Resolve the target mode.** If the argument is one of `guided|narrated|autopilot`,34 use it. If no argument, print the current mode (read from35 `working/session_state.yaml` → `pace_mode`) and the three options. Stop.362. **Validate.** If the argument is anything else, echo the three valid modes37 and ask which one the user wants. Do NOT guess or silently fall back.383. **Read existing state.** Load `working/session_state.yaml` if it exists;39 otherwise start with an empty dict. Preserve every other key.404. **Write atomically.** Write the updated YAML to41 `working/session_state.yaml.tmp`, then rename to `working/session_state.yaml`.42 This prevents corruption if the process is interrupted mid-write.435. **Confirm to the user.** One line:44 - `guided` → "Pace set to **guided**. I'll pause after each phase and wait for `/continue`."45 - `narrated` → "Pace set to **narrated**. I'll announce each phase and run end-to-end."46 - `autopilot` → "Pace set to **autopilot**. I'll run silently and show you the final output."476. **Apply on next phase boundary.** If an analysis is already in flight, the48 new mode takes effect starting with the **next** phase. Tell the user so.49 Never switch mid-phase — it produces inconsistent banner state.5051## Failure Handling5253- **Write fails** (permissions, disk full, working/ missing): honor the mode54 in the current session **in memory** and warn: "Pace set to {mode} for this55 session, but I couldn't write `working/session_state.yaml` ({reason}). Run56 `/pace {mode}` again after resume to restore it."57- **YAML parse fails on existing file**: back up the broken file to58 `working/session_state.yaml.broken-{timestamp}`, write a fresh one with just59 `pace_mode`, and tell the user. Never overwrite without backing up.60- **No `working/` directory**: create it (`mkdir -p working`), then proceed.6162## Implementation6364Use Python for atomic write and YAML safety. Keep it minimal:6566```python67import yaml, os, pathlib, datetime6869STATE_PATH = pathlib.Path("working/session_state.yaml")7071def set_pace(mode: str) -> tuple[bool, str]:72 assert mode in {"guided", "narrated", "autopilot"}73 STATE_PATH.parent.mkdir(parents=True, exist_ok=True)7475 state = {}76 if STATE_PATH.exists():77 try:78 state = yaml.safe_load(STATE_PATH.read_text()) or {}79 except yaml.YAMLError:80 bak = STATE_PATH.with_suffix(81 f".yaml.broken-{datetime.datetime.now().strftime('%Y%m%dT%H%M%S')}"82 )83 STATE_PATH.rename(bak)84 state = {}8586 state["pace_mode"] = mode87 tmp = STATE_PATH.with_suffix(".yaml.tmp")88 try:89 tmp.write_text(yaml.safe_dump(state, sort_keys=False))90 os.replace(tmp, STATE_PATH)91 return True, ""92 except OSError as e:93 return False, str(e)94```9596## Edge Cases9798- **Mid-phase invocation**: honor at next phase boundary, not immediately. Tell the user.99- **No L3+ analysis running**: still persist the mode. It applies to the next one.100- **User types `/pace` during a guided pause**: show current mode + options, do not consume the pause.101- **`working/session_state.yaml` already has other keys** (from session-handoff, resume-pipeline): preserve them all; only touch `pace_mode`.102103## See Also104105- Full pace-mode spec and auto-detection rules: `.claude/skills/question-router/SKILL.md` → "Step 3.5: Pace Mode Selection" and "Phase Banner Format".106- Session state schema and other persisted keys: `.claude/skills/session-handoff/SKILL.md`.