/grey-matter:wizardfrom grey-matter
Generate an interactive bash wizard for steps only a human can perform (provisioning, credentials, CI secrets, third-party dashboards, one-off cutovers). Skip when the agent can run the steps itself.
Ships in grey-matter. 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.
The tracked shell template's role is indexed in the tool-script catalog.
A wizard is a bash script that walks a human, step by step, through a manual procedure that's tedious to do by hand and tedious to re-explain to an AI every time. It opens each URL, says exactly what to click and copy, captures the values, writes them where they belong, confirms at every stage, and shows how many stages are left. It might configure third-party services, set CI secrets, run a one-off migration, or move the project from one state to another.
The delightful UX is already solved by template.sh: stage-by-stage progress, confirmation gates, cross-platform URL opening (including WSL), hidden secret entry, idempotent writes to a sink, and a closing summary. Your job is only to scope the procedure and author its stages. The library above the STAGES marker is identical in every wizard; that consistency is the point.
A captured value is written to a sink by a library helper, never by hand-rolled stage code (the helper owns quoting, idempotency, and secret masking). The proven sinks today:
.env file (write_env): idempotent upsert, 0600, for local dev config.set_secret) and variable (set_var) via gh: for CI.A value can go to more than one sink (a secret often lands in both .env and CI). Some stages are pure actions with no captured value.
Other project types need other sinks (a game's export_presets.cfg, a signing keystore path). Those are not in the library yet; if a wizard needs one, say so rather than hand-rolling a write in a stage, and track it (there is a ticket to add and test cfg/keystore sinks against a real project).
Work out every manual step the human must take and every value captured along the way. Read the repo first, don't ask cold:
.env, .env.example, .env.*, README, docker-compose*, framework config, and .github/workflows/* (every secrets.* / vars.* reference is a value the wizard must produce).Then show the user the ordered list of stages and the values each produces, and confirm: they may add, drop, or reorder.
Done when: every stage is named in order, and for each captured value you know (a) where the human gets it, (b) which sink it's written to (.env, a CI secret, both, or none; some stages are pure actions), and (c) whether it's secret (hidden entry) or public.
For each stage, write the precise path a human follows as landmarks, not pixels (rule 2): which URL to open, what to accomplish there, where a value is shown, which variable it fills. E.g. "open the dashboard's API keys page, reveal the test secret key, copy it". Where you don't know the current UI or the exact command, say so and ask the user or check the docs; never invent steps that may not exist.
Done when: every stage traces to concrete instructions a stranger could follow.
Copy template.sh to the target path (ephemeral wizards go to .scratch/; a repeatable one to scripts/). Replace the example stage with one stage per step, in dependency order. Use the library helpers: stage, say/step, open_url, ask/ask_secret, write_env, set_secret/set_var, pause/confirm. Set TOTAL_STAGES to the number of stages you wrote.
Hold the bar the template sets: open the URL before asking for its value, use ask_secret for anything secret, write every persisted value through its sink helper (never a hand-rolled echo >>, which breaks idempotency, quoting, and masking), set_secret only the values CI actually needs, and confirm before any irreversible action. Each stage clears the screen, so keep a stage to one focused task. Never touch the library above the marker.
bash -n <script>; run shellcheck if available.STAGES marker must be byte-identical to template.sh (diff the region, or compare a hash). A hand-edited library silently breaks idempotency or secret masking.chmod +x <script>.set_secret name exactly matches a secrets.* reference in CI..env are gitignored; never commit a wizard that has captured real values.scripts/ and link it from the README so the next person runs the script instead of asking an AI.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smileynet/grey-matter --plugin grey-matter51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".