forensics-investigate
БесплатноБез исполняемых скриптовНе проверенFull multi-agent investigation workflow
от jmagly★ 233 звезды на GitHubОб этом скилле
/forensics-investigate
Orchestrate a complete digital forensics investigation by coordinating all specialized agents through the full workflow: reconnaissance, triage, acquisition, multi-domain analysis, timeline building, IOC extraction, and report generation. Suitable for incident response and proactive threat hunting.
Usage
/forensics-investigate <target> [options]
Arguments
| Argument | Required | Description |
|---|---|---|
| target | Yes | SSH connection string, cloud target, or findings directory path |
| --scope | No | Investigation scope: triage, full, targeted-ssh, container, cloud (default: full) |
| --skip-stage | No | Skip a specific stage: recon, triage, acquire, analysis, timeline, ioc, report |
| --resume | No | Resume a previously interrupted investigation from last checkpoint |
| --output | No | Output directory (default: .aiwg/forensics/) |
| --parallel | No | Run analysis agents in parallel where possible (default: true) |
| --notify | No | Webhook URL for stage completion notifications |
Behavior
When invoked, this command:
Initialize Investigation
- Create investigation workspace at
.aiwg/forensics/ - Assign investigation ID (
INV-<date>-<host>) - Record start time, investigator, and scope
- Check for existing investigation to resume
- Create investigation workspace at
Reconnaissance (recon-agent)
- Profile target system and establish baseline
- Document services, users, and network configuration
- Save to
profiles/<hostname>/
Triage (triage-agent)
- Capture volatile data per RFC 3227 order
- Score initial threat level
- Identify active indicators requiring immediate attention
- Save to
findings/<hostname>/volatile/
Acquisition (forensic-acquisition-agent)
- Collect logs, configurations, and artifacts per triage findings
- Establish chain of custody for all evidence
- Compute and verify SHA-256 hashes
- Save evidence manifest to
acquisition/
Analysis (parallel agent coordination)
- Log Analyst: Auth logs, syslog, journal entries
- Persistence Hunter: Crons, systemd units, SSH keys, rootkits
- Network Analyst: Connections, DNS, beaconing, lateral movement
- Container Analyst: Docker/Kubernetes artifacts (if applicable)
- Memory Analyst: Volatility 3 analysis (if memory image available)
- Cloud Analyst: CloudTrail, IAM, flow logs (if cloud target)
- Save findings to
analysis/<agent>/
Timeline Building (timeline-builder)
- Correlate events across all analysis findings
- Normalize timestamps to UTC
- Reconstruct attack chain with MITRE ATT&CK mapping
- Save to
timeline/incident-timeline.md
IOC Extraction (ioc-analyst)
- Extract indicators from all findings
- Enrich with threat intelligence
- Map to STIX 2.1 observables
- Save to
ioc/ioc-register.md
Report Generation (reporting-agent)
- Compile executive summary and technical findings
- Include severity-classified evidence table
- Generate remediation plan with prioritized actions
- Save to
reports/forensic-report.md
Quality Gate
- Verify all stages completed or explicitly skipped
- Confirm evidence chain of custody integrity
- Check report completeness before marking investigation closed
Profile-to-Plan Generation
When a target profile exists at .aiwg/forensics/profiles/<hostname>-<date>/system-profile.md, forensics-investigate reads it before generating the investigation plan. This enables the plan to contain parameterized, host-specific commands instead of generic placeholders.
1. Reading the Target Profile
The command resolves the profile path from the target argument:
- Derive hostname from the connection string (e.g.,
ssh://admin@web01→web01) - Scan
.aiwg/forensics/profiles/for directories matching<hostname>-* - Select the most recently dated match (e.g.,
web01-2026-02-27/) - Load
system-profile.md(human-readable) andsystem-profile.json(machine-readable) from that directory - If no profile is found, log a warning and proceed with an unparameterized plan; prompt the investigator to run
/forensics-profilefirst
The investigation plan's Target Profile Reference section is populated from the resolved path:
target_profile_path: .aiwg/forensics/profiles/web01-2026-02-27/system-profile.md
profile_date: 2026-02-27
2. Parameterizing Commands from Profile Data
The following profile fields are extracted and substituted into investigation plan commands:
| Profile Field | Plan Variable | Example Usage |
|---|---|---|
| Hostname | {{hostname}} |
last -n 50 web01 |
| Case ID | {{case_id}} |
ps auxf > /tmp/INV-2026-02-27-web01_ps_snapshot.txt |
| Users with shell access | {{expected_users}} |
Auth log grep patterns scoped to known accounts |
| Running services list | `{{expected_ser |
Установить forensics-investigate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл forensics-investigate?
Full multi-agent investigation workflow
Как установить скилл forensics-investigate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл forensics-investigate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic