knowledge-wiki 精选
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.
安装方式
cp -r skills/knowledge-wiki ~/.claude/skills/knowledge-wiki把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/zhayujie/CowAgent/aa5f4c92cc3143841edeabaf1c834ee151228d6f/skills/knowledge-wiki/SKILL.md下载后另存为 ~/.claude/skills/knowledge-wiki/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/zhayujie/CowAgent.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Knowledge Wiki
Maintain a persistent, structured knowledge base in the knowledge/ directory.
Core Operations
1. Ingest — User shares an article, document, or resource
- Read and understand the source material
- Extract key facts, insights, and structured knowledge
- Determine the appropriate subdirectory:
- Read
knowledge/index.mdto see existing categories - If a matching category exists, follow that structure
- If not, create a new subdirectory with a clear name
- Create the knowledge page:
knowledge/<category>/<slug>.md - Update
knowledge/index.mdand append toknowledge/log.md
2. Synthesize — Conversation produces valuable structured knowledge
- Create a knowledge page under the appropriate category
- Update related pages with cross-references
- Update
knowledge/index.mdandknowledge/log.md
3. Query — User asks about accumulated knowledge
- Check
knowledge/index.md(already in your context) for relevant pages - Read specific pages with the
readtool - Supplement with
memory_searchif 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.mdafter 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.
质量与来源
- 所属仓库
- zhayujie/CowAgent
- 仓库星标
- 4.7 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- aa5f4c92cc31
- 内容指纹
- sha256:d9c15c6b0f04b08
- 文件路径
- skills/knowledge-wiki/SKILL.md