huawei-cloud-cloudrobo-r2c
БесплатноЗапускает вложенные скриптыНе проверенRun the R2C (Robot-to-Cloud) data-plane client — start the robot-side edge client (Zenoh pub/sub with mTLS credential bundle, hardware adapter, translator…
от huaweicloudskill488 установок в других каталогахОб этом скилле
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-r2c skill operates the R2C (Robot-to-Cloud) data-plane SDK. Unlike other
cloudrobo skills that call REST APIs via cloudrobo-service, this skill runs long-lived
data-plane processes that use Zenoh pub/sub with Protobuf serialization and mTLS
authentication. It covers one CLI command: r2c client (robot edge client).
Applicable scenarios:
- Robot edge client — Start the robot-side process that bridges physical hardware to the cloud via Zenoh. Reads sensor observations from a hardware adapter, translates to R2C Protobuf messages, publishes to Zenoh, subscribes to cloud actions, translates back, and executes on hardware.
- Custom adapter development — Guide developers through implementing custom
IRobotHardwareAdapterclasses andConfigurableDeviceTranslatormappings for robots not in the built-in adapter list.
Architecture:
Zenoh pub/sub (mTLS)
┌─────────────┐ observations ┌──────────────────┐
│ Robot Edge │ ─────────────► │ │
│ Client │ │ Zenoh Router │
│ (r2c client)│ ◄───────────── │ │
└──────┬──────┘ actions └──────────────────┘
│
┌──────▼──────┐
│ Hardware │
│ Adapter │
│ (robot arm, │
│ gripper...) │
└─────────────┘
Credential Bundle (from robot skill export-certificate)
├── device_info.json (account_id, robot_id, permission_role)
├── zenoh.json (mode, endpoints, mTLS config)
├── ca.pem (CA certificate)
├── server_cert.pem (client certificate — note: named server_cert.pem in the exported bundle)
└── server_key.pem (private key, optionally encrypted)
--bundleaccepts the access-config zip directly (or an extracted directory); the SDK resolves the certificate paths insidezenoh.json(which references acerts/-style layout) automatically. Do not manually rename the cert files.
The R2C data plane is decoupled from the CloudRobo REST API. The platform's cloudrobo-service
handles robot registration and certificate export (covered by the robot skill); the R2C
SDK consumes the exported credential bundle to establish mTLS-authenticated Zenoh sessions.
Prerequisites 前置条件
- See
references/cli-installation-guide.mdfor CLI installation, R2C package extras, and credential bundle preparation. - A valid credential bundle — produced by
cloudrobo robot export-certificate(robot skill). The bundle containsdevice_info.json,zenoh.json,ca.pem,server_cert.pem, andserver_key.pem. - A robot config YAML — defines the hardware adapter, translator, and device-to-R2C field mappings.
- The robot must be registered on the CloudRobo platform (use the
robotskill: create → export-certificate). Therobot_idin the credential bundle identifies the robot.
Workflow 工作流
Robot Edge Client Startup Workflow 机器人边缘客户端启动
Scenario: "Start the R2C client on the robot to stream observations and execute cloud actions."
- Start the client — Launch the edge client with the credential bundle and robot config.
export-certificatewritescert_config_<robot-name>_<timestamp>.zipinto the output directory — pass that zip path to--bundle:
If the private key is encrypted, you will be prompted for a password (or usecloudrobo r2c client --bundle <path/to/cert_config_*.zip> --robot-config config/robot_dummy_config.yaml--private-key-password/--private-key-password-env). - Verify connection — Check log output for "Heartbeat auto publish started" and "Starting cloudroboclient" messages. The client publishes observations and subscribes to actions in a control loop.
- Stop — Press Ctrl+C for graceful shutdown (hardware disconnect → session close).
Dry-Run Testing Workflow 干运行测试
Scenario: "Test the R2C client without moving the real robot."
- Set dry_run — In the robot config YAML, set
runtime.dry_run: true. This publishes real observations but does not execute received actions (logs only). - Start client — Launch with the dummy adapter or real hardware:
cloudrobo r2c client --bundle <bundle> --robot-config config/robot_dummy_config.yaml - Verify observation publishing — Check logs for observation publish events. On the cloud side, verify observations are received.
- Test action receiving — From the cloud adapter or a test publisher, send a test action. Verify the action is logged but not executed (dry_run mode).
- Disable dry_run — Set
runtime.dry_run: falseand restart for real execution.
Custom Adap
Установить huawei-cloud-cloudrobo-r2c в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cloudrobo-r2c?
Run the R2C (Robot-to-Cloud) data-plane client — start the robot-side edge client (Zenoh pub/sub with mTLS credential bundle, hardware adapter, translator, control loop). The credential bundle is produced by the robot skill's export-certificate command. This skill does NOT cover robot registration or certificate export (use the robot skill). Triggers include: r2c client, robot edge client, Zenoh, mTLS, credential bundle, hardware adapter, robot config, dry_run, observation recording, custom adapter, robot-to-cloud, R2C客户端, 硬件适配器, 机器人配置, 凭证包.
Как установить скилл huawei-cloud-cloudrobo-r2c?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cloudrobo-r2c запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic