A database inspection and querying skill that connects to PostgreSQL, MySQL, SQLite, MongoDB, and Redis to check schemas, run queries, and export results.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install db-explorer-lens
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 db-explorer-lens using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
DB Explorer is an advanced command-line assistant designed to facilitate seamless database connections, queries, schema explorations, and automated exports directly from your terminal. By supporting a wide array of databases including PostgreSQL, MySQL, SQLite, MongoDB, and Redis, it serves as a central hub for database interactions during live development.
Using this capability within your Openclaw Skills workflow ensures both rapid diagnostics and rigorous query safety. DB Explorer is built with guardrails like read-only protections, query row limiting, and connection string safeguards, making it an indispensable asset for developers looking to safely debug, migrate, or analyze backend data systems.
Install the appropriate CLI client for your database system of choice:
# PostgreSQL
brew install postgresql # macOS
apt install postgresql-client # Linux
# MySQL
brew install mysql # macOS
apt install mysql-client # Linux
# SQLite
apt install sqlite3 # Linux (built-in on macOS)
# MongoDB
brew install mongosh # macOS
# Redis
brew install redis # macOS
apt install redis-tools # Linux
Configure your connection parameters using environment variables:
# Option 1: Full Connection URL
export DATABASE_URL="postgresql://user:password@host:5432/dbname"
# Option 2: Parameter-based Configuration
export DB_TYPE="postgres"
export DB_HOST="localhost"
export DB_PORT="5432"
export DB_NAME="my_database"
export DB_USER="admin"
export DB_PASSWORD="secure_password"
DB Explorer manages its configuration and handles exports using structured parameters.
| Variable | Type | Description |
|---|---|---|
DATABASE_URL |
String | Connection URI taking priority. Supports SSL modes (e.g., ?sslmode=require). |
DB_TYPE |
String | Must be one of: postgres, mysql, sqlite, mongo, or redis. |
DB_HOST |
String | Database host address. Defaults to localhost. |
DB_PORT |
Integer | Connection port (e.g., 5432, 3306, 27017, 6379). |
DB_NAME |
String | Target database name or file path for SQLite. |
Export operations generate formatted outputs dynamically, saving them into clean structures:
\\copy ... TO '/tmp/export.csv').json_agg in PostgreSQL) saved to /tmp/export.json.backup_YYYYMMDD.sql) often compressed utilizing gzip.Loading
An intelligent financial assistant that automates invoice parsing, multi-company tax header mapping, and reimbursement tracking.

A Python-based automation tool that leverages AppleScript and cliclick to automatically send files, images, videos, and messages via desktop WeChat on macOS.

A zero-config python agent tool that retrieves daily lunch menus from German university canteens via the public OpenMensa API.

A systematic methodology to strip away human-limiting coordination layers and reconstruct complex workflows into highly efficient, AI-assisted end-to-end pipelines.

A specialized, read-only AI agent skill designed to query, analyze, and troubleshoot network-layer intercept records for Alibaba Cloud DDoS Native Protection (Anti-DDoS Origin).

An AI-powered ecommerce utility designed to extract and analyze Amazon customer reviews and ratings using product URLs or ASINs via the ClawEC API.








































