# edr-api-triage-and-containment-scripting

edr-api-triage-and-containment-scripting is a Claude Code skill for building CLI tools around EDR investigations. It activates for scripting host triage and controlled isolation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/edr-api-triage-and-containment-scripting/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/edr-api-triage-and-containment-scripting

## What it does

The skill guides CLI development for reading EDR data and taking guarded action on hosts. Tools can retrieve host timelines, process trees, and isolation status from Microsoft Defender, CrowdStrike FalconPy, or SentinelOne. Actions default to `--dry-run`; changing host state requires a two-person approval token and an audit entry.

CrowdStrike examples use FalconPy’s `Hosts` and `RealTimeResponse` classes. Defender examples use its API with `requests`. The selected EDR API needs credentials, and Python is used to validate a script with `python -m py_compile edr_triage.py`. API rate limits call for batched requests and delayed retries after a 429 response.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill edr-api-triage-and-containment-scripting -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/edr-api-triage-and-containment-scripting/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/edr-api-triage-and-containment-scripting/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill edr-api-triage-and-containment-scripting -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/edr-api-triage-and-containment-scripting/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill edr-api-triage-and-containment-scripting -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/edr-api-triage-and-containment-scripting/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster blue-team/security-automation-and-tool-development/edr-api-triage-and-containment-scripting
```

2. **Manually: put the files in place**
- File: `.github/skills/edr-api-triage-and-containment-scripting/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill edr-api-triage-and-containment-scripting -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path blue-team/security-automation-and-tool-development/edr-api-triage-and-containment-scripting
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/edr-api-triage-and-containment-scripting/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/blue-team/security-automation-and-tool-development/edr-api-triage-and-containment-scripting/SKILL.md

## When to use it
- retrieve a host timeline through an EDR API
- inspect a host’s process tree and isolation state
- build a CLI that gates host isolation on an approval token
- record attempted actions and refusals in an audit log

## Example prompts
- Write a CLI that retrieves a host timeline through CrowdStrike FalconPy.
- Add `--dry-run` and require approval before isolating a host.
- Batch Defender lookups and retry after a 429 response with a delay.

## Similar
- [api-recon-and-docs](https://affpapa.org/en/nevibecode/skills/api-recon-and-docs.md) — skill · 4200 installs
- [api-authorization-and-bola](https://affpapa.org/en/nevibecode/skills/api-authorization-and-bola.md) — skill · 4100 installs
- [api-security-hardening](https://affpapa.org/en/nevibecode/skills/api-security-hardening.md) — skill · 872 installs
- [api-security-review](https://affpapa.org/en/nevibecode/skills/api-security-review.md) — skill · 684 installs
- [api-audit](https://affpapa.org/en/nevibecode/skills/api-audit.md) — skill · 646 installs
- [api-authentication](https://affpapa.org/en/nevibecode/skills/secondsky-api-authentication.md) — skill · 558 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
