/trilium:trilium-export-note-subtreefrom trilium
Export a note in Trilium Notes and its subtree as one readable Markdown document, built from get_subtree and get_note_content. Use when the user asks to export, dump, or get a readable copy of a note and its children — e.g. for backup, review, or pasting elsewhere.
Ships in trilium. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Trilium's built-in MCP server has no ZIP export, so this skill assembles the export itself: get_subtree for the structure, get_note_content for each note (text notes come back as Markdown). For a full-fidelity backup with attachments and attributes, point the user at Trilium Notes' own Export (right-click a note → Export) instead.
If more than one Trilium Notes instance is connected this session, resolve which one to use first — see Working with multiple instances.
Resolve the note to export (by title via search_notes or by noteId if given). For the whole document use root, but warn that it can be large.
Get the structure: get_subtree with the noteId and depth up to 5. Each level lists at most 10 children; where a note has more (compare with get_child_notes), fetch its children with get_child_notes, and repeat get_subtree on notes at the depth limit that still have children.
Read each note with get_note_content. Skip or just list notes whose content isn't text (canvas, mind maps, files and images); list attachments by name (get_note) without inlining them.
Assemble one Markdown document: each note as a heading at its tree depth (#, ##, …) followed by its content, in tree order.
Present the result. For a small export, show it inline. For a large one, save it to a file (ask where, or use the note's title) rather than flooding the conversation, and say which notes were skipped or only listed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marceltov/trilium-plugin --plugin trilium12 skills in this plugin
/trilium-apply-template-to-noteRetroactively attach an existing note in Trilium Notes to a template via a ~template relation, which merges the template's child-note structure, content, and promoted attributes onto that note. Use when the user asks to convert, retrofit, or "make this note use" an existing template. This overwrites the target note's content and adds child notes to it — always confirm before writing./trilium-create-noteCreate a new plain note in Trilium Notes (title, content, type, and parent location) via the create_note MCP tool. Use when the user asks to create, add, jot down, or capture a new note in Trilium Notes and no template is involved./trilium-create-note-from-templateOther plugins' skills for the same job