App Builder
softspark/ai-toolkit
App scaffolding: Next.js, Vite, Nuxt, Astro, FastAPI, Django, Laravel, RN, Flutter.
A skill your agent uses when the user wants to develop, run, preview, save, deploy, or roll back a CloudBase Web app in this conversation as a Lovable/Codex-Sites-like vibe- coding session — i.e.
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtime --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .claude/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .claude/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtimeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtime --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .agents/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .agents/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtime --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .cursor/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .cursor/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git --path plugin/cloudbase-sites/skills/cloudbase-sites-runtime--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtime --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .gemini/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .gemini/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtimeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .github/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .github/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-sites-runtime --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugin/cloudbase-sites/skills/cloudbase-sites-runtime .opencode/skills/cloudbase-sites-runtime && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cloudbase-sites-runtime" agent skill from https://github.com/TencentCloudBase/CloudBase-AI-Toolkit/tree/main/plugin/cloudbase-sites/skills/cloudbase-sites-runtime into .opencode/skills/cloudbase-sites-runtime/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudbase-sites-runtime", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cloudbase-sites-runtimeA skill your agent uses when the user wants to develop, run, preview, save, deploy, or roll back a CloudBase Web app in this conversation as a Lovable/Codex-Sites-like vibe- coding session — i.e.
Cloudbase Sites Runtime is an agent skill from TencentCloudBase/CloudBase-AI-Toolkit. Use when the user wants to develop, run, preview, save, deploy, or roll back a CloudBase Web app in this conversation as a Lovable/Codex-Sites-like vibe- coding session — i.e. any request that maps to "spin up a React+Vite project, see it live in the browser, iterate, save versions, deploy". Activate ONLY for browser-rendered Web projects based on the CloudBase official React (or Vue) + Vite template. Do NOT activate for: WeChat/Alipay mini-program, React Native / Flutter / Electron, pure cloud functions /…
Its SKILL.md is about 5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering Cross-platform mobile apps, Static sites and blogs and Serverless. It works with React, Vite, Vue.js and Astro. The repository describes itself as: Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ea2c202. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmgitpnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, git and pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
VITE_PUBLISHABLE_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cloudbase Sites Runtime loads about 5k tokens when it runs. Until then it costs about 162 tokens; SKILL.md has 2,447 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
`src/utils/cloudbase.ts` reads it from `.env.local`; new envs`VITE_PUBLISHABLE_KEY=<key>` into `.env.local`. This key cannot beAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TencentCloudBase/CloudBase-AI-Toolkit at commit ea2c202, republished under its MIT licence (© TencentCloudBase). 2,447 words, ~4,952 tokens.
.claude/skills/cloudbase-sites-runtime/SKILL.md (or your agent's skills folder).This skill orchestrates a single working directory = single project flow for CloudBase Web apps. The cwd itself is the workspace; we do not manage cross-cwd state or session IDs at the skill level.
This runtime is shared by the Codex, Claude Code, and CodeBuddy plugin surfaces. The CLI and CloudBase MCP workflows are the source of truth. Some hosts also run bundled lifecycle hooks that start previews or inject compact rules at session start; if hooks are unavailable, disabled, or not yet trusted, use the explicit CLI commands in this skill.
package.json
with vite + react or vue).cloudbase-sites plugin enabled —
cloudbase-mcp is registered and the cloudbase-sites binary is either on
PATH or available from the plugin root's bin/cloudbase-sites.cloudbase-mcp, registered via plugin's .mcp.json)These are the only tools that produce CloudBase side effects. Highlights:
downloadTemplate({ template: "react" | "vue", ide }) — pull official templatequeryEnv({ action: "info" }) + auth({ action: "set_env", envId }) — bind envmanageApps({ action: "deployApp", ... }) — deploy to CloudApp (independent subdomain)envDomainManagement({ action: "create", domains }) — whitelist dev origin for CORSsearchKnowledgeBase({ mode: "skill", skillName: "<name>" }) — fetch CloudBase domain skills (see below)For all CloudBase operations beyond the dev-server lifecycle (auth, db,
storage, ai), fetch the corresponding CloudBase domain skill via
searchKnowledgeBase(mode="skill", skillName=...). Common ones:
ui-design UI design spec (mandatory before new UI work)web-development Web project conventionsauth-tool-cloudbase provider config (management-side)auth-web-cloudbase Web SDK auth client codepostgresql-development-cloudbase PG mode schema/RLS/app.rdb() (PG envs)cloudbase-document-database-web-sdk document database Web SDKcloud-storage-web cloud storage Web SDKrelational-database-web-cloudbase MySQL Web SDKcloudbase-platform platform overview / console linksThese are NOT Claude Code native skills and are NOT bundled with this
plugin. They live inside cloudbase-mcp and are fetched on demand. When this
file (or the injected RULES_BLOCK) says "调 ui-design skill" or "follow the
auth-tool skill", that means: call searchKnowledgeBase(mode="skill", skillName="<that-name>") and apply the returned content.
cloudbase-sites CLI (provided by this plugin's bin/ directory)First resolve the CLI path:
command -v cloudbase-sites.CODEX_PLUGIN_ROOT, use
$CODEX_PLUGIN_ROOT/bin/cloudbase-sites.CLAUDE_PLUGIN_ROOT, use
$CLAUDE_PLUGIN_ROOT/bin/cloudbase-sites.Do not assume Codex has injected the plugin bin/ directory into PATH.
Single binary, multiple subcommands. Use these — and ONLY these — for the dev-server / version / deploy lifecycle:
cloudbase-sites init --start — scaffold from empty cwd and start preview when the user explicitly wants a Sites appcloudbase-sites preview — daemonize Vite for an existing Vite projectcloudbase-sites preview --status [--quiet] — JSON status / exit codecloudbase-sites preview --restart / --stop [--force]cloudbase-sites save -m "<label>" — create a saved versioncloudbase-sites versions — list saved versions + deploy statuscloudbase-sites deploy [--version <n>] — deploy a saved version (Phase 1: emit nextAction)cloudbase-sites deploy --post --version <n> --access-url <url> [--build-id <BuildId>] [--version-name <VersionName>] — record deploycloudbase-sites rollback [--to-version <n>] — revert to a saved versioncloudbase-sites supervisor status|list|heal|reload|start|stopNever invent npm run dev / vite / vite build invocations. The CLI
handles host=0.0.0.0 forcing, port allocation (17173..17272), daemonization,
base path injection, version metadata, and deploy history.
Use for editing files. The plugin's PostToolUse hook handles automatic restart on config-file edits — you don't need to manage that.
Do NOT invoke cloudbase-sites init or cloudbase-sites preview
proactively in your first message just because the plugin is installed.
SessionStart is intentionally passive for empty directories so the plugin does
not interfere with unrelated sessions. A UserPromptSubmit hook may initialize
after the first user message, but only when deterministic Chinese/English
intent rules detect an explicit Sites/Web-app creation request. By the time you
read the user's first prompt:
init --start; otherwise initialize only after the user asks.Codex supports bundled plugin hooks, but non-managed command hooks may require
the user to review and trust them before they run. If Codex hooks have not run,
resolve the CLI path as described above, then fall back to
<cloudbase-sites-cli> preview --status, <cloudbase-sites-cli> init, and the
other explicit commands below instead of assuming automatic startup.
If SessionStart reports that it skipped a non-empty non-Vite cwd, do not assume
the runtime is active. If a template is downloaded later through MCP
downloadTemplate, run <cloudbase-sites-cli> preview --status and then
<cloudbase-sites-cli> preview if no preview is running.
You only invoke a CLI verb when:
cloudbase-sites init --startcloudbase-sites preview --stopcloudbase-sites preview --statuscloudbase-sites save -m "<label>"cloudbase-sites deploy (then bridge to manageApps)cloudbase-sites rollbackRead the SessionStart status first. If it says the cwd is passive/empty,
do not assume a project exists. Wait for the user's first concrete Sites app
request, then run cloudbase-sites init --start.
For existing Vite projects, check preview state — read
<cwd>/.cloudbase-sites/preview.json or run
cloudbase-sites preview --status. If no preview is running, start it with
cloudbase-sites preview.
Tell the user the URL — surface internalUrl from the JSON. If the file
is missing after init/preview, inspect .cloudbase-sites/logs/.
Offer to open the preview. Ask: "要不要我用内置浏览器打开 <URL>
预览一下?" If yes, use the host Browser / in-app browser tool to open
internalUrl. Do not use macOS open, and do not run browser interaction
tests unless the user explicitly asks you to test the UI.
DO NOT re-init / re-start. Calling init again will fail with code 10
(cwd no longer empty). Calling preview is idempotent and safe but
wastes a turn.
NEVER guess the port. It is NOT 5173/5174/5175 — the plugin uses
17173..17272. Always read the recorded port from preview.json.
Inspired by Codex Sites' saved version model:
cloudbase-sites save -m "<label>" runs
git init when needed, then git add -A && git commit && git tag version/<n> and appends to <cwd>/.cloudbase-sites/app.json.versions[].
No build, no deploy.cloudbase-sites deploy [--version <n>] (default: latest saved) builds
dist/ locally then emits nextAction telling you to call
manageApps({ action: "deployApp", serviceName: <stable from app.json>, filePath: cwd, buildPath: "dist", framework: "static", installCmd: "", buildCmd: "" }). The framework=static shape skips
remote install/build because we built locally.manageApps succeeds and gives you the access URL,
call cloudbase-sites deploy --post --version <n> --access-url <url> --build-id <BuildId> [--version-name <VersionName>]. This appends to
app.json.deployments[], records CloudBase build metadata, tags git
deploy/<n>-<ts>, and returns finalUrl with a cache-busting query.
If the manageApps result includes BuildId, you MUST pass it to
--build-id; otherwise future build status and log queries cannot be
traced directly from the saved deployment.cloudbase-sites rollback [--to-version <n>] (default:
current production deploy). Stashes uncommitted edits, git reset --hard
to the version's commit, marks newer versions as rolled-back, and
restarts the dev server.Why CloudApp (manageApps) not static hosting? Each CloudApp has its
own subdomain (*.webapps.tcloudbase.com); two vibe sessions on the same
env never collide. The stable siteName in app.json ensures re-deploys
preserve the URL.
Pre-flight: if manageApps fails with "no envId" / env-related error,
call queryEnv({ action: "info" }). If multiple envs exist, ask the user
to pick. After binding, retry the deploy.
When you finish a user-requested feature (especially "make me a X app", "build me a Y", "add Z feature"), end your reply by asking:
cloudbase-sites save -m "<auto-generated label>".<URL> 预览一下?" — if yes,
use the host Browser / in-app browser tool to open internalUrl. Only
click through interactions or run browser-driving verification after the
user explicitly asks for testing. Do NOT spawn playwright / agent-browser
by default.searchKnowledgeBase(mode="skill", skillName="ui-design")
and iterate on the design.cloudbase-platform skill's
references/protocols/deployment-share.md (trigger boundaries, required
information, anonymization red lines, deliverable formats). If that skill is
not available in this environment, skip this step — do not improvise a share
flow from memory. Never follow up if declined; never publish on the user's
behalf.Skip any of these when:
Never guess the preview URL. Always read preview.json or run
cloudbase-sites preview --status. Default port range is 17173..17272.
"Make me a X app" = X IS the homepage. When the user uses whole-house
language, REPLACE the content of src/pages/HomePage.tsx (or App.tsx
if no HomePage exists) with the new feature. Do NOT create a new
<TodoApp /> component and leave the original template welcome at /.
Only add a new route when the user explicitly says "add a X page".
UI work for NEW features requires a design specification first. Before
writing any .tsx/.css/.html, fetch
searchKnowledgeBase(mode="skill", skillName="ui-design"), output the
4-part spec (Aesthetic / Color / Typography / Layout), THEN write code.
The CloudBase template's CLAUDE.md "Existing Implementation First"
exemption applies only to bug fixes; new apps still need ui-design.
Never spawn npm run dev / vite / vite build yourself. Lifecycle
is owned by hooks + the cloudbase-sites CLI.
BaaS-first data persistence — detect the env type first. Before any
data-layer work, call queryEnv({ action: "info" }) and branch on the
detected database backend:
| env type | schema / RLS | browser SDK | domain skill |
|---|---|---|---|
PostgreSQL (RuntimeBackends.postgresql === true) | managePgDatabase (versioned applyMigration) | app.rdb() / app.storage.from() | postgresql-development-cloudbase |
| NoSQL (document) | writeNoSqlDatabaseStructure(action="createCollection") | app.database() collections | cloudbase-document-database-web-sdk |
Do NOT load cloudbase-document-database-web-sdk (or NoSQL APIs) for a PG
environment, and do NOT guess from the skill catalog — the catalog contains
both, only queryEnv tells them apart. Reads/writes go through
@cloudbase/js-sdk from React/Vue code either way. Reach for cloud
functions only when (a) the logic cannot be expressed as security rules AND
(b) it needs server-side secrets or a third-party API AND (c) it's a
scheduled / background job. A Todo / Notes / Chat / Kanban app does NOT
need cloud functions.
Do not run browser tests by default. Verify reasonably (preview
healthy, no compile error in cloudbase-sites preview --status). Offer
to open the preview URL in the host Browser / in-app browser; ask again
before interaction testing.
Two-stage save → deploy. Don't deploy unsolicited. Don't bypass
cloudbase-sites deploy with your own pnpm build + manageApps call —
you'd lose version metadata, snapshot, deploy history, and the stable
siteName.
Icons come from lucide-react — preinstalled, never hand-installed.
cloudbase-sites init injects lucide-react (react) / lucide-vue-next
(vue) into the scaffold's package.json before its single install step.
Import icons directly (import { Heart } from "lucide-react"). Do NOT run
a package-install command just to add icons — sandboxed installs during
generation are a known failure point — and do NOT hand-write inline SVG
paths when a lucide icon exists.
Fill VITE_PUBLISHABLE_KEY automatically — never ask the user. The
template's src/utils/cloudbase.ts reads it from .env.local; new envs
have no publishable key by default. After init: call
queryAppAuth({ action: "getPublishableKey" }); if empty, call
manageAppAuth({ action: "ensurePublishableKey" }); then write
VITE_PUBLISHABLE_KEY=<key> into .env.local. This key cannot be
skipped — it is the data-plane app credential attached to every browser
request, including the login request itself and anonymous reads — but
the user should never fill it by hand.
The first stdout line of every cloudbase-sites <verb> invocation is a
single JSON object. The stderr [cloudbase-sites] ... line is for humans —
do not parse it. On error the JSON is { ok: false, code: <int>, message, hint?, logPath? }. When a script reports failure, surface logPath to the
user instead of guessing the cause.
| code | meaning | recovery |
|---|---|---|
| 1 | generic failure | check the message and nextActions if present |
| 2 | not a Vite project (or vite binary missing) | pnpm install then retry |
| 3 | port pool exhausted in 17173..17272 | cloudbase-sites preview --stop for stale ones, or pass --port |
| 4 | dev server failed health check in 30s | read logPath; usually a build error in user code |
| 5 | no preview is running (status / stop) | start one with cloudbase-sites preview |
| 6 | stop failed (process refused SIGKILL) | inspect the PID manually with ps; very rare |
| 7 | build failed (cloudbase-sites deploy) | inspect build output; fix code, retry |
| 8 | dist/ missing or empty after build | confirm scripts.build runs vite build; rerun |
| 9 | cwd in danger blacklist (init) | cd to a real project directory first |
| 10 | cwd not empty (init) | move conflicting files; only .git/.gitignore/README/LICENSE/.cloudbase-sites are tolerated |
| 11 | template download failed | check internet; URL is static.cloudbase.net/cloudbase-examples/... |
| 12 | template extract failed | install unzip |
| 13 | dependency install failed | check terminal output |
| 14 | version not found | run cloudbase-sites versions to list |
| 15 | rollback failed | check git state |
| Path | Purpose |
|---|---|
<cwd>/.cloudbase-sites/preview.json | dev server PID/port/URL/framework |
<cwd>/.cloudbase-sites/app.json | siteName + versions[] + deployments[] + currentVersion + currentDeploy |
<cwd>/.cloudbase-sites/logs/preview-<ts>.log | Vite stdout/stderr |
<cwd>/.cloudbase-sites/logs/hook-session-start.log | SessionStart hook trace |
<cwd>/.cloudbase-sites/logs/hook-restart.log | PostToolUse restart trail |
~/.cloudbase-sites/registry.json | global supervisor's view of all cwds |
~/.cloudbase-sites/supervisor.json | global supervisor PID + uptime |
~/.cloudbase-sites/supervisor.log | supervisor stdout/stderr |
registry.json does track cwds
globally, but for self-healing — not as a user-facing concept.)<host>:8080/s/<sid>/ style routing, that's a separate
optional component (cloudbase-sites-proxy, future work) — out of scope here.searchKnowledgeBase(mode="skill", skillName=...).searchKnowledgeBase(mode="skill", skillName="ui-design").© TencentCloudBase, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugin/cloudbase-sites/skills/cloudbase-sites-runtime of TencentCloudBase/CloudBase-AI-Toolkit.
Open the folder on GitHubat commit ea2c202
Cloudbase Sites Runtime next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cloudbase Sites Runtime this skillTencentCloudBase/CloudBase-AI-Toolkit | 1.1k | — | ~5k | Automated safety check: Notes | MIT | |
| App Buildersoftspark/ai-toolkit | 179 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Launch With AWSaws/agent-toolkit-for-aws | 2.8k | — | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Vue Nuxtericrisco/rsc-harness | 156 | — | ~4.2k | Automated safety check: Pass | MIT | |
| Glide SetupSrivarsanK/Glide | 125 | — | ~868 | Automated safety check: Pass | Apache-2.0 | |
| Vue ExpertAratKruglik/claude-laravel | 155 | — | ~1.1k | Automated safety check: Pass | None |
softspark/ai-toolkit
App scaffolding: Next.js, Vite, Nuxt, Astro, FastAPI, Django, Laravel, RN, Flutter.
aws/agent-toolkit-for-aws
Migrates vibe-coded web applications to AWS. An agent skill from aws/agent-toolkit-for-aws.
ericrisco/rsc-harness
A skill your agent uses when building or reviewing a Vue 3 + Nuxt 4 app — <script setup reactivity, SSR/SSG/hybrid routeRules, the app/+server/ layout, SSR-safe fetching (useFetch/useAsyncData) and…
SrivarsanK/Glide
Zero-error setup guide for AI agents to install and configure @srivarsank/glide visual editor on any React, Vue, Svelte, Astro, or HTML Vite project in one prompt.
AratKruglik/claude-laravel
A skill your agent uses when building Vue 3 applications with Composition API, Nuxt 3, or Quasar.
Undertone0809/rudder
Create and iteratively improve local web products from natural-language requests, then prepare them to run as Rudder Apps.
TencentCloudBase/CloudBase-AI-Toolkit
A skill your agent uses 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.
TencentCloudBase/CloudBase-AI-Toolkit
CloudBase official HTTP API client guide. An agent skill from TencentCloudBase/CloudBase-AI-Toolkit.
TencentCloudBase/CloudBase-AI-Toolkit
Author or revise a cloud-api-operations recipe (config/source/skills/cloud-api-operations/references/recipes/).
TencentCloudBase/CloudBase-AI-Toolkit
Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a skills CLI-aligned workflow.
TencentCloudBase/CloudBase-AI-Toolkit
Build production-ready AI agent backends using the CloudBase Agent Python SDK — create agents with LangGraph/CrewAI/LlamaIndex, serve them via FastAPI with AG-UI protocol streaming +…
TencentCloudBase/CloudBase-AI-Toolkit
A skill your agent uses when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects — Web, 微信小程序, 小程序, uni-app, mobile (iOS, Android…
Categories
A skill your agent uses when the user wants to develop, run, preview, save, deploy, or roll back a CloudBase Web app in this conversation as a Lovable/Codex-Sites-like vibe- coding session — i.e. Cloudbase Sites Runtime is an agent skill from TencentCloudBase/CloudBase-AI-Toolkit.e.
Cloudbase Sites Runtime fits situations like: the user wants to develop; roll back a CloudBase Web app in this conversation as a Lovable/Codex-Sites-like vibe- coding session — i.e.
Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a claude-code`. Or copy the skill folder (plugin/cloudbase-sites/skills/cloudbase-sites-runtime in TencentCloudBase/CloudBase-AI-Toolkit) into .claude/skills/cloudbase-sites-runtime in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a codex`. Or copy the skill folder (plugin/cloudbase-sites/skills/cloudbase-sites-runtime in TencentCloudBase/CloudBase-AI-Toolkit) into .agents/skills/cloudbase-sites-runtime in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-sites-runtime -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudbase-sites-runtime, .gemini/skills/cloudbase-sites-runtime, .github/skills/cloudbase-sites-runtime and .opencode/skills/cloudbase-sites-runtime in your project.
Going by SKILL.md and its folder, Cloudbase Sites Runtime needs the command-line tools its instructions call (npm, git and pnpm) and credentials named VITE_PUBLISHABLE_KEY.
SKILL.md contains no URLs. Its commands use npm and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Cloudbase Sites Runtime is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cloudbase Sites Runtime: App Builder (softspark/ai-toolkit, 179 stars), Launch With AWS (aws/agent-toolkit-for-aws, 2.8k stars), Vue Nuxt (ericrisco/rsc-harness, 156 stars) and Glide Setup (SrivarsanK/Glide, 125 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TencentCloudBase (a GitHub organization) maintains it in TencentCloudBase/CloudBase-AI-Toolkit, which has 1,132 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 6, 2026.
Source: TencentCloudBase/CloudBase-AI-Toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.