ai-model-wechat SKILL.md skillA
ai-model-wechat from tencentcloudbase/cloudbase-ai-toolkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tencentcloudbase/cloudbase-ai-toolkit/ai-model-wechat@v2.37.4Pins v2.37.4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tencentcloudbase/cloudbase-ai-toolkit
- Path
plugin/cloudbase-codex/skills/ai-model-wechat/SKILL.md- Versions recorded
- 5
- Latest version
- v2.37.4, committed Nov 4, 2026
- First version recorded
- Nov 3, 2026
- Size
- 32,557 bytes
- Repository stars
- 1,163
- License
- MIT
Use 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` /…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## 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. ## When to use this skill Use this skill for **calling AI models in WeChat Mini Program** using `wx.cloud.extend.AI`. **Use it when you need to:** - Integrate AI text generation in a Mini Program - Stream AI responses with callback support - Read text and fields from an image (OCR, receipts, forms) with a vision-capable model - Call Hunyuan models from the WeChat environment **Do NOT use for:** - Browser/Web apps → use `ai-model-web` skill - Node.js backend or cloud functions → use `ai-model-nodejs` skill - Image generation → use `ai-model-nodejs` skill (not available in Mini Program) - Runtimes without a CloudBase SDK (native apps, Python, etc.) → use `http-api-cloudbase` skill (it now includes the `ai_model` OpenAPI spec for direct HTTP calls) --- …
Read the whole file at its exact version.
How to install
mdr add tencentcloudbase/cloudbase-ai-toolkit/ai-model-wechat@sha256:2a27652101c4a14dThe line at the top of this page pins the label v2.37.4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_kq42eradeitovmm4)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Nov 3, 2026 and Nov 4, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.37.4 latest | 2026-11-04 | 5d856ca | 32,557 B | A | view · diff |
| v2.37.3 | 2026-11-04 | 70d5c73 | 32,557 B | A | view · diff |
| v2.37.2 | 2026-11-04 | 6a29ded | 32,557 B | A | view · diff |
| v2.37.2 | 2026-11-04 | 58554e9 | 27,409 B | A | view · diff |
| v2.37.1 | 2026-11-03 | afcc8d1 | 27,409 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (32557 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tencentcloudbase/cloudbase-ai-toolkit · 1,163 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kq42eradeitovmm4 GET https://markdownregistry.com/api/v1/resolve?ref=tencentcloudbase/cloudbase-ai-toolkit/ai-model-wechat GET https://markdownregistry.com/api/v1/blob/2a27652101c4a14d95ad02b87da52dc69aa6c123548fe1c72b025fd7d69452ed
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from tencentcloudbase/cloudbase-ai-toolkit
Every file in tencentcloudbase/cloudbase-ai-toolkit