search

Retrieve answers and decision chains from OneBrain vault memory, sessions, and notes.

23|2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/onebrain-ai/onebrain --skill search-onebrain-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search
Source: https://github.com/onebrain-ai/onebrain/tree/main/.claude/plugins/onebrain/skills/search
Command: npx skills add https://github.com/onebrain-ai/onebrain --skill search-onebrain-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the frustration of hunting through scattered notes by instantly retrieving the right information—and reconstructing the reasoning behind it—across your OneBrain vault.

Core Features & Use Cases

  • What-mode retrieval: Synthesizes a direct answer from the most relevant sources in your memory, sessions, projects, and notes.
  • Why-mode decision tracing: Rebuilds a chronological decision chain for “why did/why is” questions using session logs and project decision records.
  • Smart routing and ranking: Detects question type, runs qmd (lex+vec+hyde) when configured, and falls back to glob+grep, then ranks and formats top results.

Quick Start

Ask the AI: “Why did we choose plan A for the next project milestone?”.

Frequently Asked Questions about search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find answers and reasons across my vault notes?

To find answers across your vault, this Skill retrieves information from memory, session logs, and project notes. It synthesizes direct factual answers using what-mode and reconstructs chronological decision chains for why-mode questions.

How does chronological decision tracing work for past project choices?

Decision tracing works by detecting why-mode questions and rebuilding a chronological decision chain. It queries session logs and project trackers to explain the reasoning behind specific past decisions or milestones.

Can I retrieve knowledge from my vault without configuring advanced search?

You can retrieve knowledge without advanced configuration because the Skill falls back to glob and grep methods. When qmd lex, vec, and hyde querying is configured, it uses that for smarter routing, but standard fallback works.

What is the difference between what-mode and why-mode knowledge search?

What-mode search synthesizes a direct factual answer from relevant sources, while why-mode search reconstructs chronological decision chains. The Skill automatically detects your question type to route queries appropriately.

How do I get full ranking results instead of just top matches?

To get full ranking results instead of top matches, use the all flag. This adjusts the output formatting to display the complete relevance-scored ranking rather than just the top-K formatted results.

Does knowledge search work with project trackers and session logs?

Knowledge search works directly with project trackers and session logs. It queries these records alongside memory and notes to retrieve answers and reconstruct the rationale behind your decisions.