Huawei Cloud Cloudrobo Workspace 标志

Huawei Cloud Cloudrobo Workspace

组织
huaweicloud
huawei-cloud-cloudrobo-workspace

Manage CloudRobo workspaces — create, list, show, update, delete workspaces; manage workspace members (add, list, update role, delete); view workspace overview statistics (capacity, used, available, member count); switch active workspace context for use by other cloudrobo skills (dataset, train, eval, infer, etc.). Workspace is the foundational resource container — all other CloudRobo operations require a valid workspace_id. Triggers include: workspace management, workspace member management, workspace switching, workspace overview, workspace configuration, default workspace, 工作空间管理, 工作空间成员, 工作空间切换, 工作空间概览, 工作空间配置, 默认工作空间.

概览

发布者huaweicloud
代码仓库huaweicloud-skills
技能名称huawei-cloud-cloudrobo-workspace
星标数
59
复刻数
24
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 huaweicloud 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Huawei Cloud Cloudrobo Workspace AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/ai/cloudrobo/huawei-cloud-cloudrobo-workspace
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/huaweicloud/huaweicloud-skills.git /tmp/huaweicloud-skills
mkdir -p .claude/skills
cp -r /tmp/huaweicloud-skills/skills/ai/cloudrobo/huawei-cloud-cloudrobo-workspace .claude/skills/huawei-cloud-cloudrobo-workspace
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Huawei Cloud Cloudrobo Workspace,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Huawei Cloud Cloudrobo Workspace。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Huawei Cloud Cloudrobo Workspace 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Windows / PowerShell: Examples use bash syntax. To run on Windows PowerShell:

  • Flatten \ line continuations to a single line, or end lines with a backtick.
  • Set env vars with $env:NAME="value" instead of export NAME="value".
  • Single-quoted JSON '{"a":"b"}' works as-is.

Overview 概述

The cloudrobo-workspace skill manages the full lifecycle of CloudRobo workspaces. A workspace is the foundational resource container — all other CloudRobo operations (dataset processing, model training, evaluation, inference, etc.) require a valid workspace_id. This skill covers workspace CRUD, member management (add/list/update-role/delete), workspace overview statistics, and workspace context switching (use/current).

Applicable scenarios:

  • Workspace management — Create, list, show, update, or delete workspaces
  • Member management — Add members, list members, update member roles, delete members
  • Context switching — Switch active workspace via use, verify current via current; all other skills (dataset, train, eval, infer) read the active workspace from ~/.cloudrobo/workspace.json
  • Overview & quota — View workspace capacity, used count, available count, member count
  • Onboarding — First-time setup: create workspace → switch to it → start using other skills

Architecture:

Agent / LLM
    │
    ├── CLI  →  cloudrobo workspace <command>
    ├── SDK  →  WorkspaceClient (Python)
                    │
                    ▼
              cloudrobo-service (REST API)
              /v1/workspaces/*
              /v1/workspaces/{workspace_id}/members/*
              /v1/workspaces/statistic/overview

All operations target the cloudrobo-service backend. Workspace is a domain-level (account-level) resource — no --workspace-id override needed for workspace operations themselves. The active workspace context is stored in ~/.cloudrobo/workspace.json and consumed by all other skills.

Prerequisites 前置条件

See references/cli-installation-guide.md for CLI installation, AK/SK authentication, and initial configuration. Workspace is the first skill to use during onboarding — create a workspace and run cloudrobo workspace use before using any other cloudrobo skill.

Workflow 工作流

Onboarding Workflow (First-Time Setup) 首次设置

  1. Verify credentials — Ensure HUAWEI_CLOUD_AK/HUAWEI_CLOUD_SK are set
  2. List existing workspaces — cloudrobo workspace list (a default workspace may already exist)
  3. Create a workspace (if needed) — cloudrobo workspace create --name <name> --default-obs-path <obs://...>
  4. Switch to workspace — cloudrobo workspace use --workspace-id <id> (validates and saves context)
  5. Verify — cloudrobo workspace current (shows active workspace config)
  6. Proceed — Other skills (dataset, train, eval, infer) now use the active workspace

Standard Workflow (Workspace CRUD) 工作空间管理

  1. Create — cloudrobo workspace create --name <name> --default-obs-path <obs://...> [--description ...] [--tags ...] [--member-list ...]
  2. List — cloudrobo workspace list [--limit N] [--offset N] (returns workspaces + page_info + last_count)
  3. Show — cloudrobo workspace show --workspace-id <id> (returns full detail including asset_catalog_id)
  4. Update — cloudrobo workspace update --workspace-id <id> [--name ...] [--description ...] [--tags ...] [--owner-id ...]
  5. Delete — cloudrobo workspace delete --workspace-id <id> (irreversible; triggers async cleanup)

Member Management Workflow 成员管理

  1. List members — cloudrobo workspace list-members --workspace-id <id>
  2. Add members — cloudrobo workspace add-members --workspace-id <id> --member-list '<json>'
  3. Update member role — cloudrobo workspace update-member --workspace-id <id> --user-id <uid> --role-ids <r1,r2>
  4. Delete members — cloudrobo workspace delete-members --workspace-id <id> --user-ids <u1,u2>

Overview Workflow 概览统计

  1. Get overview — cloudrobo workspace overview (returns workspace_capacity, workspace_used, workspace_available, member_capacity, member_count)

Context Switching Workflow 工作空间切换

  1. Switch — cloudrobo workspace use --workspace-id <id> (validates workspace, saves to ~/.cloudrobo/workspace.json)
  2. Verify — cloudrobo workspace current (displays saved workspace config)

CLI Command Format Standard CLI命令格式标准

bash
cloudrobo workspace <command> [OPTIONS]
FeatureDescriptionExample
Command groupworkspacecloudrobo workspace
Subcommandkebab-casecreate, list, show, add-members
Workspace ID--workspace-id <id>--workspace-id c1d2e3f4-a5b6-7890-cdef-901234567890
Output formatJSON to stdoutout(result)
Dry-run--dry-run (create/update/delete)Preview without executing
OBS policy bind--bind-obs-policy (update only)Bind OBS bucket policy only; no other field updated
Comma list--user-ids id1,id2,id3--user-ids aaa,bbb
JSON string--member-list '<json>'--member-list '[{"user_id":"u1","role_ids":["r1"]}]'
Tags--tags tag1,tag2 (comma-separated)--tags dev,internal

Core Commands 核心命令

Workspace Management 工作空间管理

Create a workspace
bash
cloudrobo workspace create --name <workspace-name> --default-obs-path <obs://bucket/path> [--description <description>] [--tags <tag1,tag2>] [--member-list '<json>'] [--dry-run]
  • SDK: client.create_workspace(req: dict)
  • API: POST /v1/workspaces

Required fields: name (3-64 chars, pattern: ^[\u4e00-\u9fa5a-zA-Z0-9-_./]{3,64}$), default_obs_path (obs:// protocol, max 512 chars). Optional: description (max 512), tags (max 10, each 1-16 chars), member_list (max 100 members). See references/workspace-config-catalog.md for full field mapping and validation rules.

Server-side actions on create: check name uniqueness → check workspace quota → create Workspace entity → bind OBS bucket policy → create asset catalog → insert DB → add administrator (if non-root user) → create default quota → add members (if provided).

List workspaces
bash
cloudrobo workspace list [--limit <n>] [--offset <n>]
  • SDK: client.list_workspaces(limit=..., offset=...)
  • API: GET /v1/workspaces?limit=<n>&offset=<n>

Returns: workspaces (list), page_info (total, current_count, offset), last_count (remaining workspace quota). A default workspace named "default" is auto-created on first list if it does not exist.

Show workspace detail
bash
cloudrobo workspace show --workspace-id <workspace-id>
  • SDK: client.show_workspace(workspace_id: str)
  • API: GET /v1/workspaces/{workspace_id}

Returns: full workspace detail including workspace_id, name, description, asset_catalog_id, default_obs_path, domain_id, owner_id, owner (name), create_at, update_at, tags, role_ids, repository_id.

Update a workspace
bash
cloudrobo workspace update --workspace-id <workspace-id> [--name <new-name>] [--description <new-description>] [--tags <tag1,tag2>] [--owner-id <user-id>] [--default-obs-path <obs://...>] [--bind-obs-policy] [--dry-run]
  • SDK: client.update_workspace(workspace_id: str, req: dict)
  • API: PUT /v1/workspaces/{workspace_id}

Updatable fields: name, description, tags (full replacement), owner_id (transfer ownership), default_obs_path, bind_obs_policy (boolean flag — binds the OBS bucket policy only, does not update any other workspace field). The default workspace can only set default_obs_path once (first time); other updates to the default workspace are rejected.

Delete a workspace
bash
cloudrobo workspace delete --workspace-id <workspace-id> [--dry-run]
  • SDK: client.delete_workspace(workspace_id: str)
  • API: DELETE /v1/workspaces/{workspace_id}

Deletion is irreversible. Only root user or workspace owner can delete. The default workspace cannot be deleted. Server creates async cleanup tasks on deletion.

Member Management 成员管理

List workspace members
bash
cloudrobo workspace list-members --workspace-id <workspace-id>
  • SDK: client.list_workspace_members(workspace_id: str)
  • API: GET /v1/workspaces/{workspace_id}/members

Returns: members (list with workspace_id, user_id, username, roles (role_id + role_name), is_owner), remain_count (remaining member quota). The root user is always listed as super_administrator.

Add workspace members
bash
cloudrobo workspace add-members --workspace-id <workspace-id> --member-list '<json>'
  • SDK: client.add_workspace_members(workspace_id: str, req: dict)
  • API: POST /v1/workspaces/{workspace_id}/members

Required: member_list JSON array, each entry has user_id (32-char hex, IAM project ID format) and role_ids (UUID list, max 10). Root users cannot be added as members. Duplicate members are rejected. The default workspace does not support member operations.

Update a member's roles
bash
cloudrobo workspace update-member --workspace-id <workspace-id> --user-id <user-id> --role-ids <role-id-1,role-id-2>
  • SDK: client.update_workspace_member(workspace_id: str, req: dict)
  • API: PUT /v1/workspaces/{workspace_id}/members

Required: user_id and role_ids. The workspace owner's role cannot be updated. The default workspace does not support member operations.

Delete workspace members
bash
cloudrobo workspace delete-members --workspace-id <workspace-id> --user-ids <user-id-1,user-id-2>
  • SDK: client.delete_workspace_members(workspace_id: str, user_ids: list)
  • API: DELETE /v1/workspaces/{workspace_id}/members?user_ids=<ids>

The workspace owner cannot be deleted. The default workspace does not support member operations. Max 20 user IDs per request (API constraint) / 100 per request (CLI constraint).

Overview & Statistics 概览统计

Get workspace overview
bash
cloudrobo workspace overview
  • SDK: client.get_workspace_overview()
  • API: GET /v1/workspaces/statistic/overview

Returns: workspace_capacity (max workspaces), workspace_used (current count), workspace_available (remaining), member_capacity (max members, requires BASIC resource SKU), member_count (current member count including root user).

Workspace Context 工作空间上下文

Switch active workspace
bash
cloudrobo workspace use --workspace-id <workspace-id>

Validates the workspace exists and is accessible, then saves to ~/.cloudrobo/workspace.json: workspace_id, name, asset_catalog_id, default_obs_path. All other skills read this file to determine the active workspace.

Show current workspace
bash
cloudrobo workspace current

Displays the saved workspace config from ~/.cloudrobo/workspace.json. If no workspace is configured, outputs "未配置工作空间".

Reference Documents 参考文档

Edge Cases 边界情况

ScenarioHandling
Missing workspace_idOperations fail with validation error; use cloudrobo workspace list to find valid IDs
Workspace not foundServer rejects with WORKSPACE_NOT_EXIST_ERROR; verify ID via workspace list
Default workspaceAuto-created on first list; cannot be deleted; only supports first-time default_obs_path update; does not support member add/update/delete operations
Workspace name conflictServer rejects with WORKSPACE_NAME_EXIST error; names are case-insensitive unique per domain
Workspace quota exceededServer rejects with WORKSPACE_EXCEED_NUM_LIMIT; check overview for capacity; last_count in list response shows remaining
Root user as memberServer rejects with ADD_ADMINISTRATOR_LIMIT_ERROR; root user is always super_administrator
Update/delete workspace ownerServer rejects with REQUEST_FORBIDDEN_ERROR; owner's role cannot be changed, owner cannot be removed as member
Transfer ownershipupdate --owner-id <new-owner> — new owner must be an existing IAM user; if not root, must be or become a workspace member with administrator role
default_obs_path formatMust match ^obs://[a-z0-9\-]{3,63}/[^\s]+$; s3:// is prohibited
workspace_id formatMust be UUID: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
user_id formatMust be 32-char lowercase hex (IAM project ID): ^[0-9a-z]{32}$
role_ids formatMust be UUID format; validated against role cache; max 10 per member
Member already existsServer rejects with WORKSPACE_MEMBER_HAS_EXIST
Member not foundServer rejects with WORKSPACE_MEMBER_NOT_EXIST
AK/SK not setOperations fail at HTTP signing step; set HUAWEI_CLOUD_AK/HUAWEI_CLOUD_SK
workspace use on invalid IDCLI catches error, outputs "切换失败: ..." and exits with code 1
workspace current with no configOutputs "未配置工作空间" (no workspace configured)
Tags full replacementupdate --tags replaces all tags; to remove all tags, pass empty string
Delete triggers cleanupServer creates async cleanup tasks (CleanupService); workspace resources (OBS, catalog, quota) are cleaned asynchronously
asset_catalog_idAuto-created on workspace creation (or first default_obs_path set for default workspace); stored in workspace entity; used by asset/dataset skills
Role system3 roles: super_administrator (sort=0, root user only), administrator (sort=1), member (sort=2); role_ids are dynamic UUIDs fetched from server
Member sortingMembers sorted by: owner first, then by role sort value (super_administrator > administrator > member)
Internal API/v1/internal/workspaces exists for service-to-service calls (no IAM auth); not used by CLI/SDK
Object storage pathsMust use obs:// protocol; s3:// is prohibited
API pathsSourced from SDK source code (_url() calls in client.py), not inferred
Mutating operationscreate/update/delete/add-members/update-member/delete-members should be confirmed by the user
Cross-skill invocationThis skill does not call other skills by name; provides foundational workspace context for all other skills
workspace.json permissionsFile created with 0o600 permissions (owner read/write only)
Member list in createWhen creating workspace with member_list, the creator is automatically excluded (no duplicate)

Verification Method 验证方法

Specification Compliance Verification 规范合规验证

bash
bash scripts/test-cli-commands.sh -s . -e cli

Functional Testing 功能测试

bash
# CLI / SDK (read-only cases TC-01..TC-10 / TC-19..TC-22 run automatically)
bash scripts/test-cli-commands.sh -s . -e {cli|sdk}

# Include mutation cases (TC-11..TC-18, TC-23..TC-28) — each prompts for confirmation
bash scripts/test-cli-commands.sh -s . -e {cli|sdk} -m

API-level verification is manual — replay the paths in references/api-paths.md in API Explorer.

Test Cases 测试用例

See templates/test-vars.json for the full test case list covering workspace CRUD, member management, overview, and context switching scenarios.

Verification Checklist 验证清单

  • After creating a workspace, verify via show --workspace-id <id> that asset_catalog_id is populated
  • After use --workspace-id <id>, verify current outputs the correct workspace config
  • After adding members, verify via list-members that new members appear with correct roles
  • After deleting a workspace, verify it no longer appears in list
  • Verify overview returns consistent workspace_used count with list results

Best Practices 最佳实践

  • Always run workspace list first to check existing workspaces before creating a new one
  • Use --dry-run with create/update/delete to preview operations before executing
  • After creating a workspace, immediately run workspace use --workspace-id <id> to switch context
  • Before deleting a workspace, confirm the workspace ID to avoid irreversible deletion
  • When adding members, use list-members first to check existing members and avoid duplicates
  • The default workspace ("default") has special restrictions — prefer creating a named workspace for production use
  • Check workspace overview periodically to monitor workspace and member quota usage
  • workspace current is a quick way to verify the active workspace before running other cloudrobo commands
  • Transfer ownership with caution — the new owner gains full control of the workspace
  • Tags are fully replaced on update, not merged — include all desired tags in the update command

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Huawei Cloud Cloudrobo Workspace AI 技能有什么作用?

Manage CloudRobo workspaces — create, list, show, update, delete workspaces; manage workspace members (add, list, update role, delete); view workspace overview statistics (capacity, used, available, member count); switch active workspace context for use by other cloudrobo skills (dataset, train, eval, infer, etc.). Workspace is the foundational resource container — all other CloudRobo operations require a valid workspace_id. Triggers include: workspace management, workspace member management, workspace switching, workspace overview, workspace configuration, default workspace, 工作空间管理, 工作空间成员...

为什么在 TypingMind 中使用 Huawei Cloud Cloudrobo Workspace?

因为您只需安装一次,就能搭配任何模型使用。Huawei Cloud Cloudrobo Workspace 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Huawei Cloud Cloudrobo Workspace?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/huaweicloud/huaweicloud-skills/tree/master/skills/ai/cloudrobo/huawei-cloud-cloudrobo-workspace。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Huawei Cloud Cloudrobo Workspace?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Huawei Cloud Cloudrobo Workspace 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Huawei Cloud Cloudrobo Workspace 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Huawei Cloud Cloudrobo Workspace AI 技能免费吗?

是的。huaweicloud 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇