forensic-plan

forensic-plan is a command for Claude Code from HermeticOrmus/LibreSecOps-Claude-Code. It costs 24 tokens per session (1,205 once invoked), scanned A, original, MIT.

A command that creates a structured plan for a digital-forensics investigation before evidence is collected.

In plain words
What is it for?
Use it for incident response, post-incident reviews, suspected insider activity, data breaches, malware impact, or compliance investigations. It requires an incident description and authorization, with optional details about affected systems, timing, live systems, or possible legal action.
Why use it?
It helps define the investigation’s questions, evidence sources, collection order, and handling requirements before work begins.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the forensics-analysis plugin — 2 skills, 2 commands, 2 agents shipped together

Good fit Use it for incident response, post-incident reviews, suspected insider activity, data breaches, malware impact, or compliance investigations. It requires an incident description and authorization, with optional details about affected systems, timing, live systems, or possible legal action.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hermeticormus/libresecops-claude-code/forensic-plan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HermeticOrmus/LibreSecOps-Claude-Code

Made for: Claude Code.

Or install forensics-analysis, the plugin that ships this one along with the rest of its 2 skills, 2 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for forensic-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/forensic-plan/github.svg)](https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/forensic-plan)
Your own site
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/forensic-plan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/forensic-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for forensic-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/hermeticormus/libresecops-claude-code/forensic-plan"><img src="https://agentmods.dev/badge/commands/hermeticormus/libresecops-claude-code/forensic-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,205 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.01205
Opus 5.5 $0.00010 $0.00482
Sonnet 5.5 $0.00005 $0.00241
Haiku 4.5 $0.00002 $0.00120

Measured 1mo ago against content hash 8a2e0b2b3d2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

forensic-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/forensics-analysis/commands/forensic-plan.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/forensic-plan

Create a forensic investigation plan tailored to the incident type, defining evidence sources, collection priorities, and analysis approach.

Trigger

Use at the start of any forensic investigation to establish a structured plan before collecting evidence. Appropriate for:

  • Active incident response requiring forensic analysis
  • Post-incident investigation
  • Insider threat investigation (with HR and legal authorization)
  • Data breach assessment
  • Malware impact analysis
  • Compliance-driven forensic review

Input

  • Required: Incident type or description (e.g., "ransomware on file server", "suspected data exfiltration", "compromised web server", "insider threat investigation")
  • Required: Authorization status (who authorized the investigation)
  • Optional: Known affected systems
  • Optional: Incident timeline (when was it detected, suspected start time)
  • Optional flag: --live -- the system is still running (affects collection order)
  • Optional flag: --legal -- investigation may lead to legal proceedings (stricter evidence handling)

Process

  1. Scope Definition: Based on the incident type, define:

    • What questions does this investigation need to answer?
    • What systems are in scope?
    • What time period is relevant?
    • What legal or regulatory requirements apply?
  2. Evidence Source Identification: Map all potential evidence sources:

    • Volatile (collect first): RAM, running processes, network connections, logged-in users, clipboard contents, mounted file systems
    • Semi-volatile: Temporary files, swap/page file, system logs on disk
    • Non-volatile: Disk images, backup tapes, removable media, cloud storage
    • External: SIEM logs, network flow data, authentication logs (Active Directory, IdP), cloud audit logs, email gateway logs
  3. Collection Priority: Order evidence collection by:

    • Volatility (most volatile first)
    • Relevance to the investigation questions
    • Risk of loss (evidence that may be overwritten or destroyed)
    • Legal requirements (some jurisdictions require specific collection orders)

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +5 lines · +24 tokens per session 8a2e0b2b3d2e
  2. 3mo ago First seen · 115 lines · 0 tokens per session scan A 29e509b04b78

Subscribe to this mod's changes

forensic-plan is a command published in the GitHub repository HermeticOrmus/LibreSecOps-Claude-Code (4 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 1,205 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

forensic-plan compared with commands from other repositories

forensic-plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
forensic-planHermeticOrmus/LibreSecOps-Claude-CodeCommand41mo agoMITA24Claude Code
scopeelementalsouls/Claude-BugHunterCommand28kyesterdayMITA63Claude Code
verifych015/code-pentesterCommand41mo agoMITA20Claude Code
sicario.assessdfirs1car1o/sicario-specCommand511d agoMITA0Claude Code
baselineMilindGaharwar/fettleCommand412d agoApache-2.0A0Claude Code
corporate-launcherConnected-Mate/corporate-launcherCommand36mo agoMITC0Claude Code, Cursor
checklistgithub/spec-kitCommand153k3d agoMITA13Claude Code