Install
openclaw skills install db-readonlyRun safe read-only queries against MySQL or PostgreSQL for data inspection, reporting, and troubleshooting. Use when the user asks to read tables, inspect schema, count rows, sample data, or export query results without modifying data.
openclaw skills install db-readonlyUse this skill for database read tasks only.
INSERT, UPDATE, DELETE, DROP, ALTER, etc.)PGHOSTPGPORT (optional, default 5432)PGDATABASEPGUSERPGPASSWORDMYSQL_HOSTMYSQL_PORT (optional, default 3306)MYSQL_DATABASEMYSQL_USERMYSQL_PASSWORDUse script:
scripts/db_readonly.sh postgres "SELECT now();"scripts/db_readonly.sh mysql "SELECT NOW();"Export example:
scripts/db_readonly.sh postgres "SELECT * FROM users LIMIT 100" --format csv --out /tmp/users.csvLIMIT for exploratory queries.references/query-cookbook.md