dongsheng123132

Go2 Openclaw Skill — AI skill for Claude Code

AI community

Control the Unitree Go2 robot dog with OpenClaw AI using natural language — CycloneDDS gateway skill, no ROS2 needed, Python-based.

How to install Go2 Openclaw Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dongsheng123132/go2-openclaw-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Go2 Openclaw Skill does

Control the Unitree Go2 robot dog with OpenClaw AI using natural language — CycloneDDS gateway skill, no ROS2 needed, Python-based.

Alternatives in AI

  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★
  • Awareness Local — Local-first AI agent memory — one command, works offline, no account needed 199 ★

README

Go2 OpenClaw Skill

[中文](#中文) | [English](#english)


English

Control a **Unitree Go2 robot dog** with natural language through OpenClaw AI.

Architecture

Natural Language → OpenClaw AI → SKILL.md (curl commands)
                                      │
                                HTTP localhost:8520
                                      │
                                FastAPI Gateway
                                      │
                              unitree_sdk2py (CycloneDDS)
                                      │
                                Unitree Go2
                            (WiFi 192.168.123.161)

No full ROS2 installation needed — `unitree_sdk2py` communicates directly via CycloneDDS.

Quick Start

# 1. Connect to Go2 WiFi hotspot (Unitree_Go2_XXXX)

# 2. Check connection
make check

# 3. Install dependencies
make install

# 4. Start gateway
make run

# 5. Test
curl http://localhost:8520/status
curl -X POST http://localhost:8520/action -H "Content-Type: application/json" -d '{"action":"stand"}'

Install as OpenClaw Skill

Copy `SKILL.md` to your OpenClaw skills directory, then say:

  • "让机器狗向前走" → robot walks forward
  • "坐下" → robot sits down
  • "跳舞" → robot dances
  • "停" → emergency stop

API Endpoints

Endpoint Method Description
/status GET Full robot status (battery, mode, velocity, IMU)
/battery GET Battery percentage
/move POST Move in direction with speed & duration
/stop POST Emergency stop
/action POST Preset action (stand/sit/dance/backflip/shake_hand/stretch)

Safety

  • Speed capped at 0.5 m/s (default 0.3)
  • Backflip requires battery > 20%
  • "停/stop" triggers immediate halt

中文

通过 OpenClaw AI 用自然语言控制 **Unitree Go2 机器狗**。

架构

自然语言 → OpenClaw AI → SKILL.md (curl 命令)
                               │
                         HTTP localhost:8520
                               │