← 返回
未分类 中文

Workspace Database Manager

Workspace Documentation and Tree Database Manager. SQLite-based indexing for all documentation, files, and directory structures with CSV/JSON export capabili...
工作区文档与树形数据库管理工具;基于SQLite对文档、文件及目录结构建立索引,支持CSV/JSON导出。
kikikari kikikari 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 338
下载
💾 1
安装
1
版本
#database#documentation#index#latest#sqlite

概述

Workspace Database Manager

Hybrid database solution for OpenClaw workspace documentation and file indexing.

Features

  • docs.db: Documentation index (256+ documents, skills, symlinks)
  • tree.db: Directory tree structures (152+ entries)
  • Auto-Export: CSV and JSON formats
  • Git-Ready: Skill structure for easy publishing

Database Schema

docs.db

documents: id, name, path, category, description, type, has_symlink, symlink_path, last_update
skills: id, name, version, status, description, path
symlinks: id, name, target, source_path, description
categories: id, name, description, priority

tree.db

tree_entries: id, root_path, relative_path, name, type, depth, parent_path, size
tree_scans: id, root_path, max_depth, total_files, total_dirs, total_symlinks

Scripts

ScriptPurpose
-----------------
db_manager.pyInitialize and populate docs.db
tree_indexer.pyScan directories with tree command
update_docs_db.pyRe-scan all documentations

Usage

# Initialize databases
python3 scripts/db_manager.py

# Index tree structures
python3 scripts/tree_indexer.py

# Update documentation index
python3 scripts/update_docs_db.py

# Query databases
sqlite3 db/docs.db "SELECT * FROM documents WHERE category='websearch'"
sqlite3 db/tree.db "SELECT * FROM tree_entries WHERE type='symlink'"

Exports

Auto-generated in workspace root:

  • db_documents.csv/json
  • db_skills.csv/json
  • db_symlinks.csv/json
  • export_tree_*.csv

Installation

clawhub install workspace-db

Requirements

  • Python 3.8+
  • SQLite3
  • tree command (optional, for indexing)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 18:30 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 446 📥 105,044
ai-agent

MCP Tool Utils

kikikari
MCP(模型上下文协议)工具和助手。用于连接、配置和管理 OpenClaw 中 MCP 服务器的工具。
★ 0 📥 437
knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 958 📥 519,093