Skip to content
Skillpedia
Documentation48k Β· #3616

knowledge-wiki

What it does

It guides your agent to file articles, documents, and conversation insights into a structured personal wiki. It is for people who want a searchable record of what they learn.

When to use it

  • βœ“When you share an article or document and want it organized into your wiki.
  • βœ“When a conversation produces an insight worth keeping as structured knowledge.
  • βœ“When you ask what your knowledge base already says about a topic.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/zhayujie/CowAgent/blob/master/skills/knowledge-wiki/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you save the key points from this article into my knowledge wiki and link it to related pages?”

5 new skills a week. 1 minute to read.

How it works

The agent reads the source, creates a page in the right category, links related pages, and updates the index and log. When you ask a question, it checks the index and reads the matching pages.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

Where is the wiki stored?

It is stored in the knowledge folder in your workspace, with an index file and a log file.

Does it keep sources?

Yes. Each page includes a source line with the URL or description of the original material.

Can it find things across pages?

Yes. It can check the index, read pages, and search memory when needed.

Details

Original description by the author

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

Popularity

GitHub stars
48k
Ranking position
#3616
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills