CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ai-model-nodejs

This skill covers server-side text and image generation with `@cloudbase/node-sdk`, including model groups, model enablement, cloud-function configuration, and SDK usage. It requires checking Token Credits eligibility and model readiness before writing code, and provides guidance on pricing, secrets, timeouts, streaming, error handling, and verification. It also explains when to use other CloudBase AI skills instead.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

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

SKILL.md
Quality
Evals
Security
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 `cloudbase` path keeps credentials out of context, but the optional custom-onboarding branch directs the model to pass a user-supplied vendor API key (`Secret.ApiKey`) into a `CreateAIModel` tool call.

Report incorrect finding
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 instructs the agent to run state-changing AI-group operations (`UpdateAIModel`, `CreateAIModel`, `DeleteAIModel`) on the environment, which passes the operational-change gate, but the supplied text describes only recoverable changes (models can be re-added, and custom groups can be re-onboarded), so the irreversible-loss gate fails.

Repository

TencentCloudBase/CloudBase-AI-Toolkit

Path

connectors/cloudbase-intl/skills/references/ai-model-nodejs/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.