docker-ros2-development

docker-ros2-development is a skill for Claude Code, Codex from arpitg1304/robotics-agent-skills. It costs 210 tokens per session (9,701 once invoked), scanned D, original, Apache-2.0.

A guide to developing ROS2 robotics software inside Docker containers. ROS2 is a software framework for building robot applications, while Docker packages software and its dependencies into isolated environments.

In plain words
What is it for?
Use it when creating Dockerfiles, Compose setups, development containers, CI builds, or separate development and deployment images for ROS2 workspaces.
Why use it?
It addresses setup and integration problems when robot components, hardware, graphics, networking, or GPU workloads run in containers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - ./config/cyclonedds.xml:/cyclonedds.xml:ro.

Good fit Use it when creating Dockerfiles, Compose setups, development containers, CI builds, or separate development and deployment images for ROS2 workspaces.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/arpitg1304/robotics-agent-skills
agentmods
npx agentmods add skills/arpitg1304/robotics-agent-skills/docker-ros2-development

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for docker-ros2-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/arpitg1304/robotics-agent-skills/docker-ros2-development/github.svg)](https://agentmods.dev/skills/arpitg1304/robotics-agent-skills/docker-ros2-development)
Your own site
<a href="https://agentmods.dev/skills/arpitg1304/robotics-agent-skills/docker-ros2-development"><img src="https://agentmods.dev/badge/skills/arpitg1304/robotics-agent-skills/docker-ros2-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for docker-ros2-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/arpitg1304/robotics-agent-skills/docker-ros2-development"><img src="https://agentmods.dev/badge/skills/arpitg1304/robotics-agent-skills/docker-ros2-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,701 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00210 $0.09701
Opus 5 $0.00105 $0.04850
Sonnet 5 $0.00042 $0.01940
Haiku 4.5 $0.00021 $0.00970

Measured 9d ago against content hash 8b94cbd59172, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade D, and why

docker-ros2-development scanned grade D with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

&& rm -rf /var/lib/apt/lists/*

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey \
skills/docker-ros2-development/SKILL.md · 1,103 lines

How it starts

The opening of the file, as written. The whole thing — 1,103 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docker-Based ROS2 Development Skill

When to Use This Skill

  • Writing Dockerfiles for ROS2 workspaces with colcon builds
  • Setting up docker-compose for multi-container robotic systems
  • Debugging DDS discovery failures between containers (CycloneDDS, FastDDS)
  • Configuring GPU passthrough with NVIDIA Container Toolkit for perception nodes
  • Forwarding X11 or Wayland displays for rviz2 and rqt tools
  • Managing USB device passthrough for cameras, LiDARs, and serial devices
  • Building CI/CD pipelines with Docker-based ROS2 builds and test runners
  • Creating devcontainer configurations for VS Code with ROS2 extensions
  • Optimizing Docker layer caching for colcon workspace builds
  • Designing dev-vs-deploy container strategies with multi-stage builds

ROS2 Docker Image Hierarchy

Official OSRF images follow a layered hierarchy. Always choose the smallest base that satisfies dependencies.

┌──────────────────────────────────────────────────────────────────┐
│  ros:<distro>-desktop-full  (~3.5 GB)                            │
│  ┌────────────────────────────────────────────────────────────┐  │
│  │  ros:<distro>-desktop     (~2.8 GB)                        │  │
│  │  ┌──────────────────────────────────────────────────────┐  │  │
│  │  │  ros:<distro>-perception (~2.2 GB)                    │  │  │
│  │  │  ┌────────────────────────────────────────────────┐   │  │  │
│  │  │  │  ros:<distro>-ros-base  (~1.1 GB)              │   │  │  │
│  │  │  │  ┌──────────────────────────────────────────┐  │   │  │  │
│  │  │  │  │  ros:<distro>-ros-core (~700 MB)         │  │   │  │  │
│  │  │  │  └──────────────────────────────────────────┘  │   │  │  │
│  │  │  └────────────────────────────────────────────────┘   │  │  │
│  │  └──────────────────────────────────────────────────────┘  │  │
│  └────────────────────────────────────────────────────────────┘  │
└──────────────────────────────────────────────────────────────────┘
Image Tag Base OS Size Contents Use Case
ros:humble-ros-core Ubuntu 22.04 ~700 MB rclcpp, rclpy, rosout, launch Minimal runtime for single nodes
ros:humble-ros-base Ubuntu 22.04 ~1.1 GB ros-core + common_interfaces, rosbag2 Most production deployments
ros:humble-perception Ubuntu 22.04 ~2.2 GB ros-base + image_transport, cv_bridge, PCL Camera/lidar perception pipelines
ros:humble-desktop Ubuntu 22.04 ~2.8 GB perception + rviz2, rqt, demos Development with GUI tools
ros:jazzy-ros-core Ubuntu 24.04 ~750 MB rclcpp, rclpy, rosout, launch Minimal runtime (Jazzy/Noble)
ros:jazzy-ros-base Ubuntu 24.04 ~1.2 GB ros-core + common_interfaces, rosbag2 Production deployments (Jazzy)

Read the full file on GitHub · 1,103 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 1,103 lines · 210 tokens per session scan D 8b94cbd59172

Subscribe to this mod's changes

docker-ros2-development is a skill published in the GitHub repository arpitg1304/robotics-agent-skills (355 stars, last pushed 28d ago), licensed Apache-2.0. It adds 210 tokens to every session and 9,701 once invoked, about $0.0011 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

routeros-container

RouterOS /container subsystem for running OCI containers on MikroTik devices. Use when: enabling containers on RouterOS, setting up VETH/bridge networking for containers, managing container lifecycle via CLI or REST API, building OCI images for RouterOS, configuring container environment variables, troubleshooting…

tikoci/routeros-skills · 86 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…

K-Dense-AI/scientific-agent-skills · 106 tokens

pylabrobot

Develop and review PyLabRobot lab-automation resources, liquid-handling plans, offline simulations, and supported-device integrations. Use for PyLabRobot protocols or API questions; keep physical execution behind an explicit operator safety gate.

K-Dense-AI/scientific-agent-skills · 49 tokens

manage-mounts

Configure which host directories agent containers can access. View, add, or remove mount allowlist entries. Triggers on "mounts", "mount allowlist", "agent access to directories", "container mounts".

nanocoai/nanoclaw · 47 tokens

offensive-wifi

Wireless / 802.11 attack methodology for red team engagements and wireless security assessments. Covers monitor-mode setup, WPA/WPA2-PSK handshake capture and PMKID attacks, WPA3 SAE downgrade and Dragonblood, WPA-Enterprise (EAP) attacks (MSCHAPv2 cracking, EAP-TLS cert theft, evil-twin RADIUS), Karma / Known Beacons…

SnailSploit/Claude-Red · 183 tokens

offensive-wifi-recon

Wi-Fi reconnaissance methodology — adapter selection, monitor mode and packet injection setup, regulatory domain handling, multi-band airspace mapping, hidden SSID discovery, BSSID/ESSID/channel/PMF/encryption fingerprinting, client probe analysis, vendor OUI lookup, war-driving with Kismet/airodump-ng/Wigle, and…

SnailSploit/Claude-Red · 130 tokens