docs/en/skills/knowledge-wiki.mdx
Organises notes, insights, and reference materials from your conversations into a structured local knowledge base, automatically maintaining an index and cross-references between pages.
knowledge-wiki maintains a knowledge/ directory in your workspace — essentially the Agent's "second brain". The skill is marked always: true, so it is always loaded and requires no external dependencies.
knowledge/
├── index.md # Global index (must be maintained)
├── log.md # Operation log (append-only)
└── <category>/ # Category subdirectories (grouped by content)
└── <slug>.md # Knowledge page (lowercase-hyphenated filename)
When you share some material, the Agent will:
index.md first; create a new category if none fitsknowledge/<category>/<slug>.mdindex.md and the log log.mdWhen a conversation produces new conclusions or insights:
When you ask about previously accumulated knowledge:
index.md for potentially relevant pagesread toolmemory_search if needed# Page Title
> Source: <source URL or brief description>
Body content. Link between pages using relative paths:
[Related Page](../category/related-page.md)
## Key Points
- ...
## Related Pages
- [Page A](../category/page-a.md) — why it's related
knowledge/index.md uses a flat list grouped by category, one knowledge page per line:
# 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
No tables, no emojis. Category names and organisation can be adjusted freely.
knowledge/log.md is append-only — newest entries go at the bottom:
## [YYYY-MM-DD] ingest | Page Title
## [YYYY-MM-DD] synthesize | Page Title
machine-learning.mdknowledge/index.md after any change[Title](knowledge/<category>/<slug>.md). Use relative paths only for inter-page links