Skip to content

Command Reference

28 commands, all prefixed with /ccg:. Grouped by purpose.

The workhorses

The ones you'll use most. Frontend tasks go to Gemini, backend tasks to Codex, automatically.

CommandWhat it doesWho does it
/ccg:workflowFull cycle: research → ideate → plan → execute → optimize → reviewCodex + Gemini
/ccg:planJust plan, don't touch codeCodex + Gemini
/ccg:executeRun a plan file, Claude leadsCodex + Gemini + Claude
/ccg:codex-execRun a plan file, Codex leads, Claude only reviewsCodex
/ccg:featFigures out whether to plan or just do itAuto
/ccg:frontendFrontend workGemini
/ccg:backendBackend workCodex
bash
# Simplest usage
/ccg:frontend change the card component to grid layout
/ccg:backend add pagination to /api/users

# Plan first, execute later
/ccg:plan implement JWT auth
# Plan saved to .claude/plan/ — review and edit it
/ccg:execute .claude/plan/jwt-auth.md

The investigators

Don't write code, just analyze. Two models cross-verify each other.

CommandWhat it does
/ccg:analyzeTechnical analysis
/ccg:debugDiagnose bugs + suggest fixes
/ccg:optimizeFind performance bottlenecks
/ccg:testGenerate tests
/ccg:reviewCode review — no args means review latest git diff
/ccg:enhanceTurn vague requests into structured task descriptions
bash
# Review recent changes
/ccg:review

# Diagnose a specific issue
/ccg:debug why does the WebSocket connection drop after 30 seconds

OPSX spec-driven

Don't want the AI to improvise? This group turns requirements into constraints first, then executes within those constraints.

CommandWhat it does
/ccg:spec-initSet up OPSX environment
/ccg:spec-researchResearch requirements, output constraints
/ccg:spec-planTurn constraints into a zero-decision plan
/ccg:spec-implExecute the plan
/ccg:spec-reviewDual-model review (can use anytime)
bash
/ccg:spec-init
/ccg:spec-research implement RBAC permission system
/ccg:spec-plan
/ccg:spec-impl

TIP

State lives in openspec/. You can /clear between phases without losing anything.

Agent Teams (parallel)

Task splits into 3+ independent modules? Multiple Builders work at the same time.

CommandWhat it does
/ccg:team-researchExplore codebase in parallel, output constraints
/ccg:team-planSplit into tasks that don't step on each other
/ccg:team-execBuilders code in parallel
/ccg:team-reviewCodex + Gemini cross-review
bash
/ccg:team-research implement order system with CRUD, payment, and notifications
# /clear
/ccg:team-plan order-system
# /clear
/ccg:team-exec
# /clear
/ccg:team-review

WARNING

Requires experimental feature flag: "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" in settings.json.

Git tools

CommandWhat it does
/ccg:commitAnalyzes diff, generates conventional commit message
/ccg:rollbackInteractive rollback
/ccg:clean-branchesClean merged branches (dry-run by default, safe to try)
/ccg:worktreeWorktree management

Project management

CommandWhat it does
/ccg:initGenerate CLAUDE.md for the project
/ccg:contextManage .context directory: log decisions, compress, view history
bash
/ccg:context init
/ccg:context log "Chose PostgreSQL for JSONB support"

Released under the MIT License