← All skills
Tencent SkillHub · Data Analysis

DB Readonly

Run 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.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Run 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.

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, references/query-cookbook.md, scripts/db_readonly.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 7 sections Open source page

db-readonly

Use this skill for database read tasks only.

What this skill does

Connect to PostgreSQL or MySQL using connection env vars Execute SELECT / WITH / EXPLAIN queries only Optionally save output to CSV/TSV/JSON Block risky SQL (INSERT, UPDATE, DELETE, DROP, ALTER, etc.)

PostgreSQL

PGHOST PGPORT (optional, default 5432) PGDATABASE PGUSER PGPASSWORD

MySQL

MYSQL_HOST MYSQL_PORT (optional, default 3306) MYSQL_DATABASE MYSQL_USER MYSQL_PASSWORD

Run

Use 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.csv

Safety rules

Refuse non-read SQL. Prefer LIMIT for exploratory queries. When user asks for updates/deletes/schema changes, ask explicit confirmation and do not run via this skill. Avoid printing secrets from env vars.

Reference

Query cookbook: references/query-cookbook.md

Category context

Data access, storage, extraction, analysis, reporting, and insight generation.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs1 Scripts
  • SKILL.md Primary doc
  • references/query-cookbook.md Docs
  • scripts/db_readonly.sh Scripts