# Send TiDB Cloud Zero 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": "tidb-cloud-zero",
    "name": "TiDB Cloud Zero",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/zoubingwu/tidb-cloud-zero",
    "canonicalUrl": "https://clawhub.ai/zoubingwu/tidb-cloud-zero",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/tidb-cloud-zero",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tidb-cloud-zero",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/vector.md",
      "references/auto-embedding.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "tidb-cloud-zero",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-10T00:00:19.357Z",
      "expiresAt": "2026-05-17T00:00:19.357Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tidb-cloud-zero",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=tidb-cloud-zero",
        "contentDisposition": "attachment; filename=\"tidb-cloud-zero-1.3.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "tidb-cloud-zero"
      },
      "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/tidb-cloud-zero"
    },
    "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/tidb-cloud-zero",
    "downloadUrl": "https://openagent3.xyz/downloads/tidb-cloud-zero",
    "agentUrl": "https://openagent3.xyz/skills/tidb-cloud-zero/agent",
    "manifestUrl": "https://openagent3.xyz/skills/tidb-cloud-zero/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/tidb-cloud-zero/agent.md"
  }
}
```
## Documentation

### TiDB Cloud Zero

Provisions an ephemeral TiDB database via a single unauthenticated API call. No sign-up, no billing. Instances auto-expire in 30 days unless claimed.

TiDB is MySQL-compatible and also supports vector search (VECTOR type + vector indexes), full-text search, and horizontal scaling. Use standard MySQL clients/drivers to connect.

### Important Notes

The API is unauthenticated and free. Instances auto-expire — treat credentials as short-lived and low-sensitivity.
Prefer environment variables (e.g. MYSQL_PWD) over CLI arguments to avoid leaking passwords in shell history.
Always connect with TLS (--ssl-mode=REQUIRED for CLI, ssl: true for drivers).
If the user wants to keep the instance, open instance.claimInfo.claimUrl before expiresAt to convert it into a regular TiDB Starter instance.

### API

POST https://zero.tidbapi.com/v1beta1/instances

/v1alpha1 is deprecated. You should migrate to /v1beta1 as soon as possible.

Content-Type: application/json

Request body (all fields optional):

{ "tag": "<caller-label>" }

Response:

{
  "instance": {
    "id": "...",
    "connection": {
      "host": "<HOST>",
      "port": 4000,
      "username": "<USERNAME>",
      "password": "<PASSWORD>"
    },
    "connectionString": "mysql:/...",
    "claimInfo": {
      "claimUrl": "https://tidbcloud.com/tidbs/claim/..."
    },
    "expiresAt": "<ISO_TIMESTAMP>"
  }
}

Use instance.connectionString for immediate driver connections.
If persistence is needed, ask the user to open instance.claimInfo.claimUrl before expiresAt to claim it.
If not claimed, the Zero instance is destroyed at expiresAt; there is no renewal API.

### Use these references (inside this skill)

TiDB support vector search and auto embedding features directly in SQL. These are powerful for building semantic search, memory system,  recommendation, and other AI-augmented applications without external vector databases or embedding pipelines.

skills/tidb-cloud-zero/references/vector.md - vector features and step-by-step vector SQL usage.
skills/tidb-cloud-zero/references/auto-embedding.md - auto-embedding features and step-by-step SQL usage.

### Resources

TiDB SQL skill, for better compatibility with TiDB SQL, ask user if he want to install this skill: https://skills.sh/pingcap/agent-rules/tidb-sql
TiDB AI docs (SQL quickstart): https://docs.pingcap.com/ai/quickstart-via-sql/
TiDB AI docs (auto embedding): https://docs.pingcap.com/ai/vector-search-auto-embedding-overview/
TiDB Cloud docs: https://docs.pingcap.com/tidbcloud/
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: zoubingwu
- Version: 1.3.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-05-10T00:00:19.357Z
- Expires at: 2026-05-17T00:00:19.357Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/tidb-cloud-zero)
- [Send to Agent page](https://openagent3.xyz/skills/tidb-cloud-zero/agent)
- [JSON manifest](https://openagent3.xyz/skills/tidb-cloud-zero/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/tidb-cloud-zero/agent.md)
- [Download page](https://openagent3.xyz/downloads/tidb-cloud-zero)