Create and manage structured knowledge notes, diary entries, and identity files. Use when you need to persist important information, curate inbox captures, or maintain a knowledge base.
You are now in note-writing mode. This skill covers creating, updating, validating, and commenting on structured knowledge notes, as well as diary conventions and identity file management.
Create notes when:
Do NOT create notes for:
memory_capture instead for quick inbox items)Archetypes are optional semantic classifications. Notes without an archetype are
valid unclassified notes. Set the archetype field in front matter (lowercase) when it
adds discoverability.
| Archetype | Purpose |
|---|---|
person | People, contacts, key individuals |
concept | Ideas, definitions, mental models |
decision | Choices with rationale and trade-offs |
event | Meetings, occurrences, milestones |
place | Locations, venues, geographic context |
project | Projects, initiatives, ongoing work |
organization | Companies, teams, groups |
procedure | How-tos, workflows, step-by-step guides |
media | Books, articles, films, podcasts |
quote | Notable quotes with attribution |
Start at 5 for most notes. Adjust with note_write action validate as confidence
changes.
Use consistent, lowercase, hierarchical tags separated by slashes. Prefer existing tags
over creating new ones. Check what tags exist with knowledge_search before creating
notes.
Tags participate in search — they are prepended to the note's first chunk for both FTS and embedding indexing. The first tag determines the note's subfolder on disk.
rust/library, architecture/decisions, debugging/patternsImportant, TODO, miscAim for atomic, information-dense notes:
Link to related notes using [[Title]] or [[Title|alias]] syntax. Create links even
if the target note doesn't exist yet — they will be resolved when the target is created.
Links enable graph-depth traversal during search.
Before creating a new note, search first:
knowledge_search to check if a similar note existsnote_write action update to refine itnote_write action createUse note_write action comment to append timestamped observations to existing notes
without changing the main body. Good for:
Use note_write action delete to remove a note that is no longer relevant. This
removes the file from disk and all associated DB records (chunks, tags, links).
Start with ghost scope. Promote to shared when the note is validated and broadly useful.
Diary entries are date-based (YYYY-MM-DD.md), plain markdown with no front matter.
They are append-only.
diary:{ghost}:{date}) so re-indexing
produces upserts, not duplicates.Ghosts maintain three identity files in the workspace root:
These files are loaded into the system prompt context, so keep them concise and
well-structured. Edit them with the shell tool or file_edit.