{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/db-readonly",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=db-readonly",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/query-cookbook.md",
      "scripts/db_readonly.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/db-readonly",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "db-readonly",
        "body": "Use this skill for database read tasks only."
      },
      {
        "title": "What this skill does",
        "body": "Connect to PostgreSQL or MySQL using connection env vars\nExecute SELECT / WITH / EXPLAIN queries only\nOptionally save output to CSV/TSV/JSON\nBlock risky SQL (INSERT, UPDATE, DELETE, DROP, ALTER, etc.)"
      },
      {
        "title": "PostgreSQL",
        "body": "PGHOST\nPGPORT (optional, default 5432)\nPGDATABASE\nPGUSER\nPGPASSWORD"
      },
      {
        "title": "MySQL",
        "body": "MYSQL_HOST\nMYSQL_PORT (optional, default 3306)\nMYSQL_DATABASE\nMYSQL_USER\nMYSQL_PASSWORD"
      },
      {
        "title": "Run",
        "body": "Use script:\n\nscripts/db_readonly.sh postgres \"SELECT now();\"\nscripts/db_readonly.sh mysql \"SELECT NOW();\"\n\nExport example:\n\nscripts/db_readonly.sh postgres \"SELECT * FROM users LIMIT 100\" --format csv --out /tmp/users.csv"
      },
      {
        "title": "Safety rules",
        "body": "Refuse non-read SQL.\nPrefer LIMIT for exploratory queries.\nWhen user asks for updates/deletes/schema changes, ask explicit confirmation and do not run via this skill.\nAvoid printing secrets from env vars."
      },
      {
        "title": "Reference",
        "body": "Query cookbook: references/query-cookbook.md"
      }
    ],
    "body": "db-readonly\n\nUse this skill for database read tasks only.\n\nWhat this skill does\nConnect to PostgreSQL or MySQL using connection env vars\nExecute SELECT / WITH / EXPLAIN queries only\nOptionally save output to CSV/TSV/JSON\nBlock risky SQL (INSERT, UPDATE, DELETE, DROP, ALTER, etc.)\nConnection env vars\nPostgreSQL\nPGHOST\nPGPORT (optional, default 5432)\nPGDATABASE\nPGUSER\nPGPASSWORD\nMySQL\nMYSQL_HOST\nMYSQL_PORT (optional, default 3306)\nMYSQL_DATABASE\nMYSQL_USER\nMYSQL_PASSWORD\nRun\n\nUse script:\n\nscripts/db_readonly.sh postgres \"SELECT now();\"\nscripts/db_readonly.sh mysql \"SELECT NOW();\"\n\nExport example:\n\nscripts/db_readonly.sh postgres \"SELECT * FROM users LIMIT 100\" --format csv --out /tmp/users.csv\nSafety rules\nRefuse non-read SQL.\nPrefer LIMIT for exploratory queries.\nWhen user asks for updates/deletes/schema changes, ask explicit confirmation and do not run via this skill.\nAvoid printing secrets from env vars.\nReference\nQuery cookbook: references/query-cookbook.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/reed1898/db-readonly",
    "publisherUrl": "https://clawhub.ai/reed1898/db-readonly",
    "owner": "reed1898",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}