Add a new note or update an existing one. Creates the notes database if it doesn't exist.
This skill creates a new note or updates an existing one in the notes database.
Use the Read tool to try reading notes-config.yaml.
If the file doesn't exist:
./notes as default)notes-config.example.yaml to get the templatenotes-config.yaml with their chosen path using the Write toolRead notes-config.yaml and extract the notes_path value.
Handle path resolution:
~, expand it to the user's home directory./, it's relative to the config file locationUse Bash to check if the notes directory exists:
ls <notes_path>
If the directory doesn't exist:
mkdir -p <notes_path># Notes Index
A catalog of all notes in the database.
## Notes
*No notes yet.*
Write this to <notes_path>/index.md using the Write tool.
From the user's input, determine:
If unclear, ask the user for clarification.
Use the Read tool to read <notes_path>/index.md.
Look for an existing entry matching the topic. Note whether this is a new note or an update.
Create the note content:
# [Topic Title]
[Content organized clearly]
---
*Last updated: [current date]*
If new note: Use Write tool to create <notes_path>/<topic>.md
If updating: Use Read tool to read existing note first, merge content appropriately, then Write the updated version.
If new note:
<notes_path>/index.md- [Topic Title](topic.md) - Brief descriptionIf updating:
Report what was created or updated, and mention the topic name for future reference.