← ClaudeAtlas

resumelisted

Load the latest snapshot of an active pause thread and announce its state in chat. Use when user signals they want to continue work that was paused — 'resume', 'กลับมาทำต่อ', 'pick up', 'continue from where I left off', 'ที่ค้างไว้'. Reads from 07-logs/pause/. Idempotent — running in same session as the pause is a no-op. Do NOT use for: starting fresh work (just talk), recap of past sessions (use /distill or /search), promoting insights (use /recap).
onebrain-ai/onebrain · ★ 10 · AI & Automation · score 79
Install: claude install-skill onebrain-ai/onebrain
# /resume — Load Active Pause Thread (TL;DR) Reads the latest snapshot of the active pause thread and announces its state in chat so the agent and user can pick up seamlessly. Has no effect if there is no active thread. --- ## Step 1: Resolve Active Thread 1. Read `[logs_folder]/pause/_active.md`. If absent or empty → output "No active pause. คุยใหม่ได้เลย" and stop. 2. Parse the single-line content as `active_slug`. 3. If `/resume --task=<slug>` was invoked with explicit slug → use `<slug>` and overwrite `_active.md` to match (this enables switching from one paused thread to another). --- ## Step 2: Locate Latest Pause File 1. Glob `[logs_folder]/pause/*-{active_slug}-pause-*.md`. 2. Sort by NN descending (tiebreak: date prefix descending). Pick the first. 3. If no file matches (orphan pointer): output "⚠️ Active pointer references `<slug>` but no pause file found. Run /doctor." and stop. --- ## Step 3: Idempotency Check 1. Read the file's frontmatter `session_token`. If frontmatter is absent, malformed, or `session_token` cannot be parsed → skip this idempotency check and proceed to Step 4 (treat as a fresh resume). 2. If `session_token` parsed cleanly AND equals the current session token → output "Still in active thread `<slug>`. Already resumed." and stop. Do NOT re-announce content. --- ## Step 4: Load & Announce Read the file. Extract: `## Where I Stopped`, `## Resume With`, `## Key Decisions`, count of `## Action Items` items (lines matching `- [ ] `), cou