confirm-action
Ask the user to confirm before taking a significant action. Use before containment, remediation, or other impactful operations to ensure analyst approval. Presents options and waits for response.
适合你,如果需要在执行高危操作前获得人工批准
npx oh-my-skill add dandye/ai-runbooks/confirm-actioncurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dandye/ai-runbooks/confirm-actionnpx oh-my-skill verify dandye/ai-runbooks/confirm-action怎么用
商店整理自技能原文 · 版本 086cbf6 · 表述以原文为准在采取重要操作(如隔离端点、禁用账户、封禁IP等)前,Claude会先向你提问确认,并提供预设选项,等待你的回复后再继续。
当Claude要执行封锁、隔离、删除等有影响的操作时触发。对于只读操作(如添加注释、查询)则跳过确认。
技能原文 SKILL.md
Confirm Action Skill
Ask the user a confirmation question before proceeding with a significant action.
Inputs
QUESTION_TEXT- The specific question to ask (e.g., "Isolate endpoint WORKSTATION-01?", "Proceed with account disable for jsmith?")- (Optional)
RESPONSE_OPTIONS- Predefined options for the user: - Default:
["Yes", "No"] - Custom examples:
["Disable Account", "Reset Password", "Monitor Only"]
Workflow
Step 1: Present Question
Display the question to the user with available options.
Step 2: Wait for Response
Collect the user's selection or custom input.
Step 3: Return Response
Provide the response back to the calling workflow for decision branching.
Outputs
| Output | Description | |--------|-------------| | USER_RESPONSE | The user's answer to the confirmation question |
When to Use
Always confirm before:
- Isolating/quarantining endpoints
- Disabling user accounts
- Blocking IPs/domains at firewall
- Terminating processes
- Deleting files
- Escalating to incident response
- Closing cases as false positive (for high-severity alerts)
May skip confirmation for:
- Adding comments to cases
- Running enrichment queries
- Generating reports
- Read-only operations
Example Confirmations
Containment:
Question: "Isolate endpoint WORKSTATION-01 from the network?" Options: ["Yes - Isolate", "No - Continue Monitoring", "Escalate First"]
Account Action:
Question: "User jsmith shows signs of compromise. What action?" Options: ["Disable Account", "Force Password Reset", "Monitor Only", "Escalate to IR"]
Case Closure:
Question: "Close case 1234 as False Positive?" Options: ["Yes - Close FP", "No - Keep Open", "Escalate to Tier 2"]