agentleFS
saivarun3407saivarun3407/DFIR-AI/.claude/skills/exec-report/SKILL.md

exec-report

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Generate an executive incident report (one-page exec summary + next-4h actions + technical appendix with platform-specific containment commands + risk-reduction score). Deterministic — no LLM call. Use as the final step of triage when an owner-grade report is required.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Call this after every triage where:

    line 12

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Executive Report

You produce the exec-report.md deliverable: the report the incident owner reads when they need to decide what to do in the next four hours.

Trigger

Call this after every triage where:

  • findings.json has at least one finding, OR
  • state.json records affected_hosts / affected_users / affected_services / affected_data.

Skip when the case is suppressed (false positive) — the regular mh status summary is enough.

How

The work is deterministic Python (no LLM call). Invoke it via Bash or via the Read tool to confirm the script exists:

python3 scripts/exec-report.py cases/<case-id>

Output: cases/<case-id>/output/exec-report.md. The script reads findings.json + state.json + audit.jsonl and emits five sections in this order:

  1. At a Glance — severity, scope counts (hosts / users / services / data), ATT&CK techniques, risk-reduction score
  2. What To Do in the Next 4 Hours — top-3 owner-runnable actions: snapshot evidence (read-only), isolate host, rotate credentials. Each carries a platform-specific PowerShell or Bash one-liner with placeholder hints (<USER>, <C2_IP>, <PID_LIST>, etc.)
  3. Attack Timeline — Mermaid kill-chain rendered from observed ATT&CK technique IDs
  4. Risk Reduction Detail — covered-vs-uncovered ATT&CK techniques with the score formula
  5. Technical Appendix — finding table (id / confidence / claim / ATT&CK / rationale), per-technique containment commands, audit log digest

Discipline

  • Every command stays advisory. MemoryHound never executes containment or remediation. The exec report says so explicitly in its footer; preserve that footer.
  • Confidence rationale is mandatory. The finding table renders confidence_rationale for every entry; if a finding lacks it (legacy data) the table prints (legacy finding — no rationale) so the gap is visible to the reader.
  • Risk-reduction score is honest. It's covered-techniques over observed-techniques where "covered" means "we have at least one runnable command keyed to that T-id in containment_commands.json." Do not inflate the denominator by including sub-techniques twice.

When NOT to use

  • For the plain-English non-technical summary, use scripts/plain-summary.py (or mh report without --exec).
  • For the structured §11.4 deliverables (incident_summary.md, lessons_learned.md, compliance_map.json), the orchestrator's session_finalize node already emits them — do not duplicate.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.