A secure interface for executing read-only SQL queries against PostgreSQL and MySQL databases without risk of data modification.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install db-readonly
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-readonly using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The DB Read-Only skill is a specialized utility designed for developers and AI agents who need to interact with live databases safely. By utilizing Openclaw Skills, this tool allows for seamless data inspection, schema verification, and row counting while enforcing a strict read-only policy. It serves as a protective layer that blocks any destructive SQL commands, ensuring that production data remains intact during troubleshooting or reporting tasks.
This skill bridges the gap between raw data access and operational security. It provides a standardized way to query databases like PostgreSQL and MySQL through environment variables, making it an essential addition to any developer's toolkit within the Openclaw Skills ecosystem.
To get started with this skill from the Openclaw Skills library, configure your environment variables and use the provided scripts:
# PostgreSQL Configuration
export PGHOST='localhost'
export PGDATABASE='mydb'
export PGUSER='admin'
export PGPASSWORD='password'
# MySQL Configuration
export MYSQL_HOST='localhost'
export MYSQL_DATABASE='mydb'
export MYSQL_USER='admin'
export MYSQL_PASSWORD='password'
# Execute a test query
./scripts/db_readonly.sh postgres "SELECT now();"
The skill manages data through environment variables and local file exports as follows:
| Type | Details |
|---|---|
| Connection Vars | PGHOST, PGPORT, PGDATABASE, MYSQL_HOST, etc. |
| Export Formats | CSV, TSV, JSON |
| Query Types | SELECT, WITH, EXPLAIN |
| Safety Logic | Blocks INSERT, UPDATE, DELETE, DROP, ALTER |
Loading
A Git-powered synchronization engine to keep your AI agent workspace consistent across local machines and remote servers.

Automate the monitoring and reporting of Bitfinex funding interest and wallet balances through secure API integration.

A high-performance, no-LLM synchronization pipeline to monitor AI agent heartbeats and runtime status via Cloudflare KV and Worker APIs.

A high-frequency trading agent that automates Polymarket sprint market positions using real-time price signals from centralized exchanges.

A versatile tool for archiving URLs and screenshots into a tag-first, searchable personal knowledge base.

A natural-language personal assistant that captures events into a git-synced workspace and schedules automated Telegram notifications.








































