Lovish Arora

peaq Robotics

開發程式設計v0.1.7
作者:Lovish Arora更新於 2026-05-11共 8 個版本 · 最新版本釋出於 2026-02-16peaq-robotics@clawhub_lavish0000/peaq-robotics
後端開發指令碼工具#Access Control

據 AlphaMoat 統計,截至 2026-09,peaq Robotics 累計下載 2,829 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 3,848 位,在「開發程式設計」分類(577 個)中排名第 486 位。

累計安裝
173
累計下載
2829
星標
5
全站排名
#3,848
全站前 76% · 「開發程式設計」前 85%
平台累計安裝累計下載星標評論
ClawHub ↗85277551
SkillHub ↗17328295—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文涵蓋啟動或停止本地節點,以及 DID、儲存和存取控制服務呼叫;排除安裝建置和轉帳。節點可能持續執行,權限變更或寫入會影響機器人系統;先檢查工作區、目標服務和操作影響並取得授權。 需要已安裝 ROS、已建置的 peaq 工作區、PEAQ_ROS2_ROOT、設定 YAML,以及在外部初始化的 ROS 環境。監控背景節點並在結束後停止;僅授予經審核的最小角色與權限。

資料釋出於 2026-10-27

可以用來做什麼

  • 檢查現有節點和服務操作需求
  • 規劃 DID 或儲存讀取流程
  • 審閱訪問角色變更方案

什麼時候用

  • 已有可執行 ROS 2 工作區且需要管理服務時
  • 啟動節點或改變存取控制前核實目標、權限和風險時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

列出這項服務呼叫將讀寫哪些資源並說明風險;不要啟動節點或修改權限。

月度資料趨勢

累計下載2829
1627227329182026-03 · 累計下載 17162026-05 · 累計下載 21282026-06 · 累計下載 22762026-07 · 累計下載 25042026-08 · 累計下載 26402026-09 · 累計下載 282926-0326-09
星標5
4562026-03 · 星標 52026-05 · 星標 52026-06 · 星標 52026-07 · 星標 52026-08 · 星標 52026-09 · 星標 526-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092829—5
2026-082640+5.4%5
2026-072504+10.0%5
2026-062276+7.0%5
2026-052128—5
2026-031716—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.3 KB · ClawHub v0.1.7
---
name: peaq-robotics
description: Core peaq-robotics-ros2 runtime for OpenClaw. Start/stop ROS 2 nodes and call DID, storage, and access-control services. Use when requests are about running an existing peaq ROS2 workspace (not installing/building or sending funds).
metadata: {"openclaw":{"emoji":"robot","requires":{"bins":["ros2","python3"],"env":["PEAQ_ROS2_ROOT"]}}}
---

# peaq-robotics (Core)

## What this skill is
展開全部(共 111 行)
Use this skill when a machine already has a working `peaq-robotics-ros2` workspace and you want OpenClaw to run core ROS 2 nodes and call peaq services:
- DID create/read
- Storage add/read
- Access role/permission operations

## What this skill intentionally does NOT do

To keep this skill low-risk and easier to approve in registries, core excludes:
- repo clone/build automation
- value transfer commands
- tether wallet operations
- runtime expansion of trusted setup/json roots via env overrides

If you need install/bootstrap/funding automation, use the companion admin skill (`peaq-robotics-admin`).

## Required prerequisites

Before using core commands, make sure these are already true:
- ROS 2 is installed and `ros2` works.
- `peaq-robotics-ros2` workspace is already present and built.
- `PEAQ_ROS2_ROOT` points to that repo.
- Config YAML exists (either:
  - set `PEAQ_ROS2_CONFIG_YAML`, or
  - use default `<PEAQ_ROS2_ROOT>/peaq_ros2_examples/config/peaq_robot.yaml`).
- ROS environment is already initialized externally for the current shell/session.

## Manual setup guide (no installer script required)

Do the repo clone/build/config steps manually outside this skill using upstream peaq-robotics-ros2 docs, then set env for OpenClaw runtime:

```bash
export PEAQ_ROS2_ROOT="$HOME/peaq-robotics-ros2"
# optional
export PEAQ_ROS2_CONFIG_YAML="$HOME/peaq-robotics-ros2/peaq_ros2_examples/config/peaq_robot.yaml"
```

## If users want their own custom helper script

Tell them to create their own wrapper with only required setup and explicit config:

```bash
#!/usr/bin/env bash
set -euo pipefail
ros2 run peaq_ros2_core core_node --ros-args -p config.yaml_path:="$PEAQ_ROS2_CONFIG_YAML"
```

They can then run this directly, or still use this skill's commands for service calls.

## Core commands

Node lifecycle:
- `{baseDir}/scripts/peaq_ros2.sh core-start`
- `{baseDir}/scripts/peaq_ros2.sh core-configure`
- `{baseDir}/scripts/peaq_ros2.sh core-activate`
- `{baseDir}/scripts/peaq_ros2.sh core-stop`

Identity:
- `{baseDir}/scripts/peaq_ros2.sh did-create`
- `{baseDir}/scripts/peaq_ros2.sh did-create '{"type":"robot"}'`
- `{baseDir}/scripts/peaq_ros2.sh did-create @/path/to/file.json`
- `{baseDir}/scripts/peaq_ros2.sh did-read`

Storage:
- `{baseDir}/scripts/peaq_ros2.sh store-add sensor_data '{"temp":25.5}' FAST`
- `{baseDir}/scripts/peaq_ros2.sh store-read sensor_data`

Access control:
- `{baseDir}/scripts/peaq_ros2.sh access-create-role operator 'Robot operator'`
- `{baseDir}/scripts/peaq_ros2.sh access-create-permission move_robot`
- `{baseDir}/scripts/peaq_ros2.sh access-assign-permission move_robot operator`
- `{baseDir}/scripts/peaq_ros2.sh access-grant-role operator did:peaq:<address>`

Identity card helpers:
- `{baseDir}/scripts/peaq_ros2.sh identity-card-json [name] [roles_csv] [endpoints_json] [metadata_json]`
- `{baseDir}/scripts/peaq_ros2.sh identity-card-did-create [name] [roles_csv] [endpoints_json] [metadata_json]`
- `{baseDir}/scripts/peaq_ros2.sh identity-card-did-read`

Funding request (message template only, no transfer):
- `{baseDir}/scripts/peaq_ros2.sh fund-request [amount] [reason]`

## Behavior and safety notes

- This skill does not source ROS setup scripts itself; environment initialization must be done externally.
- `@/path/file.json` inputs are restricted to built-in roots:
  - skill folder
  - `PEAQ_ROS2_ROOT`
  - workspace `.peaq_robot`
- JSON arguments are parsed/validated before ROS 2 service calls.
- Service payloads are passed as JSON objects to `ros2 service call` (no shell YAML interpolation).

## One-line human prompts

- "Start peaq robotics core and create my DID. If I need funds, give me a one-line funding request."
- "Read my DID, store this JSON as `agent_state`, then read it back."
- "Create role `operator`, create permission `move_robot`, assign it, and show the response."

## Deep reference

For full service names and fields, see:
- `references/peaq_ros2_services.md`

「開發程式設計」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。