
Sh purple team
Plans and runs approved purple-team tests to check whether SIEM detections fire
Sh purple team is an open-source agent skill for security. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 44
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Sh purple team
This skill plans a purple-team exercise to test whether detection rules actually catch attacker behavior. It picks techniques from a threat model, a detection backlog or a user's list, and writes a benign, reversible test case for each one, covering the action, expected telemetry, expected rule, cleanup and a stop condition. A human must approve the plan before anything runs.
Test actions run only inside an authorized indra engagement with written scope, a time window and an authorization reference. Outside one, the skill writes the plan and stops. Cases run one at a time, and the agent then searches the SIEM for each case's window and scores it as detected, detected late or missed, with a reason for every miss.
The skill expects the indra CLI, access to a SIEM through indra, and the INDRA_ENGAGEMENT environment variable when tests are run. Output goes to a purple folder with a plan file and a results scorecard.
When your agent uses it
Plan and run a purple-team exercise that validates detections: pick techniques from the threat model, the detection backlog or the user, write a benign and reversible test case for each (expected telemetry, expected rule, cleanup, stop condition), get a human to approve the plan, run the cases one at a time inside an authorized indra engagement, then check what the SIEM saw and score each as detected, detected late or missed, with the reason. Use when the user asks for a purple team exercise, to validate detections, or an attack simulation. Runs test actions only inside an engagement with written scope, window and authorization; outside one it produces the plan only.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Grep, Glob, Bash(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (7 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the indra plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add dmdhrumilmistry/indra
/plugin install indra@indraOr copy only this skill to ~/.claude/skills/sh-purple-team:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sh-purple-team &&
cp -R "$tmp/plugins/indra/skills/sh-purple-team" ~/.claude/skills/sh-purple-team &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/sh-purple-team inside it instead.
Copy the skill folder to ~/.agents/skills/sh-purple-team to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sh-purple-team &&
cp -R "$tmp/plugins/indra/skills/sh-purple-team" ~/.agents/skills/sh-purple-team &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/sh-purple-team inside it instead.
Copy the skill folder to ~/.cursor/skills/sh-purple-team to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sh-purple-team &&
cp -R "$tmp/plugins/indra/skills/sh-purple-team" ~/.cursor/skills/sh-purple-team &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/sh-purple-team inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/dmdhrumilmistry/indra.git --path plugins/indra/skills/sh-purple-teamOr copy the folder to ~/.gemini/skills/sh-purple-team yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sh-purple-team:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sh-purple-team &&
cp -R "$tmp/plugins/indra/skills/sh-purple-team" ~/.copilot/skills/sh-purple-team &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/sh-purple-team inside it instead.
Get the folder:
git clone --depth 1 https://github.com/dmdhrumilmistry/indra.gitThen copy indra/plugins/indra/skills/sh-purple-team into your agent's skills folder as sh-purple-team. Agents that support SKILL.md read one folder per skill.
What it does
- Technique selection
- Chooses ATT&CK techniques from the threat model, the detection backlog or the user's list, with a stated reason for each.
- Reversible test cases
- Defines one benign action per technique with expected telemetry, expected rule, cleanup and stop conditions.
- Human approval gate
- Requires a person to approve the plan before any test case runs, and records who approved it.
- Engagement-bound execution
- Runs tests only inside an authorized engagement, one case at a time, and never against out-of-scope hosts.
- SIEM detection scoring
- Searches the SIEM for each case window and scores results as detected, detected late or missed.
- Miss routing
- Classifies each miss by reason and hands follow-up work to the rules or hardening skills.
Good for
- Plan a purple-team exercise to validate detections for credential attacks
- Test whether SIEM alerts fire for a set of ATT&CK techniques
- Write approved, reversible attack simulations for a lab web server
- Score detection coverage and list the top missed techniques
- Draft a test plan without running anything outside an engagement
Sh purple team FAQ
When does Sh purple team run test actions?
Only inside an authorized indra engagement with written scope, a time window and authorization, and only after a human approves the plan. Outside an engagement, or with mode:plan, it writes the plan only.
What does Sh purple team check after a test?
It searches the SIEM for the window of each case and checks whether the expected rule matched, then scores the case as detected, detected late or missed.
What safety limits apply?
Actions must be benign and reversible. The skill forbids destructive, persistent or data-touching actions, credential theft, lateral movement beyond scope and denial of service, and stops a case on rate-limit or service errors.
Where are the results saved?
In a purple folder named by date and slug, containing plan.md and results.md with a scorecard of techniques, tests, expected rules, results and time to detect.
How do I install Sh purple team in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/sh-purple-team to use it in all your projects, or to .claude/skills/sh-purple-team in one project. Or install the indra plugin, which includes it: /plugin marketplace add dmdhrumilmistry/indra, then /plugin install indra@indra.
Does Sh purple team 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 purple team?
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 purple team?
The closest alternatives to Sh purple team are Sh detection rules, Detection as code, Purple team, Sh detection coverage and Sh incident response.
Where this comes from
- Description: from the skill's own SKILL.md.
More from dmdhrumilmistry/indra

Lets an agent triage SIEM alerts and logs, sweep indicators and build evidenced timelines
- Open source
- 44 GitHub stars
- Security

Gives a security review agent persistent Markdown memory of past findings and learnings
- Open source
- 44 GitHub stars
- Knowledge and memory

Security-reviews a GitHub pull request and reports findings as inline comments
- Open source
- 44 GitHub stars
- Developer tools

Publishes security review findings as de-duplicated Jira, GitHub, Confluence or Notion
- Open source
- 44 GitHub stars
- Knowledge and memory

Re-checks one earlier security finding against current code or recorded traffic
- Open source
- 44 GitHub stars
- Security

Runs a multi-agent static security review of a codebase, with verified findings
- Open source
- 44 GitHub stars
- Security





