# Send DB Readonly to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "db-readonly",
    "name": "DB Readonly",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/reed1898/db-readonly",
    "canonicalUrl": "https://clawhub.ai/reed1898/db-readonly",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/db-readonly",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=db-readonly",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/query-cookbook.md",
      "scripts/db_readonly.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "db-readonly",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T07:28:15.097Z",
      "expiresAt": "2026-05-06T07:28:15.097Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=db-readonly",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=db-readonly",
        "contentDisposition": "attachment; filename=\"db-readonly-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "db-readonly"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/db-readonly"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/db-readonly",
    "downloadUrl": "https://openagent3.xyz/downloads/db-readonly",
    "agentUrl": "https://openagent3.xyz/skills/db-readonly/agent",
    "manifestUrl": "https://openagent3.xyz/skills/db-readonly/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/db-readonly/agent.md"
  }
}
```
## Documentation

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: reed1898
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T07:28:15.097Z
- Expires at: 2026-05-06T07:28:15.097Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/db-readonly)
- [Send to Agent page](https://openagent3.xyz/skills/db-readonly/agent)
- [JSON manifest](https://openagent3.xyz/skills/db-readonly/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/db-readonly/agent.md)
- [Download page](https://openagent3.xyz/downloads/db-readonly)