/cloudbase:cloud-api-operationsfrom cloudbase
Operates Tencent Cloud control-plane resources (monitoring, CLB, CAM, COS, MySQL, SCF) via cloud APIs when no dedicated MCP tool exists. Also covers enterprise MCP wrapping with tool trimming, key distribution, and audit.
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.
Operate Tencent Cloud resources that CloudBase depends on but that no dedicated MCP tool covers (monitoring & alarms, CLB, CAM roles, cross-product infra). Two goals: find the right API without guessing, and reuse proven workflows instead of re-exploring.
Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../cloudbase-platform/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.
./references/calling-methods.md §2 item 4.Done when: the Action name, Version, and full parameter shape each trace to the index, official product docs, or SDK models source — nothing from memory. A call that still returns action ... is invalid or not found means a name was not resolved this way; classify and recover via the error table in ./references/calling-methods.md §1.
API first:公开 API 概览就是契约边界。 索引里查不到某个能力,它就不在公开契约内 —— 不要拿某个 SDK 的封装方法反推未公开的 Action 名去调(这类 Action 不受公开文档保护,非该语言的使用者也无从照做)。此时改用有公开 API 的等价路径,或把缺口明确告诉用户。本 skill 的 recipes 只收录公开 API 覆盖的场景。
| Scenario | Path | Reference |
|---|---|---|
| Interactive ops inside this session | MCP callCloudApi | ./references/calling-methods.md §1 |
Picking the service identifier / deciding whether version is needed | MCP callCloudApi | ./references/service-versions.md |
| User's code / scripts | Official SDKs (TC3-HMAC-SHA256) or @cloudbase/manager-node | ./references/calling-methods.md §2 |
| Quick one-off verification | API Explorer (https://console.cloud.tencent.com/api/explorer) | — |
Priority rule: if @cloudbase/manager-node has a matching method, use it; drop to raw cloud API only when it does not.
Three identities produce the same error text. Before reading anything into an UnauthorizedOperation, find out which one you are holding:
| Identity | How it is reached | CAM / CloudAudit |
|---|---|---|
Account-level login (federated-user/<id>) | Device-code / web login, or account-level SecretId + Key | reachable, subject to that identity's CAM policies |
TCB_QcsRole service role | what CLI / MCP become after calling a CloudBase product API | refused (resource (...) has no permission) |
Environment API Key (<uin>:TCB-CAPI-Configured-idaas-apikey) | --cloudbase-api-key -e <envId> | refused — the API Key model has no channel to attach arbitrary CAM policies |
Confirm the identity with sts GetCallerIdentity (--api-version 2018-08-13) before concluding anything: the refusal text is identical across all three rows, so it cannot tell you which row you are in.
Order matters. Calling a CloudBase product API swaps the identity to TCB_QcsRole for the rest of the session, so a CAM / CloudAudit call issued after any product call is refused even though the login is account-level. Do the CAM / audit work first.
auth tools: credential_scope: account = account-level, reaches control-plane APIs subject to that identity's CAM policies; env = API Key, scoped to one environment's data plane plus the fixed TCB policies.ListAttachedRolePolicies + GetPolicy) instead of assuming, and treat UnauthorizedOperation as "this identity lacks this action", never as a broken setup.UnauthorizedOperation / AuthFailure, hand the user a one-click CAM grant link (role name + policy name + principal) instead of telling them to go find the policy in the console, then retry the original call. Role targets, the principal values, and which preset policy covers what: ./references/calling-methods.md §3.Done when: the credential identity has been confirmed with sts GetCallerIdentity (not inferred from the error text), and every permission error has been converted into a clickable authorization link carrying a concrete policy name before any retry.
Recipes encode the exact call sequence, required parameters, and empirically discovered pitfalls so the flow works on the first pass. One scenario per file — start from the index ./references/recipes/README.md, whose 状态 column records how far each recipe has been verified:
./references/recipes/pg-storage-alarm.md./references/recipes/icp-filing-readiness.md./references/recipes/pg-instance-spec.md./references/recipes/custom-domain.md./references/recipes/cloud-audit-operation-trace.md./references/recipes/platform-onboarding.md./references/recipes/platform-agent-connect.md./references/recipes/platform-agent-guardrails.md./references/recipes/platform-usage-and-recycle.mdNo recipe for this scenario? A single public Action with no multi-step orchestration does not need a new recipe: resolve it from the API index, then call it through callCloudApi (or tcb api in a script). Recipes exist for call sequences, prerequisite checks and cleanup obligations — not for one-shot switches.
Done when: every parameter value in the call sequence traces to a recipe value marked as verified (实测) or to official docs.
region argument (X-TC-Region), never a body param. Some APIs additionally take a short region code inside Dimensions (e.g. sh vs ap-shanghai) — these are different fields.LICENSE.md (opens in a new tab)references/calling-methods.md (opens in a new tab)references/recipes/README.md (opens in a new tab)references/recipes/billing-charges-explained.md (opens in a new tab)references/recipes/cloud-audit-operation-trace.md (opens in a new tab)references/recipes/credits-exhaustion.md (opens in a new tab)references/recipes/custom-domain.md (opens in a new tab)references/recipes/enterprise-mcp-wrapper.md (opens in a new tab)references/recipes/icp-filing-readiness.md (opens in a new tab)references/recipes/pg-instance-spec.md (opens in a new tab)references/recipes/pg-monitor-data.md (opens in a new tab)references/recipes/pg-storage-alarm.md (opens in a new tab)references/recipes/platform-agent-connect.md (opens in a new tab)references/recipes/platform-agent-guardrails.md (opens in a new tab)references/recipes/platform-onboarding.md (opens in a new tab)references/recipes/platform-usage-and-recycle.md (opens in a new tab)references/service-versions.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