Agent Skillspaperclipai/paperclip › wiki-ingest

wiki-ingest

GitHub

将原始文档转化为结构化、可持久化的 Wiki 知识。通过读取源文件,生成来源页、实体、概念及综合页面,建立交叉链接并记录日志,确保知识的一致性与可追溯性。

packages/plugins/plugin-llm-wiki/skills/wiki-ingest/SKILL.md paperclipai/paperclip

Trigger Scenarios

操作问题要求摄入 raw/ 源数据到 LLM Wiki 用户指令包含 'ingest <slug>'

Install

npx skills add paperclipai/paperclip --skill wiki-ingest -g -y
More Options

Non-standard path

npx skills add https://github.com/paperclipai/paperclip/tree/master/packages/plugins/plugin-llm-wiki/skills/wiki-ingest -g -y

Use without installing

npx skills use paperclipai/paperclip@wiki-ingest

指定 Agent (Claude Code)

npx skills add paperclipai/paperclip --skill wiki-ingest -a claude-code -g -y

安装 repo 全部 skill

npx skills add paperclipai/paperclip --all -g -y

预览 repo 内 skill

npx skills add paperclipai/paperclip --list

SKILL.md

Frontmatter
{
    "name": "wiki-ingest",
    "description": "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."
}

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.

Version History

  • 2eb9a09 Current 2026-08-20 07:22

Same Skill Collection

.agents/skills/check-pr/SKILL.md
.agents/skills/company-creator/SKILL.md
.agents/skills/create-agent-adapter/SKILL.md
.agents/skills/create-issue-interaction-ui/SKILL.md
.agents/skills/create-paperclip-bundled-skill/SKILL.md
.agents/skills/deal-with-security-advisory/SKILL.md
.agents/skills/diagnose-why-work-stopped/SKILL.md
.agents/skills/doc-maintenance/SKILL.md
.agents/skills/garden-inbox/SKILL.md
.agents/skills/paperclip-create-plugin/SKILL.md
.agents/skills/paperclip-dev-workspace-run-verify-fix/SKILL.md
.agents/skills/paperclip-page/SKILL.md
.agents/skills/pr-gardening/SKILL.md
.agents/skills/pr-report/SKILL.md
.agents/skills/prcheckloop/SKILL.md
.agents/skills/prepare-paperclip-pr/SKILL.md
.agents/skills/release-changelog-discord-message/SKILL.md
.agents/skills/release-changelog/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/terminal-bench-loop/SKILL.md
packages/adapters/hermes/skills/paperclip-task-bridge/SKILL.md
packages/plugins/plugin-llm-wiki/skills/index-refresh/SKILL.md
packages/plugins/plugin-llm-wiki/skills/paperclip-distill/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-lint/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-maintainer/SKILL.md
packages/plugins/plugin-llm-wiki/skills/wiki-query/SKILL.md
skills-releases/paperclip/v0/SKILL.md
skills-releases/paperclip/v7-roster/SKILL.md
skills/paperclip-board/SKILL.md
skills/paperclip-converting-plans-to-tasks/SKILL.md
skills/paperclip-create-agent/SKILL.md
skills/paperclip/SKILL.md
skills/para-memory-files/SKILL.md
.claude/skills/design-guide/SKILL.md

Metadata

Files
0
Version
2eb9a09
Hash
476b8726
Indexed
2026-08-20 07:22

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 00:17
浙ICP备14020137号-1 $mapa de visitantes$