最近推送 2026-10-26 12:56(2 天前),属于活跃维护
affaan-m/ECC
GITHUB中文整理主语言 JavaScript · 291,482 星 · MIT · 创建于 2026-01-18
一个面向编码智能体的工程化系统与工具箱,通过技能、记忆、钩子和安全扫描,把规划、测试、审查和持续学习变成智能体工作流程的一部分。
仓库健康度
5 个维度开放 Issue 263 个 · Fork 43,147 个
star 记录还不够天数,增量算不出来
许可证 MIT · 8 个 topics · 开了 Wiki
这一项暂无数据,不代表项目没有发布
「证据不足」表示这项数据暂时没有取到,不能读成「项目有问题」;「部分数据」表示只拿到一部分信号。版本发布要额外调 Releases 接口,下一版补。
Star 趋势
6 天记录横轴 2026-10-23 → 2026-10-28,纵轴按这段时间的最小/最大值拉伸。趋势来自站内每天记录一次的星数,页面打开时不会实时请求 GitHub。
它解决什么问题
据 README 归纳编码智能体虽然能写代码,但缺少稳定的工程流程:计划容易淹没在对话里,测试要求靠提醒才执行,审查和编码用同一份上下文,经验难以沉淀。没有它,每次都要在提示词里重复搭建流程,质量依赖模型记性,过程不可验证。
核心能力
7 条- 1在动手前把计划变成可编辑产物
- 2用钩子强制执行确定性检查
- 3以全新上下文审查代码找回归
- 4把会话蒸馏成摘要、直觉和可复用技能
- 5按语言或项目选择性加载规则
- 6内置扫描提示、钩子、配置和密钥安全风险
- 7提供桌面面板浏览各组件并搜索过滤
项目画像
6 个角度项目定位
一个面向编码智能体的工程化系统与工具箱,通过技能、记忆、钩子和安全扫描,把规划、测试、审查和持续学习变成智能体工作流程的一部分。
适合谁
使用 Claude Code、Codex 等编码智能体的开发者,尤其是希望把测试、审查、记忆和安全检查固化成流程、减少重复提示的团队或个人。
典型场景
{'场景': '让智能体先产出可编辑的实施计划再开始编码,避免计划丢失在对话记录中', '场景2': '要求按测试驱动流程走红-绿-重构,并以证据确认每一步'};用独立的新上下文审查改动,找出回归和盲点;把反复成功的做法沉淀为技能,供后续会话复用
部署难度
需先选择目标平台并按对应方式安装;Claude Code 为主路径,Codex 和 Qoder 有原生插件入口,其他平台走适配器。提供引导式安装、诊断、修复和卸载流程,但具体步骤未在片段中展开。
风险限制
MIT 许可开源;目前与 Claude Code 配合最佳,Codex 和 Qoder 有原生插件路径,其他平台为能力受限的适配,功能并不完全对等;使用前需查看支持状态矩阵。
最近维护
最近一次推送是 2026-10-26 12:56。 实现方式:安装后作为智能体工作环境的一部分运行,由钩子在提示词之外执行检查和约束,会话内容被归纳为记忆和技能;不同平台通过适配层映射同一套工作流,桌面面板用于浏览组件。
README 原文细节
2 个板块核心功能README 里列出来的能力清单
Cross-tool capability map
Key architectural decisions: - AGENTS.md at root is the universal cross-tool file (read by Claude Code, Cursor, Codex, and OpenCode; GitHub Copilot uses .github/copilot-instructions.md instead) - DRY adapter pattern lets Cursor reuse Claude Code's hook scripts without duplication - Skills format (SKILL.md with YAML frontmatter) works across Claude Code, Codex, OpenCode, and GitHub Copilot CLI - Codex's narrower native hook set is supplemented by AGENTS.md, optional modelinstructionsfile overrides, and sandbox permissions
ECC provides Cursor IDE support with hooks, rules, agents, skills, commands, and MCP configs adapted for Cursor's project layout.
ECC does not install root AGENTS.md into .cursor/. Cursor treats nested AGENTS.md files as directory context, so copying ECC's repo identity into a host project would pollute that project.
Cursor-native loading behavior can vary by Cursor build. ECC installs agents as .cursor/agents/ecc-.md; if your Cursor build does not expose project agents, those files still work as explicit reference definitions instead of hidden global prompt context.
- Instructions — Native — Native AGENTS.md — Project rules — Plugin instructions — Native instruction file
- Skills — Native installed set — Native plugin set — Build-dependent/project set — Built subset — Native discovery (Copilot CLI) from .github/skills/, .agents/skills/, .claude/skills/
- Agents/delegation — Native agents — Codex multi-agent roles; Claude agent files are not installed as roles — Build-dependent project agents — Plugin agents — Copilot CLI custom agents via .github/agen
- ECC hooks — Native plugin hooks — Native reviewed subset with explicit trust — Cursor hook adapter; install-path differences remain — Plugin events — Not ported; Copilot CLI has its own plugin hook sy
- MCP configuration — Available, explicit activation — Native plugin manifest; legacy sync can merge TOML — Explicit project/user config — Provider/plugin config — Not supplied by ECC
- Parity with Claude Code — Primary reference — Partial — Partial — Partial — Partial
- Hook Events — 15 — sessionStart, beforeShellExecution, afterFileEdit, beforeMCPExecution, beforeSubmitPrompt, and 10 more
- Hook Entrypoints — 15 — Thin Node.js event dispatchers delegating to scripts/hooks/ via shared adapter
- Rules — 34 — 9 common (alwaysApply) + 25 language-specific (TypeScript, Python, Go, Swift, PHP)
- Agents — 48 — .cursor/agents/ecc-.md when installed; prefixed to avoid collisions with user or marketplace agents
- Skills — Shared + Bundled — .cursor/skills/ for translated additions
- Commands — Shared — .cursor/commands/ if installed
- MCP Config — Shared — .cursor/mcp.json if installed
- Cursor sessionStart hook (installed to .cursor/hooks.json on --target cursor) injects ECCAGENTDATAHOME for the whole composer session.
怎么安装从零跑起来的步骤
Install with Claude Code
Use the guided setup or native plugin commands. Both install the same ecc@ecc plugin. Choose one and do not stack a full manual Claude install on top.
OSS stays free. This repo is MIT-licensed forever. ECC Pro is the hosted GitHub App for private repos. Sponsors and Pro subscribers fund the work. That's why a single maintainer ships weekly across 7 harnesses.
Recommended: universal guided setup
For Claude Code plugin setup, updates, scope changes, and hook-profile changes:
If you are new to command-line tools, use this copy-and-paste path:
This path does not require cloning the repository. If any prerequisite command is not found, install or repair that prerequisite before rerunning ECC setup.
If npm reports a version or cache error, confirm the registry version before retrying:
- Install Node.js 18 or newer, Git, and Claude Code.
- Open PowerShell from the Windows Start menu.
- Confirm that each prerequisite is available:
- Run the guided installer:
- For a typical personal setup, choose Global user, choose Standard hooks, and confirm.
- Start a new Claude Code session and run /plugin list to verify that ecc@ecc is enabled.
- npm / npx — npx ecc-universal@2.2.3 setup
- pnpm — pnpm dlx ecc-universal@2.2.3 setup
- Yarn 2+ — yarn dlx ecc-universal@2.2.3 setup
- Bun — bunx ecc-universal@2.2.3 setup
- Claude Code — Native ecc@ecc plugin with one user, project, or local scope and an ECC hook profile
- Codex — Native Codex marketplace/plugin lifecycle; hook review and trust remain Codex-owned
- Kimi Code — Managed project files under ./.kimi-code; ECC hooks, model/provider settings, and authentication are not configured
npx ecc-universal@2.2.3 setup
Reset / Uninstall ECC
If you installed from the universal package, run these commands from the same project directory used for installation:
From a source checkout, inspect the managed state before reinstalling:
If you are leaving, the uninstall command prints an optional 20-second feedback form. It is a public GitHub issue, never blocks uninstall, and ECC does not upload diagnostics. You can also run ecc feedback at any time to see the problem, feedback, and feature routes.
Plugin users should remove the plugin from Claude Code, then delete only the rule folders they manually copied and no longer want. ECC only removes files recorded in its install-state. It does not claim unrelated files in your harness directories.
- Remove the Claude Code plugin install.
- Run the ECC uninstall command from the project directory that contains the managed install-state.
- Delete any extra rule folders you copied manually and no longer want.
- Reinstall once, using a single path.
npx ecc-universal@2.2.3 list-installed
npx ecc-universal@2.2.3 doctor
npx ecc-universal@2.2.3 repair
npx ecc-universal@2.2.3 uninstall --dry-run
npx ecc-universal@2.2.3 uninstall
Self-Hosted Models and Custom Endpoints
ECC works through each harness's normal configuration, so you can use an official provider, a compatible custom API endpoint or model gateway, or a self-hosted model without changing ECC's workflows.
For Claude Code, ECC does not hardcode Anthropic-hosted transport settings. Minimal gateway example:
If your gateway remaps model names, configure that in Claude Code rather than in ECC. ECC's hooks, skills, commands, and rules are model-provider agnostic once the claude CLI is already working. See Anthropic's LLM gateway documentation and model configuration documentation.
Run or self-host any open-source model behind that gateway using separate compute and serving setup. If you need GPU capacity, Itô is ECC's preferred compute sponsor; any GPU provider works. The sponsorship link is passive: it does not invoke an RFQ, reserve capacity, provision compute, or configure serving. Separately, ecc ito find invokes the explicitly configured canonical Itô CLI and submits a live authenticated RFQ; it does not reserve capacity. Managed inference through Itô is not live yet.
export ANTHROPIC_BASE_URL=https://your-gateway.example.com
export ANTHROPIC_AUTH_TOKEN=your-token
claude
关于 ECC 的常见问题
7 个问题ECC 是做什么的?
一个面向编码智能体的工程化系统与工具箱,通过技能、记忆、钩子和安全扫描,把规划、测试、审查和持续学习变成智能体工作流程的一部分。 编码智能体虽然能写代码,但缺少稳定的工程流程:计划容易淹没在对话里,测试要求靠提醒才执行,审查和编码用同一份上下文,经验难以沉淀。没有它,每次都要在提示词里重复搭建流程,质量依赖模型记性,过程不可验证。
ECC 有哪些功能?
核心能力:在动手前把计划变成可编辑产物;用钩子强制执行确定性检查;以全新上下文审查代码找回归;把会话蒸馏成摘要、直觉和可复用技能;按语言或项目选择性加载规则;内置扫描提示、钩子、配置和密钥安全风险;提供桌面面板浏览各组件并搜索过滤。
ECC 适合谁用?
使用 Claude Code、Codex 等编码智能体的开发者,尤其是希望把测试、审查、记忆和安全检查固化成流程、减少重复提示的团队或个人。
ECC 是怎么工作的?
安装后作为智能体工作环境的一部分运行,由钩子在提示词之外执行检查和约束,会话内容被归纳为记忆和技能;不同平台通过适配层映射同一套工作流,桌面面板用于浏览组件。
怎么安装 ECC?
按项目 README 的说明:Use the guided setup or native plugin commands. Both install the same ecc@ecc plugin. Choose one and do not stack a full manual Claude insta;OSS stays free. This repo is MIT-licensed forever. ECC Pro is the hosted GitHub App for private repos. Sponsors and Pro subscribers fund the;Install Node.js 18 or newer, Git, and Claude Code.;Open PowerShell from the Windows Start menu.。完整命令见下方「怎么安装」一节或 GitHub 仓库的 README。
用 ECC 有什么门槛或限制?
MIT 许可开源;目前与 Claude Code 配合最佳,Codex 和 Qoder 有原生插件路径,其他平台为能力受限的适配,功能并不完全对等;使用前需查看支持状态矩阵。
ECC 现在还在维护吗?数据怎么样?
目前 291,482 星,43,147 个 Fork,主语言 JavaScript,创建于 2026-01-18,最近一次推送 2026-10-26 12:56,许可证 MIT。星数、Fork、推送时间都是 GitHub 返回的实时数据,「最近推送」离现在越近说明越活跃;长期不动要留意是否已停止维护。
这些内容来自哪
读法说明项目数据取自 GitHub 官方接口与项目 README;星数、Fork、语言与时间以 GitHub 页面为准,档案更新于 2026-10-23 17:48。
