Developing Electron Desktop
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…
Start and coordinate Logseq development REPL workflows for the Desktop renderer :app, Electron main-process :electron, and :db-worker-node runtimes through one unified workflow.
$ npx skills add logseq/logseq --skill logseq-repl -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install logseq/logseq logseq-repl --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/logseq/logseq.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/logseq-repl .claude/skills/logseq-repl && 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 "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .claude/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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/logseq/logseq/tree/master/.agents/skills/logseq-replType 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 logseq/logseq --skill logseq-repl -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install logseq/logseq logseq-repl --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/logseq-repl .agents/skills/logseq-repl && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .agents/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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 logseq/logseq --skill logseq-repl -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install logseq/logseq logseq-repl --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/logseq-repl .cursor/skills/logseq-repl && 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 "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .cursor/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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/logseq/logseq.git --path .agents/skills/logseq-repl--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 logseq/logseq --skill logseq-repl -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install logseq/logseq logseq-repl --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/logseq-repl .gemini/skills/logseq-repl && 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 "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .gemini/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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 logseq/logseq logseq-replInstalls 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 logseq/logseq --skill logseq-repl -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/logseq-repl .github/skills/logseq-repl && 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 "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .github/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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 logseq/logseq --skill logseq-repl -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install logseq/logseq logseq-repl --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/logseq/logseq.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/logseq-repl .opencode/skills/logseq-repl && 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 "logseq-repl" agent skill from https://github.com/logseq/logseq/tree/master/.agents/skills/logseq-repl into .opencode/skills/logseq-repl/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "logseq-repl", 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.
logseq-replStart and coordinate Logseq development REPL workflows for the Desktop renderer :app, Electron main-process :electron, and :db-worker-node runtimes through one unified workflow.
Logseq Repl is an agent skill from logseq/logseq. Start and coordinate Logseq development REPL workflows for the Desktop renderer :app, Electron main-process :electron, and :db-worker-node runtimes through one unified workflow.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `scripts/cleanup-repl.sh`, `scripts/common.sh` and `scripts/start-repl.py`).
It sits in Knowledge Management. It works with pnpm. The repository describes itself as: A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: https://logseq.io/p/NX4mcggEV. The licence is AGPL-3.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 22a29b3. 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.
Ships 5 files in scripts/ (Shell and Python), which the agent can run.
Shell commands in SKILL.md call:
pnpmnodeFrom 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.
Logseq Repl loads about 1.6k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 571 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); the scripts in this folder are not scanned.
The full file from logseq/logseq at commit 22a29b3, republished under its AGPL-3.0 licence (© logseq). 571 words, ~1,584 tokens.
.claude/skills/logseq-repl/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Use this skill when the user needs a Logseq development REPL for:
:app:electron:db-worker-nodeThe workflow uses one shared state directory: <repo>/tmp/logseq-repl/.
Start everything with the default Logseq data root ($LOGSEQ_CLI_ROOT_DIR or ~/logseq):
<logseq-repl-skill-dir>/scripts/start-repl.sh --repo demoStart everything with an explicit Logseq data root:
<logseq-repl-skill-dir>/scripts/start-repl.sh --repo demo --root-dir ~/logseqClean up everything:
<logseq-repl-skill-dir>/scripts/cleanup-repl.shVerify all REPL targets after startup:
<logseq-repl-skill-dir>/scripts/verify-repls.shstart-repl.sh starts:
pnpm watchpnpm dev-electron-appdb-worker-node via node ./static/db-worker-node.js --repo <name> --root-dir <path> --owner-source clistart-repl.sh is a small shell wrapper around start-repl.py. The Python script verifies that :app, :electron, and :db-worker-node runtimes are live, runs verify-repls.sh to connect to each target REPL and print a small result, then prints attach commands. It does not attach an interactive REPL by itself and exits after verification.
cleanup-repl.sh stops all workflow-managed processes without requiring a target selection. It also removes legacy state files from older split workflows and attempts to stop repo-owned listeners on the standard REPL ports.
verify-repls.sh connects to app, electron, and db-worker-node with pnpm exec shadow-cljs cljs-repl, evaluates one target-specific expression in each REPL, and prints the output.
Before starting or attaching:
<logseq-repl-skill-dir>/scripts/cleanup-repl.shThen start all runtimes:
<logseq-repl-skill-dir>/scripts/start-repl.sh --repo demoUse --root-dir <path> if the target graph lives outside $LOGSEQ_CLI_ROOT_DIR or ~/logseq.
Attach only to the target you need:
pnpm exec shadow-cljs cljs-repl app
pnpm exec shadow-cljs cljs-repl electron
pnpm exec shadow-cljs cljs-repl db-worker-node:app.:electron.:db-worker-node.Runtime reminders:
:app = Electron renderer:electron = Electron main process:db-worker = browser worker:db-worker-node = Node workerKeep these separate:
shadow-cljs server or pnpm watch process exists:app, :electron, or :db-worker-nodeIf runtime count is 0, do not attach yet. Fix runtime startup first.
Check runtime counts:
pnpm exec shadow-cljs clj-eval "(do (require '[shadow.cljs.devtools.api :as api]) (println {:app (count (api/repl-runtimes :app)) :electron (count (api/repl-runtimes :electron)) :db-worker-node (count (api/repl-runtimes :db-worker-node))}))"Interpretation:
:app > 0 means a Desktop renderer runtime is attached:electron > 0 means an Electron main-process runtime is attached:db-worker-node > 0 means a worker-node runtime is attached0 means not ready, even if watch/build logs look healthyLook here first:
<repo>/tmp/logseq-repl/shared-shadow-watch.log<repo>/tmp/logseq-repl/desktop-electron.log<repo>/tmp/logseq-repl/db-worker-node.logAfter cleanup, verify standard ports if startup still reports conflicts:
lsof -nP -iTCP:8701 -sTCP:LISTEN
lsof -nP -iTCP:3001 -sTCP:LISTEN
lsof -nP -iTCP:3002 -sTCP:LISTEN
lsof -nP -iTCP:9630 -sTCP:LISTEN
lsof -nP -iTCP:9631 -sTCP:LISTENInterpretation:
Desktop :app:
cat <<'EOF' | pnpm exec shadow-cljs cljs-repl app
(prn {:runtime :app :document? (some? js/document) :title (.-title js/document)})
:cljs/quit
EOFElectron :electron:
cat <<'EOF' | pnpm exec shadow-cljs cljs-repl electron
(prn {:runtime :electron :process? (some? js/process) :type (.-type js/process)})
:cljs/quit
EOFdb-worker-node:
cat <<'EOF' | pnpm exec shadow-cljs cljs-repl db-worker-node
(prn {:runtime :db-worker-node :process? (some? js/process) :platform (.-platform js/process)})
:cljs/quit
EOF(shadow.user/cljs-repl)
(shadow.user/electron-repl)
(shadow.user/worker-node-repl)Failure triage order:
tmp/logseq-repl/shared-shadow-watch.logtmp/logseq-repl/desktop-electron.logtmp/logseq-repl/db-worker-node.loglsofshadow.cljs.devtools.api/repl-runtimesCommon cases:
No available JS runtime: the build may be ready, but the runtime has not connected. Check runtime counts before retrying attach.:app runtimes: close browser dev app instances so only the Desktop renderer remains.db-worker-node repo mismatch: rerun start-repl.sh --repo <name>; it restarts the worker runtime for the requested repo.When helping a user connect to a REPL:
:app, :electron, :db-worker-node, or a combinationcleanup-repl.shstart-repl.sh --repo <name>cleanup-repl.sh when finished© logseq, 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
SKILL.md and 7 other files (scripts) in .agents/skills/logseq-repl of logseq/logseq.
Open the folder on GitHubat commit 22a29b3
Logseq Repl 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 |
|---|---|---|---|---|---|---|
| Logseq Repl this skilllogseq/logseq | 45k | — | ~1.6k | Automated safety check: Pass | AGPL-3.0 | |
| Developing Electron DesktopTriliumNext/Trilium | 38k | — | ~5.7k | Automated safety check: Pass | AGPL-3.0 | |
| Figma Design Knowledge GraphEgonex-AI/Understand-Anything | 85k | — | ~1k | Automated safety check: Pass | MIT | |
| Relaunchnaveedharri/baalda | 153 | — | ~870 | Automated safety check: Pass | Apache-2.0 | |
| Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill | 2.5k | 2 repos | ~3.2k | Automated safety check: Pass | None | |
| Obsidian CLIAtmosphere/atmosphere | 3.8k | 13 repos | ~795 | Automated safety check: Pass | Apache-2.0 |
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…
Egonex-AI/Understand-Anything
Scans a Figma file through the Figma REST API and builds an interactive knowledge graph of its pages, screens, components and tokens for the design dashboard.
naveedharri/baalda
Kill the running Baalda desktop (Tauri) dev instance AND the backend server, then launch fresh instances of both.
sdyckjq-lab/llm-wiki-skill
Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.
Atmosphere/atmosphere
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.
Astro-Han/karpathy-llm-wiki
A skill your agent uses when building or maintaining a personal LLM-powered knowledge base.
logseq/logseq
Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…
logseq/logseq
Scan Logseq ClojureScript Node/Electron targets for npm module loading risks, especially ESM-only packages that may fail when loaded through js/require or shadow-cljs require-based shims.
logseq/logseq
Build, debug, or review Logseq plugins with the @logseq/libs SDK (TypeScript/JavaScript, iframe/shadow sandboxed).
logseq/logseq
Operate the current Logseq command-line interface to inspect or modify graphs, pages, blocks, tasks, tags, and properties; run Datascript queries; show page/block trees; manage graphs; and manage…
logseq/logseq
Audit, plan, and refresh dependency upgrades for the Logseq repository by scanning every non-gitignored package.json, deps.edn, bb.edn and nbb.edn manifest, checking latest upstream versions…
logseq/logseq
Logseq i18n workflow for adding, renaming, reviewing, or editing translation keys and user-facing strings.
Works with
Categories
Start and coordinate Logseq development REPL workflows for the Desktop renderer :app, Electron main-process :electron, and :db-worker-node runtimes through one unified workflow. Logseq Repl is an agent skill from logseq/logseq. Start and coordinate Logseq development REPL workflows for the Desktop renderer :app, Electron main-process :electron, and :db-worker-node runtimes through one unified workflow.
Logseq Repl fits situations like: knowledge Management work in your project.
Run `npx skills add logseq/logseq --skill logseq-repl -a claude-code`. Or copy the skill folder (.agents/skills/logseq-repl in logseq/logseq) into .claude/skills/logseq-repl in your project. Claude Code loads it when a task matches its description.
Run `npx skills add logseq/logseq --skill logseq-repl -a codex`. Or copy the skill folder (.agents/skills/logseq-repl in logseq/logseq) into .agents/skills/logseq-repl 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 logseq/logseq --skill logseq-repl -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/logseq-repl, .gemini/skills/logseq-repl, .github/skills/logseq-repl and .opencode/skills/logseq-repl in your project.
Going by SKILL.md and its folder, Logseq Repl needs a shell and Python for the scripts in its folder and the command-line tools its instructions call (pnpm and node). Our summary lists: Python 3; Node.js; A Bash shell.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Logseq Repl 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 1.6k tokens (SKILL.md is roughly 6.3k 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 Logseq Repl: Developing Electron Desktop (TriliumNext/Trilium, 38k stars), Figma Design Knowledge Graph (Egonex-AI/Understand-Anything, 85k stars), Relaunch (naveedharri/baalda, 153 stars) and Baoyu URL To Markdown (sdyckjq-lab/llm-wiki-skill, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
logseq (a GitHub organization) maintains it in logseq/logseq, which has 45,158 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: logseq/logseq on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.