
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
ccg-ros2-workflow
Advanced tools
ROS2 Multi-Model Collaborative Development Workflow - Codex (Low-level Control) + Antigravity (Upper-layer Application) + Claude (Orchestration)
CCG-ROS2 is a workflow engine for Claude Code that orchestrates multiple AI models (Codex for low-level control, Antigravity for upper-layer application, Claude for orchestration) with hook-based state tracking, automatic strategy selection, and Agent Teams parallel execution — specialized for ROS2 robotics development.
Fork from fengshao1227/ccg-workflow v3.1.0, customized for ROS2 Humble robotics development.
v3.0.0 brings the powerful v3.1.0 engine to ROS2 development with domain-specific enhancements:
system-integrator agent specialized in ROS2 node architecture, Topic/Service design, and QoS configuration.npx ccg-ros2-workflow
Requirements: Node.js 20+, Claude Code CLI
Optional: Codex CLI (low-level control), Antigravity CLI (upper-layer application)
The installer walks through 4 steps: API config, model routing, MCP tools, performance mode.
You: /ccg:go implement autonomous navigation for differential drive robot
CCG-ROS2 Engine:
1. Reads ROS2 project context (package.xml, colcon workspace, launch files)
2. Classifies: feature / XL complexity / mixed (upper+lower) / high risk
3. Selects strategy: full-collaborate
4. Creates .ccg/tasks/autonomous-navigation/task.json
5. Launches dual-model analysis:
- Codex: motor driver, odometry, low-level control
- Antigravity: Nav2 config, launch files, RViz setup
6. Produces plan with node architecture + QoS design → HARD STOP for approval
7. Spawns Agent Teams Builders for parallel implementation
8. Runs quality gates (verify ROS2 message definitions, QoS policies, lifecycle)
9. Hardware deployment phase: generates deployment scripts, checks CAN/serial, Gazebo sim
10. Reports results
Every turn, a hook injects:
<ccg-state>
Task: autonomous-navigation (in_progress)
Strategy: full-collaborate
Phase: 4-implementation
ROS2 Context: colcon workspace, 3 packages, Nav2 stack
Next: Layer 1 Builders executing (motor_driver_node + nav2_config)
</ccg-state>
| Model | Role | Suitable for |
|---|---|---|
| Codex | Low-level Control Authority | C++ nodes, hardware drivers, real-time control algorithms, message definitions |
| Antigravity | Upper-layer Application Authority | Launch files, Python nodes, RViz configuration, simulation setup |
| Claude | Orchestration + Delivery | Plan approval, code writing, quality control |
The engine picks a strategy based on task type and complexity, with ROS2-specific context:
| Strategy | When | External models | Teams | ROS2 Context |
|---|---|---|---|---|
| direct-fix | Simple bug, single file | No | No | Node crash, topic mismatch |
| quick-implement | Small feature, clear scope | No | No | Add parameter, simple service |
| guided-develop | Medium feature, needs planning | Single model | No | New node, message definition |
| full-collaborate | Complex feature, multi-module | Dual model parallel | Yes | Navigation stack, perception pipeline |
| debug-investigate | Complex bug, unknown cause | Dual model diagnosis | No | QoS mismatch, lifecycle issue |
| refactor-safely | Code restructuring | Dual model review | No | Node splitting, message refactor |
| deep-research | Technical research, comparison | Dual model exploration | No | SLAM algorithm, control strategy |
| optimize-measure | Performance optimization | Optional | No | CPU/memory, QoS tuning |
| review-audit | Code review | Dual model cross-review | No | QoS policies, lifecycle, safety |
| git-action | commit, rollback, branches | No | No | Standard git operations |
Simple tasks run fast with no overhead. Complex ROS2 tasks get the full engine with hardware deployment phase.
| Command | Description |
|---|---|
/ccg:go | Describe what you want in plain language. The engine analyzes your intent, picks the right strategy, and executes it. |
| Command | Description |
|---|---|
/ccg:workflow | 7-phase complete workflow (with hardware deployment) |
/ccg:plan | Multi-model collaborative planning (Phase 1-2) |
/ccg:execute | Multi-model collaborative execution (Phase 3-5) |
/ccg:frontend | Upper-layer application focus (Antigravity-led: Launch/Python/RViz) |
/ccg:backend | Low-level control focus (Codex-led: C++/drivers/real-time) |
/ccg:feat | Smart feature development |
/ccg:analyze | Dual-model technical analysis |
/ccg:debug | Multi-model problem diagnosis |
/ccg:optimize | Multi-model performance optimization |
/ccg:test | Smart test generation |
/ccg:review | Dual-model code review |
/ccg:enhance | Prompt enhancement |
/ccg:init | Initialize CLAUDE.md |
| Command | Description |
|---|---|
/ccg:spec-init | Initialize OPSX environment |
/ccg:spec-research | Requirements → Constraint set |
/ccg:spec-plan | Constraints → Zero-decision plan |
/ccg:spec-impl | Execute by specification + archive |
/ccg:spec-review | Dual-model cross-review |
| Command | Description |
|---|---|
/ccg:team | Unified workflow (recommended) — 8-phase full process with 7-role auto-orchestration |
/ccg:team-research | Parallel constraint set research (Codex low-level + Antigravity upper-layer) |
/ccg:team-plan | Zero-decision parallel implementation plan |
/ccg:team-exec | Spawn Builder teammates for parallel coding |
/ccg:team-review | Dual-model cross-review implementation output |
| Command | Description |
|---|---|
/ccg:commit | Smart Git commit (conventional commit) |
/ccg:rollback | Interactive Git rollback |
/ccg:clean-branches | Clean merged branches |
/ccg:worktree | Worktree management |
| Command | Description |
|---|---|
/ccg:context | Project context management (.context initialization/log/compress/history) |
/ccg:codex-exec | Codex full execution plan (MCP + code + tests) |
Research → Ideation → Planning → Execution → Optimization → Review → Hardware Deployment
Claude (Orchestration + Final Code Writing)
├── Codex → Read-only, returns patch (Low-level: C++/drivers/real-time)
└── Antigravity → Read-only, returns patch (Upper-layer: Launch/Python/RViz)
External models have zero write permissions to the filesystem. All code is reviewed by Claude before landing.
| Agent | Purpose |
|---|---|
system-integrator | ROS2 system integration designer (node architecture/Topic-Service/QoS design) |
planner | ROS2 task planner (WBS decomposition) |
init-architect | Project initialization architect |
get-current-datetime | Get current time |
team-architect | Team architect (v3.0+) |
team-qa | QA engineer (v3.0+) |
team-reviewer | Code reviewer (v3.0+) |
After installation, choose AI output style via output-styles directory:
engineer-professional - SOLID/KISS/DRY professional engineer stylenekomata-engineer - Cat-girl engineer (UFO Meow)laowang-engineer - Old Wang engineerabyss-cultivator - Abyss cultivatorojousama-engineer - Ojou-sama styleabyss-concise - Abyss concise reportabyss-command - Abyss iron commandabyss-ritual - Abyss ritual scroll| Item | Value |
|---|---|
| ROS2 Version | Humble Hawksbill (LTS) |
| Target Platform | Physical Robot |
| Upper-layer Application Model | Antigravity (default) / Gemini (fallback) |
| Low-level Control Model | Codex |
| Workflow Phases | 7 phases (with hardware deployment) |
Install via menu option X. Codex Mode. Codex CLI acts as lead orchestrator with ROS2 context:
~/.codex/AGENTS.md — Adaptive decision framework with ROS2 context (node boundaries, message selection, QoS decisions)~/.codex/hooks/ccg-workflow.py — Intelligent guardrail hook with ROS2 checkpoints (package.xml, CMakeLists.txt, launch files, colcon build)~/.codex/config.toml — Multi-agent v2 enabled~/.codex/agents/ — Native sub-agent definitions with ROS2 contextOptional MCP tools for enhanced functionality:
Contributions are welcome! Please read CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Version: 3.0.0
Last Updated: 2026-05-20
FAQs
ROS2 Multi-Model Collaborative Development Workflow - Codex (Low-level Control) + Antigravity (Upper-layer Application) + Claude (Orchestration)
The npm package ccg-ros2-workflow receives a total of 22 weekly downloads. As such, ccg-ros2-workflow popularity was classified as not popular.
We found that ccg-ros2-workflow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.