second-brain-query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSecond Brain — Query
第二大脑 — 查询
Answer questions by searching and synthesizing knowledge from the wiki.
通过搜索并整合wiki中的知识来回答问题。
Search Strategy
搜索策略
1. Start with the index
1. 从索引开始
Read to identify relevant pages. Scan all category sections (Sources, Entities, Concepts, Synthesis) for entries related to the question.
wiki/index.md读取来识别相关页面。浏览所有分类板块(Sources、Entities、Concepts、Synthesis)查找与问题相关的条目。
wiki/index.md2. Use qmd for large wikis
2. 大型wiki使用qmd
If is installed (check with ), use it for search:
qmdcommand -v qmdbash
qmd search "query terms" --path wiki/This is especially useful when the wiki has grown beyond ~100 pages where scanning the index becomes inefficient.
如果已安装(用检查),使用它进行搜索:
qmdcommand -v qmdbash
qmd search "query terms" --path wiki/当wiki的规模增长到约100页以上、浏览索引效率变低时,这个方法尤其有用。
3. Read relevant pages
3. 读取相关页面
Read the wiki pages identified by the index or search. Follow to pull in related context from linked pages. Read enough pages to give a thorough answer, but don't read the entire wiki.
[[wikilinks]]读取通过索引或搜索找到的wiki页面。跟随获取关联页面的相关上下文。读取足够的页面来给出全面的回答,但不需要读取整个wiki。
[[wikilinks]]4. Check raw sources if needed
4. 必要时查看原始来源
If the wiki pages don't fully answer the question, check relevant source summaries in for additional detail. Only go to files in as a last resort.
wiki/sources/raw/如果wiki页面无法完整回答问题,查看下的相关来源摘要获取更多细节。仅将访问下的文件作为最后手段。
wiki/sources/raw/Synthesize the Answer
整合回答
Format
格式
Match the answer format to the question:
- Factual question → direct answer with citations
- Comparison → table or structured comparison
- Exploration → narrative with linked concepts
- List/catalog → bulleted list with brief descriptions
根据问题匹配回答格式:
- 事实类问题 → 带引用的直接回答
- 对比类问题 → 表格或结构化对比内容
- 探索类问题 → 带关联概念的叙述内容
- 列表/目录类问题 → 带简要描述的无序列表
Citations
引用
Always cite wiki pages using syntax. Example:
[[wikilink]]According to [[Source - Article Title]], the key finding was X. This connects to the broader pattern described in [[Concept Name]], which [[Entity Name]] has also explored.
始终使用语法引用wiki页面。示例:
[[wikilink]]根据[[Source - Article Title]],核心结论是X。这与[[Concept Name]]中描述的更广泛的模式相关,[[Entity Name]]也对该模式进行过研究。
Offer to save valuable answers
主动提议保存有价值的回答
If the answer produces something worth keeping — a comparison, analysis, new connection, or synthesis — offer to save it:
"This comparison might be useful to keep in your wiki. Want me to save it as a synthesis page?"
If the user agrees:
- Create a new page in with proper frontmatter
wiki/synthesis/ - Add an entry to under Synthesis
wiki/index.md - Append to :
wiki/log.md## [YYYY-MM-DD] query | Question summary
如果回答产出了值得留存的内容——比如对比、分析、新的关联或者整合内容,可以主动提议保存:
“这份对比内容放在你的wiki里可能会很有用。需要我把它保存为一个Synthesis页面吗?”
如果用户同意:
- 在下创建一个带有正确frontmatter的新页面
wiki/synthesis/ - 在的Synthesis分类下添加对应条目
wiki/index.md - 追加内容到:
wiki/log.md## [YYYY-MM-DD] query | 问题摘要
Conventions
约定
- Search the wiki first. Only go to raw sources if the wiki doesn't have the answer.
- Cite your sources. Every factual claim should link to the wiki page it came from.
- Valuable answers compound. Encourage saving good analyses back into the wiki.
- Use for all internal references. Never use raw file paths.
[[wikilinks]]
- 优先搜索wiki 只有当wiki中没有答案时才去查阅原始来源。
- 标注来源 每个事实主张都应该链接到其对应的wiki页面。
- 有价值的回答可以沉淀 鼓励将优质分析内容保存回wiki。
- 所有内部引用都使用,绝对不要使用原始文件路径。
[[wikilinks]]