wiki-query
它能做什么
这个工具会在知识库(wiki)和原始资料中搜索信息。它会根据找到的内容回答你的问题,并注明信息的来源。如果答案需要更全面的说明,它还会提议帮你新建一份文档。
适用场景
- ✓当你对某个主题有疑问,并希望从 wiki 中得到准确答案时。
- ✓当你需要了解 wiki 中引用的信息来自哪里时。
- ✓当你的问题答案不够清晰,可能需要新的摘要时。
技能链接
https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/wiki-query/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“访问敏感数据的安全策略是什么?”
每周 5 个新技能,1 分钟读完。
工作原理
工具首先查看 wiki 的索引,找到相关页面。然后读取这些页面和原始资料,必要时还会顺着链接继续查找,最后整理出答案并标注来源。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Wiki Query
Answer a question from what the wiki actually contains, with citations.
Inputs
- An operation issue with
operationType: "query"and the question in the body. - The operation issue's target
wikiId,spaceSlug, and space root.
Workflow
- Open the target space's
wiki/index.mdfirst — it is the navigation aid. Identify candidate pages. - Read the candidate pages end to end with
wiki_read_page, always passing the operation issue'swikiIdandspaceSlug. Follow[[wiki-links]]to neighbouring pages when the question spans entities or concepts. - Inspect raw sources when a wiki page's claim feels thin. The wiki points to
raw/precisely so you can verify before answering. Usewiki_read_source. - Answer the question in the operation issue thread. Structure:
- Direct answer first, in 1–4 sentences.
- Then the supporting facts as bullet points, each with an inline citation:
(see [[wiki/concepts/managed-resources]])or(see raw/<filename>). - If you needed to read a raw source the wiki did not summarise, name that as a gap.
- Decide whether the answer is durable. If the question forced you to do real synthesis (a comparison, a tradeoff, a definition of something that isn't already a page), offer to file it under
wiki/synthesis/<slug>.md. Do not write the synthesis page silently — it is opt-in. If the user accepts, write the page, link it fromwiki/index.md, and append aquery | filed synthesislog entry. - When the wiki cannot answer, say so plainly. Suggest a source the user should ingest, a Paperclip project that would help if distilled, or a web lookup. Never bluff.
Voice
- Lead with the answer.
- Cite as you go, not in a footnote block at the end.
- Use the wiki's terse, factual voice. The query response is itself a candidate for filing into
wiki/synthesis/.
Verification
Before closing the operation issue:
- Every claim in the answer cites a wiki page or raw source.
- If the wiki was insufficient, that is stated directly with a concrete next step (ingest source X, distill project Y, web search Z).
- If you wrote a synthesis page,
wiki/index.mdlists it andwiki/log.mdhas aquery | filed synthesisentry. - No file under
raw/was modified.
Tools
wiki_search, wiki_read_page, wiki_list_sources, wiki_read_source, wiki_write_page (only when filing synthesis). Always include the operation issue's wikiId and spaceSlug.
常见问题
什么是“引用”(citations)?
引用是指信息的出处,比如 wiki 页面的名称或某个具体文件,方便你进行核实。
什么是“持久综合”(durable synthesis)?
如果你的问题需要整合多条信息,工具可以生成一份更完整的摘要或解释。你可以要求它把这份内容保存为新文档。
如果 wiki 里没有答案怎么办?
工具会明确告诉你没有找到答案,并建议你去其他地方查找,比如另一份文档或互联网。
详情
作者的原始描述
Use when an LLM Wiki operation issue asks a question. Answer from wiki pages and raw sources with citations, name gaps plainly, and offer to file durable synthesis when the answer should compound.
repo: paperclipai/paperclip
热度
- GitHub 星标
- 103k
- 排名
- #795
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …