connecting-to-logseq
Skill by aiskillstore
Manages connections between an AI assistant and Logseq graphs through the HTTP API, the @logseq/cli tool, or an MCP server. It is for Logseq users who need help with API tokens, graph paths, setup, and connection troubleshooting.
Install connecting-to-logseq
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/c0ntr0lledcha0s/connecting-to-logseq ~/.claude/skills/connecting-to-logseqRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/marketplace/skills/c0ntr0lledcha0s/connecting-to-logseq ~/.gemini/antigravity-cli/skills/connecting-to-logseqAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install connecting-to-logseq in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The connecting-to-logseq skill sets up and troubleshoots connections between an AI assistant and a Logseq graph. It covers three backends: the Logseq HTTP API, the @logseq/cli command line tool, and a custom MCP server included in the plugin. The skill explains how to enable the HTTP API in Logseq, set an API token in the LOGSEQ_API_TOKEN environment variable, and create a configuration file at .claude/logseq-expert/env.json.
It also points to scripts for backend detection, environment setup, connection testing, and preflight checks, and lists steps for common errors such as failed connections and authentication problems. It is aimed at Logseq users who want Claude to read or write their graph. The security notes advise against committing tokens and state that the HTTP API listens only on localhost by default.
Written from the project's SKILL.md and checked against it.
What it can do
- Backend detectionRuns detect-backend.py to find which Logseq backends are available.
- Environment setupProvides init-environment.py, an interactive setup wizard, or the /logseq:init command.
- Connection testingOffers test-connection.py and preflight-checks.sh to check connectivity and the environment.
- HTTP API accessSends method calls such as logseq.Editor.getPage to the local Logseq HTTP API on port 12315.
- CLI queriesRuns Datalog queries against a local graph with @logseq/cli, with or without Logseq running.
- MCP serverIncludes a custom MCP server at servers/logseq-mcp that exposes Logseq operations as Claude tools.
- Troubleshooting guideLists steps for connection, authentication, CLI not found, and MCP server errors.
What you need
- Logseq desktop app with Developer mode and HTTP APIs server enabled
- Logseq authorization token
- Node.js 18 or later for the MCP server
- npm for installing @logseq/cli
- Python to run the setup scripts
Try asking
- Help me connect Claude to my Logseq graph using an API token.
- Check whether my Logseq HTTP API connection is working.
- Detect which Logseq backends are available on my machine.
Good to know
- The CLI backend has limited write support.
- The HTTP API and MCP server require Logseq to be running.
- The HTTP API only listens on localhost by default.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: skills/c0ntr0lledcha0s/connecting-to-logseq/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBashGrepGlob
Alternatives to connecting-to-logseq
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
connecting-to-logseq: common questions
Does this skill need Logseq to be running?
The HTTP API and MCP server backends require Logseq to be running with the HTTP API enabled. The CLI backend works without Logseq running, though the source says it has limited write support.
Where should the Logseq API token be stored?
The source recommends environment variables and says never to commit tokens to version control. The config file supports ${VAR} syntax to read the token from an environment variable.
What port does the Logseq HTTP API use?
The default URL is http://127.0.0.1:12315/api. The source says to check Settings under Advanced if the port differs.
How do I install connecting-to-logseq?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is connecting-to-logseq free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is connecting-to-logseq safe to use?
It scores 61 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to connecting-to-logseq?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
