跳转至

语言: English | Português (Brasil) | 简体中文 | 繁體中文 | 日本語 | 한국어 | Türkçe | Русский | Tiếng Việt | 简体中文 | Deutsch | Українська

Everything Claude Code

Everything Claude Code — AI agent harness 增强系统

星标 fork 贡献者 npm ecc-universal 许可证

182K+ 星标 | 28K+ fork | 170+ 贡献者 | 12+ 编程语言生态 | Anthropic Hackathon 获胜者


语言 / Language / 语言 / 語言 / Dil / Язык / Ngôn ngữ

English | Português (Brasil) | 简体中文 | 繁體中文 | 日本語 | 한국어 | Türkçe | Русский | Tiếng Việt | 简体中文 | Deutsch | Українська


Everything Claude Code(ECC)是来自 Anthropic Hackathon 获胜者的 AI agent harness 增强系统

ECC 不仅仅是一套配置文件,而是一个完整系统:skills、直觉(instincts)、内存优化(memory optimization)、持续学习(continuous learning)、安全扫描(security scanning)以及研究优先开发(research-first development)。这一切都经过 10 个多月在构建真实产品中的实际使用验证。

可跨 Claude Code、Codex、Cursor、OpenCode、Gemini、Zed、GitHub Copilot 及其他 AI agent harness 使用。

本页是简体中文快速入门指南。对于完整且始终最新的内容,请以 英文 README 为准。


快速开始

只选择一种安装方式

对于大多数 Claude Code 用户,应只选择以下两种方法中的 一种:

  • 推荐: 通过 Claude Code 插件安装,然后手动仅复制实际需要的 rules/ 文件夹
  • 使用手动 installer 如果你需要更多细节控制,或希望避开插件,或你的 Claude Code 无法解析自托管 marketplace
  • 不要以多种方式重复安装 最常见的问题是运行 /plugin install 后,又运行 install.sh --profile full 或 npx ecc-universal install --profile full

如果你已经重复安装并发现存在重复的 skill/hook,请查看 Reset / 卸载 ECC

通过 Claude Code 插件安装

# เพิ่ม marketplace
/plugin marketplace add https://github.com/affaan-m/ECC

# ติดตั้ง plugin
/plugin install ecc@ecc

ECC 在公共系统中拥有 3 个不同的名称:

  • GitHub 仓库:affaan-m/everything-claude-code
  • Claude marketplace 插件:ecc@ecc
  • npm 包:ecc-universal

这些名称是故意不同的。Claude Code 上的插件使用 ecc@ecc,而 npm 仍使用 ecc-universal。

复制额外的 rules 文件(如需要)

Claude Code 插件不会自动安装 rules/。如果你通过插件安装,不要再运行完整 installer。请改为仅复制所需的 rule 集合:

git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code

mkdir -p ~/.claude/rules/ecc
cp -R rules/common ~/.claude/rules/ecc/
cp -R rules/typescript ~/.claude/rules/ecc/
git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code

New-Item -ItemType Directory -Force -Path "$HOME/.claude/rules/ecc" | Out-Null
Copy-Item -Recurse rules/common "$HOME/.claude/rules/ecc/"
Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/ecc/"

请复制整个语言文件夹,例如 rules/common 或 rules/golang,而不是复制单个文件。

手动安装(不使用插件)

仅在你明确不使用插件时使用此方法:

npm install
./install.sh --profile full
npm install
.\install.ps1 --profile full
# หรือ
npx ecc-universal install --profile full

如果选择手动方式,请在此停止,不要再运行 /plugin install。

低上下文 / 无 hooks

如果你只需要 rules、agents、commands 和核心工作流 skills,请使用最小化 profile:

./install.sh --profile minimal --target claude
.\install.ps1 --profile minimal --target claude
# หรือ
npx ecc-universal install --profile minimal --target claude

此 profile 故意不安装 hooks-runtime。


Reset / 卸载 ECC

如果 ECC 重复安装、干扰系统或运行异常,请不要再次覆盖安装。

  • 插件方式: 从 Claude Code 中移除插件,然后删除你自行复制到 ~/.claude/rules/ecc/ 的 rule 文件夹
  • installer/CLI 方式: 在仓库根目录先检查:
node scripts/uninstall.js --dry-run

然后移除 ECC 管理的文件:

node scripts/uninstall.js

或者使用 lifecycle wrapper:

node scripts/ecc.js list-installed
node scripts/ecc.js doctor
node scripts/ecc.js repair
node scripts/ecc.js uninstall --dry-run

ECC 只会删除属于其自身 install-state 的文件,不会触碰其他文件。


主要指南

这里只是原始代码,这些指南提供了完整详细说明:

指南 你将学到什么
Shorthand Guide 安装、基础与理念——先读
Longform Guide Token 节省、memory 持久化、evals、并行处理
Security Guide agent 漏洞、沙箱化、净化、CVE、AgentShield
主题 你将学到什么
Token Optimization 模型选择、system prompt 精简、background processes
Memory Persistence 自动跨 session 保存/加载 context 的 Hooks
Continuous Learning 自动从 session 中提取 pattern 形成新 skill
Verification Loops Checkpoint 与 continuous evals、grader 类型、pass@k 指标
Parallelization Git worktrees、cascade method、实例扩展节奏
Subagent Orchestration context 问题、重复式 retrieve 模式

重要文档


试用

# ติดตั้งผ่าน plugin ใช้ namespace เต็ม
/ecc:plan "เพิ่มระบบยืนยันตัวตนผู้ใช้"

# ติดตั้งแบบ manual ใช้ slash command แบบสั้นได้
# /plan "เพิ่มระบบยืนยันตัวตนผู้ใช้"

# ดู plugin ที่ติดตั้งอยู่
/plugin list ecc@ecc

常用主要命令:

  • /tdd — Test-Driven Development 工作流
  • /plan — 规划实现
  • /e2e — 创建并运行 E2E tests
  • /code-review — 检查代码质量
  • /build-fix — 修复 build 问题
  • /learn — 从 session 中提取 pattern
  • /skill-create — 从 git history 创建 skill

目前 ECC 拥有数十个 agent、200 多个 skill 以及用于各种 workflow 的 legacy command shim。完整列表和最新指南见 英文 README


参与项目开发

欢迎贡献!完整指南请见 CONTRIBUTING.md

正在寻求贡献的类别:

  • Agents — 特定语言 agent(Python、Go、Rust)、特定 framework(Django、Rails、Laravel、Spring)、DevOps(Kubernetes、Terraform)、领域专家(ML、data engineering、mobile)
  • Skills — 特定语言最佳实践、framework pattern、测试策略、架构指南
  • Hooks — 自动化、linting、安全检查、验证、通知
  • Commands — 用于 deployment、testing、code generation 的 slash command
  • 其他语言翻译 — 查看 docs/ 中的结构(例如 docs/zh-CN、docs/ja-JP、docs/th)

简要入门步骤

# 1. Fork และ clone
gh repo fork affaan-m/everything-claude-code --clone
cd everything-claude-code

# 2. สร้าง branch
git checkout -b feat/my-contribution

# 3. เพิ่มสิ่งที่ contribute (ดู CONTRIBUTING.md)

# 4. ทดสอบในเครื่อง
cp -r skills/my-skill ~/.claude/skills/

# 5. ส่ง PR
git add . && git commit -m "feat: add my-skill" && git push -u origin feat/my-contribution

社区与支持

OSS 永远免费 本仓库永久采用 MIT 许可证。ECC Pro 是为 private repo 托管的 GitHub App。Sponsors 和 Pro subscribers 帮助支持单一 maintainer 每周交付跨 7 个 harness 的工作。


许可证

MIT

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 ev/ECC