AgentDFIR — AI skill for Claude Code
Open-source digital forensics and incident response for AI agents (Claude Code, Codex, Cursor, Gemini, Copilot…).
How to install AgentDFIR
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open efij/AgentDFIR and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AgentDFIR does
Open-source digital forensics and incident response for AI agents (Claude Code, Codex, Cursor, Gemini, Copilot…). One command: detect → collect → analyze → browse.
Alternatives in AI
- AIHawk — Open-source AI browser agent: describe any task in plain language and it autonomously browses, clicks, types a 30.3k ★
- Theia IDE — The Theia IDE: an open-source, AI-native IDE for desktop and browser, built on the Theia Platform and Theia AI 619 ★
- Embeddedskills — An open-source collection of embedded development and debugging skills for Claude Code, Copilot, TRAE, and oth 593 ★
README
🔍 AgentDFIR
**Open-source digital forensics and incident response for AI agents.**
*Collect, preserve, reconstruct and investigate activity from Claude Code, Claude Cowork, Codex (CLI and desktop app), Cursor, Gemini CLI, Copilot and other AI agents — from a live machine, a Windows, macOS or Linux disk image, an AI-service account export or a forensic suite's export.*
[](https://github.com/efij/AgentDFIR/actions/workflows/ci.yml) [](LICENSE) [](go.mod) [](go.mod)
[Website](https://efij.github.io/AgentDFIR/) · [Install](docs/install.md) · [Quick start](#-quick-start) · [Evidence format](#-the-adfir-evidence-package) · [Contributing](CONTRIBUTING.md)

AI coding agents execute shell commands, edit files, spawn subagents, call MCP servers and push code. When something goes wrong — a prompt injection, a poisoned MCP tool, a rogue subagent, quiet data exfiltration — the transcripts and configs they leave on the endpoint are **primary forensic evidence**. Almost no tooling exists to acquire and analyze them properly.
**AgentDFIR is that tooling.** Think KAPE / Velociraptor for the agentic-AI layer. It lets an incident responder answer:
*Who instructed which AI agent/subagent to perform what action, through which tool/MCP/identity, against which resource — and what evidence proves it?*
⚖️ Evidence vs. claims — the core principle
AI-generated t
Related Skills
Claude Lovable
An open-source Claude Skill that connects Claude with Lovable projects to analyze code, detect bugs, improve w
Coding Agent Forensics
Offline single-file forensic viewer for AI coding-agent sessions — Claude Code, Codex, Cursor, Gemini, Copilot
Rootly Incident Responder
AI-powered incident response with ML similarity matching, solution suggestions, and on-call coordination. Requ
Network Lockdown
Emergency network lockdown scripts (macOS/Linux/Windows) — block all traffic except Claude Code CLI for AI-ass
AI Incident Agent
AI-powered incident response agent built with Spring Boot and Claude AI. Automatically investigates, diagnoses
Incident Response Platform
I built an event-driven incident-response platform where production incidents flow through Kafka into an AI ag
Related Agents
Digital Forensics And Incident Response Agent
You are a digital forensics and incident response (DFIR) specialist. You guide users through evidence acquisit
Dfir
Digital forensics and incident response specialist. Handles triage, memory acquisition with AVML/LiME, Volatil
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode