trilium
由 mtbf999 提供
DevOps & Cloud简介
Work with Trilium Notes (notebook app) and automate via Trilium Notes ETAPI.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- TRILIUM_ETAPI_TOKEN environment variable (generated in Trilium -> Options -> ETAPI)
- TRILIUM_SERVER_URL environment variable (URL of your self-hosted Trilium server)
安装
clawhub install mtbf999/trilium运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。