/onebrain:consolidatefrom onebrain
Processes inbox notes and recent captures, synthesizing and merging them into a permanent knowledge base. Useful for clearing and organizing notes.
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.
Process your inbox and recent captures into your permanent knowledge base.
List all files in [inbox_folder]/ (excluding .gitkeep). For each file:
Report: ────────────────────────────────────────────────────────────── 📥 Consolidate — {N} inbox items ──────────────────────────────────────────────────────────────
{filename} — {brief description}, {N tasks} tasks{filename} — {brief description}AskUserQuestion:
Before processing, dispatch one Inbox Classifier agent (agents/inbox-classifier.md) per selected inbox note in parallel (run_in_background: false, mode: "bypassPermissions"). Pass each note's note_path, note_content, vault_root, knowledge_folder, resources_folder, areas_folder, and projects_folder. Wait for all results before proceeding to Step 3.
Store each result as the default routing recommendation for that note. If a classifier call fails or returns an empty result, proceed without a recommendation for that note.
For each item:
Read the file fully. Use the pre-classification from Step 2.5 as the starting point. Confirm or adjust based on your own reading:
[knowledge_folder]/**/*.md, [resources_folder]/**/*.md, [projects_folder]/**/*.md, [areas_folder]/**/*.md). For search-tool results, only keep candidates with rerank_score ≥ 0.30 (prefer ≥ 0.60) — drop anything below 0.30.Primary signal (check first): If the inbox item has a source: frontmatter field matching /research, /summarize, or /reading-notes, route it directly to [resources_folder]/ : no judgment needed.
Secondary signal (for all other notes): Apply the content-type rule below.
Classify the item and route it to the appropriate folder:
[knowledge_folder]/[subfolder]/[resources_folder]/[subfolder]/[projects_folder]/[subfolder]/[areas_folder]/ : examples: health tracking, finances, career development, relationshipsConfirm routing with the user for the first 3 items. After that, proceed autonomously : or if the user says 'stop and confirm', return to confirmation mode for the next item.
Why front-load confirmations: The first 3 items calibrate the model's understanding of the user's routing preferences. After that pattern is established, autonomous routing reduces friction. Front-loading prevents the worst mistakes (wrong folder for the first batch) without slowing down the whole session.
[{n}/{N}] {filename} looks like {classification}
Route to {folder}/{subfolder}/?
Then AskUserQuestion:
Also show merge options if relevant:
I'd merge this into "Existing Note" : it adds context about [topic]. Or I could create a new note: "New Note Name". What do you prefer?
Mixed-content notes: If a single inbox item contains content that belongs in multiple folders (e.g., a braindump with both personal insights and project tasks), offer to split it: create separate notes for each content type, each routed to its correct folder. Ask the user to confirm before splitting.
Based on the routing decision above:
[knowledge_folder]/*/, [resources_folder]/*/, [projects_folder]/*/, or [areas_folder]/*/)science/biology)[destination-folder]/[suggested-path]/. OK?"[destination-folder]/[subfolder]/[Topic Name].md with proper frontmatter[archive_folder]/YYYY/MM/Add wikilinks connecting to at least one related note found in 3a that cleared the rerank_score ≥ 0.30 threshold (Grep-fallback candidates are unaffected). If none cleared it, omit ## Related rather than linking a weak match.
If inbox items contain unchecked tasks (- [ ]):
After an inbox item has been fully processed and its content merged/filed:
[archive_folder]/YYYY/MM/ (using today's date, don't delete it)Ask preference once: "After processing, should I archive originals or delete them?"
Report:
──────────────────────────────────────────────────────────────
📥 Inbox Processed — {N} notes
──────────────────────────────────────────────────────────────
Moved:
{filename} → {folder}/{subfolder}
Kept in inbox ({M}):
{filename} — {reason}
(omit "Kept in inbox" block if all items moved)
{P} tasks remain open across your vault. (omit if no open tasks) ────────────────────────────────────────────────────────────── {N} moved, {M} kept. Inbox {clear / down to M items}.
Empty state: ✅ Inbox is empty — nothing to process.
onebrain search reindex
Follow ../_shared/audit-log-format.md (canonical frontmatter, append-per-day algorithm, run-section heading, failure mode) with:
YYYY-MM-DD-consolidate.md — one file per day.[audit-log, consolidate]/consolidatePer-skill body template (canonical ## Run HH:MM heading; metadata in first bullet):
## Run HH:MM
- Inbox files processed: N
### Moved
- `[inbox_folder]/2026-05-10-ai-thoughts.md` → `[knowledge_folder]/ai/AI Architecture Thoughts.md` (new)
- `[inbox_folder]/2026-05-09-meeting-notes.md` → appended to `[projects_folder]/example/Project Name.md`
### Wikilinks added
- `03-knowledge/ai/AI Architecture Thoughts.md` ↔ `[[Agent Frameworks]]`, `[[OneBrain CLI]]`
### Skipped
- `00-inbox/2026-05-08-temp.md` — too short, asked user → kept in inbox
This skill is long-running. Emit a 1-line status update after each major step so the user can see progress in real time.
In-session format:
→ [step N/M] <action being taken>
Examples:
→ [step 1/5] reading inbox · 8 notes found...
→ [step 2/5] dispatching inbox-classifier in parallel...
→ [step 3/5] classifier returned recommendations...
→ [step 4/5] applying user decisions per note...
→ [step 5/5] moving notes + updating MEMORY-INDEX...
Rules:
→ [step N/M] prefix exactly so they're visually distinct from skill outputMixed-content notes. Braindumps often start with a personal insight but contain project tasks, external references, and reflections all in one file. Read the FULL note before classifying — the first paragraph can be misleading about the overall content type.
Tasks survive moves but can be duplicated by merges. When merging an inbox note into a destination, verify the write operation preserves unchecked - [ ] lines from the source note rather than dropping them. The Tasks plugin finds them wherever they live, but only if they aren't silently lost during the merge.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
32 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./npx claudepluginhub onebrain-ai/onebrain --plugin onebrainOther plugins' skills for the same job