# Personal Knowledge Wiki

Organizes shared articles and insights into a structured personal knowledge wiki.

- Repository: https://github.com/zhayujie/CowAgent (47735 stars)
- Category: Writing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add zhayujie/CowAgent --skill knowledge-wiki -g -a claude-code -y`
Codex: `npx skills add zhayujie/CowAgent --skill knowledge-wiki -g -a codex -y`
Cursor: `npx skills add zhayujie/CowAgent --skill knowledge-wiki -g -a cursor -y`
Gemini CLI: `npx skills add zhayujie/CowAgent --skill knowledge-wiki -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

```markdown
# 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`)

The rest: https://github.com/zhayujie/CowAgent/blob/HEAD/skills/knowledge-wiki/SKILL.md
