Design & UX · Planning
pause
/pause
Use when the operator wants to pause a live /design session and save resumable state to the issue.
For whom
- Author
- character-ai ↗
- Repository
- larch ↗
- Licence
- MIT
- Last repository change
- 08.09.2026
Assessment and security
95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 3
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 08.09.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What to check before installing
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/test-pause-skill.sh
What it does and when to use it
Use when the operator wants to pause a live /design session and save resumable state to the issue.
Original author description
Use when the operator wants to pause a live /design session and save resumable state to the issue.
How it works
- Verification
Original SKILL.md headings · 68 lines, 311 words
SKILL.md preview
---
# larch-run-lifecycle: shared-v1 skill=pause
name: pause
description: Use when the operator wants to pause a live /design session and save resumable state to the issue.
---
**MANDATORY: Follow the complete shared lifecycle contract in `${CLAUDE_PLUGIN_ROOT}/skills/shared/run-lifecycle.md` with declared skill `pause`.**
# /larch:pause
**MANDATORY: READ ENTIRE FILE before composing user-facing prose: `${CLAUDE_PLUGIN_ROOT}/skills/shared/readability-style.md`.**
Pause a running `/design` session on this Claude PID. Takes no arguments.
## Verification
After running the script, verify the parsed `PAUSE_OK` value. `PAUSE_OK=true`
is the only success path for a live session; it prints the saved `STEP` and
`RUN_ID`. `PAUSE_OK=false` prints the helper `ERROR=` token and exits non-zero.
When no live `/design` env is present, verify that the script prints the
"nothing to pause" info line and exits 0 without invoking the save helper.
Run this single foreground Bash block:
```bash
set -euo pipefail
ENV_FILE="$HOME/.cache/larch/sessions/current-design-env-$PPID.sh"
if [ ! -f "$ENV_FILE" ]; then
printf '%s\n' "**ℹ /larch:pause: no live /design session detected on this PID; nothing to pause.**"
exit 0
fi
# shellcheck disable=SC1090
source "$ENV_FILE" || true
if [ -z "${DESIGN_TMPDIR:-}" ] || [ -z "${ISSUE_NUMBER:-}" ]; then
printf '%s\n' "**ℹ /larch:pause: no live /design session detected on this PID; nothing to pause.**"
exit 0
fi
REPO="${REPO:-}"
if [ -z "$REPO" ] && [ -n "${CLAUDE_PLUGIN_ROOT:-}" ]; then
REPO=$("${CLAUDE_PLUGIN_ROOT}/scripts/larch.sh" gh resolve-repo 2>/dev/null || true)
fi
printf '%s\n' "🛑 /larch:pause: saving state for issue #${ISSUE_NUMBER}..."
mkdir -p "$DESIGN_TMPDIR"
pause_args=(
"$CLAUDE_PLUGIN_ROOT/scripts/larch.sh" design pause-save
--design-tmpdir "$DESIGN_TMPDIR"
--issue "$ISSUE_NUMBER"
)
if [ -n "$REPO" ]; then
pause_args+=(--repo "$REPO")
fi
pause_out=$("${pause_args[@]}")
printf '%s\n' "$pause_out" > "$DESIGN_TMPDIR/pause-save.out"
pause_ok=$(printf '%s\n' "$pause_out" | CLAUDE_PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT" "${CLAUDE_PLUGIN_ROOT}/scripts/larch.sh" kv get --key PAUSE_OK --match last)
step=$(printf '%s\n' "$pause_out" | CLAUDE_PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT" "${CLAUDE_PLUGIN_ROOT}/scripts/larch.sh" kv get --key STEP --match last)
run_id=$(printf '%s\n' "$pause_out" | CLAUDE_PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT" "${CLAUDE_PLUGIN_ROOT}/scripts/larch.sh" kv get --key RUN_ID --match last)
err=$(printf '%s\n' "$pause_out" | CLAUDE_PLUGIN_ROOT="$CLAUDE_PLUGIN_ROOT" "${CLAUDE_PLUGIN_ROOT}/scripts/larch.sh" kv get --key ERROR --match last)
if [ "$pause_ok" = "true" ]; then
printf '%s\n' "✅ /larch:pause: state saved (STEP=${step}, RUN_ID=${run_id}) — re-invoke /design ${ISSUE_NUMBER} to resume"
exit 0
fi
printf '%s\n' "**⚠ /larch:pause: save failed — ${err:-unknown}; see $DESIGN_TMPDIR/execution-issues.md**"
exit 1
```
Files in this package (3)
- SKILL.md 3 KB
- scripts/test-pause-skill.md 1 KB
- scripts/test-pause-skill.sh 5 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · character-ai/larch | 95 | MIT |
| wrg32786/aigent-os | 100 | MIT |
| shakacode/agent-workflows | 100 | MIT |
| ialameh/sift-coder | 100 | MIT |
| Everyone-Needs-A-Copilot/claude-copilot | 90 | MIT |
Database snapshot: 13.11.2026 · package version 6eb40f9ad8bf (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90safe-pause
Use when the user says "safe pause", "pause safely", "bring this to a stop", "wind down", "stop at the next boundary", or wants a running session and its subagents brought to a resumable stop at a task, milestone or project boundary. Also for "pause now" when work must stop at the last green point. - 100pause-and-resume
Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the user later says continue. Use only when the user explicitly requests this pause workflow. Do not use for crashes, app shutdown, new-session handoffs,… - 100ctx-pause
Pause context hooks for this session. Use when context nudges aren't needed for the current task. - 96save-decisions
Save the decisions, progress, and open work from the current session into the project's docs, so the session can be cleared without losing anything. Use when the user runs /save-decisions, or says "save decisions", "write down what we decided", or "before I clear". - 86design
Pipeline phase skill for state `design`. Use when current_state is design. - 100dbs-save
把当前诊断的关键状态存到本地,下次回来可以接着用。 触发方式:/dbs-save、/存档、「保存这次诊断」「记下来」「这个结论留着」 Save the current diagnosis state to disk for cross-session recall. Trigger: /dbs-save, "save this diagnosis", "remember this