Sandbox
@arpitg1304/robotics-agent-skills

Robotics SKILL.md pack for Claude Code and Cursor

This repo packages robotics knowledge as SKILL.md files that agents can load when building ROS1 and ROS2 software. The skills focus on production concerns like QoS, lifecycle nodes, bounded callbacks, tests, bringup, Docker, and security.

356 starsβ€’45 forksβ€’Pythonβ€’Updated 1mo ago
Who it's for

Builders who want their coding agent to write robotics software with ROS1 and ROS2 production patterns.

What it delivers

You can get robotics-aware agent output without re-explaining ROS details, safety patterns, and test structure every time.

What it does

ROS1 and ROS2 skills

Separate `skills/ros1/SKILL.md` and `skills/ros2/SKILL.md` files cover catkin, rclpy, rclcpp, DDS, QoS, lifecycle nodes, components, and launch files.

Robotics design principles

`skills/robotics-software-principles/SKILL.md` covers SOLID, fail-safe defaults, rate separation, composability, and graceful degradation.

Testing guidance

`skills/robotics-testing/SKILL.md` gives unit, integration, mock hardware, launch_testing, golden files, and CI/CD patterns.

Bringup and deployment

`skills/robot-bringup/SKILL.md` covers systemd services, launch composition, udev rules, watchdogs, log rotation, and graceful shutdown.

Security and hardening

`skills/robotics-security/SKILL.md` covers SROS2, DDS encryption, network segmentation, secrets management, and e-stop isolation.

Evaluation examples

`evals/` compares the same prompt with and without skills, with a report in `evals/EVAL_REPORT.md`.

Installer and validator

`install.sh` copies chosen skills into an agent’s skills folder, and `scripts/validate_skills.py` checks the skill files.

How to get it

  1. 1Install selected skills into a project
    git clone https://github.com/arpitg1304/robotics-agent-skills.git
    cd robotics-agent-skills
    ./install.sh --target /path/to/your/robot/.claude/skills --skills ros2 robotics-testing robot-bringup
  2. 2For Autohand Code project skills
    ./install.sh --target /path/to/your/robot/.autohand/skills --skills ros2 robotics-testing robot-bringup
  3. 3Or copy manually
    cp -R skills/ros2 /path/to/your/robot/.claude/skills/
    cp -R skills/robotics-testing /path/to/your/robot/.claude/skills/

README

πŸ€– Robotics Agent Skills

Production-grade robotics knowledge for AI coding agents.

Drop these SKILL.md files into Claude Code, Autohand Code, Cursor, Copilot-style agents, or custom agent frameworks to make them generate better ROS1/ROS2 software: safer nodes, correct QoS, lifecycle patterns, tests, launch files, Docker, bringup, perception, and security.

License: Apache-2.0 Skills ROS Agent Format

Why This Exists

General-purpose coding agents know ROS syntax, but they often miss the robotics details that matter in production: QoS compatibility, deterministic startup, bounded callbacks, sensor health checks, safe shutdown, launch ergonomics, and testability.

This repo is the missing robotics engineering layer for AI coding agents.

Evidence: Same Prompt, With and Without Skills

The evals/ directory compares the same ROS2 package prompt run once with no skills and once with the robotics skills loaded as context.

ResultWithout SkillsWith Skills
Node architecturePlain rclpy.Node; setup in constructorLifecycle node with configure/activate/deactivate/cleanup/shutdown
Sensor QoSDefault depth 10 for everythingSensor QoS for camera/joints, reliable QoS for status
Sensor handlingLatest-message assignmentThread-safe bounded buffers, drop counts, watchdogs
Timestamp syncNoneSync offset checks and dropped-frame accounting
Tests0 lines601 lines
StructureSingle node moduleSeparate writer module and cleaner responsibilities
Config surface4 parameters13 parameters

This is a single-task, single-run comparison, self-assessed, and neither package was built against a real ROS2 distribution β€” treat it as an illustration of the design decisions the skills push toward, not as a benchmark. Caveats and the known build defects in both artifacts are documented in the report.

Full report: evals/EVAL_REPORT.md

Quick Start

Install selected skills into a project:

git clone https://github.com/arpitg1304/robotics-agent-skills.git
cd robotics-agent-skills
./install.sh --target /path/to/your/robot/.claude/skills --skills ros2 robotics-testing robot-bringup

For Autohand Code project skills:

./install.sh --target /path/to/your/robot/.autohand/skills --skills ros2 robotics-testing robot-bringup

Or copy manually:

cp -R skills/ros2 /path/to/your/robot/.claude/skills/
cp -R skills/robotics-testing /path/to/your/robot/.claude/skills/

Recommended Bundles

BundleSkills
ROS2 applicationros2, robotics-software-principles, robotics-testing, robot-bringup
Robot perceptionros2, robot-perception, robotics-testing, docker-ros2-development
Production robotros2, robot-bringup, robotics-security, robotics-testing
Web dashboardros2, ros2-web-integration, robotics-security, robot-bringup
ROS1 maintenanceros1, robotics-software-principles, robotics-testing

Skills

SkillDescriptionKey Topics
robotics-software-principlesDesign principlesSOLID for robotics, fail-safe defaults, rate separation, composability, graceful degradation
ros1ROS1 developmentcatkin, rospy, roscpp, nodelets, tf, actionlib, launch XML, migration
ros2ROS2 developmentrclpy, rclcpp, DDS, QoS, lifecycle nodes, components, Python launch
robotics-design-patternsArchitecture patternsBehavior trees, FSMs, HAL, safety systems, sensor fusion, sim-to-real
robot-perceptionPerception systemsCameras, LiDAR, depth, calibration, point clouds, detection, tracking, sensor fusion
robotics-testingTesting strategiespytest + ROS, launch_testing, mock hardware, golden files, CI/CD
docker-ros2-developmentDocker + ROS2Multi-stage Dockerfiles, compose, DDS across containers, GPU passthrough, devcontainers
ros2-web-integrationWeb integrationrosbridge, FastAPI/Flask bridges, WebSocket streaming, REST APIs, MJPEG/WebRTC, security
robot-bringupSystem bringupsystemd services, launch composition, udev rules, watchdogs, log rotation, graceful shutdown
robotics-securitySecurity and hardeningSROS2, DDS encryption, network segmentation, secrets management, e-stop isolation, secure boot

How Agents Use These Skills

Claude Code

Copy or symlink the skills you need into your project's .claude/skills/ directory. Claude Code auto-discovers SKILL.md files and triggers them based on the YAML description field.

Autohand Code

Copy or symlink the skills you need into your project's .autohand/skills/ directory. User-level skills live under ~/.autohand/skills/; project-level skills live under <project>/.autohand/skills/.

Claude Projects

Place the skill directories in your project's /mnt/skills/user/ directory.

Custom Agent Frameworks

Load the relevant SKILL.md as system-prompt context when a task matches the skill:

from pathlib import Path

SKILLS = {
    "ros2": "skills/ros2/SKILL.md",
    "testing": "skills/robotics-testing/SKILL.md",
    "perception": "skills/robot-perception/SKILL.md",
    "bringup": "skills/robot-bringup/SKILL.md",
    "security": "skills/robotics-security/SKILL.md",
}

def load_skill(task_description: str) -> str:
    text = task_description.lower()
    for trigger, path in SKILLS.items():
        if trigger in text:
            return Path(path).read_text()
    return ""

What Good Skills Contain

  • Specific trigger descriptions so agents know when to load them.
  • Working examples, not just prose.
  • Robotics failure modes: QoS mismatches, stale transforms, unsafe shutdown, blocking callbacks.
  • Production defaults: bounded queues, lifecycle management, observability, tests.
  • Anti-patterns that show what to avoid.

Coverage Map

Robot System Architecture
β”œβ”€β”€ Design Principles ---- robotics-software-principles/ (SOLID, safety, composability)
β”œβ”€β”€ Middleware ----------- ros1/, ros2/
β”œβ”€β”€ Behaviors ----------- robotics-design-patterns/ (BT, FSM)
β”œβ”€β”€ Perception ---------- robot-perception/ (cameras, LiDAR, depth, calibration, fusion)
β”œβ”€β”€ Planning ------------ robotics-design-patterns/ (motion planning)
β”œβ”€β”€ Control ------------- robotics-design-patterns/ (control loops)
β”œβ”€β”€ Safety -------------- robotics-design-patterns/ (watchdogs, limits)
β”œβ”€β”€ Testing ------------- robotics-testing/ (unit, integration, sim)
β”œβ”€β”€ Containerization ---- docker-ros2-development/ (Dockerfiles, compose, DDS, GPU)
β”œβ”€β”€ Web Interfaces ------ ros2-web-integration/ (REST, WebSocket, streaming, dashboards)
β”œβ”€β”€ System Bringup ------ robot-bringup/ (systemd, udev, watchdogs, boot sequence)
β”œβ”€β”€ Security ------------ robotics-security/ (SROS2, hardening, e-stop isolation)
└── Deployment ---------- ros2/ (production checklist, CI/CD)

Roadmap

High-impact skills to add next:

  • robot-navigation/ - Nav2, SLAM, localization, costmaps, planners, recovery behaviors.
  • robot-manipulation/ - MoveIt2, grasp planning, planning scenes, TF, pick-and-place.
  • ros2-control/ - hardware interfaces, controllers, update loops, real-time pitfalls.
  • robot-simulation/ - Gazebo, Isaac Sim, MuJoCo, sim clock, resets, domain randomization.
  • robot-description/ - URDF, Xacro, inertials, collision meshes, robot_state_publisher.
  • robot-debugging/ - ros2 doctor, rqt, tracing, rosbag replay, diagnostics.
  • robotics-data-pipelines/ - RLDS, LeRobot, Zarr, dataset curation, format conversion.
  • multi-robot-systems/ - namespaces, fleets, DDS partitions, task allocation.

Contributions are welcome. See CONTRIBUTING.md for the skill format and review checklist.

Files in the repo

Repository payloadβ€’9 top-level entries
  • .github
  • evals
  • scripts
  • skills
  • .gitignore
  • CONTRIBUTING.md
  • install.sh
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

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 deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications β€” runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k