agentleFS
MarceltovMarceltov/trilium-plugin/skills/create-note/SKILL.md

create-note

Skill0 starsChanged 2 months agoMITView on GitHub

Create a new plain Trilium note (title, content, type, and parent location) via the createNote MCP tool. Use when the user asks to create, add, jot down, or capture a new note in Trilium and no template is involved.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If more than one Trilium instance is connected this session, resolve which one to use first — see Working with multiple instances.

    line 10
  2. Distinctive:

    Determine title and content: Ask for whatever the user didn't already give.

    line 16
  3. Very specific:

    Determine the note type: Default to text unless the user asks for code, file, image, search, book, or relationMap.

    line 18
  4. Very specific:

    If the user also wants labels/relations on the note, use postAttribute after creation — this skill only covers the note itself.

    line 24

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create a Trilium Note

A thin wrapper around createNote for the common case: one new note, no template. For notes instantiated from a template, use the create-note-from-template skill instead.

If more than one Trilium instance is connected this session, resolve which one to use first — see Working with multiple instances.

Steps

  1. Determine the parent location. If the user names a note (by title or noteId) to file it under, resolve that with searchNotes if needed. Otherwise default to today's inbox note via getInboxNote (pass today's date) — Trilium's normal catch-all location for undirected new notes.
  2. Determine title and content. Ask for whatever the user didn't already give. Content may be empty if the user just wants a placeholder note.
  3. Determine the note type. Default to text unless the user asks for code, file, image, search, book, or relationMap. For code, file, or image types, also determine the mime type (ask if unclear).
  4. Call createNote with parentNoteId, title, type, content (and mime if applicable).
  5. Report back the new note's title and noteId. Don't dump the full JSON response — the user cares whether it worked and where to find it, not the raw payload.
  6. If the user also wants labels/relations on the note, use postAttribute after creation — this skill only covers the note itself.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.