This skill guides agents in calling CloudBase AI models from browser and Web applications, with examples for `generateText`, `streamText`, and custom model onboarding. It requires checking environment eligibility and model readiness before SDK code, and covers authentication, pricing, error handling, and verification. It distinguishes this Web workflow from backend, Mini Program, and image-generation use cases.
88%
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 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 calls `DescribeAIModels`, which the skill documents as returning each group's `Secret` into the tool result the model reads, so a credential value enters context on the main path.
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 tcb operations (UpdateAIModel, CreateAIModel, DeleteAIModel) that alter the environment's AI model group configuration, but no explicit irreversible operational loss is established, since the full-replacement and deletion notes do not state unrecoverable loss and re-onboarding can restore the state.
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.