跳到正文
Skillpedia
技术文档48k · #3616

knowledge-wiki

它能做什么

这个技能指导你的智能体把文章、文档和对话中的见解归档到结构化的个人 wiki 中。适合希望拥有一份可搜索学习记录的人。

适用场景

  • ✓当你分享一篇文章或文档,并希望把它整理进你的 wiki 的时候。
  • ✓当一段对话产生了值得保存为结构化知识的见解的时候。
  • ✓当你询问你的知识库对某个话题已有哪些记录的时候。

技能链接

https://github.com/zhayujie/CowAgent/blob/master/skills/knowledge-wiki/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请把这篇文章的要点保存到我的知识 wiki 中,并链接到相关页面。”

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

工作原理

智能体会阅读来源,在合适的分类中创建页面,链接相关页面,并更新索引和日志。当你提问时,它会检查索引并阅读相关页面。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Knowledge Wiki

Maintain a persistent, structured knowledge base in the knowledge/ directory.

Core Operations

1. Ingest — User shares an article, document, or resource

  1. Read and understand the source material
  2. Extract key facts, insights, and structured knowledge
  3. Determine the appropriate subdirectory:
    • Read knowledge/index.md to see existing categories
    • If a matching category exists, follow that structure
    • If not, create a new subdirectory with a clear name
  4. Create the knowledge page: knowledge/<category>/<slug>.md
  5. Update knowledge/index.md and append to knowledge/log.md

2. Synthesize — Conversation produces valuable structured knowledge

  1. Create a knowledge page under the appropriate category
  2. Update related pages with cross-references
  3. Update knowledge/index.md and knowledge/log.md

3. Query — User asks about accumulated knowledge

  1. Check knowledge/index.md (already in your context) for relevant pages
  2. Read specific pages with the read tool
  3. Supplement with memory_search if needed

Page Format

# Page Title

> Source: <URL or description of the original material>

Content here. Cross-reference related pages with markdown links:
[Related Page](../category/related-page.md)

## Key Points

- ...

## Related

- [Page A](../category/page-a.md) — how it relates
- [Page B](../category/page-b.md) — how it relates

The > Source: line records where the knowledge came from (URL, document name, conversation, etc.). Always include it when the material originates from a specific source.

Cross-references build a knowledge graph. When creating or updating a page, link to related pages and update those pages to link back. Only link to pages that already exist — if a concept deserves its own page, create it first, then add the link.

Index Format (knowledge/index.md)

Flat list, one line per page: [Title](path) — one-line summary. Group by category (matching subdirectories). No tables, no emoji.

# Knowledge Index

## Category A
- [Page Title](category-a/page-slug.md) — one-line summary

## Category B
- [Page Title](category-b/page-slug.md) — one-line summary

Category names and structure are flexible — follow whatever organization already exists in the index, or create new categories based on the content.

Log Format (knowledge/log.md)

Append-only, newest at bottom:

## [YYYY-MM-DD] ingest | Page Title
## [YYYY-MM-DD] synthesize | Page Title

Guidelines

  • File naming: lowercase kebab-case (e.g. machine-learning.md)
  • One topic per page: link between pages rather than duplicating
  • Update, don't duplicate: if a page exists, update it
  • Cross-reference: every page should link to related pages; keep the knowledge graph connected
  • Index is mandatory: always update knowledge/index.md after any change
  • Be concise: capture essence, not copy entire sources
  • Full paths in replies: when referencing knowledge files in conversation replies, use the full path from workspace root (e.g. [Title](knowledge/<category>/<slug>.md)), not relative paths. Relative paths are only for cross-references inside knowledge pages themselves.
  • Cite sources: when answering based on knowledge pages, include links to the relevant pages so the user can explore further.
常见问题

wiki 保存在哪里?

它保存在你工作区的 knowledge 文件夹中,包含一个索引文件和一个日志文件。

它会保留来源吗?

会。每个页面都包含一行来源说明,写明原始资料的 URL 或描述。

它能跨页面查找内容吗?

能。它可以检查索引、阅读页面,并在需要时搜索记忆。

详情

作者的原始描述

Manage the personal knowledge wiki. Use when the user shares articles, documents, or asks to organize knowledge; when a conversation produces insights worth preserving as structured knowledge; or when the user asks about the knowledge base.

repo: zhayujie/CowAgent

热度

GitHub 星标
48k
排名
#3616
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能