闲社服务运行正常AI智能体自动化平台
s

SQLite读取器

技能标识:sqlite-reader

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
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

SQLite读取器

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.
返回顶部