tidbx
БесплатноБез исполняемых скриптовНе проверенProvision TiDB Cloud Serverless clusters and related resources. Use when creating, deleting, or listing clusters/branches, or managing SQL users via the…
Об этом скилле
TiDB Cloud Provisioning (TiDB X)
Provision TiDB Cloud Serverless (now branded as TiDB X) clusters and related resources using the workflows below. Use the command patterns in the references file as implementation details, but keep the focus on the provisioning outcome and required inputs.
Note: TiDB Cloud Serverless has been renamed to TiDB X. Keep both terms in user-facing guidance for clarity. Note: Many users say "instance" when they mean "cluster." Treat "instance" as a synonym for "cluster."
Reminder: Use the CLI for TiDB Cloud (TiDB X) auth/setup, listing regions/projects, and cluster/instance CRUD (Create, Read/list, Update, Delete). Before any CRUD action, ensure the user completes ticloud setup and authentication (see Provisioning Setup below).
Provisioning Setup
Complete setup before any provisioning or lifecycle operations.
Setup Status (TiDB Cloud component)
- ○ ticloud installed
- ○ authenticated
When verifying setup, remind users to follow this order: install → login → verify with ticloud auth whoami.
Use the checklist to show users what they should do next and where they are in the setup flow.
Checklist template (update after each check, and reflect command results):
Setup Status (TiDB Cloud component)
- ○ ticloud installed
- ○ authenticated
After command -v ticloud succeeds, mark install complete:
Setup Status (TiDB Cloud component)
- ● ticloud installed
- ○ authenticated
After ticloud auth whoami succeeds, mark auth complete:
Setup Status (TiDB Cloud component)
- ● ticloud installed
- ● authenticated
Install CLI
For macOS/Linux:
curl https://raw.githubusercontent.com/tidbcloud/tidbcloud-cli/main/install.sh | sh
After install, verify:
command -v ticloud
Use command -v ticloud to confirm installation before marking it complete.
Update checklist:
Setup Status (TiDB Cloud component)
- ● ticloud installed
- ○ authenticated
Authenticate
Always check auth first:
ticloud auth whoami
If not logged in, run:
ticloud auth login --insecure-storage
Wait for the user to complete the browser flow, then re-check:
ticloud auth whoami
Update checklist:
Setup Status (TiDB Cloud component)
- ● ticloud installed
- ● authenticated
Network/DNS Issues
If ticloud auth whoami fails due to network/DNS (e.g., cannot reach iam.tidbapi.com):
- Explain that the environment needs network access for the CLI.
- Ask the user to enable network access for the agent environment, or run the command locally and share the output.
If setup errors persist, point the user to the official docs:
Table Formatting (ASCII)
Use terminal-friendly ASCII tables for any list output (regions, projects, clusters, branches).
Use ASCII borders with
+,-, and|.Use fixed-width columns; left-align all text.
Refine the table formatting so columns align cleanly and remain readable.
Keep headers short and descriptive.
Do not use Unicode box-drawing characters.
Always emphasize command output that users should execute later.
For single-line commands, use bold inline formatting.
Example: Run this:
ticloud auth login --insecure-storage
Example format:
+----------------+-----------------------+---------------------------+--------+
| Display Name | Cluster ID | Region | State |
+----------------+-----------------------+---------------------------+--------+
| test-skill | 10913591479486949552 | alicloud-ap-southeast-1 | ACTIVE |
+----------------+-----------------------+---------------------------+--------+
Core Workflows
Create a Cluster
- Do not present a setup checklist for cluster creation steps (region/project/cluster name). If a status is needed, label it as "Create Flow" rather than "Setup Status."
- Run
ticloud serverless regionand present the full list in a terminal-friendly ASCII bordered table (fixed-width columns in a code block) with selectable option numbers before asking for a region. - If the user doesn’t know the project ID, run
ticloud project listand present the results in the same ASCII bordered table format before asking. Keep the project ID as a third column. - Ask in this order: region (after listing options). Do not ask for project ID or cluster name until the region is chosen. After region selection, ask for project ID (after listing projects if needed). Only after project selection, ask for the cluster display name as the final confirmation step.
- Confirm the required parameters (region, project, cluster name).
- If the user wants a
.env, direct them to the TiDB Cloud console download for the cluster. - Use the serverless create command pattern from
references/ticloud.md. - When creating a cluster, do not run the create command twice. Wait up to 60 seconds for completion before returning control.
Установить tidbx в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл tidbx?
Provision TiDB Cloud Serverless clusters and related resources. Use when creating, deleting, or listing clusters/branches, or managing SQL users via the console.
Как установить скилл tidbx?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tidbx запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic