tk-wizard
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUser-Run Wizard
用户执行向导
Guide procedures that users must perform themselves. Internally, strictly track steps, value
sources/destinations, secrecy, and safety boundaries, but do not dump them to the user
like an approval document.
host-sessionKeep the conversation natural and the state strict.
Initially describe the full journey in only 1–3 sentences, then naturally guide the user through
one action they must take now. Do not repeatedly confirm already completed steps.
사용자가 action이나 비가역 confirmation을 선택해야 하면 host별 native structured question surface를 우선 사용합니다 (Claude Code: AskUserQuestion; Codex: request_user_input; Hermes: clarify). unavailable하면 같은 안내를 plain chat으로 fallback하고 secret 자체를 tool input으로 수집하지 않습니다.
引导用户必须亲自完成的流程。内部需严格追踪步骤、值的来源/去向、保密性及安全边界,但不得像审批文档一样将这些信息直接展示给用户。
host-session保持对话自然,状态管控严格。
最初仅用1-3句话描述完整流程,然后自然引导用户完成当前必须执行的一项操作。无需反复确认已完成的步骤。
当用户需要选择操作或不可逆确认时,优先使用对应host的原生结构化提问界面(Claude Code:AskUserQuestion;Codex:request_user_input;Hermes:clarify)。若无法使用,则退化为普通聊天形式进行引导,且不将secret本身作为工具输入收集。
Scope
适用范围
Applicable examples:
- and
provisioningsetupdashboard - Issuing and placing /
credentialvaluessecret - , MFA, OTP, CAPTCHA,
loginpasskey - /
permission/keychaindevicepairing - Human-only steps during /
migrationcutover
Routine code/CLI tasks the can safely execute, product decisions, and
are outside this skill's scope.
agentacceptanceverification适用场景示例:
- 与
provisioning设置dashboard - /
credential值的发放与配置secret - 、MFA、OTP、CAPTCHA、
login相关操作passkey - /
permission/keychaindevice配对pairing - /
migration过程中仅能由人工完成的步骤cutover
agentacceptanceverificationResearch and Planning
调研与规划
upstream provenanceadaptationwizardFirst read the and current to build this internal state:
repositoryhostevidence- Full journey and sequence
- Each value's /
sourcedestination - /
secretclassificationpublic - Already completed steps
- Steps the user must perform
- Irreversible steps
- Verifiable
completionsignal
Do not invent unknown UI, buttons, URLs, or commands. Where evidence is unavailable, describe only that point
as .
UnverifiableFor example, tell the user:
text
대략 키 발급 → 로컬 저장 → 연결 확인 세 단계면 끝납니다.
키 값은 대화에 남기지 않을게요. 먼저 발급 화면까지 들어가 주세요.Guide the next step only after observing the previous step's .
completion仅当需要判断上游来源或适配性时,才阅读上游提炼,常规向导执行无需阅读。
upstream provenanceadaptationwizard首先读取仓库及当前主机的证据,构建以下内部状态:
repositoryhostevidence- 完整流程与步骤顺序
- 每个值的来源/
source去向destination - 机密/
secret公开的分类public - 已完成的步骤
- 用户必须执行的步骤
- 不可逆步骤
- 可验证的完成
completion信号signal
不得虚构未知的UI、按钮、URL或命令。当证据缺失时,仅将该环节标注为无法验证。
Unverifiable例如,告知用户:
text
大致分为密钥发放 → 本地存储 → 连接验证三个步骤即可完成。
我不会在对话中留存密钥值,请先进入发放页面。仅在观察到上一步的完成状态后,再引导下一步操作。
completionSecrets and Authentication
机密信息与身份验证
Never a or store it in , Markdown, , or .
When necessary, use only / at execution time.
echosecretchatlogevalhiddenephemeralinputDo not prompt users to paste OTP, , , , or
into the conversation. Do not retain even non-secret values unless needed for the task.
passwordtokensessionvaluerecoverycodeidentifierIf a is needed, create it as a one-time and preserve these semantics:
helperuser-runhelper- Separate normal input from
secretinput - Do not
persistvalues by defaultsecret - Clearly show the
destination - Do not silently overwrite existing values
- Statically validate with and, when possible,
bash -nshellcheck - Explain how to delete or retain it afterward
绝不可输出机密信息,也不得将其存储在聊天记录、Markdown、日志或执行环境中。必要时,仅在执行阶段使用隐藏/临时输入框。
echosecretchatlogevalhiddenephemeral不得提示用户将OTP、密码、令牌、会话值或恢复码粘贴到对话中。除非任务必需,否则即使是非机密的标识值也不得留存。
passwordtokensessionvaluerecoverycodeidentifier若需要辅助工具,需创建一次性的用户执行辅助工具,并遵循以下规则:
user-runhelper- 将普通输入与机密输入分离
secret - 默认不持久化存储
persist机密值secret - 清晰展示去向
destination - 不得静默覆盖现有值
- 使用进行静态验证,尽可能同时使用
bash -n检查shellcheck - 事后说明如何删除或保留该工具
🔴 CHECKPOINT · 🛑 STOP · Safety Confirmation
🔴 检查点 · 🛑 终止 · 安全确认
Treat irreversible, production-affecting, or unverifiable steps below as hard stops; ordinary reversible steps remain frictionless.
Do not ask for approval at every ordinary step.
Require explicit confirmation only for actions that change the user's decision, are difficult to reverse,
or affect .
reversibleproductionExample:
text
여기서 기존 production key를 폐기하면 현재 서비스에 영향이 생길 수 있어요.
새 key 연결이 정상인지 먼저 확인한 뒤 폐기하는 걸 권장합니다.
새 key 확인 후 기존 key를 폐기할까요?If no safe verification path exists, do not rush execution; explain the state as or .
BlockedUnverifiable将不可逆、影响生产环境或无法验证的步骤视为强制终止节点;普通可逆步骤则保持流畅无需中断。
无需对每个普通的可逆步骤请求批准。仅当操作会改变用户决策、难以撤销或影响生产环境时,才要求明确确认。
reversibleproduction示例:
text
在此处废弃现有生产密钥可能会影响当前服务。
建议先确认新密钥连接正常后再进行废弃操作。
确认新密钥正常后,是否要废弃旧密钥?若不存在安全的验证路径,请勿急于执行;需将状态说明为受阻或无法验证。
BlockedUnverifiableCompletion
完成阶段
At the end, briefly explain what the user completed and how it was verified.
Do not expose a , , internal state machine, or long by default.
stagetablesecretinventoryreceiptUse exactly one actual state from as the .
Status: Pass | Pending | Blocked | Unverifiable | Failterminaltoken结束时,简要说明用户完成的内容及验证方式。默认不得暴露阶段表格、机密清单、内部状态机或冗长的回执。
stagetablesecretinventoryreceipt需使用中的某一实际状态作为终结标识。
Status: Pass | Pending | Blocked | Unverifiable | Failterminaltoken