CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

ai-model-nodejs

This skill explains how to use `@cloudbase/node-sdk` for server-side text and image generation, and when to route frontend or Mini Program work to a different skill. It prescribes eligibility and model-readiness preflight checks before SDK code, with guidance on model onboarding, configuration, pricing, timeouts, error handling, privacy, and self-verification.

Quality

90%

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-nodejs in TencentCloudBase/CloudBase-AI-Toolkit

SKILL.md
Quality
Evals
Security
Medium

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 mandatory preflight step directs the model to call DescribeAIModels, whose response includes each group's Secret value, which then enters the model's context.

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 directs the agent to run state-changing `callCloudApi` operations (`UpdateAIModel`, `CreateAIModel`, `DeleteAIModel`) that alter the env's AI model group configuration, but it gives no explicit evidence of unrecoverable operational loss, so the tier is low.

Repository

TencentCloudBase/CloudBase-AI-Toolkit

Path

plugin/cloudbase/skills/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.