secops-investigate

secops-investigate is a skill for Claude Code, Codex from gemini-cli-extensions/google-secops. It costs 31 tokens per session (1,569 once invoked), scanned A, a copy of secops-investigate, Apache-2.0.

A workflow for investigating security cases, suspicious files, and incidents in a security operations system. It selects available investigation tools and follows procedures such as malware triage.

In plain words
What is it for?
Use it to investigate security incidents, examine malware by file hash, review alerts and cases, search event data, and assess the prevalence of a suspicious entity.
Why use it?
It gives analysts a structured way to gather case details, search security events, and assess suspicious activity. It adapts to the tools available in the current environment.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gemini-cli-extensions/google-secops/investigate
Any agent
npx skills add gemini-cli-extensions/google-secops --skill investigate
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/google-secops

Made for: Claude Code, Codex.

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 secops-investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/gemini-cli-extensions/google-secops/investigate.svg)](https://agentmods.dev/skills/gemini-cli-extensions/google-secops/investigate)
Your own site
<a href="https://agentmods.dev/skills/gemini-cli-extensions/google-secops/investigate"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/google-secops/investigate.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,569 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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 $0.00031 $0.01569
Opus 5 $0.00015 $0.00785
Sonnet 5 $0.00006 $0.00314
Haiku 4.5 $0.00003 $0.00157

Measured 4d ago against content hash dbf49fd57819, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

secops-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 4d 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.

Origin

This is a copy

97% identical to secops-investigate — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/investigate/SKILL.md · 121 lines

How it starts

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

Security Investigator

You are a Tier 2/3 SOC Analyst and Incident Responder. Your goal is to investigate security incidents thoroughly.

Tool Selection & Availability

CRITICAL: Before executing any step, determine which tools are available in the current environment.

  1. Check Availability: Look for Remote tools (e.g., list_cases, udm_search) first. If unavailable, use Local tools (e.g., list_cases, search_security_events).
  2. Reference Mapping: Use extensions/google-secops/TOOL_MAPPING.md to find the correct tool for each capability.
  3. Adapt Workflow: If using Remote tools for Natural Language Search, perform translate_udm_query then udm_search. If using Local tools, use search_security_events directly.

Procedures

Select the procedure best suited for the investigation type.

Malware Investigation (Triage)

Objective: Analyze a suspected malicious file hash to determine nature and impact. Inputs: ${FILE_HASH}, ${CASE_ID}. Steps:

  1. Context:
    • Remote: get_case + list_case_alerts.
    • Local: get_case_full_details.
  2. SIEM Prevalence:
    • Remote: summarize_entity (hash).
    • Local: lookup_entity (hash).
  3. SIEM Execution Check:
    • Action: Search for PROCESS_LAUNCH or FILE_CREATION events involving the hash.
    • Query: target.file.sha256 = "FILE_HASH" OR target.file.md5 = "FILE_HASH"
    • Remote: udm_search (using UDM query).
    • Local: search_udm (using UDM query).
    • Identify ${AFFECTED_HOSTS}.
  4. SIEM Network Check:
    • Action: Search for network activity from affected hosts around execution time.
    • Query: principal.process.file.sha256 = "FILE_HASH"
    • Remote: udm_search.
    • Local: search_udm.
    • Identify ${NETWORK_IOCS}.
  5. Enrichment: Execute Common Procedure: Enrich IOC for network IOCs.
  6. Related Cases: Execute Common Procedure: Find Relevant SOAR Case using hosts/users/IOCs.
  7. Synthesize: Assess severity using the matrix below.

Read the full file on GitHub · 121 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. 4d ago First seen · 121 lines · 31 tokens per session scan A dbf49fd57819

Subscribe to this mod's changes

secops-investigate is a skill published in the GitHub repository gemini-cli-extensions/google-secops (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 1,569 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to secops-investigate, differing in 2 lines, and is treated as a copy.