Generate interactive bash wizard

VerifiedCaution

Create an interactive bash script that guides a human through manual steps for provisioning, secrets, migrations, and more.

Sby Skills Guide Bot
DevOpsIntermediate
8/29/2026
Claude Code
#bash#interactive-cli#secrets-management#ci-cd#setup-automation

Recommended for

Automated summary

Generates an interactive bash wizard that walks a human step by step through a manual procedure (provisioning, CI secrets, third-party service setup, one-off migration), capturing values and writing them to .env or GitHub secrets.

Strengths

  • Built on a pre-solved template.sh library (stage-by-stage progress, cross-platform URL opening, hidden secret entry, idempotent .env upserts, gh secret/gh variable writes), so the author only scopes the procedure and writes stages.
  • Enforces a scoping phase that reads the repo first (.env, docker-compose, CI workflows) to derive every value the wizard must produce and where each one belongs.
  • Includes explicit static verification: every captured value lands where planned, and every set_secret name exactly matches a secrets.* reference in CI.
  • Ephemeral by default (a one-run script), with the option to commit it only when the user wants a repeatable setup path in the repo.

Limitations

  • The agent does not run the script end to end — it opens browsers and blocks on human input — so validation stays static.
  • Depends on template.sh and forbids editing the library above the STAGES marker; without that file the skill produces nothing usable.
  • Steps for third-party dashboards may be guessed if the current UI is unknown; the skill instructs asking or checking docs instead of inventing them.
When to use it

Use it when a tedious manual procedure requires human-only actions (creating keys, clicking through a third-party console, a cutover) that the agent cannot perform itself.

When not to use it

Don't invoke it for steps the agent can perform itself on the command line, or when no human is available to follow the interactive prompts.

Security analysis

Caution
Quality score88/100

The skill is procedural and explicitly says not to run the generated wizard end-to-end. It does not instruct destructive, exfiltrating, or obfuscated actions. Risk is moderate only because it guides creation of executable scripts that handle credentials and GitHub secrets, plus relies on an unaudited template library.

Findings
  • •Generates executable bash scripts that capture secrets and write them to .env or GitHub secrets, which is legitimate but sensitive.
  • •Depends on an external template.sh library whose contents are not included/audited here; generated behavior may vary.
  • •Instructs chmod +x and shell validation; low risk but still involves executable artifacts.
How this analysis is made

Examples

Provision CI secrets
Read our .github/workflows and .env.example, then generate a wizard that walks me through setting up every secret and variable CI needs, writing them to GitHub secrets and my local .env.
Third-party service setup
I need to set up Stripe for this project. Build me a bash wizard that opens the right dashboard pages, tells me exactly what to click, captures the test and live keys, and writes them to .env.
One-off migration cutover
Create a wizard for moving this project from the old hosting account to the new one, with confirmation gates before anything irreversible.

name: wizard description: Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

Wizard

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 (.env, GitHub secrets), confirms at every stage, and shows how many stages are left. It might configure third-party services, 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 .env upserts, gh secret/gh variable writes, 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: never hand-edit it.

A wizard is ephemeral by default: built for one run, saved to a scratch or scripts/ path, deleted when the job's done. Commit it only when the user wants a repeatable setup path that should live in the repo.

Process

1. Scope the procedure

Work out every manual step the human must take and every value that gets captured along the way. Read the repo first, don't ask cold:

  • For setup: .env, .env.example, .env.*, README, docker-compose*, framework config, and .github/workflows/* (every secrets.* / vars.* reference is a value the wizard must produce).
  • For a migration or transition: the current state, the target state, and the irreversible actions between them.

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) where it's written (.env, a GitHub secret, both, or nowhere; some stages are pure actions), and (c) whether it's secret (hidden entry) or public.

2. Map each stage's journey

For each stage, write the precise path a human follows: which URL to open, what to do there, where a value is shown, which variable it fills: e.g. "Dashboard → Developers → API keys → Reveal test key → copy". Where you don't actually 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.

3. Author the wizard

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, 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_env every persisted value, set_secret only the values CI actually needs, and confirm before any irreversible action. Each stage clears the screen so only the current step is visible: keep a stage to one focused task so nothing the human needs scrolls away. Don't touch the library above the marker.

4. Verify and hand off

  • bash -n <script>; run shellcheck if available.
  • chmod +x <script>.
  • Don't run it end-to-end yourself: it opens browsers and blocks on human input. Trace it statically instead: every value from step 1 is captured and lands where step 1 said, and every set_secret name exactly matches a secrets.* reference in CI.
  • Tell the user how to run it. If it's a repeatable setup path, commit it and link it from the README so the next person runs the script instead of asking an AI.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/generate-interactive-bash-wizard-mte1lkkp/download' --output '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md.part' && mv '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md.part' '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md' && test -s '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/wizard' && cp -R '.skill-downloads/generate-interactive-bash-wizard-mte1lkkp' '.claude/skills/wizard'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/generate-interactive-bash-wizard-mte1lkkp'

openskills read 'generate-interactive-bash-wizard-mte1lkkp'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/generate-interactive-bash-wizard-mte1lkkp/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills