orca-investigate

orca-investigate is a skill for Claude Code from orcasecurity/orca-skills. It costs 77 tokens per session (5,008 once invoked), scanned A, original, MIT.

A cloud incident investigation tool that follows activity by user, IP address, account, suspicious event, or resource through audit logs. It builds a timeline, identifies related sessions, links actions to MITRE ATT&CK techniques, and estimates the affected scope.

In plain words
What is it for?
Use it to investigate cloud incidents, trace an identity or source IP, find who accessed a resource, and examine suspicious events or account activity.
Why use it?
It removes the need to piece together scattered cloud log entries by hand when investigating suspicious activity. It helps answer what happened, who acted, and how far the activity reached.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the orca-skills plugin — 19 skills shipped together

Good fit Use it to investigate cloud incidents, trace an identity or source IP, find who accessed a resource, and examine suspicious events or account activity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/orcasecurity/orca-skills/orca-investigate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add orcasecurity/orca-skills --skill orca-investigate
Clone the repo
git clone --depth 1 https://github.com/orcasecurity/orca-skills

Made for: Claude Code.

Or install orca-skills, the plugin that ships this one along with the rest of its 19 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orca-investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-investigate/github.svg)](https://agentmods.dev/skills/orcasecurity/orca-skills/orca-investigate)
Your own site
<a href="https://agentmods.dev/skills/orcasecurity/orca-skills/orca-investigate"><img src="https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-investigate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orca-investigate

Your own site · 80×15
<a href="https://agentmods.dev/skills/orcasecurity/orca-skills/orca-investigate"><img src="https://agentmods.dev/badge/skills/orcasecurity/orca-skills/orca-investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.05008
Opus 5 $0.00039 $0.02504
Sonnet 5 $0.00015 $0.01002
Haiku 4.5 $0.00008 $0.00501

Measured 12d ago against content hash b2977845ff26, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

orca-investigate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/orca-investigate/SKILL.md · 587 lines

How it starts

The opening of the file, as written. The whole thing — 587 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orca Investigate Skill

Answers the question: "What happened, who did it, and how far did they get?"

Given an actor (IAM identity), source IP, target resource, or suspicious event, traces activity through Orca CDR (CloudTrail/audit logs), builds a session timeline, maps actions to MITRE ATT&CK techniques, clusters related sessions, and assesses the blast radius.

Usage

/orca-investigate arn:aws:iam::123456789012:role/bastion-admin-role
/orca-investigate 10.0.1.50
/orca-investigate account 123456789012

Or natural language:

  • "investigate what this role did in the last 24 hours"
  • "trace activity from IP 10.0.1.50"
  • "what happened in this account today?"
  • "investigate suspicious AssumeRole events"
  • "who accessed the prod database?"
  • "incident investigation for orca-3636513"

Processing Logic

Step 1: Determine Investigation Scope

Parse user input to determine the investigation axis:

Input Pattern Primary Filter CDR Parameter
ARN (actor) Identity-based actors: ["<ARN>"]
IP address Source-based source_ip_addresses: ["<IP>"]
Resource ARN/name Target-based targets: ["<resource>"]
Account ID Account-wide accounts: ["<account>"]
Event/action name Action-based actions: ["<action>"]
Alert ID (orca-XXXX) Alert-initiated Fetch alert, extract actor/target, then CDR
Service name Service-based services: ["<service>"]

Determine time range:

  • Default: "last_24_hours" for active incidents
  • "last 3 days" / "last week" → "last_3_days" / "last_7_days"
  • User-specified → map to nearest CDR enum

Step 2: Gather Data (run ALL in parallel)

Query 1: Events by the actor/from the source/on the target

search_cdr_events:
  <primary filter>: [<value>]
  time_range: "<selected range>"
  limit: 100

Query 2: Event summary grouped by action

get_cdr_events_grouped_by_event_name:
  <primary filter>: [<value>]
  time_range: "<selected range>"
  page_size: 100

Read the full file on GitHub · 587 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 587 lines · 77 tokens per session scan A b2977845ff26

Subscribe to this mod's changes

orca-investigate is a skill published in the GitHub repository orcasecurity/orca-skills (50 stars, last pushed 6d ago), licensed MIT. It adds 77 tokens to every session and 5,008 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

docx-comment-reply

Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

influence-psychology

Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive copy", "why users dont convert", "ethical persuasion", "reciprocity", "scarcity tactics", "commitment…

wondelai/skills · 156 tokens

jobs-to-be-done

Discover what customers truly need by analyzing the "job" they hire your product to do. Use when the user mentions "customer discovery", "why customers churn", "what job does this solve", "competing against luck", "product-market fit", "switching behavior", "milkshake moment", or "functional vs emotional jobs". Also…

wondelai/skills · 137 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens