journal-note
Skill0 starsChanged 2 months agoMITView on GitHub
Get or append to Trilium's journal notes — the day, week, month, or year note for a given date — via getDayNote/getWeekNote/getMonthNote/getYearNote. Use when the user asks about today's note, a specific day's journal entry, or wants to jot something into their daily/weekly/monthly/yearly note.
In this repository11 other files it gives its agents.
- apply-template-to-noteSkill
- create-note-from-templateSkill
- create-noteSkill
- delete-noteSkill
- export-note-subtreeSkill
- find-template-instancesSkill
- manage-note-attributesSkill
- manage-trilium-instancesSkill
- move-noteSkill
- rename-noteSkill
- search-notesSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
If more than one Trilium instance is connected this session, resolve which one to use first — see Working with multiple instances.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Work With Journal (Calendar) Notes
Trilium's journal feature gives every day, week, month, and year its own note, created on first access. These MCP tools return (and create, if missing) that note:
getDayNote(date)—YYYY-MM-DDgetWeekNote(week)— ISO week,YYYY-WwwgetMonthNote(month)—YYYY-MMgetYearNote(year)—YYYY
Note content is HTML (text/html notes), not plain text — appending requires wrapping additions in a tag (e.g. <p>...</p>), not just concatenating a raw string, or the addition won't render as a separate block.
If more than one Trilium instance is connected this session, resolve which one to use first — see Working with multiple instances.
Steps
- Determine which period the user means (day, week, month, or year) and resolve the date — "today" needs today's actual date, not a guess; a relative reference ("last Monday", "next month") needs converting to the matching format before calling the tool.
- Fetch the note with the matching
get*Notetool. This both resolves the noteId and creates the note if it didn't already exist — mention if it was just created versus already there (comparedateCreatedto now, roughly). - If the user wants to read it:
getNoteContentand show it back (rendered sense, not raw HTML tags, unless they ask for the source). - If the user wants to add something:
getNoteContentfirst, append the new text wrapped as its own block (e.g.<p>New content</p>) to the existing HTML, thenputNoteContentByIdwith the combined content. Don't overwrite what's already there. - Report back: which journal note was affected (date/period) and what changed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

