Skip to content

About

Unitree RobotSkills is a robot skill framework for quickly connecting frontier AI models (e.g., GPT‑6 Astra) to Unitree robots and easily authoring diverse skills, enabling robots to autonomously perform various tasks in open, complex physical worlds.

Resources

Stars

28 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Unitree RobotSkills

Unitree LOGO

Unitree Robots · General Skills for Agents in the Physical World

English | 中文

License Python Robots

Unitree RobotSkills provides reusable Agent skills for Unitree robots. Agents such as Codex and Claude Code can use these skills with the capabilities each workflow requires, such as image input, shell access or MCP tools. See each skill's README for its setup and runtime requirements.

Unitree Robots × Frontier AI → Entering the Era of Physical AI: one general AI agent empowers multiple Unitree robots, turning intelligence in conversation into action in the physical world.

📺 Video Demo

Painting on R1-D

Painting
R1-D

Painting on G1-D

Painting
G1-D

Gomoku on R1-D

Gomoku
R1-D

Gomoku on G1-D

Gomoku
G1-D

Chinese Chess on R1-D

Chinese Chess
R1-D

Chinese Chess on G1-D

Chinese Chess
G1-D

Navigation

Navigation
R1-D

Marker Sorting

Marker Sorting
R1-7a

Sandwich on R1-D

Sandwich
R1-D

Click a preview to watch the full video. The demos are sped up, and part of the waiting time for model reasoning and network requests has been trimmed.

0. 📖 Introduction

1. Why It Matters

RobotSkills gives an Agent the instructions, observations and tools it needs for each task.

  • Visual perception: raw camera frames from the robot, read and interpreted directly by the agent.
  • Motion control: bounded robot tools built on Unitree SDK2 / DDS (arm poses, gripper, base motion, return to home).
  • Skill knowledge: a SKILL.md or tool description that tells the agent how to perform the task, what to check and when to stop.

The agent closes the loop autonomously: observe → reason → act → verify. A new task only requires a new skill, not a new model; supporting a new robot only requires adding its tools.

RobotSkills architecture showing the General-Purpose Agent Harness and skills for painting, Gomoku, Chinese chess and navigation

2. Skills

Skill Robot What the agent does Interface
g1d_draw G1-D Plans strokes, measures the paper and material points, compiles trajectories offline, then paints through the SDK SKILL.md
r1d_draw R1-D Plans strokes, measures the paper and material points, compiles trajectories offline, then paints through a controller run on the robot over wired SSH SKILL.md
g1d_gomoku G1-D Recognizes the 19×19 board from four cameras, selects a move, picks and places the stone with the right arm and returns to home; asks for user confirmation before releasing the gripper SKILL.md, autonomous-round CLI
g1d_chess G1-D Recognizes the Chinese chess board, plans the move for the current round with Fairy-Stockfish, picks and places with either hand, handles captures and reviews the result SKILL.md, service and single-round scripts
r1d_chess R1-D Reads the Chinese chess board from the head camera, selects the move with Fairy-Stockfish, generates grasp and release poses, runs a full preflight, judges every visual gate from the head and wrist images, picks and places with either Dex1 gripper, handles captures and reviews the result; includes bring-up tools for a new robot (camera check, head camera calibration, arm accuracy calibration, scene and board calibration) SKILL.md, chess service, robot runtime and single-round commands
r1d_sandwich R1-D Reads the head and wrist images, estimates object positions, emits direct end-effector waypoints and makes one sandwich with both Dex1 grippers and a fixed lift; includes planner preview, shadow mode and run-metric collection SKILL.md, local EEF service and direct-waypoint CLI
g1d_r1d_navigation R1-D / G1-D Navigates autonomously from natural-language instructions through MCP tools: observes, moves, keeps reasoning while in motion, and records and returns to places MCP tool server; plus a deterministic preview CLI
r17a_marker_sort R1-7a Locates the pen box, picks up the markers one by one and puts them into their slots in colour-number order SKILL.md

3. 🗺️ Repository Layout

unitree_robotskills/
├── README.md / README.zh.md / LICENSE
├── pyproject.toml               # all skill dependencies (extras) and packaging
├── assets/                      # demo videos, previews and architecture diagrams
├── docs/
│   ├── architecture.md          # interface conventions and lifecycle
│   └── safety.md                # safety requirements before running on a real robot
└── unitree_gpt6/
    ├── g1d_draw/                # painting: planning, measurement, compilation and SDK execution
    ├── r1d_draw/                # R1-D painting: planning, measurement, compilation and on-robot execution
    ├── g1d_gomoku/              # Gomoku: autonomous rounds and hardware tools
    ├── g1d_chess/               # Chinese chess: service, scripts and board annotation tools
    ├── r1d_chess/               # Chinese chess on R1-D: service, robot runtime, setup and calibration tools
    ├── r1d_sandwich/            # sandwich on R1-D: direct EEF service, planner checks and run tools
    ├── g1d_r1d_navigation/      # navigation: MCP runtime and preview skeleton
    └── r17a_marker_sort/        # marker sorting: step scripts, IK and camera calibration

4. ⚠️ Safety

These skills can drive a real robot. Check carefully before actual operation to ensure safety.

  • Every physical skill requires matching hardware and SDK versions, validated coordinates and units, current calibration, a cleared area, on-site personnel and an accessible hardware emergency stop.
  • A software stop does not replace the hardware emergency stop. If the robot behaves dangerously, follow the on-site emergency stop and isolation procedure first, then collect logs with personal and site information removed.
  • Do not reproduce safety issues on an unsupervised real robot. Report security issues privately to the maintainers, without public exploit details or credentials.

Read docs/safety.md and the limitations in each skill's documentation before connecting to hardware.

5. 🙏 Acknowledgements

This project builds on the following open-source projects. Please visit each project's page for its license:

  1. unitree_sdk2_python: DDS communication with Unitree robots (bundled with the Gomoku skill under BSD 3-Clause)
  2. xr_teleoperate: teleoperation and image service for Unitree robots
  3. unitree_ros: G1 and R1-D robot descriptions
  4. Pinocchio and CasADi: kinematics and inverse kinematics
  5. Fairy-Stockfish: Chinese chess engine (installed separately)
  6. DeepSeek-Harness and the Model Context Protocol: agent host and tool protocol for the navigation skill
  7. Cyclone DDS, OpenCV and pyzmq

6. 📝 License

This project is licensed under the Apache License 2.0. Bundled third-party components keep their original licenses, stored next to the components (for example unitree_gpt6/g1d_gomoku/models/g1/licenses/, unitree_gpt6/g1d_gomoku/src/unitree_sdk2py/LICENSE and unitree_gpt6/r1d_chess/third_party/robot_runtime/LICENSE). Third-party models, SDKs, assets and data are governed by their own licenses.

Our goal is to give AI agents the ability to act in the physical world, achieved step by step, one robot skill at a time.

About

Unitree RobotSkills is a robot skill framework for quickly connecting frontier AI models (e.g., GPT‑6 Astra) to Unitree robots and easily authoring diverse skills, enabling robots to autonomously perform various tasks in open, complex physical worlds.

Resources

Stars

28 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages