Token导航 LogoToken导航TokenDH.com
Everything Claude Code logo
AI代理stdio官方级别未说明来源级核验

Everything Claude Code

MCP Server

ecc-install

Everything Claude Code是一个全面的AI代理性能优化系统,包含技能、本能、内存优化、持续学习和安全扫描等功能,适用于多种AI代理平台。

工具数

0

提示词数

0

GitHub Stars

183,725

资源数

0
AI代理安全JavaScriptClaudeClaudeCursorVS Code

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

affaan-m

提供方

affaan-m

最后核验

2026/5/17 20:20

运行时

Node.js

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

npx ecc-install --profile minimal --target claude

详细介绍

语言: 英语| 葡萄牙语( 巴西) | 简体中文 | 繁体中文 | 日本语 | 韩语 | 土耳其语 | 俄语 | 越南语

一切克劳德代码

Everything Claude Code — the performance system for AI agent harnesses

![Stars](https://github.com/affaan-m/everything-claude-code/stargazers) ![Forks](https://github.com/affaan-m/everything-claude-code/network/members) ![Contributors](https://github.com/affaan-m/everything-claude-code/graphs/contributors) ](https://www.npmjs.com/package/ecc-universal) ](https://www.npmjs.com/package/ecc-agentshield) ](https://github.com/marketplace/ecc-tools) ![License](LICENSE) Shell TypeScript Python Go Java Perl Markdown

182K星以上 | 28K+叉子 | 170+贡献者 | 12+语言生态系统 | 人类黑客马拉松冠军

______________________________________________________________________

Language / 语言 / 语言 / 语言

英语 | 葡萄牙语( 巴西) | 简体中文 | 繁体中文 | 日本语 | 韩语 | 土耳其语 | 俄语 | 越南语

______________________________________________________________________

AI代理的性能优化系统。来自一位Anthropic黑客马拉松冠军。

不仅仅是配置。一个完整的系统:技能、直觉、记忆优化、持续学习、安全扫描和研究优先开发。生产就绪的代理、技能、钩子、规则、MCP配置和传统指令垫片经过10多个月的密集日常使用,形成了真正的产品。

作品横跨 克劳德代码, 法典, 光标, 开源代码, 双子座, GitHub Copilot,以及其他AI代理工具。

ECC v2.0.0-rc.1在可重用层之上添加了公共Hermes运算符故事:从 Hermes设置指南,然后查看 rc.1发行说明交叉线束架构.

______________________________________________________________________

ECC Pro

Private repos · GitHub App · $19/seat/mo

Sponsor

Fund the OSS · From $5/mo

Community

Discussions · Q&A · Show & Tell

GitHub App

Install · PR audits · Free tier

OSS保持免费。 这个仓库是麻省理工学院永久许可的。ECC Pro是用于私有仓库的托管GitHub应用程序。 赞助商 和 专业订阅者 为这项工作提供资金——这就是为什么一名维护人员每周要运送7套安全带。

______________________________________________________________________

指南

此repo仅是原始代码。导游解释了一切。

Shorthand Guide Setup, foundations, philosophy. Read this first. Longform Guide Token optimization, memory persistence, evals, parallelization. Security Guide Attack vectors, sandboxing, sanitization, CVEs, AgentShield.

主题你将学到什么
令牌优化模型选择、系统提示精简、后台处理
内存持久性自动跨会话保存/加载上下文的钩子
持续学习将会话中的模式自动提取为可重用的技能
验证循环检查点与连续评估、评分器类型、,pass@k度量标准
并行化Git工作树、级联方法、何时扩展实例
子代理编排上下文问题,迭代检索模式

______________________________________________________________________

最新动态

v2.0.0-rc.1--表面刷新、操作员工作流和ECC 2.0 Alpha(2026年4月)

  • 仪表板图形用户界面 --新的基于Tkinter的桌面应用程序(ecc_dashboard.pynpm run dashboard)具有暗/亮主题切换、字体自定义以及标题和任务栏中的项目徽标。
  • 公共界面已同步到实时仓库 --元数据、目录计数、插件清单和面向安装的文档现在与实际的OSS界面相匹配:60个代理、230个技能和75个遗留命令垫片。
  • 操作员和出站工作流扩展brand-voice, social-graph-ranker, connections-optimizer, customer-billing-ops, ecc-tools-cost-audit, google-workspace-ops, project-flow-ops,以及 workspace-surface-audit 把操作员车道围起来。
  • 媒体和发布工具manim-video, remotion-video-creation升级后的社交发布界面使技术解释者和发布内容成为同一系统的一部分。
  • 框架和产品表面增长nestjs-patterns,更丰富的Codex/OpenCode安装界面,以及扩展的交叉线束封装,使仓库在Claude Code之外仍然可用。
  • ECC 2.0 alpha在树中 --Rust控制平面原型 ecc2/ 现在在本地构建并公开 dashboard, start, sessions, status, stop, resume,以及 daemon 命令。它可用作alpha版本,但还不是通用版本。
  • 操作员状态快照ecc status --markdown --write status.md 将本地状态存储转换为便携式切换,涵盖准备就绪、活动会话、技能运行健康、安装健康、未决治理事件以及来自Linear/GitHub/hoveroff的链接工作项。使用 ecc work-items upsert ... 对于手动输入, ecc work-items sync-github --repo owner/repo 用于PR/问题队列状态,以及 ecc status --exit-code 当需要注意准备就绪时,自动化会失败。
  • 生态系统硬化 --AgentShield、ECC Tools成本控制、计费门户工作和网站更新继续围绕核心插件进行,而不是陷入单独的孤岛。

v1.9.0--选择性安装和语言扩展(2026年3月)

  • 选择性安装架构 --清单驱动的安装管道 install-plan.jsinstall-apply.js 用于目标组件安装。状态存储跟踪已安装的内容并启用增量更新。
  • 6名新代理人typescript-reviewer, pytorch-build-resolver, java-build-resolver, java-reviewer, kotlin-reviewer, kotlin-build-resolver 将语言覆盖范围扩大到10种语言。
  • 新技能pytorch-patterns 对于深度学习工作流程, documentation-lookup 对于API参考研究, bun-runtimenextjs-turbopack 掌握现代JS工具链,以及8项操作领域技能 mcp-server-patterns.
  • 会话和状态基础设施 --SQLite状态存储与查询CLI、用于结构化记录的会话适配器、用于自我提升技能的技能进化基础。
  • 编排检修 --线束审计评分具有确定性,编排状态和启动器兼容性得到加强,观察者循环预防具有5层防护。
  • 观察者可靠性 --内存爆炸修复,包括节流和尾部采样、沙盒访问修复、延迟启动逻辑和重新入口保护。
  • 12语言生态系统 --Java、PHP、Perl、Kotlin/Android/KMP、C++和Rust的新规则加入了现有的TypeScript、Python、Go和通用规则。
  • 社区贡献 --韩语和中文翻译,biome钩子优化,视频处理技能,操作技能,PowerShell安装程序,Antigravity IDE支持。
  • CI硬化 --19个测试失败修复、目录计数强制、安装清单验证和完整测试套件绿色。

v1.8.0——线束性能系统(2026年3月)

  • 安全带首次发布 --ECC现在被明确地构建为一个代理线束性能系统,而不仅仅是一个配置包。
  • 吊钩可靠性检修 --SessionStart根回退、停止阶段会话摘要和基于脚本的钩子取代了脆弱的内联单行程序。
  • Hook运行时控件ECC_HOOK_PROFILE=minimal|standard|strictECC_DISABLED_HOOKS=... 用于运行时门控,而无需编辑挂钩文件。
  • 新线束命令/harness-audit, /loop-start, /loop-status, /quality-gate, /model-route.
  • NanoClaw v2 --模型路由、技能热负荷、会话分支/搜索/导出/压缩/度量。
  • 交叉线束奇偶校验 --Claude Code、Cursor、OpenCode和Codex app/CLI的行为更加严格。
  • 997内部测试通过 --钩子/运行时重构和兼容性更新后的全套绿色。

v1.7.0--跨平台扩展和演示生成器(2026年2月)

  • Codex应用程序+CLI支持 --直接 AGENTS.md-基于Codex支持、安装程序定位和Codex文档
  • frontend-slides 技能 --具有PPTX转换指导和严格视口适配规则的零依赖HTML演示构建器
  • 5种新的通用业务/内容技能article-writing, content-engine, market-research, investor-materials, investor-outreach
  • 更广泛的工具覆盖范围 --Cursor、Codex和OpenCode支持得到加强,因此相同的仓库可以在所有主要工具上清晰地发布
  • 992内部测试 --扩展了插件、钩子、技能和打包的验证和回归覆盖范围

v1.6.0--Codex CLI、代理屏蔽和市场(2026年2月)

  • Codex CLI支持/codex-setup 命令生成 codex.md OpenAI Codex CLI兼容性
  • 7项新技能search-first, swift-actor-persistence, swift-protocol-di-testing, regex-vs-llm-structured-text, content-hash-cache-pattern, cost-aware-llm-pipeline, skill-stocktake
  • AgentShield集成/security-scan skill直接从Claude Code运行AgentShield;1282个测试,102条规则
  • GitHub市场 --ECC工具GitHub应用程序在线 https://marketplace/ecc-tools 免费/专业/企业级别
  • 30+社区PR合并 --来自6种语言的30位贡献者的贡献
  • 978内部测试 --扩展了跨代理、技能、命令、钩子和规则的验证套件

v1.4.1-错误修复(2026年2月)

v1.4.0--多语言规则、安装向导和PM2(2026年2月)

  • 交互式安装向导configure-ecc skill提供带有合并/覆盖检测的引导设置
  • PM2和多代理编排 --6个新命令(/pm2, /multi-plan, /multi-execute, /multi-backend, /multi-frontend, /multi-workflow)用于管理复杂的多服务工作流
  • 多语言规则架构 --规则从平面文件重组为 common/ + typescript/ + python/ + golang/ 目录。只安装您需要的语言
  • 中文(zh-CN)翻译 --所有代理、命令、技能和规则的完整翻译(80多个文件)
  • GitHub赞助商支持 --通过GitHub赞助商赞助该项目
  • 增强贡献.md --每种贡献类型的详细PR模板

v1.3.0--开放代码插件支持(2026年2月)

  • 完整的OpenCode集成 --12个代理,24个命令,16个技能,通过OpenCode的插件系统提供钩子支持(20+事件类型)
  • 3个本地自定义工具 --运行测试、检查覆盖率、安全审计
  • LLM文件llms.txt 获取全面的OpenCode文档

v1.2.0——统一命令和技能(2026年2月)

  • Python/Django支持 --Django模式、安全性、TDD和验证技能
  • Java Spring Boot技能 --Spring Boot的模式、安全性、TDD和验证
  • 会话管理/sessions 会话历史记录命令
  • 持续学习v2 --基于直觉的学习,包括信心评分、导入/导出、进化

在中查看完整的更改日志 发布.

______________________________________________________________________

快速开始

在2分钟内起床并跑步:

只选择一条路径

大多数Claude Code用户应该只使用一个安装路径:

  • 推荐默认值: 安装Claude Code插件,然后只复制您实际需要的规则文件夹。
  • 仅在以下情况下使用手动安装程序 你想要更细粒度的控制,想要完全避免插件路径,或者你的Claude Code构建在解决自托管市场入口方面遇到了问题。
  • 不要堆叠安装方法。 最常见的损坏设置是: /plugin install 首先,然后 install.sh --profile fullnpx ecc-install --profile full 之后。

如果您已经对多个安装进行了分层,并且内容看起来重复,请直接跳到 重置/卸载ECC.

低上下文/无挂钩路径

如果钩子感觉太全局,或者你只想要ECC的规则、代理、命令和核心工作流技能,请跳过插件并使用最小的手动配置文件:

./install.sh --profile minimal --target claude
.\install.ps1 --profile minimal --target claude
# or
npx ecc-install --profile minimal --target claude

此配置文件有意排除 hooks-runtime.

如果你想要正常的核心轮廓,但需要挂断,请使用:

./install.sh --profile core --without baseline:hooks --target claude

仅当您希望运行时强制执行时,才稍后添加钩子:

./install.sh --target claude --modules hooks-runtime

先找到合适的组件

如果您不确定要安装哪个ECC配置文件或组件,请向任何项目的打包顾问咨询:

npx ecc consult "security reviews" --target claude

它返回匹配的组件、相关配置文件和预览/安装命令。如果要检查确切的文件计划,请在安装前使用预览命令。

对于生产ML/MLOps工作流,保持安装选择和组件范围:

npx ecc consult "mlops training model deployment" --target claude
npx ecc install --profile minimal --target claude --with capability:machine-learning

步骤1:安装插件(推荐)

注意:该插件很方便,但如果您的Claude Code构建在解析自托管市场条目时遇到问题,下面的OSS安装程序仍然是最可靠的路径。
# Add marketplace
/plugin marketplace add https://github.com/affaan-m/everything-claude-code

# Install plugin
/plugin install ecc@ecc

命名+迁移说明

ECC现在有三个公共标识符,它们不可互换:

  • GitHub源代码仓库: affaan-m/everything-claude-code
  • Claude市场/插件标识符: ecc@ecc
  • npm包: ecc-universal

这是故意的。Anthropic市场/插件安装由规范的插件标识符标识,因此ECC使用 ecc@ecc 以使工具名称和slash-command名称空间对于严格的Desktop/API验证器来说足够短。较旧的帖子可能仍然显示以前的长市场标识符;仅将其视为遗留别名。另外,npm包仍然存在 ecc-universal因此,npm安装和marketplace安装有意使用不同的名称。

步骤2:仅在需要时安装规则

警告: 重要提示: Claude Code插件无法分发 rules 自动。 如果您已经通过安装了ECC /plugin install, 不运行 ./install.sh --profile full, .\install.ps1 --profile full,或 npx ecc-install --profile full 之后该插件已经加载了ECC技能、命令和钩子。在插件安装后运行完整安装程序会将这些相同的表面复制到您的用户目录中,并可能创建重复的技能和重复的运行时行为。 对于插件安装,仅手动复制 rules/ 您想要的目录 ~/.claude/rules/ecc/.开始 rules/common 加上一个你实际使用的语言或框架包。除非您明确希望所有规则目录都在Claude中,否则不要复制每个规则目录。 仅当您进行完全手动ECC安装而不是插件路径时,才使用完整安装程序。 如果您的本地Claude设置被擦除或重置,这并不意味着您需要重新购买ECC。从开始 node scripts/ecc.js list-installed,然后运行 node scripts/ecc.js doctornode scripts/ecc.js repair 在重新安装任何东西之前。这通常会恢复ECC管理的文件,而无需重新构建设置。如果问题是ECC工具的帐户或市场访问,请单独处理账单/帐户恢复。
# Clone the repo first
git clone https://github.com/affaan-m/everything-claude-code.git
cd everything-claude-code

# Install dependencies (pick your package manager)
npm install        # or: pnpm install | yarn install | bun install

# Plugin install path: copy only ECC rules into an ECC-owned namespace
mkdir -p ~/.claude/rules/ecc
cp -R rules/common ~/.claude/rules/ecc/
cp -R rules/typescript ~/.claude/rules/ecc/

# Fully manual ECC install path (use this instead of /plugin install)
# ./install.sh --profile full
# Windows PowerShell

# Plugin install path: copy only ECC rules into an ECC-owned namespace
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/"

# Fully manual ECC install path (use this instead of /plugin install)
# .\install.ps1 --profile full
# npx ecc-install --profile full

有关手动安装说明,请参阅 rules/ 文件夹。手动复制规则时,复制整个语言目录(例如 rules/commonrules/golang),而不是其中的文件,因此相对引用可以继续工作,文件名也不会冲突。

完全手动安装(回退)

仅当您有意跳过插件路径时才使用此选项:

./install.sh --profile full
.\install.ps1 --profile full
# or
npx ecc-install --profile full

如果你选择这条路,就停在那里。也不要跑 /plugin install.

重置/卸载ECC

如果ECC感觉重复、侵入或损坏,不要一直将其重新安装在自身之上。

  • 插件路径: 从Claude Code中删除插件,然后删除您手动复制的特定规则文件夹 ~/.claude/rules/ecc/.
  • 手动安装程序/CLI路径: 从repo根目录开始,先预览删除:
node scripts/uninstall.js --dry-run

然后删除ECC管理的文件:

node scripts/uninstall.js

您还可以使用生命周期包装器:

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

ECC仅删除在其安装状态下记录的文件。它不会删除未安装的无关文件。

如果你堆叠了方法,请按以下顺序清理:

  1. 删除Claude Code插件安装。
  2. 从repo根目录运行ECC卸载命令以删除安装状态管理的文件。
  3. 删除手动复制且不再需要的任何额外规则文件夹。
  4. 使用单个路径重新安装一次。

步骤3:开始使用

# Skills are the primary workflow surface.
# Existing slash-style command names still work while ECC migrates off commands/.

# Plugin install uses the canonical namespaced form
/ecc:plan "Add user authentication"

# Manual install keeps the shorter slash form:
# /plan "Add user authentication"

# Check available commands
/plugin list ecc@ecc

就是这样! 您现在可以访问60个代理、230个技能和75个传统命令垫片。

仪表板图形用户界面

启动桌面仪表板,直观地探索ECC组件:

npm run dashboard
# or
python3 ./ecc_dashboard.py

特征:

  • 标签界面:代理、技能、命令、规则、设置
  • 黑暗/光明主题切换
  • 字体定制(系列和大小)
  • 标题和任务栏中的项目徽标
  • 搜索并过滤所有组件

多模型命令需要额外的设置

警告: multi-* 命令是 由上面安装的基本插件/规则覆盖。 使用 /multi-plan, /multi-execute, /multi-backend, /multi-frontend,以及 /multi-workflow,您还必须安装 ccg-workflow 运行时。 用以下方式初始化 npx ccg-workflow. 该运行时提供了这些命令所期望的外部依赖关系,包括: - ~/.claude/bin/codeagent-wrapper - ~/.claude/.ccg/prompts/* 没有 ccg-workflow,这些 multi-* 命令将无法正确运行。

______________________________________________________________________

与跨平台支持

此插件现在完全支持 Windows、macOS和Linux,以及跨主要IDE(Cursor、OpenCode、Antigravity)和CLI工具的紧密集成。所有钩子和脚本都已在Node.js中重写,以实现最大的兼容性。

包管理器检测

该插件会自动检测您首选的包管理器(npm、pnpm、yarn或bun),优先级如下:

  1. 环境变量: CLAUDE_PACKAGE_MANAGER
  2. 项目配置: .claude/package-manager.json
  3. package.json: packageManager 领域
  4. 锁定文件:从package-lock.json、yarn.lock、pnpm-lock.yaml或bun.lockb中检测
  5. 全局配置: ~/.claude/package-manager.json
  6. 后备方案:第一个可用的包管理器

要设置首选包管理器,请执行以下操作:

# Via environment variable
export CLAUDE_PACKAGE_MANAGER=pnpm

# Via global config
node scripts/setup-package-manager.js --global pnpm

# Via project config
node scripts/setup-package-manager.js --project bun

# Detect current setting
node scripts/setup-package-manager.js --detect

或者使用 /setup-pm 克劳德代码中的命令。

Hook运行时控件

使用运行时标志调整严格性或临时禁用特定挂钩:

# Hook strictness profile (default: standard)
export ECC_HOOK_PROFILE=standard

# Comma-separated hook IDs to disable
export ECC_DISABLED_HOOKS="pre:bash:tmux-reminder,post:edit:typecheck"

# Cap SessionStart additional context (default: 8000 chars)
export ECC_SESSION_START_MAX_CHARS=4000

# Disable SessionStart additional context entirely for low-context/local-model setups
export ECC_SESSION_START_CONTEXT=off

______________________________________________________________________

里面是什么

此回购是 Claude代码插件 -直接安装或手动复制组件。

everything-claude-code/
|-- .claude-plugin/   # Plugin and marketplace manifests
|   |-- plugin.json         # Plugin metadata and component paths
|   |-- marketplace.json    # Marketplace catalog for /plugin marketplace add
|
|-- agents/           # 60 specialized subagents for delegation
|   |-- planner.md           # Feature implementation planning
|   |-- architect.md         # System design decisions
|   |-- tdd-guide.md         # Test-driven development
|   |-- code-reviewer.md     # Quality and security review
|   |-- security-reviewer.md # Vulnerability analysis
|   |-- build-error-resolver.md
|   |-- e2e-runner.md        # Playwright E2E testing
|   |-- refactor-cleaner.md  # Dead code cleanup
|   |-- doc-updater.md       # Documentation sync
|   |-- docs-lookup.md       # Documentation/API lookup
|   |-- chief-of-staff.md    # Communication triage and drafts
|   |-- loop-operator.md     # Autonomous loop execution
|   |-- harness-optimizer.md # Harness config tuning
|   |-- cpp-reviewer.md      # C++ code review
|   |-- cpp-build-resolver.md # C++ build error resolution
|   |-- fsharp-reviewer.md   # F# functional code review
|   |-- go-reviewer.md       # Go code review
|   |-- go-build-resolver.md # Go build error resolution
|   |-- python-reviewer.md   # Python code review
|   |-- database-reviewer.md # Database/Supabase review
|   |-- typescript-reviewer.md # TypeScript/JavaScript code review
|   |-- java-reviewer.md     # Java/Spring Boot code review
|   |-- java-build-resolver.md # Java/Maven/Gradle build errors
|   |-- kotlin-reviewer.md   # Kotlin/Android/KMP code review
|   |-- kotlin-build-resolver.md # Kotlin/Gradle build errors
|   |-- harmonyos-app-resolver.md # HarmonyOS/ArkTS app development
|   |-- rust-reviewer.md     # Rust code review
|   |-- rust-build-resolver.md # Rust build error resolution
|   |-- pytorch-build-resolver.md # PyTorch/CUDA training errors
|   |-- mle-reviewer.md      # Production ML pipeline, eval, serving, and monitoring review
|
|-- skills/           # Workflow definitions and domain knowledge
|   |-- coding-standards/           # Language best practices
|   |-- clickhouse-io/              # ClickHouse analytics, queries, data engineering
|   |-- backend-patterns/           # API, database, caching patterns
|   |-- frontend-patterns/          # React, Next.js patterns
|   |-- frontend-slides/            # HTML slide decks and PPTX-to-web presentation workflows (NEW)
|   |-- article-writing/            # Long-form writing in a supplied voice without generic AI tone (NEW)
|   |-- content-engine/             # Multi-platform social content and repurposing workflows (NEW)
|   |-- market-research/            # Source-attributed market, competitor, and investor research (NEW)
|   |-- investor-materials/         # Pitch decks, one-pagers, memos, and financial models (NEW)
|   |-- investor-outreach/          # Personalized fundraising outreach and follow-up (NEW)
|   |-- continuous-learning/        # Legacy v1 Stop-hook pattern extraction
|   |-- continuous-learning-v2/     # Instinct-based learning with confidence scoring
|   |-- iterative-retrieval/        # Progressive context refinement for subagents
|   |-- strategic-compact/          # Manual compaction suggestions (Longform Guide)
|   |-- tdd-workflow/               # TDD methodology
|   |-- security-review/            # Security checklist
|   |-- eval-harness/               # Verification loop evaluation (Longform Guide)
|   |-- verification-loop/          # Continuous verification (Longform Guide)
|   |-- videodb/                   # Video and audio: ingest, search, edit, generate, stream (NEW)
|   |-- golang-patterns/            # Go idioms and best practices
|   |-- golang-testing/             # Go testing patterns, TDD, benchmarks
|   |-- cpp-coding-standards/         # C++ coding standards from C++ Core Guidelines (NEW)
|   |-- cpp-testing/                # C++ testing with GoogleTest, CMake/CTest (NEW)
|   |-- django-patterns/            # Django patterns, models, views (NEW)
|   |-- django-security/            # Django security best practices (NEW)
|   |-- django-tdd/                 # Django TDD workflow (NEW)
|   |-- django-verification/        # Django verification loops (NEW)
|   |-- laravel-patterns/           # Laravel architecture patterns (NEW)
|   |-- laravel-security/           # Laravel security best practices (NEW)
|   |-- laravel-tdd/                # Laravel TDD workflow (NEW)
|   |-- laravel-verification/       # Laravel verification loops (NEW)
|   |-- python-patterns/            # Python idioms and best practices (NEW)
|   |-- python-testing/             # Python testing with pytest (NEW)
|   |-- quarkus-patterns/            # Java Quarkus patterns (NEW)
|   |-- quarkus-security/            # Quarkus security (NEW)
|   |-- quarkus-tdd/                 # Quarkus TDD (NEW)
|   |-- quarkus-verification/        # Quarkus verification (NEW)
|   |-- springboot-patterns/        # Java Spring Boot patterns (NEW)
|   |-- springboot-security/        # Spring Boot security (NEW)
|   |-- springboot-tdd/             # Spring Boot TDD (NEW)
|   |-- springboot-verification/    # Spring Boot verification (NEW)
|   |-- configure-ecc/              # Interactive installation wizard (NEW)
|   |-- security-scan/              # AgentShield security auditor integration (NEW)
|   |-- java-coding-standards/     # Java coding standards (NEW)
|   |-- jpa-patterns/              # JPA/Hibernate patterns (NEW)
|   |-- postgres-patterns/         # PostgreSQL optimization patterns (NEW)
|   |-- nutrient-document-processing/ # Document processing with Nutrient API (NEW)
|   |-- docs/examples/project-guidelines-template.md  # Template for project-specific skills
|   |-- database-migrations/         # Migration patterns (Prisma, Drizzle, Django, Go) (NEW)
|   |-- api-design/                  # REST API design, pagination, error responses (NEW)
|   |-- deployment-patterns/         # CI/CD, Docker, health checks, rollbacks (NEW)
|   |-- docker-patterns/            # Docker Compose, networking, volumes, container security (NEW)
|   |-- e2e-testing/                 # Playwright E2E patterns and Page Object Model (NEW)
|   |-- content-hash-cache-pattern/  # SHA-256 content hash caching for file processing (NEW)
|   |-- cost-aware-llm-pipeline/     # LLM cost optimization, model routing, budget tracking (NEW)
|   |-- regex-vs-llm-structured-text/ # Decision framework: regex vs LLM for text parsing (NEW)
|   |-- swift-actor-persistence/     # Thread-safe Swift data persistence with actors (NEW)
|   |-- swift-protocol-di-testing/   # Protocol-based DI for testable Swift code (NEW)
|   |-- search-first/               # Research-before-coding workflow (NEW)
|   |-- skill-stocktake/            # Audit skills and commands for quality (NEW)
|   |-- liquid-glass-design/         # iOS 26 Liquid Glass design system (NEW)
|   |-- foundation-models-on-device/ # Apple on-device LLM with FoundationModels (NEW)
|   |-- swift-concurrency-6-2/       # Swift 6.2 Approachable Concurrency (NEW)
|   |-- mle-workflow/               # Production ML data contracts, evals, deployment, monitoring (NEW)
|   |-- perl-patterns/             # Modern Perl 5.36+ idioms and best practices (NEW)
|   |-- perl-security/             # Perl security patterns, taint mode, safe I/O (NEW)
|   |-- perl-testing/              # Perl TDD with Test2::V0, prove, Devel::Cover (NEW)
|   |-- autonomous-loops/           # Autonomous loop patterns: sequential pipelines, PR loops, DAG orchestration (NEW)
|   |-- plankton-code-quality/      # Write-time code quality enforcement with Plankton hooks (NEW)
|
|-- commands/         # Maintained slash-entry compatibility; prefer skills/
|   |-- plan.md             # /plan - Implementation planning
|   |-- code-review.md      # /code-review - Quality review
|   |-- build-fix.md        # /build-fix - Fix build errors
|   |-- refactor-clean.md   # /refactor-clean - Dead code removal
|   |-- quality-gate.md     # /quality-gate - Verification gate
|   |-- learn.md            # /learn - Extract patterns mid-session (Longform Guide)
|   |-- learn-eval.md       # /learn-eval - Extract, evaluate, and save patterns (NEW)
|   |-- checkpoint.md       # /checkpoint - Save verification state (Longform Guide)
|   |-- setup-pm.md         # /setup-pm - Configure package manager
|   |-- go-review.md        # /go-review - Go code review (NEW)
|   |-- go-test.md          # /go-test - Go TDD workflow (NEW)
|   |-- go-build.md         # /go-build - Fix Go build errors (NEW)
|   |-- skill-create.md     # /skill-create - Generate skills from git history (NEW)
|   |-- instinct-status.md  # /instinct-status - View learned instincts (NEW)
|   |-- instinct-import.md  # /instinct-import - Import instincts (NEW)
|   |-- instinct-export.md  # /instinct-export - Export instincts (NEW)
|   |-- evolve.md           # /evolve - Cluster instincts into skills
|   |-- prune.md            # /prune - Delete expired pending instincts (NEW)
|   |-- pm2.md              # /pm2 - PM2 service lifecycle management (NEW)
|   |-- multi-plan.md       # /multi-plan - Multi-agent task decomposition (NEW)
|   |-- multi-execute.md    # /multi-execute - Orchestrated multi-agent workflows (NEW)
|   |-- multi-backend.md    # /multi-backend - Backend multi-service orchestration (NEW)
|   |-- multi-frontend.md   # /multi-frontend - Frontend multi-service orchestration (NEW)
|   |-- multi-workflow.md   # /multi-workflow - General multi-service workflows (NEW)
|   |-- sessions.md         # /sessions - Session history management
|   |-- test-coverage.md    # /test-coverage - Test coverage analysis
|   |-- update-docs.md      # /update-docs - Update documentation
|   |-- update-codemaps.md  # /update-codemaps - Update codemaps
|   |-- python-review.md    # /python-review - Python code review (NEW)
|-- legacy-command-shims/   # Opt-in archive for retired shims such as /tdd and /eval
|   |-- tdd.md              # /tdd - Prefer the tdd-workflow skill
|   |-- e2e.md              # /e2e - Prefer the e2e-testing skill
|   |-- eval.md             # /eval - Prefer the eval-harness skill
|   |-- verify.md           # /verify - Prefer the verification-loop skill
|   |-- orchestrate.md      # /orchestrate - Prefer dmux-workflows or multi-workflow
|
|-- rules/            # Always-follow guidelines (copy to ~/.claude/rules/ecc/)
|   |-- README.md            # Structure overview and installation guide
|   |-- common/              # Language-agnostic principles
|   |   |-- coding-style.md    # Immutability, file organization
|   |   |-- git-workflow.md    # Commit format, PR process
|   |   |-- testing.md         # TDD, 80% coverage requirement
|   |   |-- performance.md     # Model selection, context management
|   |   |-- patterns.md        # Design patterns, skeleton projects
|   |   |-- hooks.md           # Hook architecture, TodoWrite
|   |   |-- agents.md          # When to delegate to subagents
|   |   |-- security.md        # Mandatory security checks
|   |-- typescript/          # TypeScript/JavaScript specific
|   |-- python/              # Python specific
|   |-- golang/              # Go specific
|   |-- swift/               # Swift specific
|   |-- php/                 # PHP specific (NEW)
|   |-- arkts/               # HarmonyOS / ArkTS specific
|
|-- hooks/            # Trigger-based automations
|   |-- README.md                 # Hook documentation, recipes, and customization guide
|   |-- hooks.json                # All hooks config (PreToolUse, PostToolUse, Stop, etc.)
|   |-- memory-persistence/       # Session lifecycle hooks (Longform Guide)
|   |-- strategic-compact/        # Compaction suggestions (Longform Guide)
|
|-- scripts/          # Cross-platform Node.js scripts (NEW)
|   |-- lib/                     # Shared utilities
|   |   |-- utils.js             # Cross-platform file/path/system utilities
|   |   |-- package-manager.js   # Package manager detection and selection
|   |-- hooks/                   # Hook implementations
|   |   |-- session-start.js     # Load context on session start
|   |   |-- session-end.js       # Save state on session end
|   |   |-- pre-compact.js       # Pre-compaction state saving
|   |   |-- suggest-compact.js   # Strategic compaction suggestions
|   |   |-- evaluate-session.js  # Extract patterns from sessions
|   |-- setup-package-manager.js # Interactive PM setup
|
|-- tests/            # Test suite (NEW)
|   |-- lib/                     # Library tests
|   |-- hooks/                   # Hook tests
|   |-- run-all.js               # Run all tests
|
|-- contexts/         # Dynamic system prompt injection contexts (Longform Guide)
|   |-- dev.md              # Development mode context
|   |-- review.md           # Code review mode context
|   |-- research.md         # Research/exploration mode context
|
|-- examples/         # Example configurations and sessions
|   |-- CLAUDE.md             # Example project-level config
|   |-- user-CLAUDE.md        # Example user-level config
|   |-- saas-nextjs-CLAUDE.md   # Real-world SaaS (Next.js + Supabase + Stripe)
|   |-- go-microservice-CLAUDE.md # Real-world Go microservice (gRPC + PostgreSQL)
|   |-- django-api-CLAUDE.md      # Real-world Django REST API (DRF + Celery)
|   |-- laravel-api-CLAUDE.md     # Real-world Laravel API (PostgreSQL + Redis) (NEW)
|   |-- rust-api-CLAUDE.md        # Real-world Rust API (Axum + SQLx + PostgreSQL) (NEW)
|
|-- mcp-configs/      # MCP server configurations
|   |-- mcp-servers.json    # GitHub, Supabase, Vercel, Railway, etc.
|
|-- ecc_dashboard.py  # Desktop GUI dashboard (Tkinter)
|
|-- assets/           # Assets for dashboard
|   |-- images/
|       |-- ecc-logo.png
|
|-- marketplace.json  # Self-hosted marketplace config (for /plugin marketplace add)

______________________________________________________________________

生态系统工具

技能创造者

从存储库生成Claude Code技能的两种方法:

选项A:本地分析(内置)

使用 /skill-create 无需外部服务的本地分析命令:

/skill-create                    # Analyze current repo
/skill-create --instincts        # Also generate instincts for continuous-learning-v2

这将在本地分析您的git历史记录并生成SKILL.md文件。

选项B:GitHub应用程序(高级)

对于高级功能(10k+提交、自动PR、团队共享):

| ecc.tools

# Comment on any issue:
/skill-creator analyze

# Or auto-triggers on push to default branch

这两个选项都会创建:

  • SKILL.md文件 -Claude Code的现成技能
  • 本能收藏 -用于持续学习v2
  • 模式提取 -从您的提交历史中学习

AgentShield——安全审计员

在克劳德代码黑客马拉松(Cerebral Valley x Anthropic,2026年2月)上建造。1282个测试,98%的覆盖率,102个静态分析规则。

扫描您的Claude Code配置,查看是否存在漏洞、配置错误和注入风险。

# Quick scan (no install needed)
npx ecc-agentshield scan

# Auto-fix safe issues
npx ecc-agentshield scan --fix

# Deep analysis with three Opus 4.6 agents
npx ecc-agentshield scan --opus --stream

# Generate secure config from scratch
npx ecc-agentshield init

它扫描的内容: CLAUDE.md、settings.json、MCP配置、钩子、代理定义和跨5个类别的技能——秘密检测(14种模式)、权限审计、钩子注入分析、MCP服务器风险分析和代理配置审查。

--opus 旗帜 在红队/蓝队/审计员管道中运行三个Claude Opus 4.6代理。攻击者找到漏洞利用链,防御者评估保护措施,审计员将两者综合到优先风险评估中。对抗性推理,而不仅仅是模式匹配。

输出格式: 终端(颜色分级A-F)、JSON(CI管道)、Markdown、HTML。根据建造闸门的关键发现退出代码2。

使用 /security-scan 在Claude Code中运行它,或使用 .

|

持续学习v2

基于本能的学习系统会自动学习你的模式:

/instinct-status        # Show learned instincts with confidence
/instinct-import  # Import instincts from others
/instinct-export        # Export your instincts for sharing
/evolve                 # Cluster related instincts into skills

skills/continuous-learning-v2/ 获取完整文档。 保持 continuous-learning/ 只有当你明确想要传统的v1停止钩子学习技能流时。

______________________________________________________________________

需求

Claude代码CLI版本

最低版本:v2.1.0或更高版本

由于插件系统处理钩子的方式发生了变化,此插件需要Claude Code CLI v2.1.0+。

检查您的版本:

claude --version

重要提示:挂钩自动加载行为

警告: 对于贡献者: 不要添加 "hooks" 字段到 .claude-plugin/plugin.json这是通过回归测试来强制执行的。

克劳德代码v2.1+ 自动加载 hooks/hooks.json 按照惯例,从任何已安装的插件。在中明确声明 plugin.json 导致重复检测错误:

Duplicate hooks file detected: ./hooks/hooks.json resolves to already-loaded file

______________________________________________________________________

安装

选项1:作为插件安装(推荐)

使用此仓库的最简单方法是将其安装为Claude Code插件:

# Add this repo as a marketplace
/plugin marketplace add https://github.com/affaan-m/everything-claude-code

# Install the plugin
/plugin install ecc@ecc

或者直接添加到您的 ~/.claude/settings.json:

{
  "extraKnownMarketplaces": {
    "ecc": {
      "source": {
        "source": "github",
        "repo": "affaan-m/everything-claude-code"
      }
    }
  },
  "enabledPlugins": {
    "ecc@ecc": true
  }
}

这使您可以即时访问所有命令、代理、技能和钩子。

注: Claude Code插件系统不支持分发 rules 通过插件(上游限制).您需要手动安装规则: ``bash # Clone the repo first git clone https://github.com/affaan-m/everything-claude-code.git # Option A: User-level rules (applies to all projects) mkdir -p ~/.claude/rules/ecc cp -r everything-claude-code/rules/common ~/.claude/rules/ecc/ cp -r everything-claude-code/rules/typescript ~/.claude/rules/ecc/ # pick your stack cp -r everything-claude-code/rules/python ~/.claude/rules/ecc/ cp -r everything-claude-code/rules/golang ~/.claude/rules/ecc/ cp -r everything-claude-code/rules/php ~/.claude/rules/ecc/ # Option B: Project-level rules (applies to current project only) mkdir -p .claude/rules/ecc cp -r everything-claude-code/rules/common .claude/rules/ecc/ cp -r everything-claude-code/rules/typescript .claude/rules/ecc/ # pick your stack ``

______________________________________________________________________

选项2:手动安装

如果您更喜欢手动控制而不是安装:

# Clone the repo
git clone https://github.com/affaan-m/everything-claude-code.git

# Copy agents to your Claude config
cp everything-claude-code/agents/*.md ~/.claude/agents/

# Copy rules directories (common + language-specific)
mkdir -p ~/.claude/rules/ecc
cp -r everything-claude-code/rules/common ~/.claude/rules/ecc/
cp -r everything-claude-code/rules/typescript ~/.claude/rules/ecc/   # pick your stack
cp -r everything-claude-code/rules/python ~/.claude/rules/ecc/
cp -r everything-claude-code/rules/golang ~/.claude/rules/ecc/
cp -r everything-claude-code/rules/php ~/.claude/rules/ecc/
cp -r everything-claude-code/rules/arkts ~/.claude/rules/ecc/

# Copy skills first (primary workflow surface)
# Recommended (new users): core/general skills only
mkdir -p ~/.claude/skills/ecc
cp -r everything-claude-code/.agents/skills/* ~/.claude/skills/ecc/
cp -r everything-claude-code/skills/search-first ~/.claude/skills/ecc/

# Optional: add niche/framework-specific skills only when needed
# for s in django-patterns django-tdd laravel-patterns springboot-patterns quarkus-patterns; do
# cp -r everything-claude-code/skills/$s ~/.claude/skills/ecc/
# done

# Optional: keep maintained slash-command compatibility during migration
mkdir -p ~/.claude/commands
cp everything-claude-code/commands/*.md ~/.claude/commands/

# Retired shims live in legacy-command-shims/commands/.
# Copy individual files from there only if you still need old names such as /tdd.

安装挂钩

不要复制原始回购 hooks/hooks.json 进入 ~/.claude/settings.json~/.claude/hooks/hooks.json该文件是面向插件/仓库的,旨在通过ECC安装程序安装或作为插件加载,因此原始复制不是支持的手动安装路径。

使用安装程序仅安装Claude钩子运行时,以便正确重写命令路径:

# macOS / Linux
bash ./install.sh --target claude --modules hooks-runtime
# Windows PowerShell
pwsh -File .\install.ps1 --target claude --modules hooks-runtime

这将解决挂钩问题 ~/.claude/hooks/hooks.json 并留下任何现有的 ~/.claude/settings.json 原封不动。

如果您通过安装ECC /plugin install,不要将这些钩子复制到 settings.json.Claude Code v2.1+已自动加载插件 hooks/hooks.json,并将其复制到 settings.json 导致重复执行和跨平台钩子冲突。

Windows注意:Claude配置目录为 %USERPROFILE%\\.claude,不 ~/claude.

配置MCP

Claude插件安装故意不自动启用ECC的捆绑MCP服务器定义。这避免了在严格的第三方网关上过长的插件MCP工具名称,同时保持手动MCP设置可用。

使用克劳德代码 /mcp 命令或CLI管理的MCP设置,用于实时更改Claude Code服务器。使用 /mcp 对于Claude Code,运行时禁用;Claude Code将这些选择保留在 ~/.claude.json.

对于回购本地MCP访问,请从以下位置复制所需的MCP服务器定义 mcp-configs/mcp-servers.json 进入项目范围 .mcp.json.

如果您已经运行了自己的ECC捆绑MCP副本,请设置:

export ECC_DISABLED_MCPS="github,context7,exa,playwright,sequential-thinking,memory"

ECC管理的安装和Codex同步流将跳过或删除这些捆绑的服务器,而不是重新添加重复的服务器。 ECC_DISABLED_MCPS 是ECC安装/同步过滤器,而不是实时克劳德代码切换。

重要提示: 替换 YOUR_*_HERE 带有实际API密钥的占位符。

______________________________________________________________________

关键概念

代理

子代理处理范围有限的委托任务。例子:

---
name: code-reviewer
description: Reviews code for quality, security, and maintainability
tools: ["Read", "Grep", "Glob", "Bash"]
model: opus
---

You are a senior code reviewer...

技能

技能是主要的工作流程界面。它们可以直接调用,自动建议,并由代理重用。ECC仍在维护 commands/ 在迁移期间,退休的化名Shim住在 legacy-command-shims/ 仅用于明确选择加入。新的工作流开发应该落地 skills/ 第一。

# TDD Workflow

1. Define interfaces first
2. Write failing tests (RED)
3. Implement minimal code (GREEN)
4. Refactor (IMPROVE)
5. Verify 80%+ coverage

钩子

将火挂在工具事件上。示例-警告console.log:

{
  "matcher": "tool == \"Edit\" && tool_input.file_path matches \"\\\\.(ts|tsx|js|jsx)$\"",
  "hooks": [{
    "type": "command",
    "command": "#!/bin/bash\ngrep -n 'console\\.log' \"$file_path\" && echo '[Hook] Remove console.log' >&2"
  }]
}

规则

规则总是遵循指导方针,组织成 common/ (语言无关)+语言特定目录:

rules/
  common/          # Universal principles (always install)
  typescript/      # TS/JS specific patterns and tools
  python/          # Python specific patterns and tools
  golang/          # Go specific patterns and tools
  swift/           # Swift specific patterns and tools
  php/             # PHP specific patterns and tools
  arkts/           # HarmonyOS / ArkTS patterns and constraints

rules/README.md 了解安装和结构细节。

______________________________________________________________________

我应该使用哪个代理?

不确定从哪里开始?使用此快速参考。技能是规范的工作流程界面;维护的斜线条目可用于命令优先工作流。

我想…使用这个表面使用的试剂
规划新功能/ecc:plan "Add auth"规划师
设计系统架构/ecc:plan +建筑师代理人建筑师
先用测试编写代码tdd-workflow 技能tdd指南
查看我刚刚编写的代码/code-review代码审查员
修复失败的构建/build-fix构建错误解析器
运行端到端测试e2e-testing 技能e2e跑步者
查找安全漏洞/security-scan安全审查员
删除死代码/refactor-clean重构清洁器
更新文档/update-docs文档更新器
查看Go代码/go-reviewgo评论者
查看Python代码/python-reviewpython审阅者
查看F#代码*(援引 fsharp-reviewer 直接)*fsharp审阅者
查看Types/JavaScript代码*(援引 typescript-reviewer 直接)*打字稿审阅者
开发HarmonyOS应用程序*(援引 harmonyos-app-resolver 直接)*harmonyos应用程序解析器
审核数据库查询*(自动委派)*数据库审阅者
审查生产机器学习更改mle-workflow 技能+ mle-reviewer 代理人mle审查员

常见工作流

下面显示的斜线形状仍然是维护命令界面的一部分。退役的短名称垫片,如 /tdd/eval 住在 legacy-command-shims/ 仅用于明确选择加入。

启动新功能:

/ecc:plan "Add user authentication with OAuth"
                                              → planner creates implementation blueprint
tdd-workflow skill                            → tdd-guide enforces write-tests-first
/code-review                                  → code-reviewer checks your work

修复bug:

tdd-workflow skill                            → tdd-guide: write a failing test that reproduces it
                                              → implement the fix, verify test passes
/code-review                                  → code-reviewer: catch regressions

生产准备:

/security-scan                                → security-reviewer: OWASP Top 10 audit
e2e-testing skill                             → e2e-runner: critical user flow tests
/test-coverage                                → verify 80%+ coverage

______________________________________________________________________

常见问题

How do I check which agents/commands are installed?

/plugin list ecc@ecc

这显示了插件中所有可用的代理、命令和技能。

My hooks aren't working / I see "Duplicate hooks file" errors

Can I use ECC with Claude Code on a custom API endpoint or model gateway?

对。ECC不会硬编码Anthropic托管的传输设置。它通过Claude Code的常规CLI/插件界面在本地运行,因此它适用于:

  • Anthropic主持克劳德代码
  • 官方Claude Code网关设置使用 ANTHROPIC_BASE_URLANTHROPIC_AUTH_TOKEN
  • 兼容的自定义端点,说出人类API克劳德代码期望

最小示例:

export ANTHROPIC_BASE_URL=https://your-gateway.example.com
export ANTHROPIC_AUTH_TOKEN=your-token
claude

如果您的网关重新映射了模型名称,请在Claude Code中配置,而不是在ECC中配置。ECC的钩子、技能、命令和规则与模型提供者无关 claude CLI已在工作。

官方参考:

My context window is shrinking / Claude is running out of context

太多的MCP服务器会占用您的上下文。每个MCP工具描述都会消耗您20万窗口中的令牌,可能会将其减少到约70k。默认情况下,SessionStart上下文的长度限制为8000个字符;降低它 ECC_SESSION_START_MAX_CHARS=4000 或使用禁用它 ECC_SESSION_START_CONTEXT=off 用于本地模型或低上下文设置。

修复: 使用以下命令禁用Claude Code中未使用的MCP /mcp.Claude Code将这些运行时选项写入 ~/.claude.json; .claude/settings.json.claude/settings.local.json 对于已经加载的MCP服务器来说,这不是可靠的切换。

保持10个MCP启用,80个工具处于活动状态。

Can I use only some components (e.g., just agents)?

对。使用选项2(手动安装),只复制您需要的内容:

# Just agents
cp everything-claude-code/agents/*.md ~/.claude/agents/

# Just rules
mkdir -p ~/.claude/rules/ecc/
cp -r everything-claude-code/rules/common ~/.claude/rules/ecc/

每个组件都是完全独立的。

Does this work with Cursor / OpenCode / Codex / Antigravity / GitHub Copilot?

对。ECC是跨平台的:

  • 光标:预先翻译的配置文件 .cursor/。参见 游标IDE支持.
  • Gemini CLI:通过以下方式提供实验项目当地支持 .gemini/GEMINI.md 以及共享安装管道。
  • 开源代码:完全支持插件 .opencode/。参见 OpenCode支持.
  • 法典:对macOS应用程序和CLI的一流支持,带有适配器漂移保护和SessionStart回退。见PR #257.
  • GitHub副本(VS代码):通过指令和提示层 .github/copilot-instructions.md, .vscode/settings.json,以及 .github/prompts/。参见 .
  • 反重力:工作流程、技能和扁平化规则的紧密集成设置 .agent/。参见 反重力指南.
  • JoyCode/CodeBuddy:为命令、代理、技能和扁平化规则项目本地选择性安装适配器。看 JoyCode适配器指南.
  • Qwen CLI:用于命令、代理、技能、规则和Qwen配置的主目录选择性安装适配器。看 Qwen CLI适配器指南.
  • 非本地线束:Grok和类似接口的手动回退路径。看 手动适应指南.
  • 克劳德代码:Native--这是主要目标。

How do I contribute a new skill or agent?

贡献.md.简短版本:

  1. 分叉回购
  2. 创造你的技能 skills/your-skill-name/SKILL.md (使用YAML frontmatter)
  3. 或者在中创建代理 agents/your-agent.md
  4. 提交一份PR,明确说明其功能以及何时使用

______________________________________________________________________

运行测试

该插件包括一个全面的测试套件:

# Run all tests
node tests/run-all.js

# Run individual test files
node tests/lib/utils.test.js
node tests/lib/package-manager.test.js
node tests/hooks/hooks.test.js

______________________________________________________________________

贡献

欢迎并鼓励捐款。

此repo旨在成为社区资源。如果您有:

  • 有用的代理人或技能
  • 巧妙的钩子
  • 更好的MCP配置
  • 改进规则

请贡献!看 贡献.md 作为指导方针。

贡献的想法

  • 特定语言技能(Rust、C#、Kotlin、Java)——Go、Python、Perl、Swift、TypeScript和HarmonyOS/ArkTS已经包含在内
  • 特定于框架的配置(Rails、FastAPI)——Django、NestJS、Spring Boot和Laravel已经包含在内
  • DevOps代理(Kubernetes、Terraform、AWS、Docker)
  • 测试策略(不同的框架、视觉回归)
  • 特定领域知识(机器学习、数据工程、移动)

社区生态系统笔记

这些不与ECC捆绑在一起,也不受此仓库的审核,但如果您正在探索更广泛的Claude Code技能生态系统,则值得了解:

______________________________________________________________________

游标IDE支持

ECC通过钩子、规则、代理、技能、命令和适应Cursor项目布局的MCP配置提供Cursor IDE支持。

快速启动(光标)

# macOS/Linux
./install.sh --target cursor typescript
./install.sh --target cursor python golang swift php
# Windows PowerShell
.\install.ps1 --target cursor typescript
.\install.ps1 --target cursor python golang swift php

包含什么

组件计数详细信息
Hook事件15会话开始、shell执行之前、FileEdit之后、CPE执行之前、提交提示之前以及其他10个
Hook脚本16瘦Node.js脚本委托给 scripts/hooks/ 通过共享适配器
规则349个通用(always Apply)+25个特定语言(TypeScript、Python、Go、Swift、PHP)
代理人48.cursor/agents/ecc-*.md 安装时;前缀以避免与用户或市场代理发生冲突
技能共享+捆绑.cursor/skills/ 用于翻译补充
命令共享.cursor/commands/ 如果已安装
MCP配置共享.cursor/mcp.json 如果已安装

光标加载注释

ECC不安装root AGENTS.md 进入 .cursor/。游标处理嵌套 AGENTS.md 文件作为目录上下文,因此将ECC的repo标识复制到宿主项目中会污染该项目。

游标本机加载行为可能因游标构建而异。ECC将代理安装为 .cursor/agents/ecc-*.md;如果您的游标构建没有公开项目代理,则这些文件仍然作为显式引用定义而不是隐藏的全局提示上下文工作。

挂钩架构(干式适配器模式)

光标具有 钩子事件比Claude Code多 (20对8)。这 .cursor/hooks/adapter.js 模块将Cursor的stdin JSON转换为Claude Code的格式,允许现有的 scripts/hooks/*.js 可以重复使用而不会重复。

Cursor stdin JSON → adapter.js → transforms → scripts/hooks/*.js
                                              (shared with Claude Code)

钥匙钩:

  • 壳牌执行前 --阻止tmux之外的开发服务器(出口2),git推送审查
  • afterFileEdit --自动格式化+TypeScript检查+console.log警告
  • 提交前提示 --在提示中检测秘密(sk-、ghp\_、AKIA模式)
  • before标签文件阅读 --阻止Tab读取.env、.key、.pem文件(退出2)
  • CPE执行前/MCP执行后 --MCP审计日志

规则格式

游标规则使用YAML frontmatter description, globs,以及 alwaysApply:

---
description: "TypeScript coding style extending common rules"
globs: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"]
alwaysApply: false
---

______________________________________________________________________

Codex macOS应用程序+CLI支持

ECC提供 一流的Codex支持 适用于macOS应用程序和CLI,具有参考配置、特定于Codex的AGENTS.md补充和共享技能。

快速入门(Codex应用程序+命令行界面)

# Run Codex CLI in the repo — AGENTS.md and .codex/ are auto-detected
codex

# Automatic setup: sync ECC assets (AGENTS.md, skills, MCP servers) into ~/.codex
npm install && bash scripts/sync-ecc-to-codex.sh
# or: pnpm install && bash scripts/sync-ecc-to-codex.sh
# or: yarn install && bash scripts/sync-ecc-to-codex.sh
# or: bun install && bash scripts/sync-ecc-to-codex.sh

# Or manually: copy the reference config to your home directory
cp .codex/config.toml ~/.codex/config.toml

同步脚本将ECC MCP服务器安全地合并到您现有的服务器中 ~/.codex/config.toml 使用a 仅添加 策略——它永远不会删除或修改您现有的服务器。与一起跑步 --dry-run 预览更改,或 --update-mcp 强制将ECC服务器刷新到最新的推荐配置。

对于Context7,ECC使用规范的Codex节名称 [mcp_servers.context7] 同时仍在启动 @upstash/context7-mcp 包裹。如果你已经有了遗产 [mcp_servers.context7-mcp] 进入, --update-mcp 将其迁移到规范节名称。

Codex macOS应用程序:

  • 将此存储库作为工作区打开。
  • AGENTS.md 自动检测。
  • .codex/config.toml.codex/agents/*.toml 项目本地化时效果最好。
  • 参考 .codex/config.toml 故意不钉 modelmodel_provider,因此Codex使用自己的当前默认值,除非您覆盖它。
  • 可选:复制 .codex/config.toml~/.codex/config.toml 全球违约;除非同时进行复制,否则请将多代理角色文件保存在本地 .codex/agents/.

包含什么

组件计数详细信息
配置1.codex/config.toml --顶级审批/沙盒/网络搜索、MCP服务器、通知、配置文件
AGENTS.md2根(通用)+ .codex/AGENTS.md (食品法典委员会特定补充)
技能32.agents/skills/ --SKILL.md+代理/openai.yaml每个技能
MCP服务器6GitHub、Context7、Exa、内存、剧作家、顺序思维(7通过Supabase --update-mcp 同步)
配置文件2strict (只读沙盒)和 yolo (完全自动批准)
代理角色3.codex/agents/ --探索者、审阅者、文档研究员

技能

技能在 .agents/skills/ 由Codex自动加载:

典型的人类学技能,如 claude-api, frontend-design,以及 skill-creator 故意不在这里重新捆绑。从以下位置安装 anthropics/skills 当你想要官方版本的时候。

技能描述
代理自检调试调试代理行为、路由和提示边界
代理排序对代理目录和分配表进行排序
api-designREST api设计模式
文章写作基于笔记和语音参考的长篇写作
后端模式API设计、数据库、缓存
品牌声音来源于真实内容的写作风格简介
bun运行时bun作为运行时、包管理器、打包器和测试运行器
编码标准通用编码标准
内容引擎平台原生社交内容和重新定位
crosspost跨X、LinkedIn、Threads的多平台内容分发
深度研究具有综合和来源归因的多源研究
dmux工作流使用tmux窗格管理器进行多代理编排
文档查找通过Context7 MCP查找最新的库和框架文档
e2e测试剧作家e2e测试
eval工具eval驱动的开发
everything claude代码项目的开发约定和模式
exa搜索通过exa MCP进行神经搜索,用于网络、代码、公司研究
fal-ai media图像、视频和音频的统一媒体生成
前端模式React/Next.js模式
前端幻灯片HTML演示文稿、PPTX转换、视觉风格探索
投资者材料甲板、备忘录、模型和单页纸
投资者推广个性化推广、跟进和介绍
市场研究来源归因市场和竞争对手研究
mcp服务器模式使用Node/TypeScript SDK构建mcp服务器
nextjs turbopackNext.js 16+和turbopack增量捆绑
产品能力将产品目标转化为范围能力图
安全审查综合安全检查表
战略契约上下文管理
tdd工作流程测试驱动开发,覆盖率超过80%
验证循环构建、测试、lint、类型检查、安全
视频编辑使用FFmpeg和Remotion的AI辅助视频编辑工作流程
用于发布和分析的x-apix/Twitter api集成

关键限制

食品法典委员会 尚未提供Claude风格的钩子执行奇偶校验ECC的实施是基于指令的 AGENTS.md,可选 model_instructions_file 覆盖和沙盒/批准设置。

多代理支持

当前的Codex构建支持稳定的多代理工作流。

  • 启用 features.multi_agent = true.codex/config.toml
  • 定义以下角色 [agents.]
  • 将每个角色指向以下文件 .codex/agents/
  • 使用 /agent 在CLI中检查或引导子代理

ECC提供了三个示例角色配置:

角色目的
explorer编辑前收集只读代码库证据
reviewer正确性、安全性和缺失测试审查
docs_researcher发布/文档更改前的文档和API验证

______________________________________________________________________

OpenCode支持

ECC提供 完全支持OpenCode 包括插件和钩子。

快速开始

# Install OpenCode
npm install -g opencode

# Run in the repository root
opencode

配置将从以下位置自动检测 .opencode/opencode.json.

特征奇偶校验

特性克劳德代码OpenCode状态
代理人通过人数:60名代理人通过次数:12名代理人Claude Code负责人
命令PASS:75个命令PASS:35个命令Claude Code负责人
技能及格:230项技能合格:37项技能Claude Code负责人
HooksPASS:8种活动类型PASS:11种活动OpenCode还有更多!
规则PASS:29条规则PASS:13条指令Claude Code负责人
MCP服务器通行证:14台服务器通行卡:满完全对等
自定义工具通过:通过钩子通过:6个本地工具OpenCode更好

通过插件提供钩子支持

OpenCode的插件系统比Claude Code更复杂,有20多种事件类型:

Claude代码挂钩OpenCode插件事件
预工具使用tool.execute.before
PostTool使用tool.execute.after
停下session.idle
会话开始session.created
会话结束。 session.deleted

其他OpenCode事件: file.edited, file.watcher.updated, message.updated, lsp.client.diagnostics, tui.toast.show以及更多。

保持Slash条目

命令描述
/plan制定实施计划
/code-review审查代码更改
/build-fix修复构建错误
/refactor-clean删除死代码
/learn从会话中提取模式
/checkpoint保存验证状态
/quality-gate运行维护的验证门
/update-docs更新文档
/update-codemaps更新代码图
/test-coverage分析覆盖范围
/go-reviewGo代码审查
/go-test采用TDD工作流程
/go-build修复Go构建错误
/python-reviewPython代码审查(PEP 8、类型提示、安全)
/multi-plan多模型协同规划
/multi-execute多模型协同执行
/multi-backend以后端为中心的多模型工作流
/multi-frontend以前端为中心的多模型工作流
/multi-workflow完整的多模型开发工作流程
/pm2自动生成PM2服务命令
/sessions管理会话历史记录
/skill-create从git生成技能
/instinct-status查看习得的本能
/instinct-import进口本能
/instinct-export出口本能
/evolve将本能转化为技能
/promote将项目直觉推广到全球范围
/projects列出已知项目和直觉统计数据
/prune删除过期的待处理本能(30天TTL)
/learn-eval保存前提取并评估模式
/setup-pm配置包管理器
/harness-audit审计工具的可靠性、评估准备情况和风险态势
/loop-start启动受控代理循环执行模式
/loop-status检查主动回路状态和检查点
/quality-gate对路径或整个仓库运行质量门检查
/model-route按复杂性和预算将任务路由到模型

插件安装

选项1:直接使用

cd everything-claude-code
opencode

选项2:安装为npm包

npm install ecc-universal

然后添加到您的 opencode.json:

{
  "plugin": ["ecc-universal"]
}

该npm插件条目启用了ECC发布的OpenCode插件模块(钩子/事件和插件工具)。 确实如此 自动将ECC的完整命令/代理/指令目录添加到您的项目配置中。

对于完整的ECC OpenCode设置,请执行以下任一操作:

  • 在此存储库中运行OpenCode,或
  • 复制捆绑的 .opencode/ 将资产配置到项目中,并连接 instructions, agent,以及 command 条目在 opencode.json

文档

  • 迁移指南: .opencode/MIGRATION.md
  • OpenCode插件自述: .opencode/README.md
  • 综合规则: .opencode/instructions/INSTRUCTIONS.md
  • LLM文件: llms.txt (LLM的完整OpenCode文档)

______________________________________________________________________

GitHub副本支持

ECC提供 GitHub Copilot支持 通过Copilot Chat的原生指令和提示文件系统进行VS代码的编译——不需要额外的工具。

包含什么

组件文件目的
核心说明.github/copilot-instructions.md始终加载的规则:编码风格、安全性、测试、git工作流
VS代码设置.vscode/settings.json用于代码生成、测试生成、审查和提交消息的每任务指令文件
计划提示.github/prompts/plan.prompt.md分阶段实施规划
TDD提示.github/prompts/tdd.prompt.md红绿改善循环
代码审查提示.github/prompts/code-review.prompt.md质量和安全审查
安全审查提示.github/prompts/security-review.prompt.md深度与OWASP一致的安全分析
生成修复提示.github/prompts/build-fix.prompt.md系统构建和CI错误解决
重构提示.github/prompts/refactor.prompt.md死代码清理和简化

快速入门(GitHub Copilot)

文件已经就绪——打开任何包含此项目的仓库,GitHub Copilot Chat将自动获取 .github/copilot-instructions.md. 承诺 .vscode/settings.json 使能够 chat.promptFiles 因此,VS Code可以从以下位置加载可重用的提示 .github/prompts/.

要使用Copilot Chat中的工作流提示:

  1. 在VS Code中打开副驾驶聊天面板。
  2. 点击 回形针/附件 图标并选择 提示。..,或类型 / 并选择一个提示。
  3. 选择提示(例如。 plan, tdd, code-review).

运作原理

VS Code中的GitHub Copilot会自动读取两种类型的文件:

  • .github/copilot-instructions.md --存储库级指令,始终注入到每个Copilot Chat请求中。包含ECC的核心编码标准、安全检查表、测试要求和git工作流程。
  • **.github/prompts/*.prompt.md** --用户按需调用的可重用提示文件。每个提示都会引导Copilot完成特定的ECC工作流程(计划→ TDD → 审查→ 船)。

.vscode/settings.json 添加每个任务的指令叠加,以便Copilot根据您是生成代码、编写测试、查看选择还是起草提交消息来接收正确的上下文。

功能覆盖

ECC功能复制副本等效
编码标准始终通过 copilot-instructions.md
安全检查表始终打开+ security-review 提示
测试/TDD始终开启+ tdd 提示
实施规划plan 提示
代码审查code-review 提示
构建错误解决方案build-fix 提示
重构refactor 提示
提交消息格式中的每个任务指令 settings.json
挂钩/自动化不支持(Copilot没有挂钩系统)
代理/委派不支持(Copilot没有子代理API)

局限性

GitHub Copilot没有挂钩系统或子代理API,因此ECC的挂钩自动化(自动形成、TypeScript检查、会话持久性、dev-server保护)和代理委派不可用。指令和提示层仍然将完整的ECC编码理念——标准、安全性、TDD和工作流——带入每个Copilot Chat会话。

______________________________________________________________________

跨工具特征奇偶校验

ECC是 第一个最大化每个主要AI编码工具的插件。以下是每个线束的比较:

功能克劳德代码游标IDECodex CLIOpenCodeGitHub Copilot
代理60共享(AGENTS.md)共享(AGENTS.md)12不适用
命令75共享基于指令356个提示
技能230共享10(本机格式)37通过指令
Hook活动8种15种还没有11种没有
钩子脚本20+脚本16个脚本(DRY适配器)N/A插件挂钩N/A
规则34(common+lang)34(YAML frontmatter)基于指令13条指令1条始终存档
自定义工具过孔挂钩过孔挂钩N/A6个原生工具N/A
MCP服务器14共享(mcp.json)7(通过TOML解析器自动合并)完整不适用
配置格式settings.jsonhooks.json+规则/config.tomlopencode.json副指令.md+设置.json
上下文文件CLAUDE.md+AGENTS.mdAGENTS.mdAGENTS.mdAGENT.md副作用指令.md
秘密侦查基于钩子提交前提示钩子基于沙盒基于钩子基于指令
自动格式化PostTool使用钩子after file编辑钩子N/Afile.edited钩子N/A
版本插件插件引用配置2.0.0-rc.1指令层

关键架构决策:

  • 代理商.md 根目录是通用的跨工具文件(由Claude Code、Cursor、Codex和OpenCode读取——GitHub Copilot使用 .github/copilot-instructions.md 相反)
  • DRY适配器图案 让Cursor重用Claude Code的钩子脚本而不会重复
  • 技能格式 (SKILL.md和YAML frontmatter)跨Claude Code、Codex和OpenCode工作
  • Codex缺少钩子,但得到了以下补偿 AGENTS.md,可选 model_instructions_file 覆盖和沙盒权限

______________________________________________________________________

背景

自从实验性推出以来,我一直在使用Claude Code。在2025年9月赢得了Anthropic x Forum Ventures黑客马拉松 @DRodriguezFX --建成 zenith.chat 完全使用克劳德代码。

这些配置在多个生产应用程序中经过了战斗测试。

______________________________________________________________________

令牌优化

如果你不管理代币消费,克劳德代码的使用可能会很昂贵。这些设置在不牺牲质量的情况下显著降低了成本。

推荐设置

添加 ~/.claude/settings.json:

{
  "model": "sonnet",
  "env": {
    "MAX_THINKING_TOKENS": "10000",
    "CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50"
  }
}
设置默认推荐影响
modelopus十四行诗成本降低约60%;处理80%以上的编码任务
MAX_THINKING_TOKENS31,99910,000每个请求的隐藏思考成本降低了约70%
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE9550压缩时间更早——长时间会话质量更好

仅当您需要深入的架构推理时,才切换到Opus:

/model opus

日常工作流命令

命令何时使用
/model sonnet大多数任务的默认值
/model opus复杂的架构、调试、深度推理
/clear无关任务之间(免费,即时重置)
/compact在逻辑任务断点处(研究完成,里程碑完成)
/cost监控会话期间的代币支出

战略契约

strategic-compact 技能(包含在此插件中)建议 /compact 而不是依赖于95%上下文的自动压缩。看 skills/strategic-compact/SKILL.md 获取完整的决策指南。

何时压缩:

  • 研究/探索后,实施前
  • 完成一个里程碑后,在开始下一个里程碑之前
  • 调试后,在继续功能工作之前
  • 在尝试新方法之前,先尝试一种失败的方法

何时不压缩:

  • 中期实现(您将丢失变量名、文件路径、部分状态)

上下文窗口管理

严重: 不要一次启用所有MCP。每个MCP工具描述都会消耗您20万窗口中的令牌,可能会将其减少到约70k。

  • 每个项目启用10个MCP以下
  • 保持80个工具处于活动状态
  • 使用 /mcp 禁用未使用的Claude Code MCP服务器;这些运行时选择将持续存在 ~/.claude.json
  • 使用 ECC_DISABLED_MCPS 仅用于在安装/同步流程中过滤ECC生成的MCP配置

代理团队成本警告

代理团队生成多个上下文窗口。每个队友独立消费代币。仅用于并行性提供明确价值的任务(多模块工作、并行审查)。对于简单的顺序任务,子代理的令牌效率更高。

______________________________________________________________________

警告:重要提示

令牌优化

达到每日极限?请参阅 代币优化指南 有关推荐设置和工作流提示。

速赢:

// ~/.claude/settings.json
{
  "model": "sonnet",
  "env": {
    "MAX_THINKING_TOKENS": "10000",
    "CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "50",
    "CLAUDE_CODE_SUBAGENT_MODEL": "haiku"
  }
}

使用 /clear 在不相关的任务之间, /compact 在逻辑断点处,以及 /cost 监控支出。

定制

这些配置适用于我的工作流程。您应该:

  1. 从引起共鸣的开始
  2. 为您的堆栈进行修改
  3. 删除不使用的内容
  4. 添加自己的图案

______________________________________________________________________

社区项目

基于或受Everything Claude Code启发的项目:

项目描述
交易技巧68种交易主题的克劳德代码技能,带有交易前审查提示和风险门,灵感来自市场运营商。

用ECC做的东西?打开一个PR添加到这里。

______________________________________________________________________

赞助商

这个项目是免费和开源的。赞助商有助于保持和发展。

______________________________________________________________________

明星历史

![Star History Chart](https://star-history.com/#affaan-m/everything-claude-code&Date)

______________________________________________________________________

链接

______________________________________________________________________

许可证

麻省理工学院-自由使用,根据需要进行修改,如果可以的话,可以回馈。

______________________________________________________________________

如果有帮助,请标记此回购。阅读这两个指南。建造一些伟大的东西。

目录标签

目录标签

AI代理安全JavaScriptClaude本地部署性能优化持续学习安全扫描多工具兼容

支持客户端

ClaudeCursorVS Code

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

oauth

运行时(runtime,运行环境)

Node.js

来源包(packageName,安装包名)

ecc-install

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiooauth部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP