优秘智能 · 内容中心

agent ·

ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

ECC - the agent harness operating system

GitHub Trending Repository of the Day Star History Global Rank

Language: English | العربية | Português (Brasil) | 简体中文 | 繁體中文 | 日本語 | 한국어 | Türkçe | Русский | Tiếng Việt | ไทย | Deutsch | Español | Українська | Polski | বাংলা

Discord Website GitHub App MIT license

GitHub stars GitHub forks Contributors GitHub App installs

ecc-universal npm downloads ecc-agentshield npm downloads

Shell TypeScript Python Go Java Perl Markdown

> [!WARNING] > **Official sources only.** Install ECC only from verified channels: the GitHub repository [github.com/affaan-m/ECC](https://github.com/affaan-m/ECC), the npm packages [`ecc-universal`](https://www.npmjs.com/package/ecc-universal) and [`ecc-agentshield`](https://www.npmjs.com/package/ecc-agentshield), the [GitHub App](https://github.com/apps/ecc-tools), the plugin slug `ecc@ecc`, and the project website [ecc.tools](https://ecc.tools). Third-party re-uploads and unofficial mirrors are not maintained or reviewed by the project and may contain malware. ## Install with Claude Code Use the [guided setup](#install-ecc) or [native plugin commands](#claude-code-details). Both install the same `ecc@ecc` plugin. Choose one and do not stack a full manual Claude install on top.
ECC Tools
ECC Pro + GitHub App

Install free · Private repos from $19/seat/mo

Sponsor ECC

Fund the open-source project
Discord
Community

Discord · Q&A · Show and Tell
**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.
Partners & sponsors

CodeRabbit    Greptile    Moonshot AI - Kimi    Itô Markets    SerpApi: Web Search API

Past sponsors: Atlas Cloud · Mike Morgan (inactive) Community sponsors: @jasonwu513 · @1anter · @massimotodaro · @meadmccabe Become a Sponsor · Sponsor Tiers · Sponsorship Program

Jump to install ↓

# ECC Your agent can write code, but ECC gives it a coordinated engineering system and toolbox: it plans before it builds, verifies changes with tests, reviews its own work from a fresh context, remembers what matters, and turns repeated wins into reusable skills and workflows. ```text plan -> test -> implement -> review -> verify -> remember -> improve ``` Instead of rebuilding that process in every prompt, you install it once and make it part of how your agent works. > Optimize the context window. Persist everything else. ECC is MIT-licensed open source. It works best with Claude Code today, has native Codex and Qoder plugin paths, and provides capability-limited adapters for Cursor, OpenCode, Gemini, Zed, GitHub Copilot, Antigravity, Qwen, and other harnesses. See the [support status matrix](#platform-support) before assuming feature parity. Access to 71 agents, 311 skills, and 97 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work. | Included | Count | What it gives you | | ---------------- | ----------: | ------------------------------------------------------------------------------------ | | Agents | 71 agents | Planning, review, build repair, security, architecture, and domain work | | Skills | 311 skills | TDD, research, security, docs, frontend, data, ML, operations, and more | | Commands | 97 commands | Convenient entry points while ECC moves to a skills-first surface | | Hooks and memory | Runtime | Enforcement, session summaries, continuous learning, instincts, and context controls | | Rules | Selective | Always-loaded standards you choose by language or project | | AgentShield | Included | Scanning for prompts, hooks, MCP config, permissions, secrets, and agent files |

Live star history chart for affaan-m/ECC

## Install ECC > [!IMPORTANT] > ECC 2.2 includes guided package setup for Claude Code, Codex, and Kimi Code. > The universal package requires Node.js 18 or newer. Claude plugin setup also > requires Git and Claude Code 2.1 or newer on `PATH`. ### Recommended: universal guided setup For Claude Code plugin setup, updates, scope changes, and hook-profile changes: ```bash npx ecc-universal@2.2.3 setup ``` #### Windows first-time walkthrough If you are new to command-line tools, use this copy-and-paste path: 1. Install Node.js 18 or newer, Git, and Claude Code. 2. Open **PowerShell** from the Windows Start menu. 3. Confirm that each prerequisite is available: ```powershell node --version git --version claude --version ``` 4. Run the guided installer: ```powershell npx ecc-universal@2.2.3 setup ``` 5. For a typical personal setup, choose **Global user**, choose **Standard** hooks, and confirm. 6. Start a new Claude Code session and run `/plugin list` to verify that `ecc@ecc` is enabled. 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: ```bash npm view ecc-universal version ``` ECC 2.2 supports the same guided setup through modern package runners: | Package runner | Guided setup command | |---|---| | 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` | The examples select [the published ECC 2.2.3 release](https://www.npmjs.com/package/ecc-universal/v/2.2.3), matching this repository's release version. A version pin is not a security audit or an integrity check. Review the release source and registry integrity before running package code; use a reviewed checkout for unreleased changes. Yarn Classic 1 does not provide `yarn dlx`; use `npx`, install the package globally, or upgrade Yarn for a temporary one-shot run. The wizard inventories the official marketplace and every native Claude install scope before making changes, then installs, updates, or safely moves `ecc@ecc` to the scope you choose. Rerun the same command whenever you want to update ECC, change scope, or change its hook profile. This setup wizard currently configures the Claude Code plugin; use the multi-harness wizard below for Codex or Kimi Code. To configure more than one coding agent in one reviewed flow, use the multi-harness wizard: ```bash npx ecc-universal@2.2.3 install --guided ``` It lets you select any combination of Claude Code, Codex, and Kimi Code, shows each install channel and destination, preflights every selection before the first write, and asks for one final confirmation. | Harness | Guided install behavior | |---|---| | 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 | For automation, make every provider-specific choice explicit: ```bash npx ecc-universal@2.2.3 install --guided \ --harness claude --harness codex --harness kimi \ --claude-scope local --claude-hooks standard \ --profile core --yes ``` Verify the native guided Codex path and managed Kimi path without writing first: ```bash npx ecc-universal@2.2.3 install --guided --harness codex --dry-run npx ecc-universal@2.2.3 install --profile core --target kimi --dry-run ``` Additional package-name commands are also available through the 2.2 alias: ```bash npx ecc-universal@2.2.3 consult "security reviews" --target claude npx ecc-universal@2.2.3 install --profile minimal --target claude --with capability:machine-learning npx ecc-universal@2.2.3 doctor --target kimi ``` Do not use `npx ecc-install --profile minimal --target claude`: `ecc-install` is a binary name inside `ecc-universal`, not a separately published npm package. ECC also ships advanced managed adapters for `cursor`, `antigravity`, `gemini`, `opencode`, `codebuddy`, `joycode`, `qwen`, `zed`, `hermes`, and `openclaw`. Those targets still use their documented `ecc install --target ...` paths until each adapter has passed the guided collision, update, repair, and uninstall lifecycle matrix. Neither wizard silently installs into every detected harness. ### Pick one path only (per harness) You can use ECC with Claude Code, Codex, and other harnesses at the same time. Choose one install method for each harness: - **Recommended default:** run the guided Claude plugin setup above - **Also supported for Claude Code:** use the [native plugin commands](#claude-code-details) - **Available in release 2.2:** guided package setup for Claude Code, Codex, and Kimi Code - **Works:** Claude Code plugin + Codex native plugin - **Works:** Claude Code plugin + the legacy Codex sync flow - **Avoid:** Claude Code plugin + full Claude manual install - **Avoid:** Codex sync + Codex marketplace plugin **Do not stack install methods.** Installing ECC twice into the same harness can duplicate skills, commands, hooks, or configuration; installing it once into multiple harnesses does not. If you already layered multiple installs and things look duplicated, skip straight to [Reset / Uninstall ECC](#reset--uninstall-ecc). **Install trouble?** Open the short [install or runtime problem form](https://github.com/affaan-m/ECC/issues/new?template=install-problem.yml), or run `ecc feedback`. ECC never uploads diagnostics automatically. ### Claude Code details Alternatively, run Claude Code's native plugin commands inside Claude Code: ```text /plugin marketplace add https://github.com/affaan-m/ECC /plugin install ecc@ecc ``` The native path installs ECC's skills, agents, commands, and plugin-managed hooks. If you choose it, stop there. Do not also run a full manual install into Claude Code. Claude Code owns these built-in commands, including their errors when a marketplace, plugin, or conflicting scope already exists. ECC cannot intercept that parser. If either native command reports an existing install or scope conflict, use the 2.2 guided setup or resolve the conflicting Claude plugin scope before retrying; do not layer a manual install on top. After ECC is installed, `/ecc:configure-ecc` is the namespaced in-Claude reconfiguration skill. It delegates to the same safe setup flow, but it is available only after the plugin is installed and cannot replace Claude Code's built-in `/plugin` command during a first install. Claude Code plugins cannot distribute `rules`, so add only the rule packs you actually want: ```bash git clone https://github.com/affaan-m/ECC.git cd ECC mkdir -p ~/.claude/rules/ecc cp -R rules/common ~/.claude/rules/ecc/ cp -R rules/typescript ~/.claude/rules/ecc/ # replace with your stack ``` Start with `rules/common` plus one language or framework pack you actually use. If you install the plugin, do not run `./install.sh --profile full` afterward. Prefer settings.json? Add the marketplace declaratively Add directly to your `~/.claude/settings.json`: ```json { "extraKnownMarketplaces": { "ecc": { "source": { "source": "github", "repo": "affaan-m/ECC" } } }, "enabledPlugins": { "ecc@ecc": true } } ``` This gives you the same result as the two `/plugin` commands above. Naming + migration note (ecc@ecc, affaan-m/ECC, ecc-universal) ECC has three public identifiers, and they are not interchangeable

原始来源:https://github.com/affaan-m/ECC#readme