跳到正文
Skillpedia
技术文档103k · #792

wiki-ingest

它能做什么

这个工具可以把原始文档中的信息整理成 Wiki 中相互关联的知识。它会为来源、概念和摘要创建页面,并确保所有内容都建立了链接,且正确标注了出处。

适用场景

  • ✓当你被分配了把新文档添加到 Wiki 的任务时。
  • ✓当你需要把文本文件转换为有条理的 Wiki 格式时。
  • ✓当你希望新信息被正确引用,并与已有知识相互链接时。

技能链接

https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/paperclipai/paperclip/blob/master/packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把 'raw/my_document.txt' 中的文档导入 Wiki。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会读取文档,检查 Wiki 中已有的内容以避免重复,然后为这些内容创建新页面。它还会在页面之间添加链接,并更新主索引。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Wiki Ingest

Turn one source document into durable, interlinked wiki knowledge.

Inputs

  • An operation issue with operationType: "ingest" assigned to you.
  • A raw/ path mentioned in the issue body (always treat raw/ as immutable).
  • The operation issue's target wikiId, spaceSlug, and space root (otherwise stop and surface the missing config to the requester).

Workflow

  1. Read context first.
    • Read the target space's AGENTS.md for page conventions (filenames, frontmatter, voice, citation style).
    • Read the target space's wiki/index.md to see what already exists.
    • Read the target space's last ~20 entries of wiki/log.md to avoid re-ingesting a source or re-resolving a contradiction someone else already filed.
  2. Read the source end to end with wiki_read_source, passing the operation issue's wikiId and spaceSlug. Do not skim. Note the source's structure, claims, dates, and anything that contradicts existing pages.
  3. Plan, then confirm — but only if the user is in the loop. If the operation came from a routine (no live user), proceed. If a user is asking interactively, summarise the 3–5 takeaways you intend to file and ask which to emphasise before writing.
  4. Write the source page at wiki/sources/<slug>.md — ~300–800 words, frontmatter per the wiki schema, neutral voice, key claims with quoted excerpts where they carry weight. The source page is the canonical citation target for everything else this skill writes.
  5. Update or create downstream pages in entities/, concepts/, and synthesis/. A typical ingest touches 5–15 pages; resist creating pages for ideas that only appear once.
  6. Wire the cross-links. Every claim that comes from the source cites it as (see [[wiki/sources/<slug>]]). Every entity / concept mentioned by name on more than one page links to its dedicated page.
  7. Flag contradictions; do not silently overwrite. When new material disagrees with an existing page, append a > ⚠ contradicted by [[wiki/sources/<slug>]] (YYYY-MM-DD) callout to the older page and note the conflict in the log.
  8. Refresh wiki/index.md with one-line summaries for any new pages.
  9. Append a log entry in wiki/log.md:
    ## [YYYY-MM-DD] ingest | <source title>
    - source: raw/<filename>
    - new pages: [[...]], [[...]]
    - updated pages: [[...]], [[...]]
    - notes: <one-line synthesis or open question>
    

Voice

  • Terse, factual, neutral. Reference material, not narrative.
  • No "Today I learned" or "This is interesting because" framing.
  • Quote the source verbatim when paraphrasing would lose precision.

Verification

Before closing the operation issue:

  • Source page exists at wiki/sources/<slug>.md with valid frontmatter and a sources: field pointing to the raw path.
  • Every new or updated page links back to the source page or a downstream page that does.
  • wiki/index.md lists every new page under the right category with a one-line summary.
  • wiki/log.md has the ingest entry with the exact filename heading format (so grep "^## \[" wiki/log.md keeps working).
  • Any contradiction between the new source and an older page is annotated, not silently overwritten.
  • No file under raw/ was modified.

Tools

wiki_list_sources, wiki_read_source, wiki_search, wiki_read_page, wiki_write_page. Always include the operation issue's wikiId and spaceSlug.

常见问题

如果新文档与 Wiki 中已有的内容相矛盾怎么办?

工具不会删除旧信息,而是在旧页面上添加备注,说明存在矛盾以及新信息的位置。

工具怎么知道该如何组织页面?

它会读取 Wiki 空间的格式和风格约定,例如 'AGENTS.md' 文件,确保新页面遵循既定的规范。

什么是“实体页面”和“概念页面”?

实体页面指文档中提到的具体人物、地点或组织。概念页面则解释文档涵盖的一般性概念或主题。

详情

作者的原始描述

Use when an operation issue asks to ingest a captured `raw/` source into the LLM Wiki, or the user says "ingest <slug>". Create durable source, entity, concept, synthesis, index, and log pages; use paperclip-distill for Paperclip bundles.

repo: paperclipai/paperclip

热度

GitHub 星标
103k
排名
#792
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能