Configure Everything Claude Code
Route by harness: Claude wizard, Codex native lifecycle, or Kimi surface. Detalhes em references/.
When to Activate
- Installing ECC from inside Claude Code, Codex, or Kimi
- Updating or reconfiguring ECC scope or hook mode
- Migrating ECC scope (user/project/local) in Claude Code
- Syncing ECC workspace between harnesses (Claude ↔ Codex)
- Verifying install state before rendering welcome
Core Principles
- Route by harness — Claude scopes/hooks; Codex native trust; Kimi
./.kimi-code - Inventory first —
plugin list --json; never mutate before reading state - Preview then confirm once —
--dry-run --json, one yes/no, then apply - Verify before welcome — zero exit, scope/hooks match, single enabled entry
- Never hand-copy — no temp clones; no shell from JSON values; non-TTY safe
Example
node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
--scope project --hooks standard --dry-run --json
References
references/claude-wizard.md— inventory, 2 choices, preview/apply/verify, welcomereferences/codex-lifecycle.md— marketplace add/upgrade, install, installedPath welcomereferences/kimi-install.md—./.kimi-codepreview/apply/doctor/welcome, hooks unsupportedreferences/migration.md— sync script, 5-step checklist, memory limitation
Checklist
- Harness identified from evidence; uncertain → ask before mutating
- Claude: exactly one scope + one hook mode collected
- Dry-run previewed; single confirmation obtained
- Post-apply JSON verifies scope/hooks and single enabled entry
- Welcome rendered once only after verified success