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.
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.
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-miniprogramgit clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-ToolkitWrote 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.
[](https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram)<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram/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.
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/cloudbase-miniprogram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00190 | $0.01994 |
| Opus 5.5 | $0.00076 | $0.00798 |
| Sonnet 5.5 | $0.00038 | $0.00399 |
| Haiku 4.5 | $0.00019 | $0.00199 |
Grade A, and why
cloudbase-miniprogram 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CloudBase 全栈小程序开发
一个小程序要真正跑起来,缺的从来不是页面,是后端那一半:数据存哪、登录怎么做、图片传到哪、消息怎么发、审核怎么过。这个技能按「从想法到上架」的顺序组织,每一步告诉你调哪个工具、去哪取细节。
配方正文不打包,用 CloudBase MCP 的知识库按需检索(见文末)。这样内容永远跟线上最新版一致。
第 0 步:先问清三件事,别急着写代码
| 要确认 | 为什么 |
|---|---|
| 小程序 appid 与主体类型 | 个人 / 个体工商户 / 企业主体决定能用哪些能力(支付、部分类目)。测试号不支持云开发 |
| 后端是否用 云开发(CloudBase) | 不用云开发就走另一条路,本技能不适用 |
| 云开发环境是国内站还是国际站 | 两套账号体系互不相通,选错的表现是「登录了但环境列表空」 |
还有一个高频坑:DevTools 里「云开发」入口是灰的,或者看不到环境——先诊断,不要当成工具 bug。常见原因就是上表第三条(主体不支持 / 绑定账号不一致 / 站点错)。诊断路径:searchKnowledgeBase({ mode: "skill", skillName: "miniprogram-development" }) 的 Common Pitfalls 一节。
第 1 步:接上 CloudBase MCP
技能包不能携带 MCP 配置,这一步必须显式做。三条路径按客户端能力选:
# A. 能跑命令的客户端
claude mcp add --transport http cloudbase https://tcb-api.cloud.tencent.com/mcp/v1
# B. 本地 stdio(需要 API Key,或要用远程缺的工具)
claude mcp add cloudbase -- npx -y @cloudbase/cloudbase-mcp@latest
# C. 客户端不支持 MCP 但有终端(走 mcporter 桥)
npx -y [email protected] call --stdio "npx -y @cloudbase/cloudbase-mcp@latest" auth action=status
图形客户端(Cursor、Qoder)只能让用户手动加:类型 HTTP / Streamable HTTP,地址填 /mcp/v1。
验证:调 auth action=status,返回 auth_status: READY 且带 current_env_id 就通了。
第 2 步:先跑通一个最小闭环,再谈功能
顺序固定,不要跳:
- 建环境并绑定:
manageEnv(查/建)→auth(action="set_env", envId=...)绑定。 - 建一个集合:
writeNoSqlDatabaseStructure。 - 写一条数据:
writeNoSqlDatabaseContent。 - 写一个云函数并部署:
manageFunctions,创建后在 DevTools 里「上传并部署:云端安装依赖」;用 MCP 的queryFunctions/queryLogs验证调用与日志。 - 小程序端读这条数据:
wx.cloud.init({ env })→wx.cloud.database().collection(...).get()。
这五步通了,说明环境、权限、网络都对了;后面加页面只是重复。
第 3 步:按任务路由
| 要做的事 | 首选工具 / 技能 |
|---|---|
项目脚手架、project.config.json、miniprogramRoot、tabBar |
searchKnowledgeBase → miniprogram-development |
| 数据库集合、索引、权限规则 | writeNoSqlDatabaseStructure / manageDataModel |
| 增删改查(小程序端 / 云函数端) | writeNoSqlDatabaseContent / readNoSqlDatabaseContent + skill cloudbase-document-database-in-wechat-miniprogram |
云函数(含 scf_bootstrap、定时触发) |
manageFunctions + skill cloud-functions |
| 图片/文件上传 | manageStorage + skill cloud-storage-web |
| 登录、openid、用户体系 | skill auth-wechat-miniprogram(先在控制台配登录方式) |
| 订阅消息 / 客服消息 | skill miniprogram-development 的消息推送一节 |
| 预览、上传代码、提交审核 | miniprogram-ci,或 DevTools Nightly 的 wechatide CLI |
| 页面长得不好看 | skill ui-design |
| 上线后出问题 | queryLogs / skill ops-inspector |
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.
- today First seen · 107 lines · 190 tokens per session scan A b7728f276f8f
cloudbase-miniprogram is a skill published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,151 stars, last pushed today), licensed MIT. It adds 190 tokens to every session and 1,994 once invoked, about $0.0008 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-10-30.
Other skills, from other repositories
add-signal
Add Signal channel integration via signal-cli device-link. Native adapter — no Chat SDK bridge.
build-zoom-meeting-app
Build or embed a Zoom meeting flow. Use when implementing Meeting SDK joins, web or mobile meeting embeds, meeting lifecycle flows, or when deciding between Meeting SDK and Video SDK.
flutter-use-http-package
Use the http package to execute GET, POST, PUT, or DELETE requests. Use when you need to fetch from or send data to a REST API.
horse-database-pooling
Guide for setting up thread-safe database connection pooling (FireDAC / UniDAC) in multithreaded Horse applications.
horse-request-response
Guide to interacting with THorseRequest (body, query, params, headers) and THorseResponse (Send, Status, ContentType).
horse-dependency-injection
Guide for managing request-scoped contextual services and IoC (dependency injection) in Delphi and Lazarus.