/orca-skills:orca-alert-triagefrom Orca Skills
Formats Orca Security alerts into analyst-friendly summaries with timeline visualization, risk assessment, and progressive disclosure. Triggered by alert IDs like 'orca-3636513'.
Ships in Orca Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Formats Orca Security alerts into analyst-friendly summaries with behavioral timelines, risk analysis, and progressive disclosure of investigation steps.
/orca-alert-triage <alert-id>
/orca-alert-triage orca-3636513
/orca-alert-triage orca-3548863
Or natural language:
═══════════════════════════════════════════════════════════════════
ALERT TITLE
═══════════════════════════════════════════════════════════════════
VERDICT: <assessment> | CONFIDENCE: <percent> | ACTION: <what to do> | TIMELINE: <when>
───────────────────────────────────────────────────────────────────
ALERT TIMELINE
───────────────────────────────────────────────────────────────────
BEHAVIORAL PATTERN / VULNERABILITY LIFECYCLE:
[Visual timeline with key events]
RECURRENCE: <pattern analysis>
ESCALATION: <status change summary>
RED FLAGS: <critical indicators if present>
───────────────────────────────────────────────────────────────────
WHAT HAPPENED
───────────────────────────────────────────────────────────────────
[2-3 sentence summary of the alert]
───────────────────────────────────────────────────────────────────
WHY IT MATTERS
───────────────────────────────────────────────────────────────────
Risk Level: <severity> (Orca Score: X.X)
BEHAVIORAL ASSESSMENT / SEVERITY FACTORS:
[Risk indicators with ✓/✗ symbols]
BLAST RADIUS:
• Affected Assets: X
• Alert History: [correlation]
• Environment: [prod/dev/test]
• Impact: [description]
BUSINESS IMPACT: [concise statement]
═══════════════════════════════════════════════════════════════════
Follow-up options:
Investigation Checklist (investigate):
Evidence & References (evidence):
Remediation Steps (remediate):
Correlation Analysis (correlate):
Tools: get_alert, get_alert_timeline, get_asset_alerts_count_grouped_by_risk_level
Analyze event_log for:
Key patterns to identify:
Pattern Interpretation
────────────────────────────────────────────────────────────────
Single event, no recurrence Likely benign/false positive
Open > 7 days, no action Ownership/priority issue
Closed → Reopened same day Premature closure, issue persists
Multiple dismiss/reopen Remediation blockers/disagreement
Failed notifications Integration health problem
Calculate confidence level based on:
Anomaly alerts:
Vulnerability alerts:
Misconfiguration alerts:
Query for:
1. Asset alert count (get_asset_alerts_count_grouped_by_risk_level)
2. Similar alerts (discovery_search with same alert type + timeframe)
3. Asset context (permissions, exposure, sensitive data)
4. Related assets (same vulnerability/misconfiguration pattern)
Format as:
BLAST RADIUS:
• Affected Assets: X [type]
• Alert History: Clean | N alerts | Targeted
• Correlation: Isolated | Part of pattern (N similar alerts)
• Environment: Production | Dev | Test
Verdict Formula:
IF severity = critical AND (exploit_available OR exposure = public) THEN
"Active Threat"
ELSE IF anomaly AND single_occurrence AND same_tool_family THEN
"Likely Benign"
ELSE IF vulnerability AND fix_available AND NOT exploited THEN
"Patchable Risk"
ELSE IF status_changes > 3 AND duration > 7d THEN
"Remediation Blocked"
ELSE
"Requires Investigation"
Confidence Calculation:
Start: 50%
+ Same tool family (anomaly): +30%
+ Minor version bump: +20%
+ Clean baseline 30+ days: +15%
+ No correlation with suspicious activity: +15%
+ Single occurrence: +10%
OR
+ Known CVE with CVSS: +40%
+ Public exploit available: +30%
+ Verified by multiple sources: +20%
Cap at: 100%
Floor at: 30%
Timeline Guidance:
Severity Public Facing Exploited Timeline
──────────────────────────────────────────────────
Critical Yes Yes NOW (immediate)
Critical Yes No 4 hours
Critical No Yes 24 hours
High Yes - 48 hours
Medium - - 1 week
Low - - 2 weeks
Info - - Review on close
When user replies with keywords, provide the appropriate section:
Two-phase approach — gather data from Orca first, then suggest external actions only for gaps.
Phase 1: Automated investigation using Orca data (do this BEFORE showing anything to the user)
Query Orca MCP tools to gather as much context as possible:
get_asset_by_id to get full asset details (permissions, exposure, tags, configuration)get_asset_alerts_count_grouped_by_risk_level to see what else is firing on this assetdiscovery_search to find:
Synthesize all findings into a structured investigation report:
═══════════════════════════════════════════════════════════════════
INVESTIGATION REPORT — <alert-id>
<alert title>
═══════════════════════════════════════════════════════════════════
───────────────────────────────────────────────────────────────────
FINDINGS FROM ORCA DATA
───────────────────────────────────────────────────────────────────
ASSET CONTEXT:
[Full asset details — permissions, exposure, config, relationships]
ALERT CORRELATION:
[Other alerts on this asset — grouped by risk level]
[Pattern: isolated finding vs. part of a cluster]
RELATED ACTIVITY:
[Cloud logs, runtime events, login history from Orca]
[Suspicious vs. expected activity]
VERDICT UPDATE:
[Did investigation change the initial verdict? Why?]
───────────────────────────────────────────────────────────────────
GAPS — What Orca data could NOT answer
───────────────────────────────────────────────────────────────────
[Only if there are real gaps after Phase 1]
[ ] <specific action> — why it's needed, what to look for
<runnable command or console URL>
ESCALATION CRITERIA:
[When to escalate based on what was found AND what gaps remain]
═══════════════════════════════════════════════════════════════════
Phase 2: External investigation steps (only for gaps)
Only suggest manual commands or external tool queries when Orca data is insufficient. Examples of valid gaps:
When suggesting external steps, always:
Show EVIDENCE & REFERENCES:
Two-step flow — always ask for format first, then generate output.
Step 1: Ask the user how they want the remediation delivered. Use AskUserQuestion to present format options. The available options depend on the alert's cloud provider and asset type:
| Option | When to offer | Description |
|---|---|---|
| Step-by-step instructions | Always | Console walkthrough with manual steps |
| Terraform | Always (cloud resources) | HCL code to fix the misconfiguration or harden the resource |
| CloudFormation | AWS alerts only | CFN template (YAML) to remediate |
| Azure Resource Manager (ARM) | Azure alerts only | ARM/Bicep template to remediate |
| Pulumi | Always (cloud resources) | Pulumi code (TypeScript) to remediate |
| CLI commands | Always | Cloud CLI commands (aws/az/gcloud/cf) to run directly |
Only show options relevant to the alert's cloud provider. For example:
Step 2: Generate remediation in the selected format and write to file.
After the user selects a format, generate the remediation and always write code/template/script output to a file using the Write tool. Use a sensible filename based on the alert ID and format:
remediate-<alert-id>.tfremediate-<alert-id>.cfn.yamlremediate-<alert-id>.bicepremediate-<alert-id>.tsremediate-<alert-id>.shWrite the file to the current working directory. After writing, show a summary of the remediation with the file path, and display the key sections (immediate actions, verification, prevent recurrence) inline. The user can then review and apply the file.
Structure the inline summary as:
═══════════════════════════════════════════════════════════════════
REMEDIATION — <alert-id> (<selected format>)
<alert title>
═══════════════════════════════════════════════════════════════════
IMMEDIATE ACTIONS:
[blocking/isolation steps if critical]
FIX:
[full remediation in the selected format — code block for IaC/CLI]
VERIFICATION:
[commands to confirm the fix worked]
PREVENT RECURRENCE:
[guardrails to avoid regression]
═══════════════════════════════════════════════════════════════════
For each format, the content should be:
Step-by-step instructions: Console walkthrough matching Orca's RemediationConsole field, enriched with context from the alert.
Terraform: Complete .tf snippet that remediates the finding. Include provider block, resource/data blocks, and comments explaining each setting. Use the alert's asset details (IDs, names, regions) to pre-fill values where possible.
CloudFormation / ARM / Bicep: Complete template with parameters, resources, and outputs. Pre-fill known values from the alert.
Pulumi: TypeScript Pulumi program with imports, resource definitions, and exports.
CLI commands: Runnable shell commands with actual values from the alert (asset names, IDs, regions). Include verification commands at the end.
Always include at the end:
VERIFICATION:
[ ] Run verification command(s) provided above
[ ] Wait for next Orca scan or trigger manual rescan
[ ] Confirm alert status changes to closed
Query and show:
discovery_search: <alert-type> in last 7 days
- Similar alerts: X found
- Pattern: Isolated | Widespread | Targeted
- Affected accounts: [list]
- Recommendation: [based on pattern]
If MCP query fails:
⚠️ Unable to fetch alert data for <alert-id>
Possible reasons:
• Alert ID not found (check spelling: orca-XXXXXXX)
• MCP authentication expired
• Network connectivity issue
Try:
1. Verify alert ID in Orca UI
2. Check MCP status:
- Claude Code: `claude mcp list`
- Codex: `codex mcp list`
3. Re-authenticate if needed
✅ Start with verdict (decision first, details second) ✅ Use visual timeline with symbols (●, ├─, └─, ⚠️) ✅ Show clear next actions with timelines ✅ Provide runnable commands, not generic advice ✅ Highlight red flags prominently ✅ Progressive disclosure (offer investigation steps, don't force them) ✅ Calculate confidence level transparently
❌ Dump all data at once ❌ Use excessive emojis (limit to critical indicators only) ❌ Include irrelevant details (asset creation date unless relevant) ❌ Provide generic recommendations ("review the logs") ❌ Skip the timeline (it shows critical behavioral patterns) ❌ Overuse technical jargon without context
Initial output: 15-20 lines with verdict, timeline, what happened, why it matters User types: "investigate" Follow-up: Investigation checklist with CloudTrail queries Result: Analyst closes alert in ~2 minutes
Initial output: 25-30 lines with RED FLAGS section Automatic: Show remediation urgency ("NOW") Timeline shows: 39 days open, multiple status changes (friction indicator) User types: "remediate" Follow-up: Specific patching steps for Log4j Result: Analyst escalates with full context
This skill requires the Orca Security MCP server. Below is the tested tool reference with correct parameter names and known issues.
| Tool | Parameters | Notes |
|---|---|---|
get_alert | alert_id (string, e.g. "orca-1234") | Primary alert data. Returns full alert with RiskFindings, ScoreVector, Inventory, AssetData. |
get_alert_timeline | alert_id (string) | Returns event_log array with status changes, notifications, score overrides. |
get_asset_by_alert_id | alert_id (string) | Get the asset tied to an alert. |
get_asset_by_id | asset_id (UUID or asset_unique_id), optional model_type | Full asset details. Use the Inventory id field (UUID), NOT asset_unique_id. |
get_asset_by_name | asset_name (substring), optional model_type, name_match_limit | Search by name substring. May return multiple results. |
get_asset_related_alerts_summary | asset_id (UUID) | Top 50 alerts on this asset. Key for investigation — returns related alerts with RiskFindings including CloudTrail events. |
get_asset_related_attack_paths_summary | asset_id (UUID) | Attack paths connected to the asset. |
get_asset_crown_jewel_info | group_unique_id (string) | Check if asset is a crown jewel. Use the GroupUniqueId or cluster_unique_id from alert data. |
discovery_search | search_phrase (natural language), optional limit (1-10) | Natural language search across Orca data. Use for finding similar alerts, related assets, etc. |
get_asset_alerts_count_grouped_by_risk_level: Requires asset_id as a UUID. Using asset_unique_id format (e.g., "AwsUser_506464807365_...") causes a 400 error. Use the Inventory id field instead.discovery_search: Parameter is search_phrase, NOT query. Uses natural language, not a query DSL.get_asset_related_alerts_summary: This is the most valuable investigation tool — related alerts often contain CloudTrail events, runtime detections, and other context not in the primary alert..mcp.json are not loading, fall back to direct HTTP calls to https://api.orcasecurity.io/mcp using SSE protocol (Accept: application/json, text/event-stream). Parse the data: line from the SSE response.c46cb523-3c5d-5bae-...) → use with get_asset_by_id, get_asset_related_alerts_summary, get_asset_related_attack_paths_summaryasset_unique_id (e.g., AwsUser_506464807365_...) → do NOT use with asset tools expecting UUIDGroupUniqueId / cluster_unique_id → use with get_asset_crown_jewel_infoA successful triage should enable the analyst to:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orca-security, alert-triage, cloud-security, incident-response
22 skills in this plugin
/orca-account-healthCloud account coverage and sync-health audit — lists every connected cloud account, sync status, scanner deployment, integration health, and flags blind spots before any audit, investigation, or security review. Use when user asks about coverage, account health, sync status, scanner deployment, "are we monitoring X", or "do we have full coverage" (e.g., "account health", "are all accounts connected", "is everything synced", "coverage audit")./orca-admin-access-groupingAdmin access grouping - fetches Orca's pre-computed admin clustering (IAM Policy Optimizer) for AWS, Azure, and GCP, groups every admin identity into a small number of shared least-privilege policies that replace blanket AdministratorAccess / Owner, and drives the swap through a staged, confirmation-gated apply. Use when the user wants to group or tier their admins, cut down how many people hold full admin, replace AdministratorAccess with role-based policies, or see how few policies their admin population actually needs. Scoped to grouping the admin population org-wide into shared policies - it takes no account, business unit, or tag as scope. Right-sizing individual identities within an account, business unit, or tag belongs to orca-overprivileged-identities-rightsizing; a single named identity's permission review belongs to orca-identity-review./orca-asset-profileFull 360° security profile of any cloud asset — alerts, attack paths, compliance, permissions, exposure, sensitive data, and CDR activity in one view. Use when user asks about an asset's security posture or profile (e.g., "asset profile for web-bastion-host", "tell me about WEB-PRD", "security posture of", "show me everything about")./orca-cloud-cost-optimizerCloud cost optimization analysis using Orca Security asset data. Discovers all cloud assets (AWS, GCP, Azure) through Orca MCP tools, compares current configurations against cheaper alternatives using live public pricing, and produces a prioritized cost reduction report with exact asset evidence. Use when the user asks about cloud cost optimization, reducing cloud spend, rightsizing instances, saving money on cloud infrastructure, cost reduction opportunities, unused resources, oversized VMs, reserved instances, storage tiering, or wants to know what changes would lower their cloud bill./orca-code-scannerScan the code you just changed with the Orca CLI (secrets, vulnerable or malicious dependencies, IaC, Dockerfiles, images, SAST), then triage and fix real findings. Run once as the closing step of a coding task, or when asked to scan changes. Not for live cloud posture. Also use when asked "is this secure" or to scan an image before pushing, or when secrets, CVEs, malicious packages, IaC misconfig, or licenses come up while coding. Not for non-security code review or Orca platform/CLI troubleshooting. Runs without being asked; skip only if the developer says not to scan./orca-compliance-gapDeep-dive compliance gap analysis for any framework — failing controls ranked by impact, quick wins, account breakdown, and remediation plan. Use when user asks about compliance gaps, failures, or status (e.g., "compliance gaps", "PCI DSS status", "where are we failing", "SOC 2 compliance", "quick wins").npx claudepluginhub orcasecurity/orca-skills --plugin orca-skillsOther plugins' skills for the same job