using-brainpalace

Solid

Expert BrainPalace skill for document search with BM25 keyword, semantic vector, hybrid, graph, multi, compute, scan, absence, and timeline retrieval modes. Use when asked to "search documentation", "query domain", "find in docs", "bm25 search", "hybrid search", "semantic search", "graph search", "multi search", "compute query", "scan sessions", "absence query", "timeline query", "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). S

AI & Automation 2 stars 0 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 81/100

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

Skill Content

# BrainPalace Expert Skill Search indexed docs / code with five modes: BM25 (keyword), Vector (semantic), Hybrid (fusion), Graph (knowledge graph), Multi (comprehensive fusion). This is the **search decision contract**. Operational reference (indexing, injection, jobs, cache, server lifecycle, per-mode deep dives) lives in the **Reference Documentation** table at the end — look it up on demand; the CLI's own `--help` is authoritative for flags. **BrainPalace is indexed for this project — search via `brainpalace query`, not Glob/Grep.** Route by query type: exact symbol/token/path → `--mode bm25` (keyword index, **no embedding round-trip** — ms latency, as fast as grep); concept → `--mode vector`/`hybrid`; relationships → `--mode graph`. Server down? Start it: `brainpalace start`; if it answers `503` "rehome pending" the project MOVED — run `brainpalace rehome --resume` (or restart; it auto-resumes) first. `brainpalace query --json` keys are `text`/`source`/`score`/`chunk_id`/`start_line`/`end_line` (no `file_path`; lines null off-code); on failure stdout is `{"error": ...}` with no `results` key and a non-zero exit — check it, never append `2>/dev/null`. ## Mode Decision Table — Quick Reference 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 c...

Details

Author
bxw91
Repository
bxw91/brainpalace
Created
1 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category