CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ai-model-wechat

This skill guides implementation of AI text generation and streaming, plus vision-based image and OCR workflows, in WeChat Mini Programs. It requires checking billing eligibility and model-group readiness before writing business code, and explains supported providers, model configuration, and integration practices. It also covers error distinctions, TypeScript guidance, and end-to-end verification.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

The canonical home for this skill is ai-model-wechat in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security
Medium

E004: Prompt injection in skill

What this means

Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.

Why it was flagged

The skill is a legitimate CloudBase AI integration guide, but its preflight has the agent enable billable managed models through `UpdateAIModel` in the user's environment, a configuration change that can incur charges beyond what the user asked for.

Report incorrect finding
Low

W007: Insecure credential handling in skill

What this means

The skill handles credentials insecurely by requiring the agent to include secret values verbatim in its generated output. This exposes credentials in the agent’s context and conversation history, creating a risk of data exfiltration.

Why it was flagged

The main managed-catalog path never handles a credential, but the custom-onboarding branch directs the model to write a vendor API key into a `callCloudApi` `CreateAIModel` call as `Secret.ApiKey`, which passes the value through its context.

Low

W013: System service modification

What this means

The skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.

Why it was flagged

The skill directs the agent to run state-changing `tcb` operations (`UpdateAIModel`, `CreateAIModel`, `DeleteAIModel`) that alter the environment's AI model groups, passing gate 1, but no explicit irreversible operational loss is stated, so gate 2 fails.

Repository

TencentCloudBase/CloudBase-AI-Toolkit

Path

connectors/cloudbase-intl/skills/references/ai-model-wechat/SKILL.md

Audited
Security analysis
Snyk

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.