trilium
by mtbf999
DevOps & CloudBrief
Work with Trilium Notes (notebook app) and automate via Trilium Notes ETAPI.
Description
What This Skill Does
Connects to a self-hosted Trilium Notes instance via the ETAPI REST interface. Supports reading, searching, and creating notes in the Trilium database. Requires a running Trilium server and an ETAPI token.
Lets you query and update Trilium without opening the app, making it useful for agents that need to read or write personal knowledge during a task.
When to Use It
- Search personal knowledge base for past research
- Create meeting notes directly from a chat prompt
- Retrieve a specific note by ID during a workflow
- Add quick ideas or reminders to a Trilium notebook
- Find Docker or home lab configs stored in notes
Example Workflow
User asks: 'Find my notes about Docker configuration'
- 1
Read TRILIUM_ETAPI_TOKEN and TRILIUM_SERVER_URL from environment
- 2
Send search request to Trilium ETAPI with query 'Docker configuration'
- 3
Retrieve matching note IDs and titles from the response
- 4
Fetch note content for the most relevant result
Returns the text content of the matching Trilium note
Requirements
- TRILIUM_ETAPI_TOKEN environment variable (generated in Trilium -> Options -> ETAPI)
- TRILIUM_SERVER_URL environment variable (URL of your self-hosted Trilium server)
Installation
clawhub install mtbf999/triliumRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.