技能版本 1.0.0
cloudbase
CloudBase AI Development - Complete toolkit for building Web, Mini Program, and Native App projects with CloudBase. Includes authentication, database (NoSQL/MySQL), cloud functions, CloudRun, storage, AI models, and UI design guidelines.
价格
免费
- 安装:免费
在组织开通时一次性收取;再次读取清单或下载不重复收费。
以上为公开标价。你的组织可能有协议价,以控制台显示的价格为准。
如何使用
为组织安装
开通即安装:组织固定使用开通时的版本(当前为 1.0.0)。升级到新版本需要取消后重新开通。
创建凭证
客户端使用组织凭证读取;绑定到数字人后,数字人使用绑定凭证按需加载。请求中携带:
Authorization: Bearer $ZGI_MARKET_KEY读取清单与安装包
清单列出版本、文件和校验值;安装包是一个 zip 文件。
读取清单 curl "https://market-api.zgi.im/v1/market/skills/cloudbase-777e/manifest" \ -H "Authorization: Bearer $ZGI_MARKET_KEY"下载安装包 curl "https://market-api.zgi.im/v1/market/skills/cloudbase-777e/package" \ -H "Authorization: Bearer $ZGI_MARKET_KEY" \ -o cloudbase-777e.zip读取清单和下载安装包不计入用量。下载后请用响应头中的 SHA-256 校验文件。
技能说明
- 名称
- cloudbase
- 说明
- CloudBase AI Development - Complete toolkit for building Web, Mini Program, and Native App projects with CloudBase. Includes authentication, database (NoSQL/MySQL), cloud functions, CloudRun, storage, AI models, and UI design guidelines.
仅指令
技能包内没有脚本文件:这个技能是供模型阅读的文本。
SKILL.md 节选
# CloudBase Development Guidelines
## 📁 Reference Files Location
All reference documentation files are located in the `references/` directory relative to this file.
**File Structure:**
```
cloudbase/
├── SKILL.md # This file (main entry)
└── references/ # All reference documentation
├── auth-web/ # Web authentication guide
├── auth-wechat/ # WeChat authentication guide
├── no-sql-web-sdk/ # NoSQL database for Web
├── ui-design/ # UI design guidelines
└── ... # Other reference docs
```
**How to use:** When this document mentions reading a reference file like `references/auth-web/README.md`, simply read that file from the `references/` subdirectory.
---
## 💡 Recommended: MCP Installation
**For enhanced CloudBase development experience, we recommend installing CloudBase MCP (Model Context Protocol).**
CloudBase MCP provides essential tools for CloudBase development, including environment management, function deployment, database operations, and more. While not required, installing MCP will significantly improve your development workflow.
### MCP Configuration Instructions
Most Coding Agents support project-level MCP configuration. The standard JSON configuration structure is:
```json
{
"mcpServers": {
"cloudbase": {
"command": "npx",
"args": ["@cloudbase/cloudbase-mcp@latest"]
}
}
}
```
**Project-level configuration file locations:**
- **Cursor**: `.cursor/mcp.json`
- **Claude Code**: `.mcp.json`
- **Windsurf**: `~/.codeium/windsurf/mcp_config.json` (user-level, no project-level JSON config)
- **Cline**: Check Cline settings for project-level MCP configuration file location
- **GitHub Copilot Chat (VS Code)**: Check VS Code settings for MCP configuration file location
**Format differences:**
- **Continue**: Uses YAML format in `.continue/mcpServers/` folder:
```yaml
name: CloudBase MCP
version: 1.0.0
schema: v1
mcpServers:
- uses: stdio
command: npx
args: ["@cloudbase/cloudbase-mcp@latest"]
```
### Using mcporter (CLI) When MCP Is Not Available
In environments that do not support MCP (e.g. openclaw) or when users are unsure how to configure MCP, use **mcporter** as a CLI to call CloudBase MCP tools.
**When managing or deploying CloudBase, you MUST use MCP and MUST understand tool details first.** Before calling any CloudBase tool, run `npx mcporter describe cloudbase` (or equivalent in your IDE) to inspect the server config and available tools.
You **do not need to hard-code Secret ID / Secret Key / Env ID** in the config.
CloudBase MCP will support device-code based login via the `auth` tool, so credentials can be obtained interactively instead of being stored in config.
**Add CloudBase MCP server (recommended):**
```bash
npx mcporter config add cloudbase \
--command "npx" \
--arg "@cloudbase/cloudbase-mcp@latest" \
--description "CloudBase MCP"
```
**Quick start:**
- `npx mcporter list` — list configured servers
- **Required:** `npx mcporter describe cloudbase` — inspect CloudBase server config and available tools (must run before managing/deploying CloudBase)
- `npx mcporter list cloudbase --schema` — get full JSON schema for all CloudBase tools
- `npx mcporter call cloudbase.help --output json` — discover available CloudBase tools and their schemas
- `npx mcporter call cloudbase.<tool> key=value` — call a CloudBase tool
**Call examples (CloudBase auth):**
- Check auth & env status:
`npx mcporter call cloudbase.auth action=status --output json`
- Start device-flow login (future-friendly device-code login; no keys in config):
`npx mcporter call cloudbase.auth action=start_auth authMode=device --output json`
- Bind environment after login (envId from CloudBase console):
`npx mcporter call cloudbase.auth action=set_env envId=env-xxx --output json`
---
## CloudBase scenarios (for AI discovery)SKILL.md 不止这些内容,安装后可阅读全文。
技能包内容
共 42 个文件,合计 361.6 KiB
- SKILL.md18.7 KiB
- references/ai-model-nodejs/SKILL.md6.8 KiB
- references/ai-model-web/SKILL.md4.8 KiB
- references/ai-model-wechat/SKILL.md5.7 KiB
- references/auth-nodejs/SKILL.md14.7 KiB
- references/auth-tool/SKILL.md5.6 KiB
- references/auth-web/SKILL.md7.4 KiB
- references/auth-wechat/SKILL.md11.7 KiB
- references/cloud-functions/SKILL.md18.5 KiB
- references/cloud-storage-web/SKILL.md9.0 KiB
- references/cloudbase-agent-ts/SKILL.md3.0 KiB
- references/cloudbase-agent-ts/adapter-development.md1.9 KiB
- references/cloudbase-agent-ts/adapter-langchain.md2.6 KiB
- references/cloudbase-agent-ts/adapter-langgraph.md4.9 KiB
- references/cloudbase-agent-ts/agui-protocol.md2.3 KiB
- references/cloudbase-agent-ts/server-quickstart.md3.3 KiB
- references/cloudbase-agent-ts/ui-clients.md1.2 KiB
- references/cloudbase-agent-ts/ui-miniprogram.md4.1 KiB
- references/cloudbase-platform/SKILL.md13.6 KiB
- references/cloudrun-development/SKILL.md13.1 KiB
- references/data-model-creation/SKILL.md13.1 KiB
- references/http-api/SKILL.md17.8 KiB
- references/miniprogram-development/SKILL.md8.3 KiB
- references/no-sql-web-sdk/SKILL.md6.4 KiB
- references/no-sql-web-sdk/aggregation.md8.5 KiB
- references/no-sql-web-sdk/complex-queries.md5.0 KiB
- references/no-sql-web-sdk/crud-operations.md13.6 KiB
- references/no-sql-web-sdk/geolocation.md11.6 KiB
- references/no-sql-web-sdk/pagination.md8.7 KiB
- references/no-sql-web-sdk/realtime.md3.8 KiB
- references/no-sql-web-sdk/security-rules.md31.8 KiB
- references/no-sql-wx-mp-sdk/SKILL.md2.1 KiB
- references/no-sql-wx-mp-sdk/aggregation.md8.5 KiB
- references/no-sql-wx-mp-sdk/complex-queries.md5.0 KiB
- references/no-sql-wx-mp-sdk/crud-operations.md11.8 KiB
- references/no-sql-wx-mp-sdk/geolocation.md11.6 KiB
- references/no-sql-wx-mp-sdk/pagination.md8.7 KiB
- references/relational-database-tool/SKILL.md5.4 KiB
- references/relational-database-web/SKILL.md3.9 KiB
- references/spec-workflow/SKILL.md5.3 KiB
- references/ui-design/SKILL.md12.3 KiB
- references/web-development/SKILL.md5.6 KiB
来源与审核
- 审核状态
- 尚未审核,内容来自上游来源
- 许可证
- 未说明
审核状态是平台对上架信息的记录,不构成对上游服务质量或可用性的担保。