affaan-m/ECC · 317k stars · Intermediate · 12 min · 2026-12-05

Install only the agent-harness pieces you need with ECC

ECC is an MIT-licensed bundle of skills, agents, commands, rules and hooks for Claude Code, Codex, Cursor and more; its manifest-driven installer lets you preview a plan, pick a profile, keep hooks off, and undo everything cleanly.

TL;DR

ECC packages skills, agents, slash commands, rules and runtime hooks for several coding-agent harnesses. The catalog is huge, so the useful skill is installing a small slice. Preview a plan with --dry-run, choose a profile such as minimal, and decide explicitly about hooks. Then use doctor and uninstall to keep the install clean.

Why this repo matters

The repo's GitHub description calls ECC an "agent harness performance optimization system": skills, instincts, memory, security and research-first development for Claude Code, Codex, OpenCode, Cursor and beyond. Dropping a whole catalog into ~/.claude would flood your agent's context. ECC's answer is a set of manifests (manifests/install-profiles.json, install-modules.json, install-components.json) and an installer that resolves your choice into a plan before it touches anything. It also records what it installed, so reset and uninstall only touch ECC-owned files.

Best practices

  • Requirements per the README: Node.js 18+ for the universal package, plus Git and Claude Code 2.1+ for the plugin path. npx ecc-universal@2.2.3 setup is the guided Claude plugin route; this walkthrough uses the manual install route instead, so pick one and do not stack them.
  • Pick one install path per harness. The README says to avoid stacking the Claude plugin with a full manual Claude install, because that can duplicate skills, commands and hooks.
  • Start small. The minimal profile (rules, agents, commands, platform configs, quality workflow) deliberately excludes the hook runtime; core adds it; developer, security, research and full add more modules.
  • Treat hooks as a separate decision. Any real (non-dry-run) install that would materialize the hook runtime stops until you pass --enable-hooks or --no-hooks.
  • Preview before you write: --dry-run shows the plan, and node scripts/ecc.js consult "security reviews" --target claude suggests components for a need.
  • Tune hooks at runtime with environment variables such as ECC_HOOK_PROFILE and ECC_DISABLED_HOOKS instead of editing files.

How-to

Where do I start?

1. Preview a minimal install

"Can I see what it will do first?" Yes. From a clone (or the npm package), run a dry run:

./install.sh --profile minimal --target claude --dry-run

In a run against a checkout at commit 4adeee6, this printed the target root, the install-state path (~/.claude/ecc/install-state.json) and the full operation list without writing files. The plan listed seven selected modules even though the profile names five, because dependencies such as skill-unified-memory and shared-script-utils are pulled in.

Next: install it

Try it

In a throwaway clone, run ./install.sh --profile minimal --target claude --dry-run and note the number of selected modules. Then run ./install.sh --profile core --target claude --dry-run plus --no-hooks and compare the Selected modules and Excluded modules lines. Finally run node scripts/ecc.js consult "security reviews" --target claude and note which components it suggests.

Pitfalls

  • --no-hooks cannot be combined with an explicit hooks-runtime module selection; the installer rejects it.
  • Do not paste the repo's hooks/hooks.json into ~/.claude/settings.json; the hooks README says to go through the installer so commands are rewritten against your Claude root.
  • Stacking install methods (plugin plus manual install, or Codex sync plus marketplace plugin) can duplicate content; if it happens, follow the README's cleanup order and reinstall once.
  • Install ECC only from the official sources the README lists (the GitHub repo, the ecc-universal and ecc-agentshield npm packages, the GitHub App, ecc.tools); it warns that mirrors may contain malware.

Next steps