← ClaudeAtlas

using-brainpalacelisted

Expert BrainPalace skill for document search with BM25 keyword, semantic vector, hybrid, graph, and multi retrieval modes. Use when asked to "search documentation", "query domain", "find in docs", "bm25 search", "hybrid search", "semantic search", "graph search", "multi search", "find dependencies", "code relationships", "searching knowledge base", "querying indexed documents", "finding code references", "exploring codebase", "what calls this function", "find imports", "trace dependencies", "brain search", "brain query", "knowledge base search", "cache management", "clear embedding cache", "cache hit rate", or "cache status". Supports multi-instance architecture with automatic server discovery. GraphRAG mode enables relationship-aware queries for code dependencies and entity connections. Pluggable providers for embeddings (OpenAI, Cohere, Ollama) and summarization (Anthropic, OpenAI, Gemini, Grok, Ollama). Supports multiple runtimes (Claude Code, OpenCode, Gemini CLI) with shared .brainpalace/ data directory.
bxw91/brainpalace · ★ 2 · AI & Automation · score 81
Install: claude install-skill bxw91/brainpalace
# BrainPalace Expert Skill Expert-level skill for BrainPalace document search with five modes: BM25 (keyword), Vector (semantic), Hybrid (fusion), Graph (knowledge graph), and Multi (comprehensive fusion). ## Mode Decision Table — Quick Reference Use this table to pick `--mode` for any inline search. Default to `hybrid` when unsure. | Query type | Mode | |---|---| | General / unknown | `--mode hybrid` | | Conceptual ("how does X work") | `--mode vector` | | Exact symbol / error / token / file path | `--mode bm25` | | Relationships ("what calls X", "what imports Y") | `--mode graph` | | Maximum recall (ALL usages / references) | `--mode multi` | ### Before Anything Else — Project Indexed Check Run this check **first**, before applying any rule below: ```bash brainpalace whoami # exits 0 (indexed + server up), 1 (no project), or 2 (indexed but server down) ``` Branch on exit code: - **Exit `0`** → project has `.brainpalace/` AND server is running. Skill applies. Continue reading below. - **Exit `1`** → no `.brainpalace/` in CWD or any ancestor. **Skill yields silently.** Use native Glob / Grep / Read tools for codebase search as normal. Optionally suggest the user run `brainpalace init` if they want indexed search. Do NOT print enforcement warnings. Do NOT block the task. - **Exit `2`** → project IS indexed but server not running. Skill applies but searches will fail until server starts. Follow the "When BrainPalace Server Is Down" branch below. If the `brain