ECC: AI Agent Optimization for Claude Code
ECC is an MIT-licensed toolkit that installs into Claude Code, Codex, and other AI coding harnesses, adding a structured plan-test-review-verify workflow plus 68 agents and 284 skills. Reach for it if you work in Claude Code or Codex and want that workflow enforced automatically instead of retyping it each prompt; skip it if your harness only gets a capability-limited adapter, since the README warns against assuming feature parity.
Enhancing AI Coding Agents with ECC
ECC is a system installed into an AI coding agent harness such as Claude Code, Codex, Cursor, or OpenCode, layering on skills, agent instincts, memory, and security scanning around the model already running there. It replaces a plan-test-review routine you'd otherwise write into every prompt. Reach for it in Claude Code or Codex, where the README describes full support; treat other harnesses as partial until you check the support matrix.
Core Capabilities of the ECC System
- ✓68 agents built for jobs like planning, code review, fixing broken builds, security checks, architecture calls, and other domain-specific work, according to the README's own component table.
- ✓284 skills spread across categories such as TDD, security, research, documentation, frontend and data work, plus machine learning and day-to-day operations tasks.
- ✓94 legacy command shims stick around as ECC's command surface shifts toward being skills-first.
- ✓AgentShield scans more than the code an agent writes: it checks prompts, hooks, permission settings, secrets, MCP configuration, and the agent definition files themselves.
- ✓A hooks-and-memory runtime handles enforcement, session summaries, continuous learning, and context controls, separate from the always-loaded rule packs.
- ✓Rule packs are opt-in per language or project instead of one fixed bundle, so you load only the standards you actually use.
- ✓Routes through whatever model configuration the host harness already has, so a custom API endpoint or self-hosted model behind ANTHROPIC_BASE_URL works without changing ECC's own workflows.
Who Benefits from ECC?
Developers who already run Claude Code or Codex daily and want the plan, test, review, and verify loop enforced without re-explaining it every session get the most out of ECC; its 68 agents and 284 skills are built around that repeated workflow. Teams evaluating multiple harnesses at once should read the platform support matrix first, since ECC's own README describes Cursor, Zed, Gemini, OpenCode, GitHub Copilot, Antigravity, and Qwen support as capability-limited adapters rather than full parity with Claude Code.
Installing ECC into Your AI Coding Harness
For Claude Code, the README's recommended path is two plugin commands: /plugin marketplace add https://github.com/affaan-m/ECC followed by /plugin install ecc@ecc. That single install brings in ECC's skill library, agent definitions, commands, and the hooks the plugin manages itself, and the README says to stop there rather than layering a manual install on top. A guided ecc-universal setup flow is planned for npm version 2.2.0; the current release is 2.1.0 and doesn't include it yet, so the plugin commands are the documented route for now. Claude Code plugins can't ship rule packs, so rules are copied in separately: clone the repo, then copy rules/common plus one language pack (for example rules/typescript) into ~/.claude/rules/ecc. Codex users instead run codex plugin marketplace add affaan-m/ECC and codex plugin add ecc@ecc. Other harnesses, including Cursor, OpenCode, Gemini CLI, Zed, Antigravity, and Qwen, go through ./install.sh --profile minimal --target <harness> after cloning the repo, with OpenCode needing an extra npm install && npm run build:opencode step first. The README is explicit that legitimate installs only come from the GitHub repo itself, the ecc-universal and ecc-agentshield packages on npm, the GitHub App, the ecc@ecc plugin slug, and the ecc.tools site. It warns that third-party mirrors aren't reviewed and could carry malware.
Configuring ECC for Advanced Workflows
The /multi-plan, /multi-execute, /multi-backend, /multi-frontend, and /multi-workflow commands aren't part of the base plugin or rules install; they need the separate ccg-workflow runtime, started with npx ccg-workflow, which brings in dependencies like ~/.claude/bin/codeagent-wrapper. To route ECC through a custom model gateway or self-hosted model instead of Anthropic's hosted API, set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN before starting claude. The README says ECC doesn't hardcode Anthropic-hosted transport settings, and its hooks, skills, and rules don't care which provider is behind the claude CLI as long as the CLI itself is already working. MCP servers aren't auto-enabled on a plugin install either; pull the specific entries you need out of mcp-configs/mcp-servers.json and drop them into your own project-scoped .mcp.json, or use Claude Code's own /mcp command. ECC only bundles one default connector out of the box, chrome-devtools. If you're already running your own version of that connector, setting ECC_DISABLED_MCPS="chrome-devtools" tells ECC's install and sync flows to skip it rather than add a duplicate.
Strengths
- ✓MIT license keeps the underlying affaan-m/ECC repo free to self-install regardless of the paid ECC Pro tier.
- ✓node scripts/ecc.js consult "security reviews" --target claude lets you preview and pick components before committing to the full 68-agent, 284-skill install.
- ✓The README spells out which install combinations to avoid stacking, like a Claude Code plugin install alongside a full manual one, instead of leaving you to discover conflicts yourself.
- ✓Works behind a custom model gateway or self-hosted model: set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN and ECC's hooks and skills keep working once the claude CLI itself is connected.
- ✓A documented recovery path, list-installed then doctor then repair, for when your local Claude setup gets wiped, without needing to repurchase anything.
Platform Compatibility and Known Limitations
- △The README never spells out what the letters ECC stand for, and gives no version history, changelog, or founding date, so how mature or long-running the project actually is isn't clear from what's documented here.
- △Support is uneven across harnesses: only Claude Code and a Codex sync path are described as fully supported, while Cursor, Zed, Gemini, OpenCode, GitHub Copilot, Antigravity, and Qwen get what the README calls capability-limited adapters.
- △The guided ecc-universal npm setup isn't out yet. The README says it's coming in version 2.2.0, and the current npm release is 2.1.0, so npm users are on the plugin or script install path for now.
- △/multi-plan, /multi-execute, and the other multi-model commands don't work out of the box; they need the separate ccg-workflow runtime installed first via npx ccg-workflow.
- △The README describes ECC as shipped weekly by a single maintainer across 7 harnesses, worth weighing given how many integrations that one person is keeping current.
- △ECC Pro, a paid, hosted GitHub App from the same project built for private repositories, starts at $19/seat/mo per the README; the free tier only covers what you install and run yourself.
Exploring Alternatives for Agent Optimization
Common Questions About ECC
ECC is MIT-licensed and free to clone, install, and run yourself on open-source or private projects alike; only the hosted ECC Pro GitHub App for private repos carries a cost, starting at $19/seat/mo per the README.
affaan-m/ECC is the GitHub source repository, ecc@ecc is the Claude Code marketplace and plugin identifier, and ecc-universal is the separate npm package; the README says these three names are intentionally not interchangeable.
Per the README, Claude Code has full support today, Codex has an official sync path, and harnesses including Cursor, Zed, Gemini, OpenCode, GitHub Copilot, Antigravity, and Qwen get lighter, capability-limited adapters instead of the same feature set.
ECC can run behind a custom API endpoint or self-hosted model: for Claude Code, setting ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN routes traffic through your own gateway without changing ECC's workflows, per the README.
The README points to node scripts/ecc.js list-installed, then doctor, then repair, as the recovery sequence before reinstalling ECC; it notes that a wiped or reset Claude setup doesn't mean anything needs to be repurchased.
ECC Pro is a separate, paid product: a hosted GitHub App version built for private repositories, priced from $19/seat/mo per the README, while the open-source affaan-m/ECC repository stays MIT-licensed and free to self-install.
The problem it solves
An agent inside Claude Code or Codex can generate code on its own, but getting it to plan first, run tests, review its own diff from a clean context, and carry lessons into the next session usually means writing that scaffolding into your own CLAUDE.md or AGENTS.md file, project by project. ECC doesn't write code for you. It packages that plan-test-implement-review-verify-remember-improve sequence as an installable plugin, with 68 agents and 284 skills included, so a team doesn't rebuild the same rules and hooks in every repository it touches.
Best use cases
- •Standardizing a plan-test-review-verify loop across every Claude Code session instead of pasting the same instructions into CLAUDE.md each time.
- •Running the same agent workflow across both Claude Code and Codex, since ECC has a supported sync path for Codex alongside its native Claude Code plugin.
- •Auditing an existing agent setup for prompt, hook, MCP config, permission, and secret exposure with AgentShield before those files ship.
- •Picking a narrow slice of ECC, a handful of skills or one capability, through node scripts/ecc.js consult instead of installing the full 68-agent, 284-skill bundle.
Related repositories
Still deciding about ECC?
One click hands the question to an AI along with this page — see what it says about ECC.
