wiki-retrieve

仓库创建 2026年4月7日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由

显著降低检索失败率,适合长期知识库与代理问答场景。

▸ 风险提示

通过 bash 安装脚本配置,可能会执行/拉取外部脚本或资源;需审阅权限与来源。

这个 Skill 做什么

在 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.

数据与抓取检索向量检索ObsidianBM25通用
10.0k
Stars
1.2k
Forks
15
仓库内 Skill
+1.1k
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/AgriciDaniel/claude-obsidian/main/skills/wiki-retrieve/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/AgriciDaniel/claude-obsidian/main/skills/wiki-retrieve/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有