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.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
The canonical home for this skill is ai-model-nodejs in TencentCloudBase/CloudBase-AI-Toolkit
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.
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.
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.
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.
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.