bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Controls ROS 2 robots directly via rclpy CLI. Use when the user asks about ROS 2 topics, services, nodes, parameters, actions, robot movement, sensor data, or any ROS 2 robot interaction.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install adityakamath/ros2-skill打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Controls and monitors ROS 2 robots directly via rclpy.
Architecture: Agent → ros2_cli.py → rclpy → ROS 2
All commands output JSON. Errors contain {"error": "..."}.
For full command reference with arguments, options, and output examples, see references/COMMANDS.md.
source /opt/ros/${ROS_DISTRO}/setup.bash
pip install rclpy rosidl-runtime-py
The CLI must run on a machine with ROS 2 installed and sourced.
Before any operation, verify ROS 2 is available:
python3 {baseDir}/scripts/ros2_cli.py version
| Category | Command | Description |
|---|---|---|
| Connection | version |
Detect ROS 2 distro |
| Safety | estop |
Emergency stop for mobile robots |
| Topics | topics list |
List all active topics with types |
| Topics | topics type <topic> |
Get message type of a topic |
| Topics | topics details <topic> |
Get topic publishers/subscribers |
| Topics | topics message <msg_type> |
Get message field structure |
| Topics | topics subscribe <topic> |
Subscribe and receive messages |
| Topics | topics publish <topic> <json> |
Publish a message to a topic |
| Topics | topics publish-sequence <topic> <msgs> <durs> |
Publish message sequence |
| Services | services list |
List all available services |
| Services | services type <service> |
Get service type |
| Services | services details <service> |
Get service request/response fields |
| Services | services call <service> <json> |
Call a service |
| Nodes | nodes list |
List all active nodes |
| Nodes | nodes details <node> |
Get node topics/services |
| Params | params list <node> |
List node parameters |
| Params | params get <node:param> |
Get parameter value |
| Params | params set <node:param> <value>... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Agent Skill for ROS 2 robot control via rclpy.
Agent (LLM) → ros2_cli.py → rclpy → ROS 2
An AI agent skill that lets agents control ROS 2 robots through natural language. The agent reads SKILL.md, understands available commands, and executes ros2_cli.py to interact with ROS 2 systems directly via rclpy.
Use ros2_cli.py directly from the command line.
# Source ROS 2 environment
source /opt/ros/${ROS_DISTRO}/setup.bash
# Install dependencies
pip install rclpy rosidl-runtime-py
# Run commands
python3 scripts/ros2_cli.py version
python3 scripts/ros2_cli.py topics list
python3 scripts/ros2_cli.py nodes list
# Move robot forward for 3 seconds
python3 scripts/ros2_cli.py topics publish /cmd_vel \
'{"linear":{"x":1.0,"y":0,"z":0},"angular":{"x":0,"y":0,"z":0}}' --duration 3
# Read sensor data
python3 scripts/ros2_cli.py topics subscribe /scan --duration 3
ros2-skill works with any AI agent that supports Agent Skills. For easy setup, we recommend OpenClaw — install ros2-skill from ClawHub and talk to your robot:
See the OpenClaw tutorial for full setup and usage.
| Category | Commands |
|---|---|
| Connection | version |
| Topics | list, type, details, message, subscribe, publish, publish-sequence |
| Services | list, type, details, call |
| Nodes | `lis... |
# ROS 2 Skill
Controls and monitors ROS 2 robots directly via rclpy.
**Architecture:** Agent → `ros2_cli.py` → rclpy → ROS 2
All commands output JSON. Errors contain `{"error": "..."}`.
For full command reference with arguments, options, and output examples, see [references/COMMANDS.md](references/COMMANDS.md).
---
## Setup
### 1. Source ROS 2 environment
```bash
source /opt/ros/${ROS_DISTRO}/setup.bash
```
### 2. Install dependencies
```bash
pip install rclpy rosidl-runtime-py
```
### 3. Run on ROS 2 robot
The CLI must run on a machine with ROS 2 installed and sourced.
---
## Important: Check ROS 2 First
Before any operation, verify ROS 2 is available:
```bash
python3 {baseDir}/scripts/ros2_cli.py version
```
---
## Command Quick Reference
| Category | Command | Description |
|----------|---------|-------------|
| Connection | `version` | Detect ROS 2 distro |
| Safety | `estop` | Emergency stop for mobile robots |
| Topics | `topics list` | List all active topics with types |
| Topics | `topics type <topic>` | Get message type of a topic |
| Topics | `topics details <topic>` | Get topic publishers/subscribers |
| Topics | `topics message <msg_type>` | Get message field structure |
| Topics | `topics subscribe <topic>` | Subscribe and receive messages |
| Topics | `topics publish <topic> <json>` | Publish a message to a topic |
| Topics | `topics publish-sequence <topic> <msgs> <durs>` | Publish message sequence |
| Services | `services list` | List all available services |
| Services | `services type <service>` | Get service type |
| Services | `services details <service>` | Get service request/response fields |
| Services | `services call <service> <json>` | Call a service |
| Nodes | `nodes list` | List all active nodes |
| Nodes | `nodes details <node>` | Get node topics/services |
| Params | `params list <node>` | List node parameters |
| Params | `params get <node:param>` | Get parameter value |
| Params | `params set <node:param> <value>`...# ROS 2 Skill



[](https://clawhub.ai/adityakamath/ros2-skill)
[Agent Skill](https://agentskills.io) for ROS 2 robot control via rclpy.
```text
Agent (LLM) → ros2_cli.py → rclpy → ROS 2
```
## Overview
An AI agent skill that lets agents control ROS 2 robots through natural language. The agent reads `SKILL.md`, understands available commands, and executes `ros2_cli.py` to interact with ROS 2 systems directly via rclpy.
## Quick Start (CLI)
Use `ros2_cli.py` directly from the command line.
```bash
# Source ROS 2 environment
source /opt/ros/${ROS_DISTRO}/setup.bash
# Install dependencies
pip install rclpy rosidl-runtime-py
# Run commands
python3 scripts/ros2_cli.py version
python3 scripts/ros2_cli.py topics list
python3 scripts/ros2_cli.py nodes list
# Move robot forward for 3 seconds
python3 scripts/ros2_cli.py topics publish /cmd_vel \
'{"linear":{"x":1.0,"y":0,"z":0},"angular":{"x":0,"y":0,"z":0}}' --duration 3
# Read sensor data
python3 scripts/ros2_cli.py topics subscribe /scan --duration 3
```
## Quick Start (AI Agent)
**ros2-skill** works with any AI agent that supports [Agent Skills](https://agentskills.io). For easy setup, we recommend [OpenClaw](https://github.com/openclaw/openclaw) — install **ros2-skill** from [ClawHub](https://clawhub.ai/adityakamath/ros2-skill) and talk to your robot:
- "What topics are available?"
- "Move the robot forward 1 meter"
See the [OpenClaw tutorial](examples/openclaw.md) for full setup and usage.
## Supported Commands
| Category | Commands |
| -------- | -------- |
| Connection | `version` |
| Topics | `list`, `type`, `details`, `message`, `subscribe`, `publish`, `publish-sequence` |
| Services | `list`, `type`, `details`, `call` |
| Nodes | `lis...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.