notes-manager
Tools for searching, reading, and adding to the user's personal notes (Obsidian vault).
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Notes Manager Skill
This skill allows the agent to interact with the user's Obsidian notes located at /Users/mthorning/Documents/Notes.
Capabilities
1. Check/Search Notes
When the user asks to "check my notes" or search for something:
-
Search: Use
grep -rorripgrep(if available) to search specifically within the/Users/mthorning/Documents/Notesdirectory. -
Context: Prioritize the
Daily/andKnowledge/folders unless instructed otherwise. -
Read: Use
read_fileto retrieve the full content of relevant matches.
2. Add to Notes
When the user asks to "add that to my notes" or "make a not of that":
-
Default Location: Unless a specific file is mentioned or it's obvious where the note should be made, append the information to the Current Daily Note.
- Path format:
/Users/mthorning/Documents/Notes/Daily/YYYY-MM-DD.md(e.g.,2025-01-16.md). - Create if missing: If today's daily note doesn't exist, create it.
- Path format:
-
Format:
- Append a bullet point (
-) followed by the content. - Ensure the content is formatted in Markdown.
- Append a bullet point (
3. Add to Tasks
When the user asks to "add that to my tasks":
-
Default Location: Unless a specific file is mentioned, append the information to the Current Daily Note.
- Path format:
/Users/mthorning/Documents/Notes/Daily/YYYY-MM-DD.md(e.g.,2025-01-16.md). - Create if missing: If today's daily note doesn't exist, create it.
- Path format:
-
Format:
- Append a task item (
- [ ]) followed by the content. - Ensure the content is formatted in Markdown.
- Append a task item (
4. Commit and Push Changes
After making any updates to notes (adding, editing, etc.), always commit and push the changes:
- Run the script:
~/dotfiles/skills/notes/commit-and-push.sh "<description>" - The description should briefly describe what was added/changed (e.g., "Add project notes", "Add task for code review")
- This script will automatically commit, set the main bookmark, and push to git
Constraints & Rules (from AGENTS.md)
- Preserve Structure: Do not create new top-level directories.
-
Privacy: Be careful when reading from
Personal/orWork/if the context implies sharing sensitive info. -
Formatting: Respect existing Markdown links
[[Link]]and tags#tag.
Example Workflows
-
User: "Check my notes for 'project alpha'."
-
Action:
grep -r "project alpha" /Users/mthorning/Documents/Notes
-
Action:
-
User: "Add this conversation to my notes."
-
Action:
- specific_file =
/Users/mthorning/Documents/Notes/Daily/$(date +%Y-%m-%d).md - Read file to check existing content.
- Append the summary/content to that file.
- specific_file =
-
Action:
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!