用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dandye/adk_runbooks --skill confirm-action命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | confirm-action |
| description | Use when requesting human operator confirmation before disruptive remediation actions. |
| category | common |
| version | 1.0.0 |
| type | Skill |
| title | Skill: Common Step: Confirm Action with User |
| generated | {"by":"human:dandye","at":"2025-05-19T20:11:00.000Z"} |
Ask the user a follow-up question to confirm whether a specific action should be taken before proceeding.
This sub-runbook executes the You may ask follow up question tool with a provided question and optional response options. It returns the user's response to the calling runbook.
${QUESTION_TEXT}: The specific question to ask the user (e.g., "Isolate endpoint ENDPOINT_ID?", "Proceed with containment for IOC_VALUE?").${RESPONSE_OPTIONS}: A list of predefined options for the user to choose from (e.g., ["Yes", "No"], ["Disable Account", "Reset Password", "Monitor Only"]).${USER_RESPONSE}: The response provided by the user to the question.${QUESTION_TEXT} and optionally ${RESPONSE_OPTIONS} from the calling runbook.question=${QUESTION_TEXT} and options=${RESPONSE_OPTIONS} (if provided).${USER_RESPONSE} and return it to the calling runbook.sequenceDiagram
participant CallingRunbook
participant ConfirmAction as confirm_action.md (This Runbook)
participant User
CallingRunbook->>ConfirmAction: Execute Confirmation\nInput: QUESTION_TEXT, RESPONSE_OPTIONS (opt)
%% Step 2: Ask Question
ConfirmAction->>User: Confirm: QUESTION_TEXT (Options: RESPONSE_OPTIONS)
User-->>ConfirmAction: User Response (USER_RESPONSE)
%% Step 3: Return Response
ConfirmAction-->>CallingRunbook: Return Response:\nUSER_RESPONSE
The You may ask follow up question action has been executed. The user's response (${USER_RESPONSE}) is available.