huawei-cloud-cloudrobo-infer
БесплатноЗапускает вложенные скриптыНе проверенManage CloudRobo inference services — deploy a model into a managed inference service, list/query deployed services and their logs, start/stop a running…
от huaweicloudskill654 установки в других каталогахОб этом скилле
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-infer skill manages the full lifecycle of CloudRobo inference services
(also called model-serving / inference-service): deploy a model (identified by model_id +
model_version_id passed as a --model-json JSON object) into a long-running service, then
operate it (start / stop / update / delete / logs), and use wait-deploy to poll until the
service status is no longer DEPLOYING (status != "DEPLOYING"), returning any other state
(e.g. RUNNING, FAILED, STOPPED).
wait-deployonly waits on theDEPLOYINGphase — it does NOT wait throughCREATING. Exact semantics: Wait-Deploy.
Applicable scenarios:
- Model deployment — Deploy a model as an inference service (create → wait-deploy)
- Wait-Deploy — Poll every 5s until status is no longer
DEPLOYING(600s default) - Service O&M — List deployed services, show detail, update config, start/stop
- Log diagnosis —
list-logswith millisecond time range and keyword filter - Cross-skill orchestration — Consume models exported by
cloudrobo-train; expose the service torobo-dispatcherfor embodied tasks (via the serviceid).
Out of Scope:
- Model training / dataset, robots, dispatch, and asset / compute pool / workspace
lifecycle are separate CloudRobo capabilities (train / dataset / robot / dispatch /
asset / resource / workspace). Route those requests through the matching Agent skill;
this skill only produces an inference service that dispatch consumes via its
id.
Architecture:
Agent / LLM
│
├── CLI → cloudrobo infer <command>
└── SDK → InferClient (Python)
│
▼
cloudrobo-service (REST API)
/v1/infer-services/*
All operations target the cloudrobo-service backend with a valid workspace_id
(the default workspace is used unless explicitly provided). Deploying a service consumes
compute (pool) resources — always confirm before starting a long-running service.
Prerequisites
- CLI installed, AK/SK configured, workspace resolved —
references/cli-installation-guide.md. - A valid
workspace_id(cloudrobo workspace current, orlist+use). - A deployable model:
model_id(=asset_id) +model_version_id(=latest_version_id):--model-json '{"model_id": "<asset_id>", "model_version_id": "<latest_version_id>"}'. The model must haveONLINE_DEPLOYMENTwithstatus: "ENABLE"inshow-asset;DRAFT/CREATINGmodels are rejected with 403. - A compute pool:
pool_type+flavor(cloudrobo resource list-pools --resource-type MODELARTS, onlystatus: "AVAILABLE"pools).--pool-id pool-<resource_id>is optional — pass it only for a dedicated pool. --stop-schedule-jsonis required by the backend:{"duration": <N>, "time_unit": "MINUTES"}.- Region:
cloudrobo(0.3.0) has no--cli-regioncommand-line option (the root command only accepts--verbose/-v; region is not a CLI flag). Set it withcloudrobo config set region <region>(persisted to~/.cloudrobo/config.yaml) — defaultcn-southwest-2. Never append--cli-regiontocloudrobocommands: an unknown option exits non-zero.--cli-regionbelongs tohcloud/KooCLI only, not here.
执行前置自检(Preflight — 每条命令前先做)
任一项失败立即输出中文提示并以非零码退出;禁止静默等待、禁止把空结果当成成功:
command -v cloudrobo >/dev/null 2>&1 || {
echo "未检测到 cloudrobo 命令:请先安装聚合客户端 CLI(pip install hw-cloudrobo-client),详见 references/cli-installation-guide.md。" >&2; exit 2; }
cloudrobo infer --help >/dev/null 2>&1 || {
echo "cloudrobo infer 子命令不可用:请安装或升级 hw-cloudrobo-client(聚合包,已含推理模块)后重试(cloudrobo --help 可确认已注册的命令)。" >&2; exit 2; }
cloudrobo asset --help >/dev/null 2>&1 || {
echo "cloudrobo asset 命令组不可用(报错形如 Error: No such command asset):说明只装了推理模块,模型资料解析无法进行。请改装聚合客户端 pip install hw-cloudrobo-client 后重试。" >&2; exit 2; }
- 凭证缺失不阻断上面的自检,但所有联网命令都会以 401 失败:先
export HUAWEI_CLOUD_AK=<ak> HUAWEI_CLOUD_SK=<sk>或cloudrobo config set ak <ak> sk <sk>,再重试。 scripts/test-cli-commands.sh自检更严:CLI、infer子命令、AK/SK 任一缺失即输出中文 提示并exit 2(没有凭证时它不会给出虚假通过)。- 查询类命令返回空列表属正常结果(0 条服务),不等同于失败;命令报错则必须如实上报。
Workflow
Natural-Language-First Principle
Every workflow below starts from a user intent (1-2 sentences), not from manual CLI/SDK orchestration. The skill then drives the matching command chain and reports state feedback (status changes, polling progress).
Model Deployment Workflow (interactive parameter resolution)
Scenario: "我想创建一个推理服务" / "Deploy model X as an inference service."
Core principle: **query each required parameter → pr
Установить huawei-cloud-cloudrobo-infer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cloudrobo-infer?
Manage CloudRobo inference services — deploy a model into a managed inference service, list/query deployed services and their logs, start/stop a running service, update or delete a service, and orchestrate the 'wait-deploy' convenience flow that polls a service until it finishes deploying. Inference services consume models produced by cloudrobo-train and are consumed by robo-dispatcher when dispatching embodied tasks. Triggers include: infer, inference, model deployment, deploy model, inference service, service deployment, start inference, stop inference, service logs, wait-deploy, model serving, 推理, 推理服务, 模型部署, 部署模型, 推理服务管理, 服务日志, 模型服务.
Как установить скилл huawei-cloud-cloudrobo-infer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cloudrobo-infer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub