/onebrain:resumefrom onebrain
Loads the latest snapshot of an active pause thread and announces its state in chat so work can be picked up seamlessly. Supports explicit task slugs and idempotency checks.
Ships in onebrain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
/resume --task=<slug> was invoked with an explicit slug, validate BEFORE touching the pointer:
<slug> is not plain kebab-case (lowercase letters, digits, hyphens only — reject anything with glob or path characters like *, ?, [, /) → output "⚠️ Invalid thread name <slug>. Active thread unchanged." and stop. Never interpolate an unvalidated slug into the glob below.[logs_folder]/pause/*-{slug}-pause-*.md. ≥1 match → set active_slug = <slug> and overwrite _active.md to match (this enables switching from one paused thread to another), then continue to Step 2. If the pointer write fails, output "⚠️ Could not update active pointer. Active thread unchanged." and stop — do not announce a thread the pointer does not record.<slug>. Active thread unchanged." and stop. Do NOT overwrite _active.md — a mistyped slug must not orphan the pointer or silently deactivate the current thread.[logs_folder]/pause/_active.md. If absent or empty → output "No active pause. คุยใหม่ได้เลย" and stop. If present, parse the single-line content as active_slug.[logs_folder]/pause/*-{active_slug}-pause-*.md.<slug> but no pause file found. Run /doctor." and stop.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).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.Read the file. Extract: ## Where I Stopped, ## Resume With, ## Key Decisions, count of ## Action Items items (lines matching - [ ] ), count of ## Open Questions items.
Output (Interactive profile — full markdown rendering, agent treats this as loaded working context for the next user message):
🔄 Resumed from {slug}-pause-{NN} ({YYYY-MM-DD})
**Where I Stopped:** {text}
**Resume With:** {text}
**Key Decisions (last pause):**
- {bullet}
- {bullet}
**Open Questions:** {Q_count} · **Action Items:** {A_count}
พร้อมทำต่อ — เริ่มเลย
After announcing, the agent treats the loaded content as the active context for the upcoming user turn. Do NOT re-read the pause file on the next user message unless the user explicitly asks for details not announced.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub onebrain-ai/onebrain --plugin onebrain32 skills in this plugin
/bookmarkQuick URL bookmark capture : paste a link, AI generates name and description, suggests category, saves to Bookmarks.md in awesome-list format. Invoke when user wants to save a URL for later — bare URL with no other context defaults to this. Do NOT use for: deeply processing or summarizing the URL content now (use summarize), saving a note that is not a URL (use capture), or researching a topic from scratch (use research)./braindumpCapture a stream of raw thoughts : classify them and file to inbox with action items extracted. Use when the user signals a free-form, stream-of-consciousness dump with multiple unrelated threads — 'let me dump everything on my mind'. Do NOT use for: a single titled idea (use capture), saving a URL (use bookmark), or anything structured and focused./captureQuick note capture with automatic wikilink suggestions to related existing notes. Use when the user wants to save a single, specific, titled idea, insight, or piece of information to the vault. Do NOT use for: unstructured multi-thread thought dumps (use braindump), saving a URL for later (use bookmark), deeply summarizing an article or URL (use summarize), processing a book (use reading-notes), or teaching the agent a preference (use learn)./cloneClone your agent's portable context (agent folder including MEMORY.md) to a folder for transfer to another vault. Use only when the user explicitly wants to migrate or copy agent memory to a new vault. Do NOT use for: backing up the whole vault, updating OneBrain (use update), or reviewing memory (use memory-review)./connectFind connections between notes and suggest wikilinks to strengthen the knowledge graph. Use when the user wants to discover how existing notes relate to each other — 'find connections', 'what links to this note', 'strengthen my graph'. Do NOT use for: creating new notes (use capture), processing inbox (use consolidate), or searching for specific content (search directly)./consolidateReview inbox and recent notes, synthesize and merge into the knowledge base. Use when the user wants to process, organize, or clear the inbox regardless of topic — 'clean up my inbox', 'process my notes'. Do NOT use for: capturing new information now (use capture or braindump), synthesizing already-vaulted notes on a specific topic (use distill — consolidate works on the inbox), or finding note connections (use connect).Other plugins' skills for the same job