--- name: ecc-kiro-setup description: "Set up ECC (github.com/affaan-m/ECC) for the Kiro IDE and the Kiro CLI in the current project. This wizard checks the environment, previews a dry-run plan, confirms once, then runs install, update, uninstall or check for ECC's agents, skills, steering, commands and disabled hooks under ./.kiro, tracking every file it owns so your own files are never touched. Use when asked to install, update, uninstall or check ECC for Kiro, or to port an ECC setup from Claude Code, Codex or Kimi to Kiro. For other harnesses use configure-ecc instead." license: MIT metadata: origin: ecc-kiro-setup version: "0.1.0" --- # ECC for Kiro: setup wizard ECC's own installer has no Kiro target. This skill adds one. It converts the pinned ECC release (v2.2.3) into Kiro's current formats and installs it under `./.kiro`, without touching files it did not create. It works the same in the Kiro IDE and the Kiro CLI. It can install, update, uninstall and check, and it records every file it owns in `.kiro/ecc/install-state.json`, so your own files are never changed or removed. Run the steps below in order. Reference material lives next to this file: see `references/mapping.md` for what each ECC piece becomes in Kiro, `references/surfaces.md` for how the IDE and the CLI differ, and `references/troubleshooting.md` when a step does not behave. ## 1. Find the script Use the first of these paths that exists, in this order: 1. `.kiro/skills/ecc-kiro-setup/scripts/ecc-kiro.mjs` in the project. 2. `$KIRO_HOME/skills/ecc-kiro-setup/scripts/ecc-kiro.mjs`, or `~/.kiro/skills/ecc-kiro-setup/scripts/ecc-kiro.mjs` when `KIRO_HOME` is not set. 3. `$KIRO_HOME/powers/installed/ecc-kiro-setup/skills/ecc-kiro-setup/scripts/ecc-kiro.mjs` (the installed Power), with the same `KIRO_HOME` or `~/.kiro` default. The project copy wins over the global one, and the global one wins over the Power. The script runs on Node 18 or newer and needs no other packages. Call it `