| name | cite-check |
| description | Cite-checks a brief, motion, or memo (PDF/Word): verifies each cited case is real, supports the proposition, is good law, and quoted accurately. Returns one marked-up .docx with comments and redlines. |
| metadata | {"version":"0.2.0","author":"midpage"} |
Cite-check
Audit every citation in an uploaded document against ground truth, and hand back one
deliverable: a .docx that recreates the document exactly, marked up with Word comments and
tracked-change suggestions. AI-drafted briefs invent cases, misstate holdings, and alter
quotes; human drafts cite stale law and miscite the record. Every citation gets checked
through the Midpage tools and every finding lands in the document itself, anchored where it
occurs. Read references/citations.md for citation form and references/legal-docx.md for
the renderer (including the D.review() comment/redline helpers).
Workflow
1. Intake (PDF or Word)
Read the uploaded file faithfully — full text, in order: for a PDF, extract the text; for a
.docx, read the document body. Then extract every authority: case citations (with the
proposition each is cited for and any quotation attributed to it) and record citations (ECF
numbers, page/¶ pins, declarations, exhibits). Build the complete citation inventory before
checking anything — exhaustiveness starts here; a citation missed at intake is a citation
never checked. If the document is a federal filing, note the court and docket number from the
caption; ask for the docket if record cites are present and you don't have it.
2. Run the five checks — on every citation, no exceptions
Work citation by citation; run independent analyzeOpinion calls in parallel. Never assert a
cite is good until a tool confirms it this session.