Catalog
affaan-m/configure-ecc

affaan-m

configure-ecc

Guide ECC installation, update, or reconfiguration from inside Claude Code, Codex, or Kimi while respecting each harness's real plugin, scope, and hook capabilities.

NewUpdated Sep 9, 2026

Configure Everything Claude Code

Run a conversational wizard inside the current harness. Inventory first, collect only supported choices, preview, confirm once, apply non-interactively, verify, and show the welcome only after success. Never clone ECC into a temporary directory or copy plugin components by hand.

For a human-operated terminal, the canonical entry points are ecc setup and npx ecc-universal setup. Inside a harness, use the explicit non-interactive commands below instead.

Route by the current harness

  • In Claude Code, use the full scope-and-hook wizard below.
  • In Codex, use Codex's native plugin lifecycle. Do not offer Claude scopes or map ECC's four Claude hook profiles onto Codex.
  • In Kimi, install the project surface under ./.kimi-code. Kimi does not provide ECC's Claude lifecycle-hook profiles.
  • If the harness is uncertain, state the detected evidence and ask which harness to configure before running a mutating command.

This skill is a post-install reconfiguration path. It cannot intercept or replace a provider's built-in first-install UI.

Claude Code: run the full conversational wizard

1. Inventory without changing anything

Run both commands and summarize the installed ECC scope, enabled state, and marketplace source:

claude plugin list --json
claude plugin marketplace list --json

Treat a single existing ecc@ecc installation as a reconfiguration. Do not interpret Claude's provider-owned "Open home page" control as installation evidence. Stop and report the recovery returned by setup for multiple ECC scopes, a legacy/manual install, malformed settings, or a marketplace collision; never guess which state to delete.

2. Collect exactly two choices

Ask exactly one scope question and require one value:

  • user | project | local
  • user is global for this user.
  • project is shared through repository settings.
  • local is private to the current project.

Visually mark only the selected scope as selected or installing. If the user chooses a different scope from a single existing install, describe it as a scope migration and include --move-scope in the commands below.

Ask exactly one hook-mode question and require one value:

  • off | minimal | standard | strict
  • off keeps skills and commands but disables ECC hook automation.
  • minimal enables the lightest lifecycle and safety automation.
  • standard balances quality and safety automation.
  • strict enables the strongest checks and reminders.

Hook preference is personal Claude plugin configuration; it does not follow the selected install scope.

3. Preview and confirm once

Prefer the plugin-bundled setup script. Substitute the two selected values and include --move-scope only for a scope migration:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

If $CLAUDE_PLUGIN_ROOT is unavailable, use the published npm package:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

Show exactly one confirmation summary containing the planned action, one scope, one hook mode, marketplace action, and any source-to-destination migration. Ask one yes/no question. Do not run a bare interactive ecc setup through a harness shell tool because that shell is commonly non-TTY.

4. Apply the explicit choices

After confirmation, rerun the same route without --dry-run. Keep every choice explicit and request JSON so success can be checked deterministically:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

Fallback:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

5. Verify, then render the welcome

Require a zero exit status and a setup result whose scope and hooks equal the selected values. Then independently run:

claude plugin list --json

Continue only when exactly one enabled ecc@ecc entry exists at the selected scope. When $CLAUDE_PLUGIN_ROOT is available, pass the successful setup action (installed, updated, migrated, resumed, or already-migrated) to the bundled renderer:

Before invoking it, require the provider-reported version to match ECC_VERSION_PATTERN from scripts/lib/terminal-welcome.js. Reject unexpected version text instead of interpolating it into a shell command.

node -e 'const { renderTerminalWelcome } = require(process.env.CLAUDE_PLUGIN_ROOT + "/scripts/lib/terminal-welcome"); process.stdout.write(renderTerminalWelcome({ action: process.argv[1], version: process.argv[2], color: process.stdout.isTTY }));' "<action>" "<installed-version>"

Render the welcome exactly once. On failure, dry-run, cancellation, a scope or hook mismatch, or unverifiable state, do not render it; report the error and recovery instead. After verified changes, tell the user to run /reload-plugins or restart Claude Code.

Codex: use the native plugin lifecycle

Inventory with codex plugin marketplace list --json and codex plugin list --available --json. Codex's native plugin command has no Claude-style user | project | local selector. Codex native plugins do support provider-specific hooks, but Codex requires explicit trust for them. Let Codex show that trust decision; do not ask the Claude four-profile hook question or claim those profiles map to Codex.

If the ECC marketplace is missing, add it. Otherwise refresh its snapshot:

codex plugin marketplace add affaan-m/ECC
codex plugin marketplace upgrade ecc --json

Ask for one confirmation, then install or idempotently refresh the installed cache and verify it:

codex plugin add ecc@ecc --json
codex plugin list --json

Continue only when the JSON reports ECC installed and provides its installedPath. Then render the verified bundle's welcome:

Use only the exact absolute installedPath returned by Codex JSON. Reject control characters and require the installed version to match ECC_VERSION_PATTERN. Invoke node directly with this argument array; this is a tool API invocation, not a shell command:

["<installedPath>/scripts/welcome.js", "--action", "configured", "--version", "<installed-version>"]

If the current harness cannot invoke an executable with a separate argument array, skip the welcome. Never construct a shell command from Codex JSON values.

Never claim that Claude's off | minimal | standard | strict profiles were applied to Codex.

Kimi: install the project surface

State the capability summary before confirmation: destination ./.kimi-code; hooks=unsupported for ECC lifecycle hooks. Do not ask the Claude scope or hook-mode questions. Preview first:

npx --yes --package ecc-universal ecc install --profile core --target kimi --dry-run

Show one confirmation for that project destination, then apply the identical command without --dry-run. Verify with:

npx --yes --package ecc-universal ecc doctor --target kimi

Only after doctor succeeds and the installed instructions and skills remain inside ./.kimi-code, render:

npx --yes --package ecc-universal ecc welcome --action configured

Do not claim that Kimi installed or configured ECC lifecycle hooks.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

78

Quality

82

Clarity

87

Completeness

79

Summary

This skill guides configuration of ECC (Everything Claude Code) across three AI coding harnesses—Claude Code, Codex, and Kimi—using conversational wizards and non-interactive commands. It inventories existing installations, collects user choices for scope and hook modes, previews changes, applies them explicitly, and verifies success before rendering welcome screens.

Static Analysis Findings

1 finding

Patterns detected by deterministic static analysis before AI scoring. Hover over any finding code for detailed information and remediation guidance.

Credential Exposure
SEC-020Direct .env File Access

Direct .env file access

SKILL.md.env

Detected Capabilities

shell executionfile readjson parsingcli invocationenvironment variable accessnode script executionpackage installation via npx

Trigger Keywords

Phrases that agents use to match this skill to user intent.

install ecc pluginconfigure ecc hooksecc setup wizardmigrate plugin scopeecc in codexkimi code install

Risk Signals

INFO

SEC-020: Direct .env file access reference detected in static scan

SKILL.md static analysis match
INFO

Environment variable access: $CLAUDE_PLUGIN_ROOT, $CLAUDE_PLUGIN_ROOT read for fallback routing

SKILL.md step 3-5 (setup script paths)
WARNING

Node script execution with dynamic arguments: version and action values interpolated into node -e command

SKILL.md section '5. Verify, then render the welcome', node -e invocation
INFO

Instruction emphasizes rejecting control characters and requires version validation (ECC_VERSION_PATTERN) before shell interpolation

SKILL.md section '5. Verify' and 'Codex' sections

Use Cases

  • Install or update ECC in Claude Code with proper scope selection
  • Migrate ECC installations between user, project, and local scopes
  • Configure ECC hook automation modes (off, minimal, standard, strict) in Claude Code
  • Set up ECC for Codex using native plugin lifecycle
  • Install ECC for Kimi under .kimi-code with capability awareness
  • Verify ECC installation state across harnesses before post-install configuration

Quality Notes

  • Strength: Explicitly documents harness-specific routing and prevents overgeneralization across Claude Code, Codex, and Kimi
  • Strength: Clear three-step flow (inventory → choices → confirm → apply → verify) with deterministic JSON-based success checks
  • Strength: Multiple guardrails against unsafe operations—rejects unexpected version text, requires zero exit codes, validates scope/hook matches post-apply
  • Strength: Well-structured with visual separation between harness routes, reducing confusion
  • Strength: Fallback commands documented for cases where $CLAUDE_PLUGIN_ROOT is unavailable
  • Limitation: SEC-020 reference (.env) in static scan is a false positive—skill never explicitly accesses .env files; scan likely flagged the .env mention in context description
  • Limitation: Node script execution pattern (node -e) with dynamic arguments requires careful validation but is handled correctly with version regex checks
  • Limitation: No explicit error recovery for common setup failures (network errors, malformed JSON, marketplace unavailability) beyond basic state checks
  • Limitation: Edge case handling for corrupted plugin state or rollback scenarios is not documented
Model: claude-haiku-4-5-20251001Analyzed: Sep 9, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v2.0

    Contract changed: description

    ✦ AINarrows scope to in-IDE harness-specific installation within Claude Code, Codex, or Kimi; removes user-level vs. project-level directory selection model.

    triggering2026-09-09

    LATEST
  2. v1.3

    Content updated

    ✦ AIAdds Quarkus skills (4 new), updates plugin bootstrap syntax, corrects copy commands for skill/rule installation directories.

    2026-07-14

    View This Version
  3. v1.2

    Content updated

    ✦ AIUpdates plugin installation command from ecc@ecc to everything-claude-code.

    2026-04-20

    View This Version
  4. v1.1

    Content updated

    ✦ AIUpdates skill catalog: adds 4 Laravel skills, refreshes learning skill descriptions, changes plugin bootstrap command to ecc@ecc.

    2026-04-12

    View This Version
  5. v1.0

    Seeded from github.com/affaan-m/everything-claude-code

    2026-03-16

    View This VersionInitial version

Use affaan-m/configure-ecc in your dev environment

Command Palette

Search for a command to run...