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.
When It Triggers
- You share an article, document, or URL that you want to keep for future reference
- A conversation produces conclusions worth retaining long-term
- You want to look up something you accumulated earlier
Directory Structure
Three Core Operations
1. Ingest
When you share some material, the Agent will:- Read and understand the original content, extracting key information
- Decide which category it belongs to — check
index.mdfirst; create a new category if none fits - Generate a knowledge page at
knowledge/<category>/<slug>.md - Update the index
index.mdand the loglog.md
2. Synthesise
When a conversation produces new conclusions or insights:- Create a new knowledge page under an appropriate category
- Add cross-links to and from related existing pages
- Update the index and log
3. Query
When you ask about previously accumulated knowledge:- Search
index.mdfor potentially relevant pages - Open specific pages with the
readtool - Supplement with
memory_searchif needed - Include links to knowledge pages in the answer so you can click through to the source
Page Format
> Source:records where this knowledge came from. Always include it when there is a clear source- Cross-references are important: when creating or updating a page, remember to add back-links in the related pages too
- 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 uses a flat list grouped by category, one knowledge page per line:
Log Format
knowledge/log.md is append-only — newest entries go at the bottom:
Writing Guidelines
- Filenames: lowercase with hyphens, e.g.
machine-learning.md - One topic per page — link related content across pages
- Update, don’t duplicate — if a page already exists, update it rather than creating a new one
- Always update the index
knowledge/index.mdafter any change - Distill, don’t copy — capture the key points, not the entire source
- Use full paths when referencing knowledge pages in conversations, e.g.
[Title](knowledge/<category>/<slug>.md). Use relative paths only for inter-page links - Include links when answering questions based on knowledge pages so users can dig deeper
