logseq-cli

Manage Logseq graphs and servers via CLI commands in automation workflows.

44.4k|2.8k|Updated May 23, 2020
One-click install
npx skills add https://github.com/logseq/logseq --skill logseq-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: logseq-cli
Source: https://github.com/logseq/logseq/tree/main/.agents/skills/logseq-cli
Command: npx skills add https://github.com/logseq/logseq --skill logseq-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to operate and manage their Logseq environments through CLI commands, simplifying graph inspection and modification.

Core Features & Use Cases

  • Graph Inspection and Editing: List nodes, pages, tags, properties, tasks, and assets; create, update, or remove them.
  • Graph Management: Handle graph listing, creation, switching, removal, validation, and import/export operations.
  • Server Operations: Start, stop, restart the Logseq db-server, and manage backups.
  • Use Case: Quickly automate routine graph audits or bulk task updates directly via terminal, saving manual navigation time.

Quick Start

Run logseq --help to see options and available commands for managing your Logseq graphs and servers efficiently.

Frequently Asked Questions about logseq-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Logseq graphs from the command line?

You can manage Logseq graphs from the command line by using CLI commands to list, create, switch, validate, remove, import, and export graphs directly in your terminal.

Can I automate bulk task updates in Logseq without opening the app?

Yes, you can automate bulk task updates by running CLI commands to inspect, create, update, or remove tasks, pages, and tags within your Logseq graphs via custom automation scripts.

How do I start and stop the Logseq db-server for automation workflows?

You can start, stop, and restart the Logseq db-server for automation workflows by executing dedicated server operation commands, which also support managing server backups directly from the terminal.

Do I need programming knowledge to use Logseq CLI commands?

Yes, using Logseq CLI commands requires knowledge of the command-line execution environment and CLI syntax, making it best suited for power users and developers maintaining multiple graphs or custom scripts.

What is the best way to inspect Logseq nodes and assets via terminal?

The best way to inspect Logseq nodes and assets via terminal is using the CLI tool to list pages, tags, properties, tasks, and assets, enabling quick graph audits without manual navigation.