/cloudbase:cloudbase-clifrom cloudbase
Manages Tencent CloudBase resources via the tcb CLI — deploy cloud functions, CloudRun, storage, databases, static hosting; manage environments, logs, monitoring, and data model migrations. Use for CI/CD, batch ops, or as fallback when MCP tools aren't loaded.
Ships in cloudbase. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Manage CloudBase resources via tcb CLI — deterministic, scriptable, auditable.
Primary interface for CI/CD and batch ops; also the first-session fallback when MCP tools are not yet available in the conversation.
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.
If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.
Cross-cutting protocols (required before code changes or deployments):
../cloudbase-platform/references/protocols/change-safety-protocol.md../cloudbase-platform/references/protocols/deployment-gate.md../cloudbase/references/tooling-fallback.md (packaged beside this skill as the cloudbase entry guideline)Route, do not improvise — when a task belongs to another skill, hand over instead of guessing flags here:
pgstore → ../postgresql-development-cloudbase/SKILL.md../postgresql-development-cloudbase/SKILL.md--help first — but its failure does NOT mean the command is missing.
Run tcb <command> --help to check parameters and find official doc links. On current CLI versions many
second-level commands reject --help (error: unknown option '--help'), while some accept -h, and
tcb help <cmd> only works one level deep. Try -h, then tcb help <cmd>, then
tcb docs search "<keyword>" — never conclude a command does not exist from a help error.
tcb --help itself is a hand-maintained static list, so absence from it says nothing about
lifecycle: init --without-template, new, open, rollback, self-update, monitor, integration,
service, cloudfunction, cloudrunfunction and run:deprecated are all registered yet unlisted.
Absence from help ≠ deprecated, and "no marker" ≠ endorsed — the statuses differ:
tcb monitor / tcb integration are officially supported (recommend normally), while
tcb service and tcb cloudfunction / tcb cloudrunfunction are not recommended
(product decision, no code marker). Full status table: references/core.md.
Confirm the site (国内站 / 国际站) as well as the envId.
A credential from one site does not work on the other, and the failure looks like an auth error.
One-off: tcb login --intl true|false; persistent: tcb config set isIntl true|false.
Pick one mechanism and keep it consistent — see references/core.md / references/config.md.
Deployment Gate.
Before any deployment, publish, custom domain, or CloudRun operation, you must first complete the checks in cloudbase-platform/references/protocols/deployment-gate.md.
Verify your work. After deploying or modifying any resource, run the corresponding list/detail command to confirm the change took effect.
Dry-run before destructive actions.
Use --dry-run for delete/overwrite operations. Show the preview to the user
and wait for explicit confirmation before executing.
Confirm environment first.
Always verify envId with the user before operations. Run tcb env use <envId>
to avoid accidentally modifying production.
Recover from errors, don't loop.
If a command fails after 2-3 attempts, check the exit code ($?), read the
error message, consult tcb docs search, and try a different approach.
First-session fallback, not MCP replacement.
If CloudBase MCP tools are missing in this session, use this skill to unblock
login/manage. Still configure MCP (plugin / mcp.json) so the next session
can prefer MCP. When MCP tools are already available, prefer MCP unless the
user asked for CLI/CI. Route deploy work through the domain reference table
below — do not recommend tcb deploy.
No npm/npx.
If Node/npm/npx are missing, tell the user to install Node.js LTS (or use the
IDE marketplace MCP path) before retrying CLI/plugin install. See guideline
tooling-fallback.md.
Use when the user wants to manage CloudBase resources via command line, or when MCP is not usable yet:
tcb login + the matching domain command now; leave MCP ready for next sessiontcb deploy)tcb policy), roles, users, CORS, domains, routingcloud-functions,
cloudbase-document-database-web-sdk, auth-web-cloudbase, etc.postgresql-development-cloudbasecloudbase-agent-tsreferences/core.md first — it covers authentication, site selection,
environment switching, tcb docs queries, and error diagnosis.| User Task | Read |
|---|---|
Login, site (国际站/国内站), env switching, tcb docs, error diagnosis | references/core.md |
| Create / modify / renew / destroy an environment, API Keys, login policy, safe domains, usage | references/env.md |
tcb config (CLI settings, cloudbaserc.json sync), tcb init --without-template / new / open / validate / self-update / rollback | references/config.md |
Configure an AI tool + MCP + Skills (tcb ai) | references/config.md |
| Deploy/debug cloud functions, versions, provisioned concurrency, layers, triggers | references/functions.md |
| Deploy static site / SPA (preferred CLI web path) | references/hosting.md |
| Deploy CloudRun service, traffic/canary, versions, build & runtime logs | references/cloudrun.md |
Experimental all-in-one web shorthand (tcb deploy, tcb app build) — avoid unless the user asks | references/app.md |
| Upload/download files, ACL rules, COS vs PG object storage | references/storage.md |
| NoSQL (MongoDB) database operations, collection dump | references/nosql.md |
| MySQL instance, SQL execution, backups, slow queries | references/mysql.md |
Data model definitions, sync-model-dts, PostgreSQL migrations | references/schema.md |
| Search logs (CLS: functions / CloudRun / database / auth / LLM / gateway) | references/logs.md |
| Metric monitoring (functions, CloudRun, DB, hosting, auth, gateway…) | references/monitor.md |
Resource authorization (tcb policy), roles, users | references/permission.md |
CORS, custom domains, CDN cache purge, routing rules (tcb routes) | references/access.md |
tcb service (HTTP 访问服务) — ⚠️ not recommended; read access.md for the routes/domains equivalent | references/access.md |
WeDa / 微搭 low-code apps and components (tcb lowcode) | references/lowcode.md |
| Sandbox tools / instances / API keys | references/sandbox.md |
| Agent create / update / delete | references/agent.md |
| Integration instances (types, create, bind, delete) | references/integration.md |
| PostgreSQL schema / RLS / migration workflow (not just the CLI flags) | ../postgresql-development-cloudbase/SKILL.md |
tcb login (check the site) → confirm envId with the user → tcb env use <envId>tcb <command> --help (or -h)--dry-run for destructive ops)list / detail commandreferences/core.md before any domain module?isIntl) and the target envId with the user?--help failure was not misread as "command missing"?--dry-run before destructive operations?All packaged reference files (required for skill lint reachability):
LICENSE.md (opens in a new tab)references/access.md (opens in a new tab)references/agent.md (opens in a new tab)references/app.md (opens in a new tab)references/cloudrun.md (opens in a new tab)references/config.md (opens in a new tab)references/core.md (opens in a new tab)references/env.md (opens in a new tab)references/functions.md (opens in a new tab)references/hosting.md (opens in a new tab)references/integration.md (opens in a new tab)references/logs.md (opens in a new tab)references/lowcode.md (opens in a new tab)references/monitor.md (opens in a new tab)references/mysql.md (opens in a new tab)references/nosql.md (opens in a new tab)references/permission.md (opens in a new tab)references/sandbox.md (opens in a new tab)references/schema.md (opens in a new tab)references/storage.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tencentcloudbase/cloudbase-ai-toolkit --plugin cloudbase32 skills in this plugin
/ai-model-nodejsUse this skill for Node.js backend AI via @cloudbase/node-sdk (>=3.16.0) — cloud functions, CloudRun, Express/Koa/NestJS, serverless APIs, scheduled jobs, LLM proxies, agent orchestration. The only SDK supporting image generation (ai.createImageModel + generateImage). Text via ai.createModel with groups cloudbase, the legacy hunyuan-v3 / hunyuan-exp, or custom-*; model ids (e.g. deepseek-v4.1-flash, glm-5.3, kimi-k2.6) go in the `model` field of generateText/streamText. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web) or Mini Program (use ai-model-wechat)./ai-model-webUse this skill when a browser/Web app (React, Vue, Next, Nuxt, static sites, SPAs, dashboards, AI chat UI, 页面, 前端, 网页) needs AI models via @cloudbase/js-sdk. Default routing for Web/frontend AI — call directly from the browser, do NOT propose a Node.js proxy. Covers generateText and streamText; models via ai.createModel with groups cloudbase, the legacy hunyuan-v3 / hunyuan-exp, or custom-*, model id in the `model` field. MUST run two-step preflight before code — see body. NOT for Node.js backend (use ai-model-nodejs), Mini Program (use ai-model-wechat), or image generation (Node SDK only)./ai-model-wechatUse this skill for WeChat Mini Program AI via wx.cloud.extend.AI (小程序, wx.cloud apps). Covers generateText and streamText with callbacks (onText, onEvent, onFinish); streamText needs a data wrapper, generateText returns the raw response. Also covers multimodal image input (image_url content blocks, OCR and form extraction) — vision-capable models only. Models via wx.cloud.extend.AI.createModel with groups cloudbase (main managed, also 小程序成长计划 with `hy4-preview` / `hy3` / `deepseek-v4.1-flash`), the legacy hunyuan-v3 / hunyuan-exp, or custom-*; model id goes in the `model` field. MUST run two-step preflight before code — see body. NOT for browser/Web (use ai-model-web), Node.js backend (use ai-model-nodejs), or image generation (use ai-model-nodejs)./auth-nodejs-cloudbaseCloudBase Node SDK auth guide for server-side identity, user lookup, and custom login tickets. This skill should be used when Node.js code must read caller identity, inspect end users, or bridge an existing user system into CloudBase; not when configuring providers or building client login UI./auth-tool-cloudbaseCloudBase auth provider configuration and login-readiness guide. This skill should be used when users need to inspect, enable, disable, or configure auth providers, publishable-key prerequisites, login methods, SMS/email sender setup, or other provider-side readiness before implementing a client or backend auth flow./auth-web-cloudbaseCloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job