setup-wizard-generator
Skill này làm gì
Skill tạo một script tương tác mở từng trang web, cho bạn biết cần nhấp và sao chép gì, rồi lưu từng giá trị vào đúng chỗ. Phù hợp với người thiết lập dịch vụ bên thứ ba hoặc bàn giao việc cấu hình thủ công cho đồng đội.
Khi nào nên dùng
- ✓Khi bạn cần thiết lập thông tin xác thực, bí mật CI hoặc biến repo bằng tay.
- ✓Khi bạn cần đồng đội chạy một quy trình thiết lập thủ công từng bước.
- ✓Khi một lần di chuyển dữ liệu có các bước không thể đảo ngược mà người phải xác nhận.
Liên kết skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/devops/setup-wizard-generator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một trình hướng dẫn thiết lập giúp tôi lấy các khóa Stripe và Supabase vào dự án này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc dự án để tìm các giá trị cần thiết, rồi ghi các giai đoạn vào một mẫu có sẵn, mẫu này xử lý tiến trình, xác nhận và lưu vào .env hoặc bí mật GitHub.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Setup Wizard Generator
Generates an interactive bash wizard: a script that walks a human, step
by step, through a manual procedure that is tedious to do by hand and tedious
to re-explain 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.
Ported from mattpocock/skills' MIT-licensed wizard skill.
When to Use
- Provisioning infrastructure or third-party services (Stripe, Supabase, DNS, OAuth apps) where only a human can click through the dashboard
- Setting up credentials, CI secrets, or repo variables
- One-off migrations or cutovers with irreversible human-gated steps
- Any procedure the user will hand to a teammate to run
Do NOT use for steps the agent can perform itself — do those directly.
Prerequisites
bash;ghCLI only if stages write GitHub secrets/variables- The library template:
templates/template.shin this skill's directory
Procedure
1. Scope the procedure
Work out every manual step the human must take and every value captured along the way. Read the repo first, don't ask cold:
- Setup:
.env,.env.example,README,docker-compose*, framework config, and.github/workflows/*(everysecrets.*/vars.*reference is a value the wizard must produce). - Migration/cutover: the current state, the target state, and the irreversible actions between them.
Show the user the ordered stage list and the values each produces; 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), 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 the value is shown — e.g. "Dashboard → Developers → API keys → Reveal test key → copy". Where you don't know the current UI or exact command, say so and check the docs or ask — never invent steps that may not exist.
3. Author the wizard
Copy templates/template.sh (from this skill's directory) to the target
path. Replace the example stage with one stage per step, in dependency
order. Set TOTAL_STAGES to the number of stages you wrote.
Library helpers: stage, say/step/note/warn, open_url,
ask/ask_secret, write_env, set_secret/set_var, pause/confirm,
banner, finish. The library above the STAGES marker is identical in
every wizard — never hand-edit it; that consistency is the point.
Hold the bar the template sets: open the URL before asking for its value,
ask_secret for anything secret, write_env every persisted value,
set_secret only what CI actually needs, and confirm before anything
irreversible. Each stage clears the screen — keep one focused task per
stage so nothing the human needs scrolls away.
A wizard is ephemeral by default: save it to a scratch or scripts/ path,
delete it when the job's done. Commit it only when the user wants a
repeatable setup path living in the repo.
4. Verify and hand off
bash -n <script>; runshellcheckif available;chmod +x <script>.- Do NOT run it end-to-end yourself: it opens browsers and blocks on human
input. Trace it statically: every value from step 1 is captured and lands
where step 1 said, and every
set_secretname exactly matches asecrets.*reference in CI. - Tell the user how to run it. If it's repeatable, commit it and link it from the README.
Pitfalls
- Editing the library section. Everything above the
STAGESmarker is the wizard library; author only below it. - Inventing dashboard paths. Third-party UIs drift. If unsure of the click path, verify against current docs or flag it as approximate.
set_secretfor values CI doesn't use. Only push to GitHub secrets what a workflow actually references.- Running the wizard yourself. It blocks on human input; static tracing
plus
bash -nis the verification. - One mega-stage. Screen clearing per stage means a long stage scrolls critical instructions away; split it.
Verification
- Stage list confirmed with the user before authoring
-
bash -npasses; script is executable - Every captured value traced to its declared destination
- Every
set_secretname matches
Câu hỏi thường gặp
Skill có tự thực hiện các bước giúp tôi không?
Không. Skill dành cho các bước chỉ người mới làm được, và skill nói không nên dùng cho các bước agent tự làm được.
Giá trị được lưu ở đâu?
Tùy giai đoạn, chúng được ghi vào file .env hoặc vào bí mật và biến của GitHub.
Có cần công cụ gh không?
Chỉ khi các giai đoạn ghi bí mật hoặc biến của GitHub.
Chi tiết
Mô tả gốc của tác giả
Generate a bash wizard guiding a human through manual setup.
Độ phổ biến
- Sao GitHub
- 260k
- Vị trí xếp hạng
- #486
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-merge-conflict-arbiter
260kGiải quyết xung đột merge git giữa nhánh của hai agent với vai trò bên trung lập, tạo ra một kết quả merge duy nhất cho repo.
antigravity-cli
260kHướng dẫn bạn cài đặt, cập nhật và khắc phục sự cố công cụ dòng lệnh Antigravity, gồm plugin, đăng nhập và sandbox.
blackbox
260kCho phép agent của bạn giao một tác vụ lập trình cho công cụ dòng lệnh Blackbox AI, công cụ chạy nhiều mô hình và chọn kết quả tốt nhất.
dynamic-workflow
260kDạy agent của bạn chạy các đợt công việc tương tự lớn như một script đã lưu, để chỉ kết quả đã kiểm chứng mới quay về cuộc trò chuyện chính.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.