Golem Add Sqlite Rust
golemcloud/golem
Use embedded SQLite from a Rust Golem agent with rusqlite and the WASI VFS.
A skill your agent uses when working on Trilium's standalone in-browser build (apps/standalone, deployed at app.triliumnotes.org and embedded by the mobile app) — the service worker (sw.ts), the…
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TriliumNext/Trilium developing-standalone --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/developing-standalone .claude/skills/developing-standalone && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .claude/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standaloneType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TriliumNext/Trilium developing-standalone --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/developing-standalone .agents/skills/developing-standalone && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .agents/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TriliumNext/Trilium developing-standalone --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/developing-standalone .cursor/skills/developing-standalone && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .cursor/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TriliumNext/Trilium.git --path .claude/skills/developing-standalone--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TriliumNext/Trilium developing-standalone --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/developing-standalone .gemini/skills/developing-standalone && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .gemini/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TriliumNext/Trilium developing-standaloneInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/developing-standalone .github/skills/developing-standalone && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .github/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TriliumNext/Trilium --skill developing-standalone -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TriliumNext/Trilium developing-standalone --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TriliumNext/Trilium.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/developing-standalone .opencode/skills/developing-standalone && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "developing-standalone" agent skill from https://github.com/TriliumNext/Trilium/tree/main/.claude/skills/developing-standalone into .opencode/skills/developing-standalone/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "developing-standalone", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
developing-standaloneA skill your agent uses when working on Trilium's standalone in-browser build (apps/standalone, deployed at app.triliumnotes.org and embedded by the mobile app) — the service worker (sw.ts), the…
Developing Standalone is an agent skill from TriliumNext/Trilium. Use when working on Trilium's standalone in-browser build (apps/standalone, deployed at app.triliumnotes.org and embedded by the mobile app) — the service worker (sw.ts), the leader-tab election and multi-tab request forwarding, the SQLite worker (local-server-worker.ts, @sqlite.org/sqlite-wasm on OPFS SAHPool), the lightweight/ provider implementations that initializeCore() needs in the browser, standalone-only routes, window.standaloneApi, backup/restore in OPFS, the Vite bundle stubs (officeparser, pdfjs…
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases. It works with SQLite, WebAssembly and Vite. The repository describes itself as: Build your personal knowledge base with Trilium Notes. The licence is AGPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 134a865. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Developing Standalone loads about 3.4k tokens when it runs. Until then it costs about 192 tokens; SKILL.md has 1,427 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TriliumNext/Trilium at commit 134a865, republished under its AGPL-3.0 licence (© TriliumNext). 1,427 words, ~3,449 tokens.
.claude/skills/developing-standalone/SKILL.md (or your agent's skills folder).apps/standalone runs the entire Trilium stack in the browser with no server: the ordinary apps/client UI on the page, and @triliumnext/core — plain JS, the same code the server runs — inside a dedicated Web Worker on top of SQLite compiled to WASM (@sqlite.org/sqlite-wasm, not sql.js) persisted in the origin's OPFS through the SAHPool VFS. It ships as a PWA to app.triliumnotes.org (Cloudflare Pages, deploy-app.yml, PR previews included) and is the webDir of the Capacitor mobile app (developing-capacitor-mobile skill). There is no apps/standalone-desktop.
apps/standalone/
src/index.html, main.ts # page bootstrap: SW registration, leadership claim, worker start, standaloneApi
src/desktop.ts # re-exports apps/client/src/desktop — the client entry
src/sw.ts # service worker: caches assets, forwards follower tabs' API requests to the leader
src/leader_election.ts # Web Lock decides which tab owns the database worker
src/local-bridge.ts # page ⇄ worker protocol (LOCAL_REQUEST/RESPONSE, WS_MESSAGE, HTTP_REQUEST, backup/restore)
src/local-server-worker.ts # the worker: opens SQLite, initializeCore(), routes requests
src/ios-interceptors.ts # iOS Capacitor only (see mobile skill)
src/error-overlay.ts # full-screen surface for fatal startup failures
src/lightweight/ # browser implementations of every core provider + standalone-only routes
src/services/ # image provider, Capacitor HTTP handler
src/stubs/ # officeparser entry + Buffer polyfill, empty stubs for pdfjs/tesseract/puppeteer
src/test_setup.ts # boots core with the real lightweight providers under vitest/happy-dom
public/_headers, manifest.webmanifest, favicon.ico
e2e/multi_tab.spec.ts, extra_window.spec.ts
vite.config.mts # root is src/; aliases, stubs, asset copies, worker + SW build, vitest configmain.ts requires a service worker (secure context: HTTPS or localhost — otherwise it throws a message explaining that), registers ./sw.js with scope /, reloads once if the SW installed but doesn't control the page yet, and exposes window.standaloneApi (restore.importBackup, backup.downloadDatabase) — the client's escape hatch for things carrying a whole file, the twin of desktop's window.electronApi. The leader also publishes localFetch there (step 3).leader_election.ts): the OPFS SAHPool VFS takes exclusive sync-access handles, and createSyncAccessHandle exists only in a dedicated worker, so exactly one tab per origin can own the database. A Web Lock (trilium-standalone-db, held for the tab's lifetime) picks it; only the winner calls startLocalServerWorker(); when it closes the browser releases the lock and a waiting tab is promoted. Where Web Locks are missing (some WebViews) the tab assumes it is alone.localFetch (local-bridge.ts) on window.standaloneApi, and the client prefers it over its XHR transport — in ajax() (apps/client/src/services/server.ts) and in setupGlob()'s /bootstrap (apps/client/src/index.ts). Without it the leader's own request leaves as an XHR, is intercepted by the service worker, and is posted back into the page it started in, to reach a worker that page owns. localAjax() matches the XHR path's contract — headers, JSON body, CSRF refresh-and-retry-once, the silent* suppressions, raw, and a timeout of opts.timeoutMs ?? DEFAULT_TIMEOUT. Build with VITE_DISABLE_LOCAL_FETCH=true to take the service worker's route instead, which is what compares the two transports. Follower tabs leave localFetch unset; so do upload(), chunked_upload.ts and the LLM stream, which carry FormData or want the body as it arrives.sw.ts): cache-first for hashed assets, network-first otherwise; requests under LOCAL_API_PREFIXES (/bootstrap, /api/, /sync/, /search/, from local-bridge.ts) are forwarded with LOCAL_FETCH to the leader client, found via a cached id, WHO_IS_LEADER / LEADER_REPLY probing, and one retry on NOT_LEADER (leadership can flip while a request is in flight). Since step 3 this carries follower tabs, engine-initiated loads (<img src="api/images/…">, fonts, themes) and the call sites that reach past server.ts, rather than the whole API surface. Backup downloads stream over a MessageChannel from the leader. It must let /_trilium_native_http/ fall through (Android native proxy) and has a defensive guard for capacitor://.local-server-worker.ts): waits for the previous worker's OPFS access handles to be released (waitForSahPoolRelease — a reload races the browser's asynchronous release, and installOpfsSAHPoolVfs() reacts to an acquisition failure by deleting the pool directory, so the pool must be acquirable before it runs — a wait that reaches its deadline ends the boot instead of installing anyway), then installs the SAHPool VFS once — failure is a fatal startup error painted by error-overlay.ts, never an in-memory fallback (TRILIUM_INTEGRATION_TEST=memory builds seed a fixture into the pool, so writes survive reloads within a test). It then calls initializeCore({...}) with the lightweight/* providers, registers createConfiguredRouter() (BrowserRouter mimicking Express, path params + query strings), then answers LOCAL_REQUEST messages. DbLock (lightweight/db_lock.ts) serialises createAsyncRoute handlers (imports) that hold a transaction across awaits against the single connection — synchronous routes keep a zero-overhead path. WS_MESSAGE replaces the WebSocket in both directions. Anything that escapes after startup is reported as WORKER_ERROR for one background task; before startup it means the app never came up and error-overlay.ts paints it (the async worker init is invisible to main.ts's try/catch).src/lightweight/)initializeCore() takes every environment-specific capability as a provider; the browser build supplies its own for each. A new provider or provider method in core needs an implementation here, or standalone will not boot — the server-side one in apps/server/src/*_provider.ts is the pair to mirror.
| Provider | File | Notes |
|---|---|---|
| SQL | sql_provider.ts | wraps sqlite-wasm statements to core's Statement interface; SAHPool VFS install; nested transactions become SAVEPOINTs |
| Execution context (CLS) | cls_provider.ts | per-request context stack with a grace period for unawaited promises |
| Crypto | crypto_provider.ts | WebCrypto + scrypt-js (pure JS, slow under coverage) |
| Zip / export | zip_provider.ts, zip_export_provider_factory.ts | bytes only — no filesystem path source |
| Request (outbound HTTP, sync) | request_provider.ts (fetch), bridged_request_provider.ts (Capacitor native, via HTTP_REQUEST to the page) | |
| Messaging | messaging_provider.ts | postMessage in place of WS |
| Backup / restore | backup_provider.ts, backup-stream.ts, backup-download.ts, database_restore.ts | SAH pool has no rename: restore writes the new DB beside the old one and swaps the pointer the next start opens; stale pool entries from interrupted backups are swept |
| Setup marker | setup_marker.ts | setup.json in the origin's private FS, read before the DB is opened; a page reload is "restart" here |
| Platform | platform_provider.ts | ?safeMode → TRILIUM_SAFE_MODE etc.; isElectron/isMac/isWindows false |
| Translations | translation_provider.ts | i18next in the worker with ns: "server", fetching server-assets/translations/{{lng}}/server.json |
| In-app help | in_app_help_provider.ts | pre-built assets/help_meta.json from edit-docs; the User Guide itself is not in this build |
| Log | log_provider.ts | OPFS log file |
| Image | services/image_provider.ts | format sniffing only, no resize/compression |
| LLM | llm_skills.ts | this build's half of the LLM stack (registerStandaloneLlmExtensions), dynamically imported so skill sheets don't join the startup bundle |
Standalone-only routes (integrity checks, the LLM channel, upload handling that arrives as a buffer instead of a temp file) are registered in lightweight/browser_routes.ts; everything else is core's shared route table (adding-internal-api-route skill).
vite.config.mts)The worker's top-level imports are its startup cost — prefer dynamic imports for anything not needed to answer /bootstrap (the LLM skills and restore paths already do this).
officeparser is aliased to src/stubs/officeparser_entry.ts, which loads the package's Node ESM entry plus the buffer polyfill (buffer_polyfill.ts, must be imported first) instead of the prebuilt browser monolith that inlines pdfjs (2.7 MB → 0.4 MB); pdfjs-dist, tesseract.js, puppeteer are aliased to stubs/empty.ts. office_preview.spec.ts guards the alias against upstream layout changes.@sqlite.org/sqlite-wasm and @triliumnext/core are excluded from optimizeDeps; the sqlite .wasm and OPFS async proxy are copied unhashed so the worker can resolve them by convention; apps/server/src/assets/** (minus the User Guide) is copied to server-assets/.sw.js URL (registering a hashed one would orphan the old worker); everything else under src/ is content-hashed. public/_headers matches: immutable for /src/*, must-revalidate for /sw.js, plus Cross-Origin-Opener-Policy: same-origin.root is src/, base is "" — paths in config and coverage globs resolve relative to src/.Core is not code-split the way its module layout suggests. Rollup folds the packages/trilium-core modules into a single ~2 MB chunk (named after an arbitrary constituent, e.g. abstract_provider-<hash>.js) that ~33 core modules — becca_loader, browser_routes, crypto_provider, the migrations — import statically, and the worker pulls in at startup. Anything reachable from that graph lands in the eager chunk no matter how the leaf that uses it imports it.
So converting a static import to await import() inside a core module often defers nothing. Lazy-loading sax in enex.ts produced a byte-for-byte identical standalone bundle — same chunk content hash, same total — because sax was reachable statically elsewhere in the eager graph. The prediction that it would save ~12–15 KB came from reasoning by analogy to another module; it did not survive an A/B build, and was reverted.
It is not a universal no-op, though. await import("officeparser") inside services/office_preview.ts did split out (officeparser.browser-<hash>.js, ~2.6 MB, fetched lazily), because nothing else in the eager graph imported officeparser — that one dynamic import was the dep's only path in.
The rule: a dynamic import inside core splits a dep out only if the dep has no other static importer in the core graph. Deferring at the route or service boundary (the import.ts route that statically imports enex.js) is the reliable lever. Either way, confirm with an A/B build — compare chunk hashes and grep the built output for a real import( — and don't bother at all for a ~40 KB dep inside a chunk that always loads.
pnpm standalone:start # vite dev
pnpm --filter standalone build # dist/ (needs NODE_OPTIONS=--max-old-space-size=4096, set by the script)
pnpm --filter standalone start-prod # build + vite preview on :8888
TRILIUM_INTEGRATION_TEST=memory pnpm --filter standalone build # OPFS DB seeded from a fixture (what e2e uses)
pnpm --filter standalone e2e # Playwright: multi-tab leader handoff, extra windows?safeMode and other TRILIUM_* toggles are passed as URL query parameters (platform_provider.ts).
pnpm --filter standalone test <pattern> — Vitest, happy-dom, real sqlite-wasm. test_setup.ts shims wasm loading (happy-dom's fetch refuses file:// and its Response breaks instantiateStreaming) and boots core with the real lightweight providers, so a spec exercises the same code path as the browser. local-server-worker.ts is excluded from coverage on purpose (it boots a second core). This suite is also the second runtime for every packages/trilium-core spec — green under pnpm --filter server test is not proof; the cross-runtime traps (capability gaps, provider differences, serialize(), backup) are in the writing-unit-tests skill.
© TriliumNext, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/developing-standalone of TriliumNext/Trilium.
Open the folder on GitHubat commit 134a865
Developing Standalone next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Developing Standalone this skillTriliumNext/Trilium | 38k | — | ~3.4k | Automated safety check: Pass | AGPL-3.0 | |
| Golem Add Sqlite Rustgolemcloud/golem | 1.5k | — | ~1k | Automated safety check: Pass | Custom licence | |
| Golem Add Sqlite TSgolemcloud/golem | 1.5k | — | ~927 | Automated safety check: Pass | Custom licence | |
| Blueprint Local Scaffoldreceptron/mulmoterminal | 236 | — | ~647 | Automated safety check: Pass | MIT | |
| Wasm Interopandymai/brepjs | 114 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Frontend Devnteract/nteract | 178 | — | ~5.4k | Automated safety check: Pass | BSD-3-Clause |
golemcloud/golem
Use embedded SQLite from a Rust Golem agent with rusqlite and the WASI VFS.
golemcloud/golem
Use embedded SQLite from a TypeScript Golem agent with node:sqlite.
receptron/mulmoterminal
Create the app skeleton: Express API, SQLite through node:sqlite, a Vue screen, and the test harness, following the layout the later checks rely on.
andymai/brepjs
This skill should be used when working across the JS/WASM boundary in brepjs — writing or debugging code in src/kernel/occt, src/kernel/occtWasm, or src/kernel/brepkit, or diagnosing symptoms like…
nteract/nteract
Frontend development for nteract UI/product surfaces, Elements fixtures, hot reload, dev daemon setup, MCP server workflow, TypeScript bindings via ts-rs, and reactive state work that touches RxJS…
mvanhorn/printing-press-library
Every Toodledo feature from the terminal, plus an offline SQLite mirror, GTD reviews Trigger phrases: what are my next actions, run my weekly review, add a task to toodledo, what's overdue in…
TriliumNext/Trilium
A skill your agent uses when cutting, preparing, or debugging a Trilium release — bumping the monorepo version, tagging, or diagnosing a failed "Release" workflow run.
TriliumNext/Trilium
A skill your agent uses when working on the Trilium Electron desktop app (apps/desktop) — adding or changing an electronApi method / IPC channel, touching preload.ts, main.ts, services/window.ts or…
TriliumNext/Trilium
A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…
TriliumNext/Trilium
A skill your agent uses when adding, moving, or wiring an internal REST endpoint in Trilium (a new /api/ route) — choosing between a core-shared handler (packages/trilium-core/src/routes/index.ts…
TriliumNext/Trilium
A skill your agent uses when adding, changing, or reviewing an LLM/MCP tool in Trilium (the defineTools definitions under packages/trilium-core/src/services/llm/tools/ —…
TriliumNext/Trilium
Write, extend, and review CKEditor 5 plugins in the Trilium (TriliumNext Notes) monorepo — the rich-text-note editor under packages/ckeditor5, whose plugins live in src/plugins/.
Works with
Categories
A skill your agent uses when working on Trilium's standalone in-browser build (apps/standalone, deployed at app.triliumnotes.org and embedded by the mobile app) — the service worker (sw.ts), the…. Developing Standalone is an agent skill from TriliumNext/Trilium.
Developing Standalone fits situations like: working on Triliums standalone in-browser build (apps/standalone; deployed at app.triliumnotes.org and embedded by the mobile app) — the service worker (sw.ts); the leader-tab election and multi-tab request forwarding; the SQLite worker (local-server-worker.ts.
Run `npx skills add TriliumNext/Trilium --skill developing-standalone -a claude-code`. Or copy the skill folder (.claude/skills/developing-standalone in TriliumNext/Trilium) into .claude/skills/developing-standalone in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TriliumNext/Trilium --skill developing-standalone -a codex`. Or copy the skill folder (.claude/skills/developing-standalone in TriliumNext/Trilium) into .agents/skills/developing-standalone in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TriliumNext/Trilium --skill developing-standalone -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/developing-standalone, .gemini/skills/developing-standalone, .github/skills/developing-standalone and .opencode/skills/developing-standalone in your project.
Going by SKILL.md and its folder, Developing Standalone needs the command-line tools its instructions call (pnpm).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Developing Standalone is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Developing Standalone: Golem Add Sqlite Rust (golemcloud/golem, 1.5k stars), Golem Add Sqlite TS (golemcloud/golem, 1.5k stars), Blueprint Local Scaffold (receptron/mulmoterminal, 236 stars) and Wasm Interop (andymai/brepjs, 114 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TriliumNext (a GitHub organization) maintains it in TriliumNext/Trilium, which has 38,231 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 7, 2026.
Source: TriliumNext/Trilium on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.