/wizard:wizardfrom wizard
Use when a person has to do setup steps that Claude cannot do itself, such as provisioning infrastructure, getting API keys or credentials, setting CI secrets or variables, clicking through a third-party dashboard, or running a one-off migration or cutover. Triggers on "make a setup wizard", "walk me through setting up", "script the onboarding steps", "I need to fill .env and the GitHub secrets". Writes an interactive bash script from a shared template and checks it. Skip for steps Claude can run itself.
Ships in wizard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A wizard is a bash script that walks a person through a manual procedure, one stage at a time. It opens each URL, says what to click and copy, reads the values back, writes them where they belong (.env, GitHub secrets and variables), asks before irreversible actions and shows how many stages are left. It can configure third-party services, run a one-off migration or move a project from one state to another.
The UX lives in template.sh: stage progress, confirmation gates, URL opening on Linux, macOS and WSL, hidden secret entry, idempotent .env upserts, gh secret and gh variable writes, and a closing summary. Claude's job is to scope the procedure and write its stages. The library above the STAGES marker is the same in every wizard. Never edit it; scripts/check.mjs fails a wizard whose library differs from the template.
A wizard is throwaway by default: written for one run and deleted after. Commit it only when it is a setup path people will run again.
Adapted from Matt Pocock's wizard skill (MIT). See NOTICE.md.
Every question in this skill goes through AskUserQuestion, with labelled options and one marked "(Recommended)". Never ask "A or B?" as a sentence in chat. Name the stages or values the question is about, so it reads on its own in the dialog.
Find every manual step and every value captured along the way. Read the repo before asking anything:
.env, .env.example, .env.*, README, docker-compose*, framework config and .github/workflows/*. Every secrets.* or vars.* reference is a value the wizard has to produce.Then put the ordered stage list, with the values each stage produces, to the user:
.env only, GitHub secret, both, nowhere. Start from who runs the wizard. A GitHub secret is shared by the whole repo, so a wizard that every new developer runs must not write their personal values (a dev database, a personal API key) over the secrets the deploy uses. Recommend .env only for per-developer setup. Recommend a GitHub secret only when the person running the wizard owns CI, such as when they set up a new repo or environment, and then put set_secret behind a confirm. Ask this even when a workflow reads the value: the workflow says which name CI needs, not who should set it.Done when: every stage is named in order, and for each captured value you know (a) where the person gets it, (b) where it is written (.env, a GitHub secret, both or nowhere; some stages are pure actions) and (c) whether it is secret (hidden entry) or public.
For each stage, write the exact path a person follows: which URL to open, what to do there, where the value is shown and which variable it fills. For example: "Dashboard → Developers → API keys → Reveal test key → copy".
When you do not know the current UI or the exact command, do not guess. A step that sends someone to a menu that does not exist is worse than no wizard. Ask:
note line in the stage. When the docs cannot be fetched, the stage says so to the person running it, with a warn line such as warn "Menu names unverified; if they differ, follow <docs URL>", and your hand-off says the same.Done when: every stage traces to instructions a stranger could follow.
Copy template.sh to the target path. Replace the example stage with one stage per step, in dependency order. Use the library helpers: stage, say, step, note, warn, open_url, ask, ask_secret, write_env, set_secret, set_var, pause, confirm. Set TOTAL_STAGES to the number of stages.
The bar the template sets:
ask_secret for anything secret.write_env every value that must persist.set_secret only the values CI reads, under the exact name the workflow uses, and only in a wizard run by whoever owns CI.confirm before any irreversible action.stage clears the screen, so what the person needs must fit on it.Run the check script:
node <this skill's directory>/scripts/check.mjs <wizard.sh> --repo <repo root>
It checks syntax (bash -n), shellcheck on the stages section when shellcheck is installed, the library against the template, TOTAL_STAGES against the stage calls, that the example stage is gone, that every set_secret name is read by a workflow, and the executable bit (chmod +x). Fix every FAIL and run it again. Read each warn: a secret a workflow reads but the wizard does not set is either missing from the wizard or set some other way, for example by the CI owner. Say which.
The script cannot see where each value lands. Trace that yourself: every value from step 1 is captured and written where step 1 said.
Don't run the wizard end to end. It opens browsers and waits for a person.
Then ask:
scripts/ and link it from the README", "Save to the scratchpad and delete after the run". Recommend committing when the procedure is a setup path that will run again (onboarding, a new environment), and throwing it away for a one-off migration or cutover.Tell the user how to run it.
Run anti-slop on every text that gets published:
banner, stage, say, step, note, warn, pause and confirm.URLs, menu labels, key names and commands stay exactly as the provider writes them. A throwaway wizard skips this step.
NOTICE.md (opens in a new tab)scripts/check.mjs (opens in a new tab)scripts/check.test.mjs (opens in a new tab)scripts/fixtures/eval-repo/README.md (opens in a new tab)scripts/fixtures/runtime-wizard.sh (opens in a new tab)scripts/template.test.mjs (opens in a new tab)template.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub marcelroozekrans/superpowers-extensions --plugin wizard