cloudbase-declarative-deploy

cloudbase-declarative-deploy is a skill for Claude Code from TencentCloudBase/CloudBase-AI-Toolkit. It costs 219 tokens per session (3,220 once invoked), scanned A, original, MIT.

A deployment tool that reads one CloudBase configuration file describing a project's database, functions, app, hosting, and gateway. It can first show a proposed change or apply it.

In plain words
What is it for?
Use it to preview and deploy a complete CloudBase project from a cloudbaserc JSON, YAML, or JavaScript file.
Why use it?
It avoids configuring each cloud resource separately and lets you review the planned changes before deployment.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the cloudbase-ai-toolkit plugin — 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins shipped together

Good fit Use it to preview and deploy a complete CloudBase project from a cloudbaserc JSON, YAML, or JavaScript file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy
About the project

CloudBase AI Toolkit is an integration layer that lets AI coding tools use Tencent CloudBase as an application backend, including databases, authentication, functions, storage, and deployments. Developers use it to have coding agents build and operate CloudBase-backed applications through skills, plugins, commands, and chat-accessible tools. The catalogue entries are the toolkit’s own skills, agents, hooks, plugins, rules, instructions, and MCP tools.

TencentCloudBase/CloudBase-AI-Toolkit · 1,173 stars · on GitHub · docs.cloudbase.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-declarative-deploy
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

Made for: Claude Code.

Or install cloudbase-ai-toolkit, the plugin that ships this one along with the rest of its 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cloudbase-declarative-deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy/github.svg)](https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cloudbase-declarative-deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-declarative-deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 219 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,220 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00219 $0.03220
Opus 5.5 $0.00088 $0.01288
Sonnet 5.5 $0.00044 $0.00644
Haiku 4.5 $0.00022 $0.00322

Measured 12d ago against content hash 0484f2f34232, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloudbase-declarative-deploy scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

config/.claude/skills/cloudbase-declarative-deploy/SKILL.md · 261 lines

How it starts

The opening of the file, as written. The whole thing — 261 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CloudBase Declarative Deploy

Deploy a whole CloudBase project from one cloudbaserc config as desired state, using the deployBuild (local hosting build), deployPlan (dry-run) and deployApply (apply) MCP tools. The orchestrator applies resources in a fixed dependency order:

database → functions → app → hosting → gateway

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../cloudbase-cli/SKILL.md.

Cloud-hosted MCP mode does not guarantee access to a local workspace filesystem or stable relative paths. If a referenced sibling file is not available in cloud mode, use this skill's embedded guidance as source of truth and ask the user for any missing constraints (or to install the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.

Cross-cutting protocols (required before applying any deploy):

  • Change Safety Protocol: ../cloudbase-platform/references/protocols/change-safety-protocol.md
  • Deployment Gate: ../cloudbase-platform/references/protocols/deployment-gate.md

When to use this skill

  • The project has a cloudbaserc.json / .yaml / .yml / .js describing multiple resources, and the user wants to deploy them together as one config.
  • The user asks for 声明式部署 / 配置式部署 / "deploy from cloudbaserc" / "deploy the whole project".
  • The user wants to preview what a deploy will change before applying (dry-run plan).
  • The user wants to build the static hosting artifact locally first (declarative hosting deploys no longer build implicitly — see deployBuild).
  • Multi-environment deploy: production/staging via mode + envOverrides.

Do NOT use for

  • Deploying a single cloud function or one static site via tcb CLI → ../cloudbase-cli/SKILL.md.
  • In-app SDK integration (web/miniprogram/node) → the matching SDK skill.
  • Console UI operations.

Cloud mode: deploy through the two-step upload channel

deployBuild / deployPlan / deployApply in this skill are the local-form declarative executor. In cloud-hosted MCP mode they are intentionally not registered, because that runtime has no local cwd and no filesystem-bound execution path.

Read the full file on GitHub · 261 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed 0484f2f34232
  2. 13d ago Changed f43e87c54538
  3. 15d ago Changed 581de28b621b
  4. 19d ago Changed · +21 tokens per session 368ec4e8cfb9
  5. 20d ago Changed 32113fb8362c
  6. 21d ago Changed · +198 tokens per session 0f1069b5c16b
  7. 23d ago Changed · +28 lines · -196 tokens per session a7af4438bae9
  8. 25d ago Changed 397e8cd622a3
  9. 27d ago Changed 2053946a88c1
  10. 28d ago First seen · 233 lines · 196 tokens per session scan A 8d6acc47c250

Subscribe to this mod's changes

cloudbase-declarative-deploy is a skill published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,173 stars, last pushed today), licensed MIT. It adds 219 tokens to every session and 3,220 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

cloudbase-declarative-deploy compared with skills from other repositories

cloudbase-declarative-deploy next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloudbase-declarative-deployTencentCloudBase/CloudBase-AI-ToolkitSkill1.2ktodayMITA219Claude Code
cis-aws-foundations-4.10CyberStrikeus/CyberStrikeSkill3.9kyesterdayAGPL-3.0A22Claude Code, Codex
shippagejieshu666/ShipPage-SkillSkill13mo agoMITA94Claude Code, Codex
nginxchaterm/terminal-skillsSkill609mo agoApache-2.0A9Claude Code, Codex
apachechaterm/terminal-skillsSkill609mo agoApache-2.0A7Claude Code, Codex
nginx-reverse-proxyvikasudasi/skill-vaultSkill03mo agoApache-2.0A30Claude Code, Codex
deploy0xtresser/Web-Skills-ProtocolSkill89mo agononeA68Claude Code, Codex