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: We should attempt to find a suitable location for the note. If the user says to create a new note/file then we should add a new file with an appropriate title to the Knowledge directory. If it's a small piece of information then we should check the files in the Knowledge directory to see if there is a suitable file to add it to. If there is nowhere obvious then 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/scripts/commit-and-push.sh "<description>" - •The description should briefly describe what was added/changed (e.g., "Add project notes", "Add task for code review")
- •The script automatically changes to
/Users/mthorning/Documents/Notesbefore running jj commands, so it can be invoked from any directory - •The script will 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: