返回顶部
s

sqlite-readerSQLite读取器

Read and query SQLite database files. Use when user wants to inspect or extract data from .sqlite files, especially OpenClaw's main.sqlite memory database. Supports basic SELECT queries, table listing, and schema inspection.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
189
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

sqlite-reader

SQLite 读取技能

快速开始

要读取 SQLite 文件:

  1. 1. 使用 readsqlite 工具(尚未实现 - 需要先创建脚本)
  2. 或者使用 scripts/readsqlite.py 中提供的 Python 脚本

可用工具

目前没有直接可用的工具,但我会创建一个能够执行以下操作的 Python 脚本:

  • - 列出数据库中的所有表
  • 显示表结构
  • 执行 SELECT 查询
  • 将数据导出为 CSV/JSON 格式

使用示例

列出所有表

python python scripts/read_sqlite.py --list-tables C:\path\to\database.sqlite

显示表结构

python python scripts/read_sqlite.py --schema C:\path\to\database.sqlite users

执行 SELECT 查询

python python scripts/read_sqlite.py --query SELECT * FROM sessions LIMIT 5 C:\path\to\database.sqlite

实施计划

我需要创建:

  1. 1. scripts/read_sqlite.py - 用于 SQLite 操作的 Python 脚本
  2. references/schema.md - SQLite 结构参考

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 sqlite-reader-1776298142 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 sqlite-reader-1776298142 技能

通过命令行安装

skillhub install sqlite-reader-1776298142

下载

⬇ 下载 sqlite-reader v1.0.0(免费)

文件大小: 3.64 KB | 发布时间: 2026-4-17 16:14

v1.0.0 最新 2026-4-17 16:14
Initial release of sqlite-reader skill.

- Allows users to read and query SQLite database files.
- Supports listing tables, viewing schemas, and running basic SELECT queries.
- Usage examples provided for listing tables, displaying schema, and querying data via a Python script.
- Plans for tool and script implementation to aid data inspection and export.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部