fengshao1227/ccg-workflow
A Claude Code extension that routes coding tasks across models with approval gates
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
CCG is a workflow extension centered on Claude Code. /ccg:go reads repository context, classifies the work, and chooses a strategy. Claude remains the coordinator; for medium and larger tasks, .ccg/tasks/<task>/ holds lifecycle state in task.json, planning artifacts in requirements.md and plan.md, and subagent context in context.jsonl. JavaScript hooks restore state after context compaction and pass the specification to subagents.
The TypeScript package targets Node.js 20+ and exposes ccg. Its runtime dependencies include cac and inquirer for the CLI and prompts, fs-extra and pathe for filesystem and path handling, and smol-toml for TOML. The full Claude installation keeps routing in ~/.claude/.ccg/config.toml and delegates through the compiled Go codeagent-wrapper. Native skills can be installed without that bridge; the separate dsh-ccg/ integration delegates directly through provider APIs.
Key Capabilities & Differentiators
The ten strategies range from direct-fix and git-action, which do not use external workers, to full-collaborate, whose documented flow uses parallel analysis, stops for plan approval, then runs Agent Teams and cross-review. Quality gates cover security, change size, documentation synchronization, and module structure. OpenSpec commands carry work from requirements and constraints through implementation and review.
Backend selection is route-specific, not a fixed Claude–Codex–Gemini trio. Codex and Gemini appear in the parallel-analysis example; other documented routes include Grok, Kimi Code, Antigravity, and OpenCode with an exact provider/model ID, including DeepSeek models when configured there. Pure Claude routing uses native Agents. In DeepSeek Harness, model panels present independent answers side by side without voting, and persistent teammates require approval and reject overlapping file ownership.
Trade-offs & Limitations
Compared with running Claude Code or Codex directly, CCG adds explicit strategy selection, persistent task records, and configurable review routes. Those controls are most useful for changes that benefit from a plan approval step or independent review. For routine work, the extra hooks, generated files, and backend configuration can be more maintenance than the workflow saves; a selected native skill is a smaller commitment.
Parallel routes can add requests and context transfers, so cost and responsiveness depend on the chosen models and concurrency. The local orchestrator has no specified GPU or VRAM requirement, and local installation does not imply offline inference. MIT licensing covers the repository, not provider terms. Before enabling external routes, decide which project context may leave the machine and who can access persisted task artifacts. Automated analysis and approval checkpoints help structure review but do not establish that the resulting changes are correct.
Hardware & Deployment Guide
For full orchestration, run npx ccg-workflow with Node.js 20+ and Claude Code CLI, or use npx ccg-workflow init --skip-prompt for defaults. Install and configure only the worker CLIs you plan to route to. The preset release asset lists precompiled wrapper binaries, including Intel and Apple Silicon macOS builds, downloaded during setup. npx ccg-workflow doctor --json checks the selected mode, routes, hooks, and managed skills; it does not verify provider API access.
For Claude skills alone, claude plugin marketplace add fengshao1227/ccg-workflow followed by claude plugin install ccg@ccg avoids the npm installer and wrapper, but does not install multi-model commands. The CLI can also install selected native skills for Codex. For DeepSeek Harness, npx ccg-workflow dsh install --profile <name> installs into one profile; the listed host versions are 0.2.0-rc.2 and 0.2.1-alpha.2. Configuration lives in the profile’s cordis.patch.yml; after a CCG update, rerun the installation and restart the host.
.ccg/tasks/<task>/ separates task status, requirements, the approved plan, subagent context, and review findings.provider/model ID.doctor --json emits a versioned report with check IDs and remediation, and exits with code 1 on failures without calling models.Claude Code teams making cross-module changes that need written plans, explicit approval, and independent model review.
One agent covers the work, you need a self-contained offline inference stack, or your deployment cannot maintain hooks and worker routes.
Quick Start & Installation
npx ccg-workflow skills catalog npx ccg-workflow skills install verify-quality seo-page-builder npx ccg-workflow skills list --installed --json npx ccg-workflow skills update npx ccg-workflow skills remove seo-page-builder # Codex native skills npx ccg-workflow skills install verify-quality --target codex # Configure the framework with a saved selection npx ccg-workflow init --skills verify-quality,verify-security npx ccg-workflow doctor --json
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ccg-workflow ★ | 6k | +11 | TypeScript | MIT | A Claude Code extension that routes coding tasks across models with approval gat |
| obsidian-skills | 56.2k | +1.7k | Shell | MIT | Agent Skills plugins for editing Obsidian files and working with vaults |
| rtk | 88.7k | +684 | Rust | Apache-2.0 | A local Rust CLI wrapper that trims command output before coding agents read it. |
| ECC | 316.1k | +4.2k | JavaScript | MIT | Plugins and CLI workflows for planning, reviewing, and verifying agent-written c |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/fengshao1227/ccg-workflow.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ccg-workflow
How does CCG delegate work, and where do worker credentials live?
codeagent-wrapper, a compiled Go binary, delegates to configured external workers. With OpenCode, configure the provider in OpenCode and use the exact provider/model ID; CCG does not manage those credentials. The DeepSeek Harness integration is separate and calls provider APIs without the wrapper.Does CCG need a GPU, and how should I size the runtime?
Can we use it commercially and keep code processing self-hosted?
.ccg/tasks/ before deciding whether those artifacts belong in version control.When is CCG a better fit than using Claude Code or Codex directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy