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

full-alert-triage

Skill127 starsChanged 4 months agoApache-2.0View on GitHub

Complete Tier 1 triage workflow. Orchestrates the full alert triage process: check-duplicates, triage-alert, enrich-ioc for each entity, and either close (FP/BTP) or escalate (TP/Suspicious). Use for end-to-end alert processing.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If not duplicate: Continue to Phase 2

    line 92
  2. Very specific:

    Update CLASSIFICATION if enrichment reveals new information.

    line 119
  3. Very specific:

    If /check-duplicates fails → Log warning, continue with triage

    line 183
  4. Very specific:

    If /enrich-ioc fails for an entity → Log warning, continue with other entities

    line 184
  5. Very specific:

    If /close-case-artifact fails → Log error, manual closure required

    line 185
  6. Distinctive:

    If any MCP tool unavailable → Document limitation, proceed with available data

    line 186

≈ “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

Full Alert Triage Workflow

A composite skill that orchestrates the complete Tier 1 alert triage process from initial receipt to disposition (close or escalate).

Inputs

  • CASE_ID or ALERT_ID - The alert/case to triage (required)

Orchestrated Workflow

┌─────────────────────────────────────────────────────────────────┐
│                    FULL ALERT TRIAGE                            │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  START                                                          │
│    │                                                            │
│    ▼                                                            │
│  ┌─────────────────────┐                                        │
│  │  /check-duplicates  │                                        │
│  └──────────┬──────────┘                                        │
│             │                                                   │
│     ┌───────┴───────┐                                           │
│     ▼               ▼                                           │
│  DUPLICATE       NOT DUPLICATE                                  │
│     │               │                                           │
│     ▼               ▼                                           │
│  Close &      ┌─────────────────────┐                           │
│  Document     │   /triage-alert     │                           │
│     │         └───────────┬─────────┘                           │
│     │                     │                                     │
│     │         ┌───────────┴─────────┐                           │
│     │         │  For each entity:   │                           │
│     │         │    /enrich-ioc      │                           │
│     │         └───────────┬─────────┘                           │
│     │                     │                                     │
│     │         ┌───────────┴─────────┐                           │
│     │         │     DECISION        │                           │
│     │         └───────────┬─────────┘                           │
│     │                     │                                     │
│     │     ┌───────────────┼────────────────┐                    │
│     │     ▼               ▼                ▼                    │
│     │   FP/BTP         TP/Suspicious    Inconclusive            │
│     │     │                  │                  │               │
│     │     ▼                  ▼                  ▼               │
│     │  /document-in-case    /document-in-case /document-in-case │
│     │  /close-case-artifact  ESCALATE         Request more info │
│     │     │                  │                  │               │
│     └─────┴──────────────────┴──────────────────┘               │
│                    │                                            │
│                    ▼                                            │
│               /generate-report                                  │
│                    │                                            │
│                    ▼                                            │
│                  END                                            │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Detailed Steps

Phase 1: Pre-Check

Step 1.1: Check for Duplicates

Invoke: /check-duplicates CASE_ID=$CASE_ID

  • If duplicate confirmed:
    • Invoke: /document-in-case with "Closing as duplicate of [Similar Case ID]"
    • Invoke: /close-case-artifact with reason NOT_MALICIOUS
    • END WORKFLOW
  • If not duplicate: Continue to Phase 2

Phase 2: Initial Triage

Step 2.1: Perform Alert Triage

Invoke: /triage-alert CASE_ID=$CASE_ID

Extract from results:

  • CLASSIFICATION - FP, BTP, TP, or Suspicious
  • KEY_ENTITIES - List of IOCs (IPs, domains, hashes, URLs)
  • ALERT_TYPE - Type of alert (malware, authentication, network, etc.)
  • PRIORITY - Suggested priority level

Phase 3: Enrichment

Step 3.1: Enrich Each Entity

For each entity in KEY_ENTITIES:

Invoke: /enrich-ioc IOC_VALUE=$entity

Collect:

  • GTI_FINDINGS - Threat intelligence results
  • SIEM_CONTEXT - SIEM entity summary
  • IOC_MATCH_STATUS - Whether IOC appears in threat feeds

Update CLASSIFICATION if enrichment reveals new information.

Phase 4: Decision & Action

Step 4.1: Make Final Classification

Based on triage and enrichment, confirm classification:

ClassificationCriteriaAction
False Positive (FP)No malicious indicators, known benignClose
Benign True Positive (BTP)Real but authorized/expectedClose
True Positive (TP)Confirmed maliciousEscalate
SuspiciousInconclusive, warrants investigationEscalate

Step 4.2: Execute Disposition

If FP or BTP:

  1. Invoke: /document-in-case with:
    • Classification and rationale
    • Evidence summary from enrichment
    • Closure justification
  2. Invoke: /close-case-artifact with:
    • Reason: NOT_MALICIOUS
    • Root cause: Appropriate option (e.g., "Legit action", "Normal behavior")

If TP or Suspicious:

  1. Invoke: /document-in-case with:
    • Classification and rationale
    • Evidence summary
    • Recommended next steps
  2. Output escalation recommendation:
    • Escalate to Tier 2
    • Suggest appropriate follow-up skill based on alert type:
      • Malware → /triage-malware
      • Authentication → /triage-suspicious-login
      • IOC-focused → /deep-dive-ioc

Phase 5: Report

Step 5.1: Generate Triage Report

Invoke: /generate-report REPORT_TYPE=triage

Include:

  • Case/Alert ID
  • Classification with rationale
  • Key entities and enrichment results
  • SIEM queries executed
  • Disposition taken
  • Next steps (if escalated)

Outputs

OutputDescription
FINAL_CLASSIFICATIONFP, BTP, TP, or Suspicious
DISPOSITIONClosed or Escalated
EVIDENCE_SUMMARYKey findings from triage and enrichment
REPORT_PATHPath to generated triage report
ESCALATION_TARGETIf escalated, recommended next skill/tier

Error Handling

  • If /check-duplicates fails → Log warning, continue with triage
  • If /enrich-ioc fails for an entity → Log warning, continue with other entities
  • If /close-case-artifact fails → Log error, manual closure required
  • If any MCP tool unavailable → Document limitation, proceed with available data

Performance Targets

  • Total workflow time: < 15 minutes
  • Duplicate detection: < 1 minute
  • Per-entity enrichment: < 2 minutes
  • Target accuracy: > 90% correct classification

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.