logseq-repl
Skill by logseq
Starts and coordinates Logseq development REPL workflows for the Desktop renderer, Electron main process, and db-worker-node runtimes. It is for developers working on the Logseq codebase.
Install logseq-repl
Built from the published package, never by AI.
git clone --depth 1 https://github.com/logseq/logseq /tmp/logseq && mkdir -p ~/.claude/skills && cp -r /tmp/logseq/.agents/skills/logseq-repl ~/.claude/skills/logseq-replRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/logseq/logseq /tmp/logseq && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/logseq/.agents/skills/logseq-repl ~/.gemini/antigravity-cli/skills/logseq-replAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Logseq REPL Workflow is a skill that starts and coordinates Logseq development REPLs for the Desktop renderer (:app), the Electron main process (:electron), and the :db-worker-node runtime, or any combination of them. It uses one shared state directory in the repo's tmp/logseq-repl folder. The start script launches shared pnpm watch, the Desktop dev app, and the db-worker-node process, then verifies that each runtime is live and prints attach commands.
The skill also includes cleanup and verification scripts that stop managed processes and check each REPL target. It explains how to read runtime counts, where the log files are, how to audit standard ports, and how to troubleshoot failures. It is written for developers working on Logseq who need to attach a REPL to a specific runtime.
Written from the project's SKILL.md and checked against it.
What it can do
- start-repl.shStarts shared pnpm watch, the Desktop dev app, and the db-worker-node process for a given repo.
- verify-repls.shConnects to the app, electron, and db-worker-node REPLs and prints the output of one check in each.
- cleanup-repl.shStops all workflow-managed processes and removes legacy state files from older split workflows.
- Runtime selection guideMaps tasks such as DOM work, main-process APIs, or worker behavior to the right runtime.
- Runtime count checkUses shadow.cljs.devtools.api to report how many runtimes are attached for each target.
- Port auditLists which processes hold the standard REPL ports using lsof after cleanup.
- Troubleshooting orderGives a fixed sequence for checking logs, port listeners, and runtime counts when attach fails.
What you need
- pnpm
- shadow-cljs (run through pnpm exec)
- A Logseq repository checkout
- Node.js (to run db-worker-node.js)
- lsof for port checks
Try asking
- Start the Logseq REPLs for the Desktop app and Electron main process
- Verify that the :app and :db-worker-node REPL runtimes are attached
- Check the Logseq REPL logs and ports if startup reports conflicts
Good to know
- start-repl.sh does not attach an interactive REPL and exits after verification.
- If the runtime count is 0, attaching will not work until runtime startup is fixed.
- Multiple :app runtimes require closing extra browser dev app instances.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/logseq-repl/SKILL.md, .agents/skills/logseq-repl/scripts/cleanup-repl.sh, .agents/skills/logseq-repl/scripts/common.sh, .agents/skills/logseq-repl/scripts/start-repl.py, .agents/skills/logseq-repl/scripts/start-repl.sh, .agents/skills/logseq-repl/scripts/verify-repls.sh, .agents/skills/logseq-repl/tests/test-lib.sh, .agents/skills/logseq-repl/tests/test-logseq-repl.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
scripts/cleanup-repl.sh4 KB -
scripts/common.sh2 KB -
scripts/start-repl.py13 KB -
scripts/start-repl.sh144 B
Show all 8 files
-
scripts/verify-repls.sh2 KB -
tests/test-lib.sh2 KB -
tests/test-logseq-repl.sh14 KB
Alternatives to logseq-repl
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
logseq-repl: common questions
Which Logseq runtimes does this skill cover?
It covers the Desktop renderer :app, the Electron main process :electron, and the Node worker :db-worker-node, alone or in combination.
Does start-repl.sh open an interactive REPL?
No. The source says it verifies the runtimes, prints attach commands, and exits. You attach separately with pnpm exec shadow-cljs cljs-repl.
What should I do if a runtime count is zero?
The source says not to attach yet. Fix runtime startup first and check the logs in tmp/logseq-repl.
How do I install logseq-repl?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is logseq-repl free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is logseq-repl safe to use?
It scores 89 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to logseq-repl?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
