/trilium:trilium-delete-notefrom trilium
Delete a note in Trilium Notes (and its entire subtree of child notes) via the delete_note MCP tool, after confirming with the user. Use when the user asks to delete, remove, or get rid of a note in Trilium Notes.
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.
delete_note deletes the note in every location it's cloned to, and its subtree with it (children that also live elsewhere survive there). This is destructive, so always confirm before calling it.
If more than one Trilium Notes instance is connected this session, resolve which one to use first — see Working with multiple instances.
Resolve the target note. If the user gave a noteId, use it directly. Otherwise search_notes by title; if there are multiple matches, list them and ask which one.
Fetch the note before deleting: get_note for its title, parentNoteIds and childNotes.totalCount. If it has children, note the count — the user needs to know the deletion is not just this one note. If it has more than one parent, say that it disappears from all of them: these tools can't remove just one placement.
Confirm with the user (e.g. via AskUserQuestion), stating the note's title and, if non-empty, how many child notes will be deleted along with it. If the user declines, stop.
On confirmation, call delete_note with the note's noteId.
Report back that the note (and its subtree, if any) was deleted. It's a soft delete: the user can restore it in Trilium Notes under Recent Changes.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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-template