cloud-storage-web
Agent skill fromTencentCloudBase/CloudBase-AI-Toolkit
Complete guide for CloudBase cloud storage using Web SDK (@cloudbase/js-sdk) - upload, download, temporary URLs, file management, and best practices.
How to install cloud-storage-web
install cloud-storage-web
# install the CloudBase-AI-Toolkit pack with the skills CLI
npx skills add TencentCloudBase/CloudBase-AI-Toolkit# or add only this skill to Claude Code: copy the folder
config/source/skills/cloud-storage-web/
# into
~/.claude/skills/cloud-storage-web/ (all projects)
.claude/skills/cloud-storage-web/ (one project)
1## Sibling skills (local only)23Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`.45If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context.67# Cloud Storage Web SDK89## Activation Contract1011### Use this first when1213- A browser or Web app must upload, download, or manage CloudBase storage objects through `@cloudbase/js-sdk`.14- The request mentions `uploadFile`, `getTempFileURL`, `deleteFile`, or `downloadFile` in frontend code.1516### Read before writing code if1718- The task is browser-side storage work but you still need to separate it from Mini Program storage, backend storage management, or static hosting deployment.19- The request may be blocked by security domains or frontend auth.2021### Then also read2223- Web login and identity -> `../auth-web-cloudbase/SKILL.md`24- General Web app setup -> `../web-development/SKILL.md`25- Direct storage management through MCP tools -> `../cloudbase-platform/SKILL.md`2627### Do NOT use for2829- Mini Program file APIs.30- Backend or agent-side direct storage management through MCP.31- Static website hosting deployment via `manageHosting(action="upload")`.32- Database operations.3334### Common mistakes / gotchas3536- Uploading from browser code without configuring security domains.37…
Excerpt shown under the repository's MIT license.
