Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

logseq-bridge对数桥

Agent Skill

logseq-bridge 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,997

周安装

80

GitHub Stars

公开资料未说明

下载量

646
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:logseq-bridge(对数桥)
来源仓库:https://github.com/ham-5on/logseq-bridge
安装命令:
openclaw skills install logseq-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install logseq-bridge

简介

logseq-bridge 提供与本地 Logseq 图的纯文件交互能力,支持读写、搜索和管理 .md 文件。

  • 适合在 OpenClaw 中直接操作 Logseq 笔记或页面时使用。
  • 通过 clawhub 安装并使用 openclaw skills install logseq-bridge 命令部署。
  • 使用前需确认文件访问权限及是否触发本地文件操作。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
logseq-bridge
description
Pure file-based interaction with a local Logseq graph. Read, write, search, and manage Logseq journals and pages via direct .md file operations. No plugins or HTTP APIs needed.

Logseq Bridge

Interact with your Logseq graph by directly reading and writing .md files on disk. No plugins, no HTTP APIs — just filesystem access to your Logseq graph directory.


How It Works

Agent → Shell → Read/Write local `.md` files → Logseq reloads on next Cmd/Ctrl+R

Pure file operations. No HTTP APIs, no plugin bridges, no port listeners.


Prerequisites

Your Logseq graph is stored as a local directory structure:

{graph_root}/
├── journals/       ← Daily notes *.md
├── pages/          ← Knowledge pages *.md
├── assets/         ← Images, attachments
├── logseq/         ← Config files
│   └── config.edn
└── .logseq/        ← Index database (auto-maintained)
    └── graphs/
        └── logseq_local_*.transit

What you need:

  1. Logseq installed and opened at least once (so .logseq/ exists)
  2. Read/write access to the graph directory on your filesystem
  3. Know your graph path

Finding Your Graph Path

Method 1: From Logseq UI

Open Logseq → SettingsAdvanced → Look for "Current graph directory"

Method 2: From the transit database file

ls ~/.logseq/graphs/*.transit
# e.g.: logseq_local_E%3A+++Users++MyUser++Logseq.transit

The filename is URL-encoded. Decode it to find your path:

# In WSL/Linux, mount the drive and set the path
export LQ="/mnt/c/Users/MyUser/Logseq"

Core Operations

Set the environment variable first:

export LQ="/path/to/your/logseq/graph"

📝 Write to Today's Journal

DATE=$(date +%Y_%m_%d)
FILE="$LQ/journals/$DATE.md"

cat >> "$FILE" << 'EOF'
- 🦞 Note title
  - Sub-item 1
  - Sub-item 2
EOF

📖 Read a Journal

cat "$LQ/journals/$(date +%Y_%m_%d).md"
# Or a specific date
cat "$LQ/journals/2026_04_25.md"

📄 Read a Knowledge Page

cat "$LQ/pages/Page Name.md"

🔍 Search Notes

# Search all pages
grep -ri "keyword" "$LQ/pages/"

# Search journals
grep -rn "keyword" "$LQ/journals/"

# Search the database index (faster)
strings ~/.logseq/graphs/*.transit | grep -i "keyword" | head -20

📋 Create a New Page

cat > "$LQ/pages/New Page.md" << 'EOF'
title:: New Page
tags:: tag1, tag2

- Page content
  - Sub content
EOF

📊 List Statistics

# Total journals
ls "$LQ/journals/" | wc -l

# Total pages
ls "$LQ/pages/" | wc -l

# Latest 5 journals
ls -t "$LQ/journals/" | head -5

Markdown Format Reference

Write notes in Logseq-compatible Markdown:

SyntaxExampleNote
Bullet list- contentEvery line starts with -
Indent children - child2-space indent
Bold**text**Standard Markdown
Wiki link[[Page Name]]Auto-links pages
Tag#tagnameAuto-indexed
Propertykey:: valuePage or block-level property
TODO markerTODO do somethingRenders as task
DONE markerDONE completedRenders as done

Known Issues & Limitations

IssueDescriptionWorkaround
No real-time refreshLogseq doesn't watch file changesPress Ctrl+Shift+R (or Cmd+Shift+R) to reload
Static text readsReads raw .md, not block treeParse Markdown yourself for structured data
Cloud sync delayGraph on OneDrive/Dropbox may lagWait a few seconds after writing
Special characters in pathsChinese/Unicode charsWrap paths in double quotes

Quick Start

# 1. Find your graph path in Logseq Settings → Advanced

# 2. Set the path
export LQ="/path/to/your/logseq/graph"

# 3. Write a test note
DATE=$(date +%Y_%m_%d)
echo "- 🎉 Logseq Bridge test successful!" >> "$LQ/journals/$DATE.md"

# 4. Reload Logseq (Ctrl+Shift+R or Cmd+Shift+R)

Best Practices

  1. File operations first — stable, zero dependencies
  2. Tell user to reload — Logseq won't auto-detect file changes
  3. Date format — Journal filenames are always YYYY_MM_DD.md
  4. Page naming — The filename IS the page name; Chinese OK
  5. Heredoc — Use << 'EOF' for multi-line content

References

  • Logseq: https://logseq.com
  • Logseq Markdown Guide: https://docs.logseq.com
  • ClawHub: https://clawhub.ai

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

98.52%
按下载量换算636

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills