An AI-powered database companion that translates natural language into secure, optimized SQL queries and provides intelligent database schema insights.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install sql-buddy
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install sql-buddy using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
SQL Buddy is a powerful database assistant designed to bridge the gap between human intent and complex database queries. By integrating seamlessly with your databases, it lets you express questions in natural language (Chinese or English) and automatically generates, optimizes, and safely executes the corresponding SQL queries. As part of the growing ecosystem of Openclaw Skills, it provides a developer-friendly interface to explore tables, inspect execution plans, and run read-only queries securely out of the box.
Whether you are interacting with SQLite, PostgreSQL, MySQL, or SQL Server, SQL Buddy prioritizes security by defaulting to a read-only execution mode. Sensitive schema details like passwords are never logged, and critical data like password hashes are masked automatically, giving you the power of AI database analysis without exposing sensitive operational data.
--allow-write flag is explicitly provided.Install the SQL Buddy skill directly via the command line:
clawhub install sql-buddy
You can connect to a local SQLite database and query it using natural language:
clawhub run sql-buddy --query "Show me all active users" --connection sqlite:///./app.db --execute
Configure your connection string based on your database system:
sqlite:///path/to/database.dbpostgresql://user:pass@host:5432/dbnamemysql://user:pass@host:3306/dbnamemssql://user:pass@host:1433/dbnameAlternatively, you can configure your connection by setting environment variables:
export DATABASE_URL="postgresql://user:pass@host:5432/dbname"
All connection settings and local cache data are stored in the user's home directory.
| Path | Description |
|---|---|
~/.openclaw/data/sql-buddy/connections.json |
Stores configured connection strings and database credentials locally. |
To ensure security and compliance, schema information sent to the LLM is processed according to these rules:
password_hash, secret, token) are automatically masked or excluded from schema contexts to prevent unintended data exposure.INSERT, UPDATE, DELETE) by explicitly specifying the --allow-write parameter.EXPLAIN).Loading
An intelligent, local-first time tracking tool driven by natural language parsing and automated activity classification.

An AI-powered mental health companion based on Portia de Rossi's memoir, designed to navigate eating disorder recovery, body dysmorphia, and psychological healing.

An advanced AI agent skill designed to parse, translate, and extract high-quality structural and model diagrams from arXiv academic papers.

A 30-day social and web research briefing agent that pulls, ranks, and synthesizes real-world engagement data across 11+ platforms using a single Glim API key.

An advanced Openclaw Skills agent tool designed to convert raster logo images into optimized, minimal vector SVGs and animate them using professional Disney animation principles inside custom showcase HTML.

A reliable automated backup and disaster recovery utility designed to safeguard your agent configurations, workspace memories, and credentials.








































