# Sh log triage

> Sh log triage is an open-source agent skill for security. Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/dmdhrumilmistry/indra/tree/main/plugins/indra/skills/sh-log-triage
- **Repository:** https://github.com/dmdhrumilmistry/indra
- **GitHub stars:** 44
- **License:** MIT
- **Skill name:** sh-log-triage
- **Collection:** https://github.com/dmdhrumilmistry/indra
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through log triage and threat hunting on SIEM alerts and raw log files. It starts with a shift summary showing volume, noisy rules, top hosts and techniques, then narrows by time and host. For each alert the agent states the claim, lists the traces it would leave if real, searches for corroborating and contradicting evidence, and scopes the activity before grouping events into incidents with a UTC timeline.

Verdicts are benign, suspicious or malicious, each with a confidence level and the quoted fields behind it. Indicators can be pulled out of reports or pasted threat intel and swept across the data over time. The skill also covers hunting hypotheses, recording blind spots, and turning false positives into tuning requests for a detection-rules skill.

It relies on the indra command line for configured Wazuh, Elastic, OpenSearch and Splunk sources, and on Read and Grep for local log files. It is strictly read-only and writes a markdown report to a triage folder, ending with an overall verdict line that other tools can parse.

## When your agent uses it

> Log triage and threat hunting: read SIEM alerts and logs (Wazuh, Elastic, OpenSearch, Splunk through `indra siem`, or log files the user gives), summarise a shift, extract and sweep indicators, test what else must be true if an alert is real, scope it, group related events into incidents, build a timeline, and say what is benign, suspicious or needs a human, with the evidence for each. Use when the user asks to triage alerts, open a shift, investigate an alert or host, hunt for a technique or indicator, sweep for IOCs, review logs, or 'what happened on X'. Read-only: it never blocks, isolates or deletes anything.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-log-triage)
- [Asks for: Read, Write, Grep, Glob, Bash](https://github.com/dmdhrumilmistry/indra/blob/HEAD/plugins/indra/skills/sh-log-triage/SKILL.md)
- [License: MIT](https://github.com/dmdhrumilmistry/indra/tree/HEAD/plugins/indra/skills/sh-log-triage)

## Features

- **Shift summary overview:** Summarises alert volume, noisy rules, top hosts, techniques and hourly patterns to choose where to look first.
- **Evidence-based verdicts:** Classifies each incident as benign, suspicious or malicious with confidence levels and quoted supporting fields.
- **Indicator extraction and sweep:** Pulls IPs, domains, hashes and CVE ids from text and searches logs for their first and last appearances.
- **Incident timeline building:** Groups related events by host, account or source address and orders them into a UTC timeline.
- **Hypothesis-driven hunting:** Tests a stated hypothesis against the data and reports hits, near misses and blind spots.
- **Escalation and alert tuning:** Flags when a human must act and records false positives as tuning requests with proposed filters.

## Good for

- Open a shift by reviewing the last 24 hours of SIEM alerts
- Investigate whether an alert on a specific host is a real intrusion
- Sweep logs for indicators from a threat intel report over the past week
- Hunt for password spraying against the VPN in authentication logs
- Review a log file and summarise what happened on a server
- Identify noisy detection rules that need tuning

## Install

### Claude Code

This skill ships in the `indra` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indra
```

Or copy only this skill to `~/.claude/skills/sh-log-triage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-log-triage &&
cp -R "$tmp/plugins/indra/skills/sh-log-triage" ~/.claude/skills/sh-log-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/sh-log-triage` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/sh-log-triage` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-log-triage &&
cp -R "$tmp/plugins/indra/skills/sh-log-triage" ~/.agents/skills/sh-log-triage &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/sh-log-triage` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/sh-log-triage` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-log-triage &&
cp -R "$tmp/plugins/indra/skills/sh-log-triage" ~/.cursor/skills/sh-log-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/sh-log-triage` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-log-triage
```

Or copy the folder to `~/.gemini/skills/sh-log-triage` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/sh-log-triage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-log-triage &&
cp -R "$tmp/plugins/indra/skills/sh-log-triage" ~/.copilot/skills/sh-log-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/sh-log-triage` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git
```

Then copy `indra/plugins/indra/skills/sh-log-triage` into your agent's skills folder as `sh-log-triage`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Sh log triage need to run?

The indra command line with a configured SIEM source, or a log file path the user provides.

### Can Sh log triage block or change anything in my environment?

No. The skill is read-only and never blocks, isolates, deletes or changes rules; it recommends actions for a human.

### Where does the output go?

It writes a markdown report to a triage folder in the current directory, ending with an overall verdict line.

### Which log sources are supported?

Wazuh, Elastic, OpenSearch and Splunk through indra siem, plus log files the user points to.

### How do I install Sh log triage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sh-log-triage to use it in all your projects, or to .claude/skills/sh-log-triage in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.

### Does Sh log triage run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Sh log triage?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Sh log triage?

The closest alternatives to Sh log triage are Soc alert triage, Sh threat hunt, Soc investigator, Sh incident response and Incident response runbook.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Soc alert triage](https://ai-powered.com/skills/soc-alert-triage): Soc alert triage is an open-source agent skill for security.
- [Sh threat hunt](https://ai-powered.com/skills/sh-threat-hunt): Sh threat hunt is an open-source agent skill for security.
- [Soc investigator](https://ai-powered.com/skills/soc-investigator): Soc investigator is an open-source agent skill for security.
- [Sh incident response](https://ai-powered.com/skills/sh-incident-response): Sh incident response is an open-source agent skill for security.
- [Incident response runbook](https://ai-powered.com/skills/incident-response-runbook): Incident response runbook is an open-source agent skill for security.
- [Sh detection rules](https://ai-powered.com/skills/sh-detection-rules): Sh detection rules is an open-source agent skill for security.
- [Secops triage](https://ai-powered.com/skills/secops-triage): Secops triage is an open-source agent skill for security.
- [Dfir](https://ai-powered.com/skills/dfir): Dfir is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/sh-log-triage
