search

Solid

General vault retrieval — answers both "what" and "why" questions across MEMORY.md, memory/, session logs, project trackers, and vault notes. Uses the search tools (lex+vec+hyde) with grep fallback.

AI & Automation 28 stars 3 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
49
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /search — General vault retrieval ## Purpose First-class retrieval skill that answers both **what** and **why** questions across all knowledge layers in the OneBrain vault. Distinct from existing skills: - `/distill` synthesizes a topic into a *new persisted note* (write); /search is read-only - `/recap` promotes session insights to *memory/* (write); /search is read-only - A direct search query gives content matches; /search ranks by question type and surfaces decision chains ## Sources searched (in order of relevance) 1. `[agent_folder]/MEMORY.md` — always-loaded persona/active-projects 2. `[agent_folder]/memory/*.md` — match via MEMORY-INDEX topics 3. `[logs_folder]/session/**/*-session-*.md` — past session logs 4. `[projects_folder]/**/*.md` — project notes including embedded specs/plans/design docs 5. Project tracker decisions log tables (project MOCs under `[projects_folder]/`) 6. Vault notes (`[knowledge_folder]/`, `[resources_folder]/`, `[areas_folder]/`) 7. `[logs_folder]/checkpoint/*.md` — in-session-state recovery (for current-day questions) ## Tools used - **Search tools lex+vec+hyde** if `search.collection` is configured in onebrain.yml (legacy top-level `qmd_collection` still honored) (preferred) — follows the cascade in `skills/startup/SEARCH.md` - **Glob + Grep fallback** per the cascade's fallback triggers, or unconditionally if the search tools are unavailable - **Heuristic question-type detection**: matches `^why\b` (or the agent's bilingual intent...

Details

Author
onebrain-ai
Repository
onebrain-ai/onebrain
Created
5 months ago
Last Updated
1 weeks ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

vault-search

Use proactively mid-task, on your own initiative, whenever past work might already cover the current step — before re-fixing a recurring or previously-seen bug, touching an unfamiliar subsystem, or making a risky/hard-to-reverse change — not only when asked. Also when the user wants to recall prior context: 'what did we decide about X', 'find everything about Y', 'что мы решили про', 'что мы знаем', 'как мы делали', 'когда последний раз', 'такое уже было', 'вспомни', 'напомни', 'посмотри в памяти', 'найди в памяти', 'как решали', 'где ещё может быть', 'что было с', or similar. Synthesizes across notes with source citations; prefer over generic memory tools when an Obsidian vault is available.

6 Updated 6 days ago
jojoprison
AI & Automation Listed

brain-search

Read the user's private Second Brain vault — decisions and their reasoning, people, meetings, project history, open actions. Use when a task turns on something the user already wrote down, or when they say "my brain", "my notes", "my vault", or ask what they recorded about something.

3 Updated 3 weeks ago
wzslr321
Code & Development Listed

vault-retrieve

Answer a question from the vault — generate the query fan-out, read every match, and return the relevant content verbatim with its paths. Use when Shane says "what do my notes say about X", "search the vault for X", "pull everything on X", "check my notes before we start", or when any task needs vault context before it can proceed. Do NOT use to write or update notes (use /obsidian or /ingest), to find links between two known concepts (use /connect), or to trace how an idea changed over time (use /trace).

0 Updated 3 weeks ago
slogsdon