ccg-workflow
多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行
Install / Use
npx skills add fengshao1227/ccg-workflowInstalls into whichever agent you are using.
CLAUDE.md
Claude Code project instructions
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of ccg-workflow
ccg-workflow scores 93/100 on our quality scale, 436th of 2,877 Automation skills we index (top 16%).
Its CLAUDE.md is 18 KB long, well organised into 30 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.
With 5,976 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so ccg-workflow is actively maintained.
- Our last check on 2026-10-18 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 95/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
ccg-workflow compared with similar skills
All 4 of these similar skills score higher than ccg-workflow; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ccg-workflow (this skill)by fengshao1227 | 93 | 6.0k | 4d ago | CLAUDE.md |
| claude-memby thedotmack | 100 | 113.6k | today | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 110.8k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.3k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.0k | 11d ago | CLAUDE.md |
Frequently asked questions
- How do I install ccg-workflow?
- Run
npx skills add fengshao1227/ccg-workflow. The install tabs above show the steps for each supported agent. - Which AI agents does ccg-workflow work with?
- It is written for Claude Code, Gemini CLI and OpenAI Codex, as a CLAUDE.md file. Other agents that read the same format can often use it too.
- Is ccg-workflow safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 95/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ccg-workflow still maintained?
- The repository was last updated 4 days ago, so ccg-workflow is actively maintained.
Skill content
View source on GitHubCCG - Claude + Codex + Gemini Multi-Model Collaboration
<div align="center"> <img src="assets/logo/ccg-logo-cropped.png" alt="CCG Workflow" width="400">简体中文 | English | Documentation
</div>♥️ Sponsor
Thanks to PackyCode for sponsoring this project! PackyCode is a stable, high-throughput API gateway for leading models — one domain, one key, automatic failover, 97% availability. Dedicated high-speed routes for Codex and Claude Code. Pay in RMB 1:1 with no FX markup or top-up fees; new users get a first-charge discount plus $1 in free credits, and eligible groups start from 20% of list price. Sign up here to get started.
💡 PackyCode also exposes an Anthropic-compatible endpoint, so it can serve as your API provider for Claude Code itself — run
npx ccg-workflow, pick PackyCode at Step 1, and paste your key.
Thanks to APIMart for sponsoring this project! APIMart is a low-cost API platform for AI image & video generation — GPT-Image-2 from $0.006/image, 160+ images per dollar. One async API covers both image and video: submit a task, get an ID, fetch results via polling or callback. Batch tens of thousands of images without timeouts, switch models without changing code. Pay-as-you-go with no monthly fee — sign up here to get started.
💡 APIMart also exposes an Anthropic-compatible endpoint, so it can serve as your API provider for Claude Code itself — run
npx ccg-workflow, pick APIMart at Step 1, and paste your key.
Gamma Remover — Free browser-local Gamma watermark remover for PDF & PPTX. No signup, instant results, 100% private. Your files never leave your device.
🐳 CCG on DeepSeek Harness — dsh-ccg
The same role matrix, running natively inside DeepSeek Harness. It ships inside this package — no second install, no second version to track.
npx ccg-workflow dsh install # every profile found; --profile <name> for one
npx ccg-workflow dsh list # which profiles have it
Or pick D. DeepSeek Harness from npx ccg-workflow.
Seven role-pinned delegation tools, each on its own model with its own expert persona — and two things the Claude Code side cannot do as cleanly:
- Model panels. Give one role several models and they all answer the same brief independently, rendered side by side in the conversation. Nothing votes, nothing is averaged — disagreement is the finding.
- Live teammates.
ccg_teamhires a role as a colleague that stays alive across turns, owns its own files (a colliding hire is refused, not warned about), and reports back on its own. Every hire asks you to approve it first.
No external CLI, no binary bridge, no cold-start tax — every hop is a provider API request. Source lives in dsh-ccg/; full README →
🧩 Also by the author
DSH Marketplace — a directory of DeepSeek Harness plugins. 2,500+ indexed across 14 categories, bilingual EN / 中文.
Not a sponsor — same author as CCG, built out of a plain annoyance: DSH plugins are multiplying fast, but figuring out what one does, whether it still installs, and what the command actually is meant opening one GitHub README after another. So the install commands here are put through a throwaway container first. A plugin only gets a check mark if it really installs — and if it can't, the listing says why (buried in a monorepo subdirectory, never published to npm, and so on). A verified index, not another awesome list.
dsh plugin --profile web add dshmarketplace-plugin # browse the store from inside DSH
npx dshmarketplace-cli add owner/repo # install any plugin from your shell
There is also a Python SDK and a public API. Early days — bug reports and plugin submissions are very welcome on GitHub.
What is CCG?
CCG is a workflow engine for Claude Code. It turns Claude into a multi-model orchestrator — Claude stays in control while dispatching specialized work to Codex (OpenAI), Grok (xAI), Kimi Code (Moonshot), and Antigravity through a Go binary bridge.
One command. Describe what you want. The engine handles the rest.
npx ccg-workflow # Install in 60 seconds
Architecture
<div align="center"> <img src="assets/readme/architecture.png" alt="CCG Architecture" width="800"> </div>Claude Code is the lead orchestrator. It analyzes your intent, selects a strategy, and manages the entire workflow. The Hook Engine injects state every turn so Claude never loses context — even after compaction. The codeagent-wrapper (a compiled Go binary) bridges Claude to external models for parallel analysis and review.
How It Works
You: /ccg:go add JWT authentication to this API
CCG Engine:
1. Reads project context (git status, tech stack, file structure)
2. Classifies: feature / L complexity / backend / high risk
3. Selects strategy: full-collaborate
4. Creates .ccg/tasks/add-jwt-auth/task.json
5. Launches dual-model analysis (Codex + Gemini in parallel)
6. Produces plan → HARD STOP for your approval
7. Spawns Agent Teams Builders for parallel implementation
8. Runs quality gates + dual-model cross-review
9. Reports results
Every turn, a hook injects:
<ccg-state>
Task: add-jwt-auth (in_progress)
Strategy: full-collaborate
Phase: 4-implementation
</ccg-state>
10 Built-in Strategies
The engine auto-selects the right strategy based on task type and complexity:
| Strategy | When | External Models | Agent Teams |
|----------|------|:---:|:---:|
| direct-fix | Simple bug, single file | — | — |
| quick-implement | Small feature, clear scope | — | — |
| guided-develop | Medium feature, needs planning | Single | — |
| full-collaborate | Complex feature, multi-module | Dual parallel | ✓ |
| debug-investigate | Complex bug, unknown cause | Dual diagnosis | — |
| refactor-safely | Code restructuring | Dual review | — |
| deep-research | Technical research | Dual exploration | — |
| optimize-measure | Performance optimization | Optional | — |
| review-audit | Code review | Dual cross-review | — |
| git-action | commit, rollback, branches | — | — |
Simple tasks run fast with zero overhead. Complex tasks get the full engine.
Core Features
Hook Engine — Never Lose Context
4 JavaScript hooks inject state into every Claude Code session:
| Hook | Event | What it does |
|------|-------|-------------|
| workflow-state.js | Every turn | Injects current task state as breadcrumb |
| session-start.js | Session start/compact | Re-injects full project context |
| subagent-context.js | Agent/Bash spawn | Injects spec directly into subagent prompts |
| skill-router.js | Every turn | Auto-injects domain knowledge by keyword |
Context survives compaction. Sub-agents born with spec in their prompt. Zero state loss.
Task System — Persistent Lifecycle
Medium+ complexity tasks get a persistent directory:
.ccg/tasks/add-jwt-auth/
├── task.json # Status, strategy, phase, gate
├── requirements.md # Enhanced requirements
├── plan.md # Approved implementation plan
├── context.jsonl # Spec files for sub-agent injection
├── review.md # Review results
└── research/ # Persisted research findings
Quality Gates — Built-in Security & Quality
| Gate | Trigger |
|------|---------|
| /ccg:verify-security | New modules, security changes |
| /ccg:verify-quality | Changes > 30 lines |
| /ccg:verify-change | Doc sync check |
| /ccg:verify-module | Module structure check |
| /ccg:gen-docs | Auto-generate README + DESIGN |
100+ Domain Knowledge Files
When your message mentions security, caching, RAG, Kubernetes, etc., the relevant knowledge file is auto-injected. 10 domains, 61 files:
Security · Architecture · DevOps · AI/MLOps · Development · Frontend Design · Infrastructure · Mobile · Data Engineering · Orchestration
Standalone Skills — battle-tested website workflows (v3.5.1)
Self-contained skills, each usable on its own or auto-triggered by intent. Drawn from real site-building work and shipped with their scripts:
| Skill | What it does |
|-------|-------------|
| /ccg:bt-panel | Drive a BaoTa / aaPanel server over its HTTP API — deploy a build, update a live site, read/write files, run shell, run MySQL. No SSH or rsync; just a panel URL + API key. Ships bt_client.py + one-shot bt_deploy.py. |
| /ccg:seo-page-builder | Build, audit, or optimize SEO tool pages (AI generator / remover / enhancer / converter / editor). SERP-intent driven, with a runnable onpage-audit.py keyword-density meter. |
| /ccg:adsense-site-auditor | Audit a site for Google AdSense readiness against the full official checklist — eligibility, ownership, content quality, ads.txt, privacy, Publisher Policies — before you apply or after a rejection. |
bt-panelreads credentials only from env vars / a git-ignoredsites.json; nothing is hardcoded.seo-page-builderis adapted from yuzeiki's skill of the same name (see its SKILL.md).
Commands
Core (v3.0 default: 13 commands)
| Command | Description |
|---------|-------------|
| /ccg:go | Smart entry — describe what you want, engine handles the rest |
| /ccg:commit | Smart conventional commit |
| `/cc
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
113.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
taste-skill
110.8kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
91.0kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.



