ECC's plan file: make Claude Code plan before it codes (the one file, where it goes, a first prompt)
The short version
ECC is a huge, free setup for Claude Code: a collection of AI helpers
(agents), skills and commands, with 286,363 GitHub stars and an MIT licence. It used to be called Everything Claude Code
(the old everything-claude-code link still redirects to it). It was shared by Affaan Mustafa (GitHub affaan-m) as the
setup he uses daily; he says he won an Anthropic hackathon (his own claim, from his README). You don't need all of it in week
one. This guide gives you the one piece worth taking first: ECC's plan command, a single file that makes Claude restate
your ask, list the risks, write the steps and wait for your yes before it writes any code. Below: the exact file, the one
line that saves it as /ecc-plan, a first prompt, how it differs from Claude Code's built-in plan mode, and the catch.
Source: the ECC GitHub repository (https://github.com/affaan-m/ECC, README and commands/plan.md), checked 23 Oct 2026.
| What | The number |
|---|---|
| GitHub stars | 286,363 (checked 23 Oct 2026) |
| Licence | MIT, free and open source |
| The full kit | 71 agents, 311 skills, 97 commands |
| What you take | 1 file: commands/plan.md, saved as ecc-plan.md |
| What it does before code | 4 things: restate, risks, steps, wait for yes |
| Code written before your yes | 0 |
First: why not install all of ECC in week one?
The full kit is 71 agents, 311 skills and 97 commands (README: "Access to 71 agents, 311 skills, and 97 legacy command
shims"), plus hooks, rules and memory. That's a lot of new names to learn before you know what Claude Code does on its own.
Even the README's own "Start Using ECC" section opens with: "Start with the workflow you need, not the full catalog." And the
first row of its table is planning: "Building a feature → /ecc:plan". So start there, with one file.
Copy this: the one line
Open your Terminal (on a Mac: Cmd + Space, type Terminal) and paste this one line:
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/affaan-m/ECC/main/commands/plan.md -o ~/.claude/commands/ecc-plan.md
What it does: it makes Claude Code's personal commands folder (~/.claude/commands/) if it isn't there yet, then downloads
ECC's commands/plan.md from the official repo and saves it as ecc-plan.md. Any file in that folder becomes a command
you can type in every project, named after the file. So this one becomes /ecc-plan.
Why the new name? Claude Code already has its own built-in /plan. Saving the file as ecc-plan.md keeps the two apart.
Prefer to do it by hand? Open https://github.com/affaan-m/ECC/blob/main/commands/plan.md, click the download (raw) button, and
save the file as ecc-plan.md inside the .claude/commands folder in your home folder. On Windows, run the line above in Git
Bash or WSL, or save it by hand the same way.
Then use it: a first prompt
- Open Claude Code in your project folder (if it was already open, close it and start it again so it sees the new file).
- Type
/ecc-planand your idea. A good first one:/ecc-plan add a sign-up page - Read the plan. It comes back in four parts, in this order (the command's own list):
- Restate Requirements: what it thinks you asked for, in plain terms. Fix it here if it got you wrong.
- Identify Risks: what could go wrong or block the work (in the file's own example, things like "HIGH: Email deliverability").
- Create Step Plan: the work broken into phases with concrete steps.
- Wait for Confirmation: it ends with "Proceed with this plan? (yes/no/modify)".
- Edit, then say yes. Reply
modify: ...with your changes, oryeswhen it looks right. The file is explicit: "This command will NOT write any code until you explicitly confirm the plan."
Other good first prompts: /ecc-plan add a dark mode toggle, /ecc-plan let users upload a profile photo. If you already
wrote your idea down in a markdown file, you can pass its path instead of a sentence.
How it differs from Claude Code's built-in plan mode
Claude Code's built-in plan mode (/plan, or Shift+Tab until it says plan mode) does the basics: Claude looks around and
writes a plan before changing files. ECC's plan file is stricter about the shape of that plan:
- The restated ask comes first, so you catch a misunderstanding before anything else.
- A risk list is required, every time, not only when Claude thinks of it.
- Steps in phases, plus a rough complexity estimate.
- No code until you say yes: the file tells Claude it "MUST receive user approval before proceeding".
Both are good. Built-in plan mode is already there; /ecc-plan is one file that adds the restated ask and the risk list.
The catch
- Only download from the official repo. ECC's README: "Install ECC only from verified channels" (the repo
github.com/affaan-m/ECC, its npm packages, its GitHub App, the plugin
ecc@eccand ecc.tools). "Third-party re-uploads and unofficial mirrors are not maintained or reviewed by the project and may contain malware." The line above pulls straight fromraw.githubusercontent.com/affaan-m/ECC, the official repo. - The file mentions things you won't have. It points to other ECC pieces (
/plan-canvas,tdd-workflow, aplanneragent). With only this file they aren't installed, and that's fine: the file itself says it runs "inline by default" and keeps planning without them. - The rest of ECC is a lot to learn. 71 agents, 311 skills and 97 commands. Get used to planning first; add more pieces only when you know which job they do for you.
- It's written for code. Its example plans a software feature (database, service, frontend). It works best when you're asking Claude to build or change an app.
- Licence: MIT, as stated in the repo. The README: "This repo is MIT-licensed forever." (There's also a paid hosted tier, ECC Pro, for private repos; you don't need it for this file.)
- It's a snapshot. You copied the file as it was today. To update it later, run the same line again.
For builders
- To use it in one project only, save it to that project's
.claude/commands/ecc-plan.mdinstead of your home folder. - Want the whole kit later? The README's installer is
npx ecc-universal@2.2.3 setup(the version pinned in the README today) (or theecc@eccClaude Code plugin, where the same command is/ecc:plan). Read the README's install section first: it installs hooks that run on every action.
Sources
- ECC repo: https://github.com/affaan-m/ECC (checked 23 Oct 2026; 286,363 stars, MIT, formerly everything-claude-code)
- The plan command file: https://github.com/affaan-m/ECC/blob/main/commands/plan.md (raw: https://raw.githubusercontent.com/affaan-m/ECC/main/commands/plan.md)
- "Start Using ECC" (start with the workflow you need): https://github.com/affaan-m/ECC#start-using-ecc
- Official sources only (the malware warning): https://github.com/affaan-m/ECC#security
- The maker: https://github.com/affaan-m (Affaan Mustafa)
- Claude Code custom commands: https://code.claude.com/docs/en/slash-commands