repowiserepowise

Command-line tool

affaan-m / ecc

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

★ 302,716stars on GitHubJavaScriptMIT

Repowise maps public repos from their source. Not affiliated with affaan-m. What is Repowise?

github.com/affaan-m/eccIndexed at d2ef268

What is ecc?

ecc is an agent harness performance optimization system for Claude Code, Codex, Opencode, Cursor and other agent harnesses. It installs skills, instincts, memory, security rules and research-first development workflows into each harness's own configuration. The core is written in JavaScript, with Python, Shell, TypeScript and Rust components. To install it, run git clone https://github.com/affaan-m/ecc.git and follow the steps below. Its code health is 5.7 out of 10 (Fair), ranked #200 of 4,000+ indexed repos. The last commit to ecc was on Oct 30, 2026, and 338 people have contributed.

As of commit d2ef268, indexed Nov 10, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsecc.md

Repo facts: type, license, health, rank, contributors
ecc facts
TypeCommand-line tool
LicenseMIT
Code health5.7 / 10 (Fair)
Health rank#200 of 4,000+ indexed repos
Last commitOct 30, 2026
Contributors338
Bus factor3
Size4,510 files, 345,925 lines

Install ecc

Commands copied from the README

  1. 1Clone the ecc repository.
    git clone https://github.com/affaan-m/ecc.git
  2. 2Move into the ecc folder.
    cd ecc
  3. 3Run the guided universal setup, which handles Claude Code plugin setup, updates, scope changes, and hook-profile changes.
    npx ecc-universal@2.2.3 setup
  4. 4From a source checkout, install the hook runtime for Claude Code and enable its hooks.
    bash ./install.sh --target claude --modules hooks-runtime --enable-hooks
  5. 5Install the full profile for GitHub Copilot, which writes files only under the .github directory.
    ./install.sh --profile full --target copilot

Releases on GitHub (latest v2.2.3, Oct 1, 2026)

Full install notes on GitHub

Explore ecc

Ask about this code in your agent

This connects Repowise to ecc's code. It does not install ecc. To install ecc, use the install steps.

Useful if you want to change or fork ecc: your agent can ask how it is put together and get answers that cite its files.

Show the connect command (Claude Code, Cursor, Codex, VS Code)

Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/affaan-m/ecc
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

This repo is public, so anyone with a free Repowise account can connect.

Try asking

  • get_risk(["scripts/ci/validate-carrier-closure.js"])
  • get_answer("how is ecc put together?")
  • get_why("why is ecc structured this way?")

Ask about ecc

Answers come from ecc's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

ecc is an agent harness performance optimization system that installs skills, instincts, memory, security rules, and research-first development workflows into the configuration of harnesses such as Claude Code, Codex, Opencode, and Cursor. Its core is written in JavaScript, with Python, Shell, TypeScript, and Rust components, and the repository holds 4510 files. Installation begins with install.sh or scripts/ecc.js, which copies files into the chosen harness, uses the --target option to pick a harness and --modules to choose parts, and records what it placed in an install-state file. The skills directory holds the skill packages copied into a harness, .opencode/index.ts is the OpenCode plugin entry point, and hooks/hooks.json defines the Claude Code hooks that are registered in settings.json with --enable-hooks. By file count, the largest layers are Docs & Tooling with 2388 files and Application with 747, followed by Config with 464, Service with 184, and CLI with 144, while Types and Utility hold 17 and 12 files. To start reading, open install.sh or scripts/ecc.js to see how installation works, then the skills directory and hooks/hooks.json, and note that the ecc2 directory is a separate Rust package whose main.rs starts a terminal dashboard.

Files per layer in ecc7 layers.

Basis: Inferred · knowledge graph· as of d2ef268

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of affaan-m/ecc from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

affaan-m/ecc FAQ

What is ecc?

ecc is an agent harness performance optimization system for Claude Code, Codex, Opencode, Cursor and other harnesses. It provides skills, instincts, memory, security rules and research-first development workflows.

How does ecc work?

ecc copies its skills, hooks and plugin files into a harness's configuration through install.sh or scripts/ecc.js. It records what it installed so that later repair or uninstall commands only touch files it owns.

What language is ecc written in?

ecc is primarily written in JavaScript. Its repository also includes Python, Shell, TypeScript and Rust files.

How is the ecc code organized?

ecc's code is split into 21 modules, including skills, scripts, tests, docker, src and ecc2. The ecc2 directory is a Rust package, and the skills directory holds the skill packages.

Who is ecc for?

ecc is for users of agent harnesses such as Claude Code, Codex, Opencode and Cursor. It adds skills, hooks, memory and security rules to those harnesses.

What license does ecc use?

ecc uses the MIT license, identified as MIT. The license applies to the open-source repository.

Code health

5.7out of 10Fair

Hotspots average 3.6, the place fixes pay off most.

On the leaderboards:#18 of 20 JavaScript repos

Key features of ecc

  • Guided, manifest-driven setup for Claude Code, Codex, and Kimi Code, with doctor, repair, and uninstall commands.
  • Install-state tracking so ECC only removes files it recorded during installation.
  • A hook runtime installer that registers hook entries in Claude settings without duplicating existing user hooks.
  • An OpenCode plugin module that provides hooks, events, and plugin tools.
  • A copilot install target that places skills and agents under the .github directory.
  • A unified memory vault accessed through the ecc memory command.

How affaan-m/ecc works

Installation starts with the install.sh script or scripts/ecc.js, which copies files into the chosen harness and records what it placed in an install-state file. The --target option selects a harness such as claude or copilot, and --modules chooses which parts are installed. The skills directory holds the skill packages that get copied into a harness. For OpenCode, .opencode/index.ts is the plugin entry point, and the npm package ecc-universal exposes the same plugin module. hooks/hooks.json defines the Claude Code hooks, which the hook runtime registers in settings.json when installed with --enable-hooks. The ecc2 directory is a separate Rust package whose main.rs file starts a terminal dashboard.

The codebase has 4,510 files and 16,190 symbols in 21 modules, led by JavaScript, Python and Shell. Code health is 5.7 out of 10, rated fair.