Skip to content
/

ECC (Everything Claude Code)

ecc-affaan · affaan-m/ECC · ★ 193k · last commit 2026-05-25

Primitive shape 392 total
Commands 76 Skills 246 Subagents 61 Hooks 9
00

Summary

ECC (affaan-m) — Summary

ECC (Everything Claude Code) by affaan-m is the most comprehensive multi-tool agent harness in this batch with 193,231 stars — the top-starred framework overall. It ships 61 agents, 246 skills, 76 legacy command shims, a Tkinter desktop dashboard (ecc_dashboard.py), a Rust control-plane prototype (ecc2/), a SQLite state store, a manifest-driven selective installer (install-plan.js/install-apply.js), hooks for PreToolUse/PreCompact/SessionStart/Stop events, a security scanner integration (AgentShield), PM2-based multi-agent orchestration, Git worktree parallelization, and a GitHub App (ecc-tools) with a $19/seat/mo Pro tier. It targets 8 AI tools: Claude Code, Codex, Cursor, OpenCode, Gemini, Zed, GitHub Copilot, and more. The self-description as "harness-native operator system" and the "harness performance optimization system" branding make this the most explicit meta-commentary on harness engineering in the catalog. Differs from seeds: dwarfs all seeds in scale — 246 skills vs superpowers' 14, 61 agents vs BMAD's 6. Most closely resembles claude-flow (Archetype 3: MCP-anchored, hive-mind, multi-agent) in architecture ambition but delivers value primarily through the skills/agents layer (Archetype 1) rather than an MCP server. The ECC v2.0 Rust control plane in ecc2/ represents an emerging Archetype 5 (dedicated runtime) trajectory.

01

Overview

ECC (affaan-m) — Overview

Origin

GitHub: https://github.com/affaan-m/ECC
Stars: 193,231
License: MIT
Language: JavaScript (primary), Shell, TypeScript, Python, Go, Java, Perl
Last commit: 2026-05-25
npm packages: ecc-universal, ecc-agentshield
GitHub App: ecc-tools (150 installs, $19/seat/mo Pro tier)
Anthropic Hackathon Winner

Philosophy

From README:

"The harness-native operator system for agentic work. Not just configs. A complete system: skills, instincts, memory optimization, continuous learning, security scanning, and research-first development. Production-ready agents, skills, hooks, rules, MCP configurations, and legacy command shims evolved over 10+ months of intensive daily use building real products."

"Works across Claude Code, Codex, Cursor, OpenCode, Gemini, Zed, GitHub Copilot, and other AI agent harnesses."

Key Milestones (from changelog)

  • v1.8.0 "Harness-first release" — explicit rebranding as harness performance system
  • v1.9.0 — Selective install architecture with manifest-driven pipeline
  • v2.0.0-rc.1 — ECC 2.0 alpha Rust control plane (ecc2/), dashboard GUI, operator workflows

Key Design Decisions

  1. Never stack install methods: plugin install + manual installer = broken setup.
  2. Selective install: manifest-driven pipeline installs only what you need.
  3. OSS stays free: MIT-licensed forever; Pro is the GitHub App for private repos.
  4. Hook profiles: ECC_HOOK_PROFILE=minimal|standard|strict and ECC_DISABLED_HOOKS for runtime gating.
  5. Instinct-based continuous learning: session observations → instinct files → skill evolution.
  6. Cross-harness parity: consistent behavior across 7+ AI tools.
02

Architecture

ECC (affaan-m) — Architecture

Distribution

Multiple paths (NEVER stack):

# Primary path (Claude Code plugin)
/plugin marketplace add https://github.com/affaan-m/ECC
/plugin install ecc@ecc

# Manual install (fallback, do not combine with plugin)
./install.sh --profile full
.\install.ps1 --profile full
npx ecc-install --profile full

# Selective component install
npx ecc consult "security reviews" --target claude
npx ecc install --profile minimal --target claude --with capability:security

# Rules only (after plugin install)
cp -R rules/common ~/.claude/rules/ecc/
cp -R rules/typescript ~/.claude/rules/ecc/

Directory Tree (selected)

ECC/
├── .agents/                 # Agent definitions (61)
├── .claude-plugin/          # Claude Code plugin manifest
├── .claude/                 # Claude Code settings
├── .codex-plugin/           # Codex plugin
├── .codex/                  # Codex settings
├── .cursor/                 # Cursor settings
├── .gemini/                 # Gemini settings
├── .opencode/               # OpenCode settings
├── .kiro/                   # Kiro settings
├── agents/                  # Agent markdown files (61)
├── commands/                # Legacy commands (76 shims)
├── contexts/                # Context files
├── ecc2/                    # Rust control plane (alpha)
├── hooks/
│   ├── hooks.json           # Hook definitions
│   └── memory-persistence/  # Session memory persistence scripts
├── integrations/            # Tool integrations
├── manifests/               # Install manifests
├── mcp-configs/             # MCP server configurations
├── plugins/                 # Plugin system
├── rules/
│   ├── common/              # Common rules
│   ├── typescript/          # TypeScript rules
│   ├── python/              # Python rules
│   ├── golang/              # Go rules
│   ├── java/                # Java rules
│   ├── php/                 # PHP rules
│   ├── perl/                # Perl rules
│   ├── kotlin/              # Kotlin rules
│   ├── cpp/                 # C++ rules
│   └── rust/                # Rust rules
├── scripts/                 # Build and lifecycle scripts
├── skills/                  # 246 skills
├── src/                     # Source code
├── ecc_dashboard.py         # Tkinter desktop dashboard
├── SOUL.md                  # Agent identity
├── RULES.md                 # Core rules
└── WORKING-CONTEXT.md       # Session context

Required Runtime

  • Node.js (for installer and hooks)
  • Python (for dashboard and scripts)
  • Rust (for ecc2/ — alpha only)

Supported Tools

Claude Code, Codex CLI, Codex app, Cursor, OpenCode, Gemini CLI, Zed, GitHub Copilot

03

Components

ECC (affaan-m) — Components

Skills (246)

Organized by domain. Selected highlights:

Category Examples
Core workflow agentic-engineering, ai-first-engineering, blueprint, configure-ecc
Security autonomous-agent-harness, agentic-os
Frontend angular-developer, compose-multiplatform-patterns
Backend backend-patterns, nestjs-patterns, cisco-ios-patterns
Harness agent-harness-construction, autonomous-loops
Research benchmark, benchmark-optimization-loop, parallel-execution-optimizer
Operator brand-voice, customer-billing-ops, ecc-tools-cost-audit, workspace-surface-audit
Prediction markets ito-market-intelligence, prediction-market-oracle-research
Media manim-video, remotion-video-creation
(206 more)

Agents (61)

Category Examples
Language reviewers typescript-reviewer, java-reviewer, kotlin-reviewer
Build resolvers pytorch-build-resolver, java-build-resolver
Domain agents claude-devfleet, accessibility, android-clean-architecture

Commands (76 legacy shims)

Maintained for backward compatibility — route to new skill equivalents.

New harness commands (v1.8.0+):

  • /harness-audit
  • /loop-start
  • /loop-status
  • /quality-gate
  • /model-route
  • /ecc:plan (namespaced form for plugin install)

PM2 commands (v1.4.0+):

  • /pm2
  • /multi-plan
  • /multi-execute
  • /multi-backend
  • /multi-frontend
  • /multi-workflow

Hooks (multiple per event)

Events covered:

  • PreToolUse (Bash, Write, Edit, MultiEdit, *)
  • PreCompact
  • SessionStart (root fallback)
  • Stop (session summaries)

Hook profiles: ECC_HOOK_PROFILE=minimal|standard|strict

Specific hooks:

  • pre:bash:dispatcher — quality, tmux, push, GateGuard checks
  • pre:write:doc-file-warning — non-standard documentation file warning
  • pre:edit-write:suggest-compact — suggest manual compaction at intervals
  • pre:observe:continuous-learning — capture tool use for continuous learning (async)
  • pre:governance-capture — secrets/policy violation detection
  • pre:config-protection — block modifications to linter/formatter config
  • pre:mcp-health-check — MCP server health before execution
  • pre:edit-write:gateguard-fact-force — block first Edit per file, demand investigation

Rules (10 language packs)

common, typescript, python, golang, java, php, perl, kotlin, cpp, rust

MCP Configurations

.mcp.json — pre-configured MCP server references

Dashboard (Tkinter)

ecc_dashboard.py — Python Tkinter desktop app:

  • Dark/light theme toggle
  • Font customization
  • Agent and skill catalog browser
  • Session management

Rust Control Plane (alpha, ecc2/)

Commands: dashboard, start, sessions, status, stop, resume, daemon

05

Prompts

ECC (affaan-m) — Prompts

Excerpt 1: agentic-engineering skill

Technique: Model-routing decision table embedded in skill

## Model Routing

- Haiku: classification, boilerplate transforms, narrow edits
- Sonnet: implementation and refactors
- Opus: architecture, root-cause analysis, multi-file invariants

This codifies a three-tier model routing policy as an agent behavior guideline.

Excerpt 2: autonomous-agent-harness skill — safety boundary

Technique: Explicit capability-scoping before autonomous operation

## Consent and Safety Boundaries

Autonomous operation must be explicitly requested and scoped by the user. Do not create schedules, dispatch remote agents, write persistent memory, use computer control, post externally, modify third-party resources, or act on private communications unless the user has approved that capability and the target workspace for the current setup.

Prefer dry-run plans and local queue files before enabling recurring or event-driven actions.

Excerpt 3: hooks.json — GateGuard fact-force hook

Technique: First-access gate forcing investigation before mutation

{
  "description": "Fact-forcing gate: block first Edit/Write/MultiEdit per file and demand investigation (importers, data schemas, user instruction) before allowing",
  "id": "pre:edit-write:gateguard-fact-force",
  "matcher": "Edit|Write|MultiEdit",
  "timeout": 5
}

Excerpt 4: hooks.json — config protection hook

Technique: Targeted prohibition with behavior-steering rationale

{
  "description": "Block modifications to linter/formatter config files. Steers agent to fix code instead of weakening configs.",
  "id": "pre:config-protection"
}
09

Uniqueness

ECC (affaan-m) — Uniqueness

differs_from_seeds

Dwarfs all seeds in scale: 246 skills vs superpowers' 14, 61 agents vs BMAD's 6. Primarily resembles superpowers (Archetype 1: skills-only behavioral framework) in daily operation but adds hooks, multi-model routing, PM2 orchestration, worktree isolation, desktop dashboard, Rust control plane, and a commercial GitHub App tier — making it an everything-included harness rather than a pure behavioral framework. The continuous learning via instinct files (extracting patterns from session observations) is closest in spirit to hermes-agent's learning loop but implemented as hooks rather than autonomous skill creation. The ecc2/ Rust control plane represents an emerging Archetype 5 (closed runtime) trajectory. Explicitly self-identifies the revfactory-harness as an L2 co-existing tool, positioning itself in a multi-framework ecosystem.

Most Distinctive Features

  1. Scale: 246 skills + 61 agents is the largest skill/agent corpus in the catalog.
  2. Cross-harness parity: consistent behavior across 8 AI tools — the only framework targeting this breadth.
  3. Continuous learning via hooks: pre:observe hook extracts patterns asynchronously.
  4. GateGuard: first-edit-per-file blocking pending investigation — unique enforcement pattern.
  5. ecc2 Rust alpha: background daemon mode via Rust control plane — trajectory toward standalone runtime.
  6. Commercial GitHub App: PR audit as SaaS product on top of OSS foundation.

Observable Failure Modes

  1. Install complexity: "do not stack install methods" is a prominent warning — broken setups are common enough to warrant a repair command.
  2. Observer loop re-entrancy: explicitly documented and defended against (5-layer guard in v1.9.0) — indicates real-world instability in hook execution.
  3. Token overhead: 246 skills with auto-activation triggers could fire many skills per session.
  4. Drift risk: 61 agents × 246 skills = 307 primitives to maintain; catalog count enforcement test exists but may not prevent semantic drift.
04

Workflow

ECC (affaan-m) — Workflow

Install Workflow

1. Choose ONE install path (plugin OR manual, never stack)
2. Plugin path: /plugin install ecc@ecc, then manually copy desired rules/
3. Manual path: ./install.sh --profile [minimal|core|full]
4. If broken: node scripts/ecc.js doctor + node scripts/ecc.js repair

Daily Workflow (skills-driven)

Skills are the primary surface. No mandatory phase sequence — skills auto-activate or are explicitly invoked.

Selected workflow patterns:

Pattern Skills/Commands Description
Harness audit /harness-audit Scores harness health
Loop control /loop-start, /loop-status Continuous agent loop
Quality gate /quality-gate Pre-completion check
Model routing /model-route Route tasks to appropriate model tier
PM2 multi-service /pm2, /multi-plan, /multi-execute Complex multi-service workflows
Continuous learning observe-runner.js (hook) Auto-extract patterns to instinct files
Security /security-scan (AgentShield) 1282 tests, 102 rules

ECC Operator Status

ecc status --markdown --write status.md — portable handoff with:

  • readiness, active sessions, skill-run health
  • install health, pending governance events
  • linked work items from Linear/GitHub

Approval Gates

  • pre:governance-capture hook captures secrets and policy violations
  • pre:edit-write:gateguard-fact-force blocks first edit per file pending investigation
  • /quality-gate skill for explicit pre-completion check
  • Hook profile (strict) enables all gates; minimal disables most
06

Memory Context

ECC (affaan-m) — Memory & Context

State Storage

  • SQLite state store (v1.9.0+): session adapters, query CLI, skill evolution tracking
  • WORKING-CONTEXT.md — session working context
  • SOUL.md — agent identity (persistent)
  • ~/.claude/ memory directory (Claude Code native)
  • hooks/memory-persistence/ — SessionStart/Stop hooks for save/load memory

Memory Type

Hybrid: file-based (SOUL.md, WORKING-CONTEXT.md, skill files) + SQLite (session tracking, install state).

Continuous Learning

The pre:observe:continuous-learning hook captures tool use observations asynchronously. Observations are extracted into instinct files with confidence scoring via /instinct-import. Skills evolve over time based on instinct data.

Install State

The manifest-driven installer tracks what's installed in the SQLite state store. node scripts/ecc.js list-installed shows current state; doctor and repair restore ECC-managed files.

Context Compaction

pre:edit-write:suggest-compact hook suggests manual compaction at logical intervals (standard and strict hook profiles). The pre:observe:continuous-learning has throttling and tail sampling to prevent memory explosion.

Cross-Session

SessionStart hook restores memory from previous session. Stop-phase hook writes session summaries.

07

Orchestration

ECC (affaan-m) — Orchestration

Multi-Agent

Yes. 61 named agents. PM2-based multi-service orchestration with 6 commands (/pm2, /multi-plan, /multi-execute, /multi-backend, /multi-frontend, /multi-workflow). Git worktree parallelization (the "cascade method").

Orchestration Pattern

Multiple patterns available:

  • parallel-fan-out via git worktrees and Claude Code's Task tool
  • hierarchical via PM2 multi-agent with dedicated frontend/backend/workflow agents
  • task-decomposition-tree via harness-plan skills

Isolation Mechanism

git-worktree (the cascade method for parallel instances).

Multi-Model

Yes. Three-tier routing codified in agentic-engineering skill:

  • Haiku: classification, boilerplate, narrow edits
  • Sonnet: implementation, refactors
  • Opus: architecture, root-cause, multi-file invariants

NanoClaw v2 also provides model routing.

Execution Mode

Interactive-loop (primary), with daemon capability via ecc2/ alpha (ecc daemon).

Cross-Tool Portability

High: targets 8 AI tools with dedicated config directories for each.

Observer Reliability

v1.9.0 fixed memory explosion with throttling and tail sampling, added sandbox access fix, lazy-start logic, and re-entrancy guard (5-layer guard against observer loop prevention).

08

Ui Cli Surface

ECC (affaan-m) — UI & CLI Surface

Dedicated CLI Binaries

Multiple:

  • npx ecc consult — component advisor
  • npx ecc install — selective installer
  • node scripts/ecc.js — lifecycle manager (list-installed, doctor, repair, uninstall)
  • ecc2 (alpha) — Rust control plane

Not thin wrappers — the installer and ecc2 are independent runtimes.

ecc2 Rust Control Plane (alpha)

Binary: ecc (from ecc2/)

Subcommand Purpose
ecc dashboard Launch dashboard
ecc start Start agent session
ecc sessions List sessions
ecc status System status
ecc stop Stop session
ecc resume Resume session
ecc daemon Background daemon mode
ecc status --markdown --write status.md Write portable status handoff
ecc work-items upsert Manual work item entry
ecc work-items sync-github --repo owner/repo Sync GitHub PRs/issues
ecc status --exit-code Fail automation when readiness needs attention

Local UI

Desktop Dashboard (Tkinter)

  • Type: desktop-app
  • Stack: Python Tkinter
  • Entry: ecc_dashboard.py or npm run dashboard
  • Features: dark/light theme toggle, font customization, project logo, agent/skill catalog browser, session management

Slash Commands (Claude Code)

Plugin form: /ecc:plan (namespaced)
Manual install form: /plan (short form)

New harness commands: /harness-audit, /loop-start, /loop-status, /quality-gate, /model-route

Observability

  • ecc status — readiness, session health, skill health, install health
  • pre:observe:continuous-learning hook — async observation capture
  • Hook profile env vars (ECC_HOOK_PROFILE, ECC_DISABLED_HOOKS)
  • 997 internal tests (v1.8.0), 19 test failure fixes (v1.9.0)

GitHub App

ecc-tools GitHub App: PR audits, free tier, $19/seat/mo Pro for private repos.

Related frameworks

same archetype · same primary tool · same memory type

Spec Kit ★ 106k

Turns a natural-language feature description into a complete, versioned, AI-executable specification pipeline installable for 30+…

OpenSpec ★ 51k

Adds a lightweight spec layer so AI coding assistants and humans agree on what to build before any code is written.

Gemini CLI (Google) ★ 105k

Bring the full power of Gemini into the terminal with a free tier, Google Search grounding, and extensible MCP support.

OpenAI Codex CLI ★ 86k

Give developers a sandboxed, locally-running OpenAI coding agent with approval gates and skill orchestration.

cursorrules v5 (kinopeee) ★ 1.1k

Bilingual (ja/en) Cursor rule set with tricolor task classification, security-first prompt injection defense, and structured git…

windsurfrules v5 (kinopeee) ★ 364

Windsurf/Antigravity port of cursorrules v5 — same tricolor task classification and injection defense, translated to Windsurf's…