human-step-wizard
БесплатноЗапускает вложенные скриптыНе проверенGenerate an interactive, resumable bash wizard that walks a person through steps only a human can do. Use when a task needs dashboard credentials, DNS or…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Human Step Wizard
Some steps in an otherwise automated task need a person: creating a token in a dashboard, approving a DNS change, rotating a key the agent must never see, cutting traffic over at a moment someone chose. The usual hand-off is a paragraph of instructions in chat, which the human skims, half-follows, and reports back on from memory. This skill replaces that paragraph with a generated bash wizard: one step at a time, the exact link to open, hidden prompts for secrets, format validation on every pasted value, checks that confirm the step really happened, a typed confirmation before anything irreversible, and progress saved so the human can stop and resume.
The agent writes a small JSON spec; the tools validate it and generate the
script. This is distinct from engineering/runbook-generator, which produces
static operational documentation. A wizard is executable, interactive and
tied to one concrete task.
When to use this skill
- Credentials only a human can create: first admin token, OAuth app, API keys behind MFA, values the agent must not see
- Approvals and authority: DNS changes, change tickets, spending, accepting terms
- Rotations: roll a secret, deploy it, verify, revoke the old one
- Cutovers: DNS, load balancer, database primary, feature launch at a chosen time
- Onboarding setup: a new developer wiring up a dozen third-party accounts
into
.envand CI secrets
Not for steps the agent can perform itself; do those directly.
Clarify First
The procedure, not the script, is the hard part, and its details live with the human. Settle the inputs below before writing the spec. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- The step list and which step is irreversible: this sets the order (gather and verify everything before the point of no return) and where the typed confirmation goes.
- Where each value goes: env file, CI secret, both, or nowhere. Values a later check or the application needs must be stored, and secrets must not be stored more widely than they are used.
- Exact dashboard paths: if the agent is not sure of the current UI, it asks or links the page instead of inventing menu names.
- How to verify each step from outside: a
dig,curl,ghortestcommand that proves the outcome; without it, the wizard trusts the Enter key.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, generate from what you know and state your assumptions at the top of your reply.
Quick Start
# 1. Validate the spec (exit 1 on errors)
python3 engineering/human-step-wizard/scripts/wizard_spec_validate.py \
--spec engineering/human-step-wizard/assets/sample_wizard_spec.json
# 2. Generate the wizard (runs bash -n on the output)
python3 engineering/human-step-wizard/scripts/wizard_generate.py \
--spec engineering/human-step-wizard/assets/sample_wizard_spec.json --out scripts/cutover-wizard.sh
# 3. Hand it to the human
./scripts/cutover-wizard.sh # --list, --from STEP, --reset, --help
Tools Overview
| Tool | Purpose | Exit codes |
|---|---|---|
scripts/wizard_spec_validate.py |
Check ids, names, reserved variables, POSIX-ERE patterns, use-before-capture in checks, unquoted expansions, eval/source, irreversible steps without rollback or checks, unused secrets |
0 valid, 1 errors (or warnings with --strict), 2 unreadable or invalid JSON |
scripts/wizard_generate.py |
Validate, then emit one self-contained bash script: header, runtime, one function per step. Every spec string is single-quoted; output is bash -n checked |
0 written and syntax-checked, 1 spec errors or failed bash -n, 2 usage or I/O error |
assets/wizard_runtime.sh |
The runtime embedded in every wizard: prompts, hidden input, ERE validation, env-file upsert, checks with retry, irreversible confirmation, resume state, audit log | n/a (embedded) |
Both tools take --format text|json. The generator also takes --stdout to
print the script and --force to overwrite an existing file.
Generated wizard behaviour
| Feature | Behaviour |
|---|---|
| Progress | ==== Step 3/6: title ====; --list shows done/pending |
| Resume | Finished step ids in .wizard-state/<slug>.done; stored values reloaded on restart |
| Secrets | read -s, never echoed or logged; env file written with mode 0600 |
| Validation | Anchored ERE per input, 3 attempts, then abort with progress kept |
| Checks | Spec commands run with captured values exported; failure offers retry/abort (and skip if allowed) |
| Irreversible | Rollback shown first; the human must type the step id |
| Safety | set -euo pipefail; refuses to run without a TTY unless WIZARD_ALLOW_NONINTERACTIVE=1 |
Workflows
Workflow 1: Hand a human
Установить human-step-wizard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл human-step-wizard?
Generate an interactive, resumable bash wizard that walks a person through steps only a human can do. Use when a task needs dashboard credentials, DNS or change approval, key rotation, or a manual traffic cutover.
Как установить скилл human-step-wizard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл human-step-wizard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic