wiki-retrieve
显著降低检索失败率,适合长期知识库与代理问答场景。
通过 bash 安装脚本配置,可能会执行/拉取外部脚本或资源;需审阅权限与来源。
在 Obsidian Vault 上用混合检索(BM25+语义重排)做 chunk 级检索优化。
对 Obsidian Vault 做 chunk 级的混合检索,用 contextual-prefix + BM25 再用 cosine rerank 把最相关的段落排前面。当答案藏在某段特定文字而不是整页时特别好用,能显著降低检索漏掉关键段落的概率。它是可选功能,需要运行一次 setup 脚本启用,适合想把检索精度提升到段落级的人。
▸ 展开 SKILL.md 英文原文
Hybrid retrieval primitive for the Compound Vault. Replaces the v1.6 static hot→index→drill read order with contextual-prefix + BM25 + cosine-rerank, modeled on Anthropic's Sept 2024 Contextual Retrieval research (35-49-67% retrieval-failure reduction). Opt-in via `bash bin/setup-retrieve.sh`; feature-detected by wiki-query and autoresearch. Triggers on: retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, search the chunks, chunk search, vault search, semantic search, what chunks match, find relevant passages.
帮我安装这个 skill:https://raw.githubusercontent.com/AgriciDaniel/claude-obsidian/main/skills/wiki-retrieve/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/AgriciDaniel/claude-obsidian/main/skills/wiki-retrieve/SKILL.md"# wiki-retrieve: Hybrid Retrieval over the Vault The v1.6 query path was `Read(hot.md) → Read(index.md) → Read(3-5 pages) → synthesize`. It worked, but page-level granularity loses to chunk-level granularity any time the answer lives in a specific passage rather than a whole page. The v1.7 `wiki-retrieve` skill is the chunk-level upgrade — opt-in, feature-gated, and replaces nothing if you don't run the setup. **Origin**: This skill is original to claude-obsidian. There is no upstream kepano equivalent. The technique is from [Anthropic's Sept 2024 Contextual Retrieval research](https://www.anthropic.com/news/contextual-retrieval) — we implement it as agent-skill plumbing. --- ## Data pri