Agent skill

Cloudbase Wechat Integration

by TencentCloudBase in TencentCloudBase/CloudBase-AI-Toolkit

CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth…

MITAuto-check passedProductivity & Automation

Install Cloudbase Wechat Integration

skills CLI
$ npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-wechat-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TencentCloudBase/CloudBase-AI-Toolkit cloudbase-wechat-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/config/source/skills/cloudbase-wechat-integration .claude/skills/cloudbase-wechat-integration && rm -rf skills-src

Use ~/.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/

Facts

Skill name
cloudbase-wechat-integration
GitHub stars
1.1k
Used in
2 other repos
Token cost
~1.9k tokens
SKILL.md length
838 words
Files
8 (incl. references)
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth…

  • Works in 7 steps: Treat Integration Center creation as a… → Use official index.md docs for console… → Never ask the user to paste secrets into… → …
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers Sibling skills (local only), Activation Contract, Operating Rules and Routing, plus 3 more sections
  • Reaches docs.cloudbase.net

What it does

Cloudbase Wechat Integration is an agent skill from TencentCloudBase/CloudBase-AI-Toolkit. CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions. This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/mini-program-pay.md`, `references/native-qr-pay.md` and `references/official-account-jsapi-pay.md`).

It sits in Productivity & Automation, covering Messaging and chat bots. It works with WeChat. The repository describes itself as: Backend for AI coding agents on CloudBase — database, auth, functions via Plugin, Skills & MCP. The licence is MIT.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/cloudbase-wechat-integration”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Treat Integration Center creation as a console-first workflow unless a public Manager SDK or Cloud API contract is confirmed in official…
  2. Use official index.md docs for console UI steps and credential fields; do not copy stale console screenshots or invent field names.
  3. Never ask the user to paste secrets into chat. Tell them to configure merchant and official-account credentials in the CloudBase console…
  4. Do not assume generated function names are fixed. pay-common and offiaccount-common are examples; ask for or inspect the actual function…
  5. Treat frontend payment success as UI feedback only. The authoritative payment state must come from server-side query results or payment…
  6. When extending generated functions, preserve credential environment variables and generated callback verification/decryption logic. Add…
  7. Before changing payment or callback code, identify the target scenario and load only the matching reference file.

What it can do on your machine

Read from SKILL.md and the folder at commit ea2c202. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • docs.cloudbase.net

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cloudbase Wechat Integration loads about 1.9k tokens when it runs, and up to ~8.2k if it reads all its reference files. Until then it costs about 114 tokens; SKILL.md has 838 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~114
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.2k

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated 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.

SKILL.md

The full file from TencentCloudBase/CloudBase-AI-Toolkit at commit ea2c202, republished under its MIT licence (© TencentCloudBase). 838 words, ~1,871 tokens.

Download SKILL.mdSave it as .claude/skills/cloudbase-wechat-integration/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
cloudbase-wechat-integration
description
CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions. This skill should be used when users ask to add, debug, or extend WeChat payment, virtual payment, or official-account flows on CloudBase.
version
2.34.8
alwaysApply
false

CloudBase WeChat Integration

This skill routes WeChat payment and official-account work through CloudBase Integration Center. It gives the agent the stable execution contract and points to the official Markdown docs for console details that may change.

Sibling skills (local only)

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.

Official CloudBase Integration Center docs (human reference — do not treat as skill markdown to fetch into agent context as a sibling skill substitute):

  • CloudBase Integration Center overview: https://docs.cloudbase.net/integration/introduce.md
  • CloudBase Integration Center usage: https://docs.cloudbase.net/integration/usage.md
  • When cloud function deployment or log operations are needed and no sibling skill is available, use the current platform's CloudBase MCP tools or CloudBase console instead of guessing unsupported APIs.

Activation Contract

Use this first when
  • The user asks about WeChat Pay, 小程序支付, 微信支付, JSAPI 支付, 公众号支付, Native 扫码支付, 二维码支付, refund callbacks, payment callbacks, wx.requestPayment, WeixinJSBridge, openid, or Official Account OAuth in a CloudBase app.
  • The user asks about 虚拟支付 (virtual payment) for virtual goods: 道具直购, 代币充值, wx.requestVirtualPayment, OfferID, AppKey 签名, xpay_* callbacks (发货推送/查单/退款), or MP 后台虚拟支付开通与配置.
  • The task mentions CloudBase Integration Center, 集成中心, generated payment functions, pay-common, offiaccount-common, or callback routing for WeChat payment.
  • The user needs to extend a CloudBase Integration Center generated function with order persistence, idempotency, fulfillment, or payment-status sync.
Then also read
  • Mini Program structure and preview work -> ../miniprogram-development/SKILL.md (if unavailable, use the current mini program platform docs and the mini-program payment reference in this skill)
  • Web frontend work -> ../web-development/SKILL.md (if unavailable, use the JSAPI or Native references in this skill)
  • Cloud function runtime, logs, deployment, or gateway work -> ../cloud-functions/SKILL.md (if unavailable, use CloudBase console/MCP function tools and the generated-function guidance in this skill)
Do NOT use for
  • Generic CloudBase Web Auth or Mini Program native identity work that does not involve WeChat payment or official-account OAuth.
  • General CloudBase cloud function development unrelated to Integration Center generated functions.
  • Creating or managing Integration Center instances through guessed MCP tools, guessed Manager SDK methods, or undocumented Cloud API actions.
  • Storing merchant secrets, private keys, APIv3 keys, AppSecret values, or certificates in app source code, generated examples, README files, commits, or prompts.

Operating Rules

  1. Treat Integration Center creation as a console-first workflow unless a public Manager SDK or Cloud API contract is confirmed in official docs.
  2. Use official index.md docs for console UI steps and credential fields; do not copy stale console screenshots or invent field names.
  3. Never ask the user to paste secrets into chat. Tell them to configure merchant and official-account credentials in the CloudBase console Integration Center form.
  4. Do not assume generated function names are fixed. pay-common and offiaccount-common are examples; ask for or inspect the actual function name before writing calls.
  5. Treat frontend payment success as UI feedback only. The authoritative payment state must come from server-side query results or payment callbacks.
  6. When extending generated functions, preserve credential environment variables and generated callback verification/decryption logic. Add business logic around order checks, persistence, idempotency, and fulfillment.
  7. Before changing payment or callback code, identify the target scenario and load only the matching reference file.
Show full SKILL.md (290 more words)Show less

Routing

TaskReadWhy
Capability selection, console-first boundaries, independent distributionreferences/overview.mdEstablishes the Integration Center model and safety rules
Mini Program WeChat Pay, wx.cloud.callHTTPFunction, wx.requestPaymentreferences/mini-program-pay.mdCovers Mini Program openid injection, order creation, and callback expectations
Mini Program 虚拟支付, virtual goods, wx.requestVirtualPayment, xpay_* callbacksreferences/virtual-payment.mdCovers OfferID/AppKey signing, sandbox vs 现网, delivery callbacks, query-order fallback, iOS IAP rules
Official Account JSAPI pay, H5 inside WeChat, WeixinJSBridge.invokereferences/official-account-jsapi-pay.mdCovers official-account openid and JSAPI invocation
Native QR-code pay for PC/Web checkoutreferences/native-qr-pay.mdCovers code_url, QR rendering, and polling/query flow
Official Account OAuth, openid/userinfo retrievalreferences/official-account-oauth.mdCovers OAuth routes generated by the official-account integration
404, missing credentials, openid mismatch, callback failures, logsreferences/troubleshooting.mdProvides diagnosis steps before changing code

Quick Workflow

  1. Classify the scenario: Mini Program Pay, Virtual Payment (虚拟支付), JSAPI Pay, Native Pay, Official Account OAuth, generated-function extension, or troubleshooting.
  2. Load the matching reference and the official index.md docs linked there.
  3. Confirm the actual CloudBase environment ID and generated function name.
  4. Generate or modify only the required client/backend code; keep merchant credentials in Integration Center configuration.
  5. Add order-status query, callback idempotency, and amount/order validation when payment state affects business data.
  6. Verify through function logs, callback logs, and an end-to-end payment sandbox or low-value production test as appropriate.

Minimum Self-Check

  • Did I avoid guessing undocumented Integration Center management APIs?
  • Did I use the actual generated function name instead of assuming pay-common?
  • Did I keep all merchant secrets and certificates out of source code and chat?
  • Did the payment flow rely on callback/query state rather than only frontend success?
  • Did I load only the scenario reference needed for the user's task?

Reference index

All packaged reference files (required for skill lint reachability):

© TencentCloudBase, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in config/source/skills/cloudbase-wechat-integration of TencentCloudBase/CloudBase-AI-Toolkit.

  • SKILL.md
  • references/mini-program-pay.md
  • references/native-qr-pay.md
  • references/official-account-jsapi-pay.md
  • references/official-account-oauth.md
  • references/overview.md
  • references/troubleshooting.md
  • references/virtual-payment.md

Open the folder on GitHubat commit ea2c202

Used in 2 other repositories

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in TencentCloudBase/CloudBase-AI-Toolkit, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Cloudbase Wechat Integration 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.

Cloudbase Wechat Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cloudbase Wechat Integration this skillTencentCloudBase/CloudBase-AI-Toolkit1.1k2 repos~1.9kAutomated safety check: PassMIT
Weixin Accessqufei1993/cc-weixin154—~372Automated safety check: PassMIT
Add WeChat Channelnanocoai/nanoclaw31k—~1.9kAutomated safety check: NotesMIT
Miniprogram DevelopmentLeoYeAI/openclaw-master-skills2.2k1 repos~2kAutomated safety check: PassMIT
Wechat ChannelaAAaqwq/AGI-Super-Team1051 repos~1.3kAutomated safety check: NotesMIT
Wechat Miniprograminfometa/workbuddyskills342—~1.5kAutomated safety check: NotesNone

Similar skills

  • Weixin Access

    qufei1993/cc-weixin

    Manage WeChat access control (pairing codes and allowlist). An agent skill from qufei1993/cc-weixin.

    154 GitHub stars~372 tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Add WeChat Channel

    nanocoai/nanoclaw

    Adds a personal WeChat channel to a NanoClaw install through Tencent's iLink Bot API, with QR-code login and long polling instead of a public webhook.

    31k GitHub stars~1.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check: notes
  • Miniprogram Development

    LeoYeAI/openclaw-master-skills

    WeChat Mini Program development rules. An agent skill from LeoYeAI/openclaw-master-skills.

    2.2k GitHub starsUsed in 1 repo~2k tokens
    Productivity & AutomationAuto-check passed
  • Wechat Channel

    aAAaqwq/AGI-Super-Team

    微信 (WeChat) 与 OpenClaw 的双向集成通道。基于 Wechaty + PadLocal 实现微信消息的接收和发送,支持私聊、群聊、@提及检测、图片/文件传输。当需要通过微信与 AI 助手交互、接收微信消息触发 AI 响应、或从 OpenClaw 发送消息到微信时使用此技能。

    105 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check: notes
  • Wechat Miniprogram

    infometa/workbuddyskills

    WeChat Mini Program (微信小程序) development framework. An agent skill from infometa/workbuddyskills.

    342 GitHub stars~1.5k tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • She Love Me

    863401402/she-love-me

    Acquire, import, and analyze WeChat or QQ chat histories, including installing supported exporters, guiding required login or contact selection, converting exports, assessing relationship dynamics…

    914 GitHub starsUsed in 1 repo~1.3k tokens
    Productivity & AutomationAuto-check passed

More from TencentCloudBase/CloudBase-AI-Toolkit

All 49 skills in this repo
  • AI Model Nodejs

    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.

    1.1k GitHub starsUsed in 3 repos~5k tokens
    Auto-check passed
  • HTTP API Cloudbase

    TencentCloudBase/CloudBase-AI-Toolkit

    CloudBase official HTTP API client guide. An agent skill from TencentCloudBase/CloudBase-AI-Toolkit.

    1.1k GitHub starsUsed in 3 repos~2.1k tokens
    Auto-check passed
  • Cloud API Recipe Authoring

    TencentCloudBase/CloudBase-AI-Toolkit

    Author or revise a cloud-api-operations recipe (config/source/skills/cloud-api-operations/references/recipes/).

    1.1k GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Manage Local Skills

    TencentCloudBase/CloudBase-AI-Toolkit

    Analyze, standardize, validate, and sync locally maintained skills into agent skill directories with a skills CLI-aligned workflow.

    1.1k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Cloudbase Agent Python

    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 +…

    1.1k GitHub starsUsed in 2 repos~2.9k tokens
    Auto-check: notes
  • Cloudbase

    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…

    1.1k GitHub starsUsed in 1 repo~4.7k tokens
    Auto-check passed

Works with

Questions about Cloudbase Wechat Integration

What does Cloudbase Wechat Integration do?

CloudBase WeChat integration guide for Mini Program WeChat Pay, Mini Program virtual payment (虚拟支付, wx.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth…. Cloudbase Wechat Integration is an agent skill from TencentCloudBase/CloudBase-AI-Toolkit.requestVirtualPayment), Official Account JSAPI Pay, Native QR-code Pay, Official Account OAuth, openid handling, payment callbacks, and CloudBase Integration Center generated functions.

When should I use Cloudbase Wechat Integration?

Cloudbase Wechat Integration fits situations like: tasks that involve Messaging and chat bots.

How do I install Cloudbase Wechat Integration in Claude Code?

Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-wechat-integration -a claude-code`. Or copy the skill folder (config/source/skills/cloudbase-wechat-integration in TencentCloudBase/CloudBase-AI-Toolkit) into .claude/skills/cloudbase-wechat-integration in your project. Claude Code loads it when a task matches its description.

How do I install Cloudbase Wechat Integration in Codex?

Run `npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill cloudbase-wechat-integration -a codex`. Or copy the skill folder (config/source/skills/cloudbase-wechat-integration in TencentCloudBase/CloudBase-AI-Toolkit) into .agents/skills/cloudbase-wechat-integration in your project. Codex loads it when a task matches its description.

Can I use Cloudbase Wechat Integration in Cursor, Gemini CLI or GitHub Copilot?

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-wechat-integration -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-wechat-integration, .gemini/skills/cloudbase-wechat-integration, .github/skills/cloudbase-wechat-integration and .opencode/skills/cloudbase-wechat-integration in your project.

What does Cloudbase Wechat Integration need to run?

SKILL.md names no scripts, command-line tools or credentials: Cloudbase Wechat Integration is instructions for the agent only.

Does Cloudbase Wechat Integration access the network?

SKILL.md names 1 domain. In commands or code: docs.cloudbase.net; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Cloudbase Wechat Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cloudbase Wechat Integration use?

Cloudbase Wechat Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cloudbase Wechat Integration use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.3k tokens, read only when the agent opens those files.

What are the alternatives to Cloudbase Wechat Integration?

Skills that share tags, products or a category with Cloudbase Wechat Integration: Weixin Access (qufei1993/cc-weixin, 154 stars), Add WeChat Channel (nanocoai/nanoclaw, 31k stars), Miniprogram Development (LeoYeAI/openclaw-master-skills, 2.2k stars) and Wechat Channel (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cloudbase Wechat Integration?

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.