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 setupis the guided Claude plugin route; this walkthrough uses the manualinstallroute 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
minimalprofile (rules, agents, commands, platform configs, quality workflow) deliberately excludes the hook runtime;coreadds it;developer,security,researchandfulladd 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-hooksor--no-hooks. - Preview before you write:
--dry-runshows the plan, andnode scripts/ecc.js consult "security reviews" --target claudesuggests components for a need. - Tune hooks at runtime with environment variables such as
ECC_HOOK_PROFILEandECC_DISABLED_HOOKSinstead 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-hookscannot be combined with an explicithooks-runtimemodule selection; the installer rejects it.- Do not paste the repo's
hooks/hooks.jsoninto~/.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-universalandecc-agentshieldnpm packages, the GitHub App,ecc.tools); it warns that mirrors may contain malware.