# Repository Briefing: fengshao1227/ccg-workflow
> Source: https://repoforai.com/repo/fengshao1227/ccg-workflow (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/fengshao1227/ccg-workflow
- **Official Docs / Website**: https://ccg.fengshao1227.com
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: B+ (74/100 · Maintenance 31/35 · Adoption 17/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 5,995 ★ total (+1 24h / +11 7d) · 459 forks
- **Topics**: `agent-teams`, `ai`, `ccg`, `claude-code`, `cli`, `codex`, `gemini`, `llm`, `no-de`, `nodejs`, `opsxspec`, `prompt`
- **When to Use**: Best for: Claude Code teams making cross-module changes that need written plans, explicit approval, and independent model review. Skip if: One agent covers the work, you need a self-contained offline inference stack, or your deployment cannot maintain hooks and worker routes.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Strategy router: Ten built-in strategies let small fixes stay on a direct path and route larger changes to parallel analysis and cross-review.
- Task artifacts: `.ccg/tasks/<task>/` separates task status, requirements, the approved plan, subagent context, and review findings.
- Worker integration: A Go wrapper bridges configured external CLIs; OpenCode routing uses a concrete `provider/model` ID.
- Skill management: Select individual Claude Code or Codex skills; the manager refuses ownership conflicts and preserves edited caches.
- Diagnostics: `doctor --json` emits a versioned report with check IDs and remediation, and exits with code 1 on failures without calling models.
- Harness integration: The bundled DeepSeek Harness plugin supports side-by-side model panels and approval-gated teammates with file ownership.
```

## Quick Start / Clone
```bash
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
```
