ROS2 Lifecycle Nodes

Implementation guidance for ROS 2 managed nodes, whose work can move through controlled states such as configured, active, and inactive. It supports Python and C++ projects organised with Clean Architecture.

In plain words
What is it for?
Building ROS 2 Lifecycle Nodes for robot applications in Python or C++.
Why use it?
It helps structure nodes that must start, stop, and change state in a predictable way. This avoids designing the lifecycle handling from scratch.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/harunkurtdev/ros2-claude-code-template/ros2_lifecycle
Any agent
npx skills add harunkurtdev/ros2-claude-code-template --skill ros2_lifecycle
Clone the repo
git clone --depth 1 https://github.com/harunkurtdev/ros2-claude-code-template

Made for: Claude Code, Codex.

Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00021 $0.00901
Opus 5 $0.00010 $0.00451
Sonnet 5 $0.00004 $0.00180
Haiku 4.5 $0.00002 $0.00090

Measured 3d ago against content hash d31c0bf5bf40, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ROS2 Lifecycle Nodes scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ros2_lifecycle/SKILL.md · 140 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 140 lines · 21 tokens per session scan A d31c0bf5bf40

Subscribe to this mod's changes

ROS2 Lifecycle Nodes is a skill published in the GitHub repository harunkurtdev/ros2-claude-code-template (214 stars, last pushed 2mo ago), with no licence file. It adds 21 tokens to every session and 901 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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

neat-pcie-application-builder

Use when building host-side C++ or Python applications that run compiled Neat models on a connected Modalix PCIe Card through simaai::neat::pcie::Model or pyneatpcie.Model. Do not use for pcie::Runtime, DevKit-local Neat applications, model compilation, or PCIe package maintenance.

sima-neat/core · 77 tokens

automotive-examples-code

Production-ready automotive code examples from automotive-claude-code-agents. Includes BMS ECU firmware (C), ADAS perception pipeline (Python), battery thermal modeling, network topologies, multi-region cloud deployment (Terraform/K8s), and automotive protocol demos. Use when the user wants real working code for…

pangzhenying2025/hermes-automotive-skills · 80 tokens

platform-port

Guide porting FastLED to new MCU platforms, including int.h types, clockless drivers, SPI implementations, and platform detection. Use when adding support for a new microcontroller family or board.

FastLED/FastLED · 42 tokens

cuopt-developer

Modify, build, test, debug, and contribute to NVIDIA cuOpt (C++/CUDA, Python, server, CI). Use for solver internals, PRs, DCO, and code conventions.

NVIDIA/cuopt · 47 tokens

eide

EIDE (Embedded IDE) 工程构建工具,用于扫描 .eide/eide.yml 工程、枚举构建 配置 (ConfigName)、执行 build/rebuild/clean 并解析构建日志,返回可供 jlink/openocd 复用的产物路径。当用户提到 EIDE、Embedded IDE、eide.yml、 unifybuilder、VS Code EIDE 扩展、Cl.eide 时自动触发,也兼容 /eide 显式调用。 即使用户只是说"用 EIDE 编译一下"或"EIDE 烧录到板子上",只要上下文涉及 EIDE 嵌入式工程就应触发此 skill。.

zhinkgit/embeddedskills · 151 tokens

gcc

GCC 嵌入式工程构建工具(CMake + arm-none-eabi-gcc),用于扫描 CMake 型嵌入式工程、 列出预设、配置、编译、重建、清理和分析 ELF 大小。当用户提到 GCC、arm-none-eabi、 CMake 嵌入式编译、Ninja 构建、ELF 大小分析、arm-gcc、交叉编译、cmake --build、 cmake --preset 时自动触发,也兼容 /gcc 显式调用。即使用户只是说"编译一下"或 "看看固件多大",只要上下文涉及 CMake 嵌入式 GCC 工程就应触发此 skill。.

zhinkgit/embeddedskills · 162 tokens