CLAUDE.md@codeagent-wrapperA

CLAUDE.md@codeagent-wrapper from fengshao1227/ccg-workflow is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add fengshao1227/ccg-workflow/codeagent-wrapper/CLAUDE.md@git:20261102.2f12cc5

Pins git:20261102.2f12cc5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
CLAUDE.md file
Repository
fengshao1227/ccg-workflow
Path
codeagent-wrapper/CLAUDE.md
Versions recorded
5
Latest version
git:20261102.2f12cc5, committed Nov 2, 2026
First version recorded
Apr 10, 2026
Size
16,390 bytes
Repository stars
5,957
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# codeagent-wrapper (Go CLI Wrapper)

> [根目录](../CLAUDE.md) > **codeagent-wrapper**

**Last Updated**: 2026-08-29
**Binary Version**: v5.16.0
**Go Version**: 1.21+(`go.mod:1`)

---

## 模块职责

`codeagent-wrapper` 是用 Go 编写的跨平台 CLI 包装器,通过 `Backend` 接口 + `backendRegistry` 工厂将 **7 种 AI CLI 后端**(Codex / Gemini / Claude / Grok / Kimi / OpenCode / Antigravity)统一成一个标准接口。CCG 工作流系统中的 20+ 个斜杠命令通过调用它来执行多模型协作任务——Claude 作为编排层,codeagent-wrapper 负责实际派发、执行、输出解析和会话管理。

---

## 入口与启动

- **主入口**:`main.go:120` — `main()` 调用 `run()` 获取退出码
- **可执行文件**:
  - macOS/Linux:`codeagent-wrapper`
  - Windows:`codeagent-wrapper.exe`

### CLI 调用语法

```bash
# 单任务模式(新会话)
codeagent-wrapper [--backend <codex|gemini|claude>] "任务文本" [工作目录]

# stdin 模式(处理含换行/特殊字符的任务)
codeagent-wrapper [--backend <codex|gemini|claude>] - [工作目录] <<'EOF'
任务文本
EOF

# 会话恢复
codeagent-wrapper resume <session_id> "任务文本" [工作目录]
codeagent-wrapper resume <session_id> - [工作目录]

# 并行模式(从 stdin 读取多任务配置)
codeagent-wrapper --parallel [--backend <name>] [--full-output] < tasks.txt

# 其他
codeagent-wrapper --version
codeagent-wrapper --cleanup
```

### 参数说明

| Flag | 说明 | 默认值 |
|------|------|--------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add fengshao1227/ccg-workflow/codeagent-wrapper/CLAUDE.md@sha256:e6c8ebfe3d452fe9

The line at the top of this page pins the label git:20261102.2f12cc5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qt5inwwphwf7odsm.svg)](https://markdownregistry.com/a/art_qt5inwwphwf7odsm)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Apr 10, 2026 and Nov 2, 2026, about one every 51 days.

versioncommittedcommitsizeaudit
git:20261102.2f12cc5 latest2026-11-02 2f12cc5 16,390 BA view · diff
git:20260829.fe904052026-08-29 fe90405 16,117 BA view · diff
git:20260828.b22b17c2026-08-28 b22b17c 14,861 BA view · diff
git:20260827.b81f1f22026-08-27 b81f1f2 14,677 BA view · diff
git:20260410.42dddcd2026-04-10 42dddcd 13,615 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (16390 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

fengshao1227/ccg-workflow · 5,957 stars · license MIT · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qt5inwwphwf7odsm
GET https://markdownregistry.com/api/v1/resolve?ref=fengshao1227/ccg-workflow/codeagent-wrapper/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/e6c8ebfe3d452fe98cee77d745befba149664fcee1dbc1439fa665fc1eef35c9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from fengshao1227/ccg-workflow

openspec-apply-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-apply-change/SKILL.md · Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or…
v1.0 · audit A · 5,957 stars
openspec-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-archive-change/SKILL.md · Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after…
v1.0 · audit A · 5,957 stars
openspec-bulk-archive-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-bulk-archive-change/SKILL.md · Archive multiple completed changes at once. Use when archiving several parallel changes.
v1.0 · audit A · 5,957 stars
openspec-continue-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-continue-change/SKILL.md · Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change…
v1.0 · audit A · 5,957 stars
openspec-explore SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-explore/SKILL.md · Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use…
v1.0 · audit A · 5,957 stars
openspec-ff-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-ff-change/SKILL.md · Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for…
v1.0 · audit A · 5,957 stars
openspec-new-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-new-change/SKILL.md · Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature…
v1.0 · audit A · 5,957 stars
openspec-onboard SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-onboard/SKILL.md · Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
v1.0 · audit A · 5,957 stars
openspec-sync-specs SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-sync-specs/SKILL.md · Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta…
v1.0 · audit A · 5,957 stars
openspec-verify-change SKILL.md skill
fengshao1227/ccg-workflow · .agents/skills/openspec-verify-change/SKILL.md · Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete…
v1.0 · audit A · 5,957 stars
CLAUDE.md CLAUDE.md file
fengshao1227/ccg-workflow · CLAUDE.md
git:20261102.2f12cc5 · audit A · 5,957 stars
CLAUDE.md@dsh-ccg CLAUDE.md file
fengshao1227/ccg-workflow · dsh-ccg/CLAUDE.md
git:20261012.cd46ec2 · audit A · 5,957 stars

Every file in fengshao1227/ccg-workflow

Browse by kind, by grade A, or by owner.