Case summary

From CSlawyer1985/legal-skillhub · View interactive version

Case summary is an AI agent skill from the GitHub repository CSlawyer1985/legal-skillhub. Produces an attorney-ready memo from a corpus of legal documents supplied by the user. Use when a user shows up with a folder, zip, or vault of case documents and asks for a case summary, case evaluation, litigation package, intake memo, matter overview, or "can you summarize this case for me." The

How to use this skill

Skill file

Case Summary

A user arrives with a pile of legal documents — often hundreds or thousands — and asks for a summary. This skill is the playbook for doing that well, across any practice area.

The work is map-reduce: map the corpus across the dimensions that matter, reduce the hits into a memo. The skill does not prescribe a specific search tool — it describes the work. references/BACKENDS.md lists concrete implementations the agent can use today.

The core describes what every case has (parties, timeline, evidence, claims, exposure, defenses, procedural status, red flags). Practice-area playbooks (references/PLAYBOOK-*.md) specialize the core for specific domains. Specialized document types (depositions, medicals, discovery, liens) route out to dedicated sibling skills per references/ROUTING.md.


Related skills


Checkpoint A: pre-ingest intake (mandatory)

Ask every time unless the user says "use defaults" or "just go." Gather:

  1. Practice area guess — PI, commercial, IP, regulatory, criminal, family, bankruptcy, etc. The agent can update this after Inventory, but a guess narrows the initial playbook loader.
  2. Expected document types — pleadings, discovery, depositions, medicals, contracts, corporate records.
  3. Custodians / sources — who produced the files, and in what posture (client production, opposing-counsel production, third-party subpoena).
  4. Date range — anchor the timeline.
  5. User objective — evaluation memo, viability screen, demand prep, settlement prep, strategy roadmap. Different objectives trigger different sibling skills per ROUTING.md.
  6. Privilege posture — work-product only, attorney-client privileged, or litigation-ready.
  7. Venue / jurisdiction — affects SOL, statutory-notice requirements, governing law.

Defaults (if the user doesn't answer): PI/tort playbook; evaluation memo; attorney work-product; U.S. state-court posture. Label every default explicitly in the memo header.


The loop

1. Ingest. Put the corpus into something searchable. See references/WORKFLOW.md for the phase description and references/BACKENDS.md for implementations.

2. OCR. Any PDF that isn't already searchable will not be indexed usefully. Handle OCR before searching on files that need it. Asynchronous — keep moving.

3. Inventory. Pull the object list. Skim filenames to build a mental model: what practice area, what kinds of documents, how many of each. This is the only time the agent cares about every file.

4. Diagnose practice area. From the inventory plus a single global-overview query, pick one or more playbook modules from references/PLAYBOOK-*.md. Each has triggers in its frontmatter that match filenames and content signals. Record the choice in the memo header. When no module fits, proceed core-only and note it.

5. Map — iterative search per dimension. For each of the eight core dimensions in references/CORE-DIMENSIONS.md:

Don't brute-force read every file. Drive the search with focused queries, pull the 3–10 most relevant chunks per query, follow up when hits are load-bearing, route when a cluster warrants a sibling skill.

6. Reduce — synthesize. Assemble the memo using references/OUTPUT-TEMPLATE.md's core skeleton, plus the output sections contributed by each loaded playbook. Every claim cites an object + page (or chunk ID). No citation = cut or label as assumption.

7. Review. Run the quality checklist below (core items + playbook-specific items). Flag any unsatisfied items.


Checkpoint B: post-memo alignment (mandatory)

After delivering the draft, ask:

  1. Did the right playbook module(s) get loaded? (List them.)
  2. Which sibling skills were invoked, and did their outputs get integrated correctly?
  3. Are there coverage gaps — dimensions the agent couldn't populate from the corpus?
  4. Any claims in the memo that depend on unverified legal citations flagged [VERIFY]?
  5. Is attorney review explicitly required before any downstream use?

If the user doesn't answer, default to: list the loaded playbooks and invoked siblings; flag any dimension that returned "no evidence found"; require attorney review.


What this skill does not do


Scale notes


Core quality checklist

Every matter:

Plus every playbook-specific item from each loaded PLAYBOOK-*.md's Quality checklist section.


Troubleshooting

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.