huawei-cloud-cloudrobo-resource
БесплатноЗапускает вложенные скриптыНе проверенQuery CloudRobo resource quotas and resource pools — list workspace-level and Domain-level quotas with CCE/ModelArts isolation (CCE: cpu/memory/gpu…
от huaweicloudskill486 установок в других каталогахОб этом скилле
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 ofexport NAME="value".- Single-quoted JSON
'{"a":"b"}'works as-is.
Overview 概述
The cloudrobo-resource skill provides query capabilities for CloudRobo compute resources.
It covers two core areas: resource quota querying (with Domain-level aggregation and
CCE/ModelArts isolation) and resource pool querying (list with multi-condition filtering,
show with node-level details). This skill is read-only — no write operations are included.
Applicable scenarios:
- Quota querying — View workspace-level and Domain-level resource quotas; verify CCE (cpu/memory/gpu) and ModelArts (npu) quota isolation; check available capacity before launching workloads
- Resource pool querying — List resource pools by type/sub-type/pool-type/usages; inspect node-level details (name, status, resources, labels)
Architecture:
Agent / LLM
│
├── CLI → cloudrobo resource <command>
├── SDK → ResourceClient (Python)
│
▼
cloudrobo-service (REST API)
/v1/resources/quotas
/v1/resources/pools
/v1/resources/pools/{pool_id}
All operations target the cloudrobo-service backend. Resource operations are
domain-level — quota list and pool list require ABAC permission; pool detail does not.
Prerequisites 前置条件
See references/cli-installation-guide.md for CLI installation, AK/SK authentication, and
initial configuration. The cloudrobo-resource package depends on cloudrobo-core.
Ensure cloudrobo workspace use --workspace-id <id> has been run to set the active
workspace context before using resource commands.
Workflow 工作流
Quota Query Workflow 配额查询工作流
- List quotas —
cloudrobo resource list-quotas(returns domain_quotas + quotas + page_info) - Filter by type —
cloudrobo resource list-quotas --resource-type CCE(CCE: npu=0; MODELARTS: cpu/memory/gpu=0) - Filter by workspace —
cloudrobo resource list-quotas --workspace-id <id>(workspace-scoped quotas) - Check capacity — Review
domain_quotas[].available_specfor available compute resources
Resource Pool Query Workflow 资源池查询工作流
- List pools —
cloudrobo resource list-pools(returns resources + page_info) - Filter pools —
cloudrobo resource list-pools --resource-type MODELARTS --resource-sub-type STANDARD - Show pool detail —
cloudrobo resource show-pool --pool-id <id>(returns node info, status, config)
CLI Command Format Standard CLI命令格式标准
cloudrobo resource <command> [OPTIONS]
| Feature | Description | Example |
|---|---|---|
| Command group | resource |
cloudrobo resource |
| Subcommand | kebab-case | list-quotas, list-pools, show-pool |
| Output format | JSON to stdout | out(result) |
| Comma list | --usages TRAINING,INFERENCE |
--usages TRAINING,INFERENCE |
| Enum params | click.Choice validated |
`--resource-type CCE |
| Pagination | --limit 1-50 / --offset N |
--limit 20 --offset 0 |
Core Commands 核心命令
Quota Query 配额查询
List quotas
cloudrobo resource list-quotas [--workspace-id <id>] [--resource-id <id>] [--resource-type CCE|MODELARTS] [--resource-sub-type CPU|GPU|STANDARD|LITE] [--pool-type DEDICATED|SHARED] [--limit <n>] [--offset <n>] [--order ASC|DESC]
- SDK:
client.list_quotas(**params) - API:
GET /v1/resources/quotas
Returns: domain_quotas (Domain-level aggregation with total_spec, used_spec,
available_spec), quotas (workspace-level list with quota_id, resource_name, specs,
nodes), page_info. CCE type quotas have npu=0; ModelArts type quotas have
cpu/memory/gpu=0.
Resource Pool Query 资源池查询
List resource pools
cloudrobo resource list-pools [--resource-type CCE|MODELARTS] [--resource-sub-type CPU|GPU|STANDARD|LITE] [--pool-type DEDICATED|SHARED] [--usages TRAINING,INFERENCE] [--limit <n>] [--offset <n>] [--order ASC|DESC]
- SDK:
client.list_pools(**params) - API:
GET /v1/resources/pools
Returns: resources (list of ResourceVo with resource_id, resource_name, resource_type,
resource_sub_type, nodes, config, status, description, usages, pool_type, create_at),
page_info. Pass resource_id to show-pool --pool-id.
Training task
cluster_id:list-poolsis for pool/flavor discovery and does not reliably determine the value to submit. ModelArtsconfig.cluster_idmay beNone; do not assumeresource_idorconfig.pool_idis interchangeable with the task'scluster_id. For a training task, copycluster_idfrom a successful task in the same workspace. The observed SHARED format ispool-<resource_id>; do not assume it applies to DEDICATED pools.
Show resource po
Установить huawei-cloud-cloudrobo-resource в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cloudrobo-resource?
Query CloudRobo resource quotas and resource pools — list workspace-level and Domain-level quotas with CCE/ModelArts isolation (CCE: cpu/memory/gpu, ModelArts: npu), list resource pools with multi-condition filtering (type/sub-type/pool-type/usages), and show resource pool details with node-level information (name, status, resources, labels). Provides compute capacity visibility for training, evaluation, and inference workloads. Triggers include: resource quota query, resource pool query, resource pool list, resource pool detail, quota list, Domain quota aggregation, CCE quota, ModelArts quota, 资源配额查询, 资源池查询, 资源池列表, 资源池详情, 配额查询.
Как установить скилл huawei-cloud-cloudrobo-resource?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cloudrobo-resource запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic