npx skills add ...
npx skills add yuque/yuque-plugin --skill yuque-personal-daily-capture
Quickly capture ideas, thoughts, and fleeting notes to your personal Yuque knowledge base. For personal/individual use — saves to your own repos.
npx skills add yuque/yuque-plugin --skill yuque-personal-daily-capture
Help the user quickly capture ideas, thoughts, meeting insights, reading annotations, and any fleeting information into their personal Yuque knowledge base with minimal friction.
All tools are from the yuque-mcp server:
yuque_list_repos — List personal repos to find the capture targetyuque_search — (Optional) Find today's capture doc if appendingyuque_list_docs — (Optional) Check if today's daily note existsyuque_create_doc — Create a new capture documentyuque_update_doc — Append to an existing capture documentThe user's input can be:
Classify the capture type:
| Type | Icon | Example |
|---|---|---|
| 💡 想法/灵感 | 💡 | "突然想到可以用 Redis 做缓存" |
| 📝 笔记 | 📝 | "今天学到 Go 的 context 用法..." |
| 📖 阅读批注 | 📖 | "这篇文章提到的观点很有意思..." |
| 🎯 待办/行动 | 🎯 | "记得下周跟进 API 设计评审" |
| 💬 会议灵感 | 💬 | "会上讨论到的架构方案值得深入..." |
| 🔗 链接/资源 | 🔗 | "这个工具不错:https://..." |
Two strategies based on user preference:
Append to today's daily capture document. If it doesn't exist, create one.
Create a separate document for this capture (for longer or topic-specific notes).
If the user's input is short (< 100 words), default to Strategy A. If longer or clearly a standalone topic, use Strategy B. Ask if unclear.
Check if today's daily note exists:
If found, append to it:
If not found, create today's daily note:
Daily note template:
For daily note append:
For standalone note:
| Situation | Action |
|---|---|
| No capture repo found | Ask user which repo to use, or suggest creating a "随手记" repo |
yuque_update_doc fails | Fall back to creating a new standalone note |
yuque_search can't find today's note | Create a new daily note document |
| User input is ambiguous | Capture as-is with 📝 type; don't over-classify |
| Very long input (>500 words) | Switch to standalone note strategy automatically |
# 📥 每日捕获 YYYY-MM-DD
> 今日碎片化记录,定期整理归档。
---
### [HH:MM] [类型图标] [简短标题]
[捕获内容]
[标签:#tag1 #tag2]Tool: yuque_list_repos
Parameters:
type: "user"Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>"
title: "[类型图标] [标题]"
body: "<formatted note>"
format: "markdown"✅ 已捕获!
[类型图标] **[简短标题]** → 已追加到「📥 每日捕获 YYYY-MM-DD」
💡 今日已捕获 X 条记录。✅ 笔记已创建!
📄 **[[类型图标] 标题](文档链接)**
📚 已保存到:「知识库名称」