Ros Robotics Skill
Engineering-grade ROS 1 / ROS 2 skill for Codex, Claude Code, and Gemini CLI.
Install: npx skills add https://github.com/wzyn20051216/ros-robotics-skill -g -y
Works with Claude Code, Codex, Gemini CLI · 62 GitHub stars
Install
npx skills add https://github.com/wzyn20051216/ros-robotics-skill -g -yInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →ROS Robotics Skill
一个面向 ROS 1 / ROS 2 机器人开发、迁移与联调 的开源工程化 skill / prompt pack,适配 Codex、Claude Code、Gemini CLI。
英文版见:README.en.md
它到底解决什么问题
大多数通用 AI 提示词在 ROS 项目里有 4 个通病:
- 分不清
catkin和ament - 看见问题先改代码,不先排 TF、时间戳、frame、单位和资源安装
- 不知道 Nav2、
ros2_control、底盘反馈、/cmd_vel的联调顺序 - 看见 MCU 就想上
micro-ROS,不会先判断 Linux 侧桥接是否更简单
这个项目就是专门解决这些问题的。
支持哪些主机
| Host | 集成方式 | 安装位置 |
|---|---|---|
| Codex | 原生 skill | ~/.codex/skills/ros-robotics |
| Claude Code | 原生 skill | ~/.claude/skills/ros-robotics |
| Gemini CLI | 命令包 | ~/.gemini/commands/ros-robotics.md |
说明:Gemini CLI 当前没有与
SKILL.md完全等价的原生 skill 目录机制,所以这里提供的是 等价工作流命令包。
Skills CLI 安装(推荐给习惯 npx skills 的用户)
如果你已经在用 Skills CLI,可以直接从 GitHub 安装:
npx skills add https://github.com/wzyn20051216/ros-robotics-skill -g -y
如果你更喜欢仓库简称,也可以试试:
npx skills add wzyn20051216/ros-robotics-skill -g -y
说明:不同环境对 GitHub HTTPS/代理策略不一样,若简称失败,优先使用完整 URL。
一条命令安装
Linux / macOS
自动识别并安装到可用主机:
curl -fsSL https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.sh | bash
显式指定目标:
curl -fsSL https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.sh | bash -s -- --target codex
curl -fsSL https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.sh | bash -s -- --target claude
curl -fsSL https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.sh | bash -s -- --target gemini
Windows PowerShell
自动识别并安装到可用主机:
irm https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.ps1 | iex
显式指定目标:
$env:ROS_ROBOTICS_TARGET='codex'; irm https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.ps1 | iex
$env:ROS_ROBOTICS_TARGET='claude'; irm https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.ps1 | iex
$env:ROS_ROBOTICS_TARGET='gemini'; irm https://raw.githubusercontent.com/wzyn20051216/ros-robotics-skill/main/install.ps1 | iex
本地源码安装
git clone https://github.com/wzyn20051216/ros-robotics-skill.git
cd ros-robotics-skill
python scripts/install.py --target all --force
卸载
python scripts/install.py --target codex --uninstall
python scripts/install.py --target claude --uninstall
python scripts/install.py --target gemini --uninstall
工作流总览
flowchart LR
A[识别工作区
ROS1 / ROS2 / mixed] --> B[检查 package.xml
CMakeLists.txt / install 规则]
B --> C[按专题加载文档
TF / URDF / Nav2 / ros2_control / MCU]
C --> D[小步修改]
D --> E[最小验证
构建 / 运行 / 回归]
核心能力
ROS 1 / ROS 2 / mixed workspace识别与处理catkin_make、catkin build、colcon build工作流package.xml/CMakeLists.txt/ 资源安装规则一致性检查URDF/Xacro、robot_state_publisher、RViz、TF 树调试- Navigation2 参数调优、Costmap 配置、定位与导航联调
ros2_control硬件接口、控制器 YAML、读写周期问题定位- Gazebo / Ignition 仿真集成、传感器配置、
ros_gz_bridge - Lifecycle 节点与
rclcpp_components组件化 - DDS / QoS 配置、多机网络、RMW 选择
rosbag2录制回放、mcap、离线诊断工作流- SLAM 建图(Cartographer、SLAM Toolbox)与定位
- Docker 容器化 ROS 开发与多节点编排
- 自定义
msg/srv/action接口定义 - 多机器人系统命名空间隔离与跨机通信
- MoveIt 2 运动规划、SRDF 配置、运动学插件选择
- ROS 2 CI/CD 最佳实践(GitHub Actions、colcon test、ament_lint)
- Foxglove Studio / PlotJuggler 数据可视化与 mcap 离线分析
- MCU / RTOS / 串口 / CAN /
micro-ROS协同开发与风险审查 - ROS 1 → ROS 2 渐进迁移建议
- TF 树完整性离线检查(URDF/Xacro 解析)
- 增强型依赖 / 资源安装规则一致性检查(深度 CMake 分析、launch 引用、YAML 语法)
Similar plugs
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…
Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.
Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…
Production-grade engineering skills for AI coding agents.