agentleFS
dandyedandye/ai-runbooks/skills/triage-alert/SKILL.md

triage-alert

Skill127 starsChanged 4 months agoApache-2.0View on GitHub

Triage a security alert or case. Use when given an ALERT_ID or CASE_ID to assess if it's a real threat. Enriches IOCs, searches SIEM for context, and determines if the alert should be closed (false positive) or escalated for investigation.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search for other open cases involving the same entities:

    line 49
  2. Distinctive:

    Suspicious Login: Search login events (success/failure) for user/source IP around alert time

    line 68
  3. Distinctive:

    Malware Detection: Search process execution, file mods, network events for the hash/endpoint

    line 69
  4. Distinctive:

    Network Alert: Search network flows, DNS lookups for source/destination IPs/domains

    line 70
  5. Distinctive:

    Document findings in case comments explaining the rationale

    line 100
  6. Very specific:

    Use secops-soar.siemplify_close_case or siemplify_close_alert

    line 102
  7. Distinctive:

    Document initial findings and assessment in case comments

    line 108
  8. Distinctive:

    After completing triage, provide:

    line 116

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Alert Triage Skill

Perform standardized initial assessment of security alerts to determine if they represent real threats requiring investigation or can be closed as false positives.

Inputs

You need one of these identifiers to begin:

  • ALERT_ID - The alert identifier
  • CASE_ID - The case identifier

Workflow

Step 1: Gather Initial Context

Retrieve full details about the alert/case:

Use secops-soar tools:
- get_case_full_details(case_id) - Get case metadata and context
- list_alerts_by_case(case_id) - List all alerts in the case
- list_events_by_alert(alert_id) - Get triggering events

Extract and note:

  • Alert type and severity
  • Key entities involved (IPs, domains, hashes, users, hostnames)
  • Triggering events and timestamps

Note: Duplicate detection should be handled by invoking /check-duplicates before this skill, or by using the /full-triage-alert workflow which orchestrates both skills in the correct sequence.

Step 2: Find Related Open Cases

Search for other open cases involving the same entities:

Use secops-soar.list_cases with:
- Search terms = key entities from Step 1
- Status filter = "Opened"

Note any related cases for correlation.

Step 3: Alert-Specific SIEM Search

Perform a targeted SIEM search based on the alert type:

Use secops-mcp.search_security_events with relevant query

By alert type:

  • Suspicious Login: Search login events (success/failure) for user/source IP around alert time
  • Malware Detection: Search process execution, file mods, network events for the hash/endpoint
  • Network Alert: Search network flows, DNS lookups for source/destination IPs/domains

Step 4: Enrich Key Entities

For each key entity (IP, domain, hash, URL), gather threat intelligence:

GTI Enrichment (use gti-mcp tools):

  • get_ip_address_report(ip) - IP reputation and context
  • get_domain_report(domain) - Domain reputation
  • get_file_report(hash) - File/hash analysis
  • get_url_report(url) - URL reputation

SIEM Enrichment (use secops-mcp tools):

  • lookup_entity(entity) - Entity summary from SIEM
  • get_ioc_matches(hours_back) - Check if IOC appears in threat feeds

Step 5: Make Assessment

Based on all gathered evidence, classify the alert:

ClassificationCriteriaAction
False Positive (FP)No malicious indicators, known benign activityClose
Benign True Positive (BTP)Real detection but authorized/expected activityClose
True Positive (TP)Confirmed malicious indicators or suspicious behaviorEscalate
SuspiciousInconclusive but warrants investigationEscalate

Step 6: Take Action

If FP or BTP:

  1. Document findings in case comments explaining the rationale
  2. Close the case/alert:
    • Use secops-soar.siemplify_close_case or siemplify_close_alert
    • Closure reason: NOT_MALICIOUS
    • Root cause: Use get_case_settings_root_causes to get valid options (e.g., "Legit action", "Normal behavior")

If TP or Suspicious:

  1. Optionally adjust priority with secops-soar.change_case_priority
  2. Document initial findings and assessment in case comments
  3. Escalate to Tier 2 or trigger appropriate investigation runbook:
    • Suspicious login → suspicious_login_triage
    • Malware → malware_triage
    • IOC-focused → deep_dive_ioc_analysis

Output Requirements

After completing triage, provide:

  1. Alert Status: Closed (with reason) or Escalated
  2. Classification: FP, BTP, TP, or Suspicious
  3. Evidence Summary: Key findings from enrichment and SIEM searches
  4. Rationale: Why this classification was chosen
  5. Next Steps: What happens next (closed, assigned to whom, which runbook triggered)

Quick Reference

SOAR Tools:

  • get_case_full_details, list_alerts_by_case, list_events_by_alert
  • post_case_comment, change_case_priority
  • siemplify_get_similar_cases, siemplify_close_case, siemplify_close_alert

SIEM Tools:

  • lookup_entity, get_ioc_matches, search_security_events

GTI Tools:

  • get_file_report, get_domain_report, get_ip_address_report, get_url_report

For detailed workflow diagrams, completion criteria, and evaluation rubric, see reference.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.