用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dandye/adk_runbooks --skill close-duplicate-cases命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | close-duplicate-cases |
| description | Use when identifying redundant or duplicate SOAR cases and linking or closing them. |
| category | investigation |
| version | 1.0.0 |
| type | Skill |
| title | Skill: Close Duplicate Cases |
| generated | {"by":"process:google-labs-jules","at":"2026-08-20T02:00:00Z"} |
graph TD
START(["START"]) --> extract_primary_case_node["1. extract_primary_case_node<br/><i>(Extract Case Payload)</i>"]
extract_primary_case_node --> find_similar_cases_node["2. find_similar_cases_node<br/><i>(Search Similar Cases in SOAR)</i>"]
find_similar_cases_node --> duplicate_case_router{"3. duplicate_case_router<br/><i>(Event.actions.route)</i>"}
duplicate_case_router -- "CLOSE_DUPLICATES" --> handle_close_duplicates_branch["4a. handle_close_duplicates_branch<br/><i>(Close & Comment Duplicate Cases)</i>"]
duplicate_case_router -- "SKIP_CLOSURE" --> handle_skip_closure_branch["4b. handle_skip_closure_branch<br/><i>(Skip Closure)</i>"]
handle_close_duplicates_branch --> document_closure_report_node["5. document_closure_report_node<br/><i>(SOAR Comment & Report Summary)</i>"]
handle_skip_closure_branch --> document_closure_report_node
sequenceDiagram
participant User
participant AutomatedAgent as Automated Agent (MCP Client)
participant list_cases as list_cases (secops-soar)
participant list_alerts_by_case as list_alerts_by_case (secops-soar)
participant list_alert_group_identifiers_by_case as list_alert_group_identifiers_by_case (secops-soar)
participant siemplify_get_similar_cases as siemplify_get_similar_cases (secops-soar)
participant post_case_comment as post_case_comment (secops-soar)
participant siemplify_close_case as siemplify_close_case (secops-soar)
participant attempt_completion as attempt_completion (AutomatedAgent)
User->>AutomatedAgent: Request case analysis and closure
AutomatedAgent->>list_cases: list_cases()
list_cases-->>AutomatedAgent: List of recent cases (IDs: C1, C2, ... CN)
loop For each Case Ci
AutomatedAgent->>list_alerts_by_case: list_alerts_by_case(case_id=Ci)
list_alerts_by_case-->>AutomatedAgent: Alerts for Ci
AutomatedAgent->>list_alert_group_identifiers_by_case: list_alert_group_identifiers_by_case(case_id=Ci)
list_alert_group_identifiers_by_case-->>AutomatedAgent: Alert Group IDs for Ci
end
loop For each Case Cj
AutomatedAgent->>siemplify_get_similar_cases: siemplify_get_similar_cases(case_id=Cj, criteria=RuleGenerator, days_back=7, alert_group_ids=...)
siemplify_get_similar_cases-->>AutomatedAgent: List of similar case IDs for Cj
end
AutomatedAgent->>User: Present potential duplicate cases (e.g., Ck, Cl are duplicates of Cm)
AutomatedAgent->>User: Confirm: "Confirm cases to close & provide reason/root_cause (Yes/No)"
User->>AutomatedAgent: Confirmation (e.g., Close Ck, Cl. Reason: Duplicate)
loop For each confirmed Case C_dup (Ck, Cl)
AutomatedAgent->>post_case_comment: post_case_comment(case_id=C_dup, comment="Closing as duplicate of Cm")
post_case_comment-->>AutomatedAgent: Comment confirmation
AutomatedAgent->>siemplify_close_case: siemplify_close_case(case_id=C_dup, reason="Duplicate", root_cause="Consolidated Investigation")
siemplify_close_case-->>AutomatedAgent: Closure confirmation
end
AutomatedAgent->>attempt_completion: attempt_completion(Summary of closed cases)
Note right of AutomatedAgent: Slack notification not possible due to tool limitations.
The following rubric is used to evaluate the execution of this Triage/Response runbook by an LLM agent.
| Criteria | Points | Description |
|---|---|---|
| Context & Enrichment | 25 | Correctly extracted entities and enriched them with relevant context (GTI, SIEM). |
| Analysis & Decision | 25 | Analyzed the enriched data to make a sound decision (FP/TP, Escalate/Close). |
| Action Execution | 20 | Performed the required response actions (e.g., isolation, containment) correctly. |
| Documentation | 15 | Clearly documented findings and actions in the case/ticket. |
| Operational Artifacts | 15 | Produced required artifacts: Sequence diagram, execution metadata (date/cost), and summary. |
enrich_ioc) to gather reputation and history.