knowledge
14
总安装量
11
周安装量
#23241
全站排名
安装命令
npx skills add https://github.com/jinfanzheng/kode-sdk-csharp --skill knowledge
Agent 安装分布
claude-code
9
opencode
9
cursor
8
gemini-cli
6
antigravity
6
windsurf
6
Skill 文档
Mental Model
Knowledge is for deliberate capture of reference material. Unlike memory (which extracts info from conversation), knowledge is explicit: user asks to save something.
Trigger Patterns
| User Intent | Action | Destination |
|---|---|---|
| “Save this link” | Store URL | bookmarks.jsonl |
| “Make a note about X” | Create note | notes/YYYY-MM-DD_topic.md |
| “Remember this code pattern” | Save snippet | snippets/{lang}/ |
What Goes Where
.knowledge/
âââ bookmarks.jsonl # URLs, articles, docs
âââ notes/
â âââ YYYY-MM-DD_topic.md # Meeting notes, ideas, summaries
âââ snippets/
âââ typescript/ # Language-specific patterns
âââ python/
âââ shell/
Entry Schemas
Bookmark:
{"id":"bm_{{timestamp}}","url":"{{URL}}","title":"{{page title}}","tags":["{{keywords}}"],"savedAt":"{{ISO8601}}"}
Note (Markdown + YAML):
---
title: {{Topic}}
date: {{YYYY-MM-DD}}
tags: [{{keywords}}]
---
# {{Topic}}
{{content}}
Snippet:
// @title: {{Pattern Name}}
// @tags: {{keyword1}}, {{keyword2}}
// @created: {{YYYY-MM-DD}}
{{code}}
Anti-Patterns (NEVER)
- Don’t save transient information (today’s weather, temporary URLs)
- Don’t duplicate – check if already exists before saving
- Don’t save without user’s explicit request (use
memoryskill for that)
Action Pattern
User says “ä¿åè¿ä¸ªé¾æ¥” or “Save this”:
- Extract URL, title, context
- Generate relevant tags
fs_writeto appropriate destination- Confirm what was saved