analyze-discovery

Analyze criminal defense discovery packages and generate citation-rich defense memos.

6|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/jdrodriguez/legal-toolkit --skill analyze-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-discovery
Source: https://github.com/jdrodriguez/legal-toolkit/tree/main/legal-toolkit/skills/analyze-discovery
Command: npx skills add https://github.com/jdrodriguez/legal-toolkit --skill analyze-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Defense attorneys and investigators waste hours reading and cross-referencing discovery packages (police reports, body cam transcripts, lab results, calibration logs) to surface inconsistencies, procedural defects, and motion opportunities; this Skill automates that analysis and produces a lawyer-ready, evidence-cited defense memo.

Core Features & Use Cases

  • End-to-end discovery analysis: Extract text from PDFs, DOCX, images, and audio (via OCR and transcription) and synthesize findings into a structured memo.
  • Legal-focused cross-referencing: Map facts to statutory elements, compare officer conduct against NHTSA SFST protocols when available, and flag procedural defects for suppression or other motions.
  • Precise citations and quotations: Produce timelines, evidence inventories, and cross-document inconsistency tables with page numbers, timestamps, and verbatim quotes to support immediate attorney action.
  • Use Case: Feed a DUI/DWI discovery folder (reports, body cam, lab results) and receive a case snapshot, chronology, NHTSA compliance table, statutory analysis, motion opportunities, and recommended next steps.

Quick Start

Analyze the attached discovery (police reports, body cam video, and lab results) and produce a structured defense memo with a one-page case snapshot, detailed chronology, evidence inventory, NHTSA cross-reference, statutory mapping, and recommended motions.

Frequently Asked Questions about analyze-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a criminal discovery package and generate a defense memo?

To analyze criminal discovery, feed PDFs, DOCX, images, and audio files into the workflow to extract text via OCR and transcription, then synthesize findings into an attorney-ready defense memo with chronologies and citations.

Can I cross-reference body cam transcripts and police reports for inconsistencies?

Yes, cross-referencing body cam transcripts and police reports identifies inconsistencies, maps facts to statutory elements, and compares officer conduct against NHTSA SFST protocols to flag procedural defects for suppression motions.

Does the discovery analysis workflow support extracting text from audio and images?

Yes, the discovery analysis workflow supports extracting text from audio and images by chaining OCR and transcription processes, allowing direct analysis of body cam footage, photos, and scanned calibration logs alongside digital documents.

What is included in a structured defense memo for a DUI case?

A structured defense memo for a DUI case includes a case snapshot, detailed chronology, evidence inventory, NHTSA cross-reference table, statutory analysis, identified inconsistencies, motion opportunities, and recommended next steps.

How are evidence sources cited in the generated defense memo?

Evidence sources are cited with precise page numbers, timestamps, and verbatim quotes extracted during cross-document analysis, ensuring every claim in the defense memo is traceable to the original discovery materials.

What happens when discovery files have missing evidence or gaps?

When discovery files have missing evidence or gaps, the analysis flags those specific items as [NEEDS INVESTIGATION] within the defense memo, producing actionable investigation tasks for the attorney to follow up on.