docreview

Get this skill

That is the upload-ready archive for Cowork's Customize page — Customize → Skills → upload — a zip with SKILL.md at its root, the companion files listed below beside it, and the licence and the notice, which an archive with no package around it has to carry itself.

The same skill ships inside legalquants-litigation-cowork.zip, which you sideload whole.

“Latest” is GitHub's own pointer at the most recent release that is not a pre-release, so these links resolve only once 0.3.0 is published. Every package and every skill archive is on the downloads page.

What it does

Reviews an incoming litigation production against the matter's requests or issues, a tranche at a time: inventories it, threads the messages, compiles the requests into a framework the lawyer confirms on a sample, holds every privilege candidate until the lawyer rules, and fills an Excel master register whose first column is the privilege state — one row per request per document, with the finding, the words it rests on and where they sit — then builds a Requests and Documents page for the preview pane.

When to use it

Cowork routes on the description, so these are the kinds of things a lawyer says that should bring this skill up. They are also the positive trigger tests on the card.

Not for

Adjacent requests this skill must leave alone, with what should take them instead. Where the answer depends on which bundle you installed, both are given.

Prompt Expected
Draft our objections to their requests for production. must not activate; expect document-discovery
Sort the case folder and build me an index of what we hold. must not activate; expect organize-case-docs
Check the citations and quotations in this summary judgment brief. must not activate; expect cite-check
Pull the admissions on causation out of the Farmer deposition. must not activate; expect depositions

Where it ships

How it differs from the original

Tier 2: one named probe, or shipped now with an announced degrade (the whole rubric).

The original ran a bundled program: it fixed each document's identity by hash, read many documents at once, kept the privilege hold in a file the program itself refused to release, and finished by computing a coverage figure you could rely on. None of that machinery exists here. This version reads the production one document at a time inside a single conversation, a tranche at a time — you choose how many documents a session takes, and you keep the workbook and attach it again next time, because that workbook is the only thing that remembers what has been done and what is held. The method is unchanged: the same framework compiled from your own requests, the same setup confirmation before the sample, the rule that no finding goes into anything without the words it rests on, the second look at every finding, and above all the rule that a privilege signal holds a document until you rule on it. What changes is how much you can lean on it. The privilege hold is now a rule this skill applies to itself, with the production in front of it, not a lock; four things make it as strong as a rule can be made — privilege is the first column of the workbook, the held count and the held document labels are stated before anything at all is produced, no words from a held document are written anywhere including the workbook, and without the workbook the skill produces no findings at all and says so. Identity is a fingerprint read off the file rather than a hash. The coverage count is arithmetic in a workbook you can open rather than a check a program performed. The second look is a second pass by the same reader, not a different reviewer. So the skill never tells you the production has been covered, or that the result carries any warrant beyond its own careful reading. If that trade is not one you are willing to make on a privilege review, do not make it: that is a decision for the litigator, not for this package.

Build notes

The technical record of the same change: what the build does to the upstream files, in build terms.

Dropped scripts/ (10 top-level tools plus the 28-file shared runtime, which is byte-identical to diligence's), every .schema.json contract, references/openai-codex-runtime.md (a runner contract for a runtime that is not here), references/shared/inventory-design.md (a design note about what the scripts do) and references/shared/edge-resolver-prompt.md (contract families are a transactional shape; this skill threads messages instead). Eight companions remain.

Every SKILL.md section is replaced by an anchored overlay, so a heading that moves upstream fails the build rather than passing silently. The body's own portable fallback becomes the only path: sequential single-session processing, tranches the lawyer sizes, and an Excel master register carrying state between sessions. A new step 0 opens every session by reading the register, stating the held count and held labels, and comparing fingerprints, because everything downstream depends on it. The coverage certification is retired and the claim-words rule is applied throughout; the word "prove" that upstream uses of the count equation is gone with it.

The four privilege mitigations from the design are load-bearing and each has a home. Privilege is the first column of both register sheets (references/shared/schemas.md). The held count and labels are stated before anything else is produced (workflow step 0, the review page contract, and the completion criteria). No text from a held unit is written anywhere, including the register — which is why a held document's first-line fingerprint field stays blank and its fingerprint is three fields rather than four. And a missing register is a hard stop that yields no findings at all, stated in the body, in comms-schemas.md and in the completion criteria; it is the one place this skill stops where diligence continues on reduced scope, because the state here carries a legal hold and not merely progress.

Five references are full overlays. references/shared/execution-modes.md is byte-identical to diligence's upstream and ships the same replacement in both cards: it was written as a choice between a bundled program and a fallback, and almost every paragraph named machinery that does not exist. Its replacement states the one path, the tranche rule, the 200 MB per-file and encrypted-file limits, the 50-file/500 MB limit on a handover archive, the documented scheduling machinery and its 25-prompt cap together with the reason no step depends on it, and which checks the original performed automatically and this run performs by reading. references/shared/schemas.md became the master register and the reading rules for each format; references/shared/framework-schema.md keeps the compiler contract and the served-request census rule and loses the checkpoint and merge machinery; references/shared/review-ui.md loses the review-copy builder's hash contract and gains the privilege rules for a page; and references/comms-schemas.md is rewritten around the two things that are genuinely this skill's own — how messages become review units, and how privilege is held — with the four mitigations written out in full.

The three per-pass contracts under references/shared/ are edited by anchored replacement instead, so the rules in them stay upstream's words; what changes is the orchestration language (fresh workers, an admitter, schema files) and the evidence-mode wording. Those twelve rules are identical to the ones in the diligence card, because the files are byte-identical upstream.

Known issues

Declared on the card. A silent failure is one where a wrong result would look right; a loud one announces itself.

The privilege hold is a rule this skill applies, not an enforced lock

KI-docreview-1

Upstream, a held document could not reach a deliverable because a program refused to release it. Here the hold is a rule the skill follows while it has the production in its context, and a privileged document's words appearing in a finding would look exactly like a correct finding. Four mitigations are built in and all four are mandatory: privilege is the first column of both register sheets; the held count and the held labels are stated before anything is produced; no text from a held unit is written anywhere, including the register itself; and if the register is not attached the skill produces no findings at all rather than guessing. Even with all four this is a rule and not a lock. Check the held list at the start of every session, and check any deliverable against it before it leaves your hands.

A scanned page may be read as though it were text

KI-docreview-2

The skill tries every document, parks what did not open and lists it, which is visible when it works. What is not settled is whether a page that is an image of text is recognised as one. If it is not, the reply may describe a page that was never read. Read the parked list on every delivery, and treat anything marked as taken from an image as needing your own eyes on the page before you rely on it.

The coverage count is arithmetic this skill did itself

KI-docreview-3

Upstream a program checked that every request had exactly one result for every reviewable unit. Here the register's Counts sheet holds units, requests, expected rows, filled rows, parked rows and held rows as formulas, and the skill states the row count it read in and the row count it wrote out. That makes the arithmetic checkable in about ten seconds — but it is the skill's own arithmetic, and a workbook that came back with a formula flattened to a number or with rows dropped would otherwise look like any other workbook. Open the Counts sheet; compare the two stated row counts.

The second look is a second pass, not an independent reviewer

KI-docreview-4

Upstream the checking pass ran in a separate context that had never seen the first pass. Here it is the same reader, working from the finding, its quote and the framework item without revisiting the reasoning that produced it. It still catches a quote that is not there and a characterization the words do not support; it catches a shared blind spot much less well. The register records it as a second pass and the skill is forbidden to call it independent review.

Encrypted files cannot be read at all; labelled files are attempted

KI-docreview-5

An encrypted file cannot be opened here even where you have access to it, so it is listed and parked, and it is visible in the parked list on every delivery. A file carrying a sensitivity label is a different thing and is not assumed to be blocked: the skill attempts it and reports what actually came back. Either way the file stays in the counts; nothing drops out quietly.

A swapped document is caught by the fingerprint, and a held one by three fields

KI-docreview-6

At the start of every session the skill re-reads each document's filename, page count, date and first line of page one and compares them with the register, reporting any mismatch by row. A held document has no first line recorded, because no words from a held document are written anywhere, so its fingerprint is three fields rather than four and is correspondingly weaker. A change that leaves the recorded fields identical is not caught at all.

Without the register attached, the skill produces nothing

KI-docreview-7

The register is the only thing that carries the privilege state between sessions. When it is not attached the skill says which file it expected, says the privilege state is unknown, and stops: no findings, no page, no summary. This is deliberate, and it is the one hard stop in the skill. Keep the workbook where you can find it, and attach it first.

Workarounds

What this adaptation does instead of the machinery the original relied on.

Instead of In Cowork
a program holds the privilege queue and refuses to release a held unit privilege is the first column of the register, the held count and labels are stated before anything is produced, no words from a held unit are written anywhere including the register, and no register means no findings
a bundled program hashes every produced file and binds the review copies to those hashes the register records a fingerprint per document — filename, page count, date, first line of page one — re-read and compared at the start of every session, with any mismatch named first; a held document's first line is not recorded
one fresh worker per document, many documents read at once one document at a time in the same conversation, same fields, same rule that every claim carries the exact words it came from
a working directory on disk holds the run's state between passes the Excel master register holds it, and the lawyer attaches it at the start of the next session
a bundled program computes the request-by-unit coverage count the register has one row per request per unit and a Counts sheet of live formulas, so the count can be opened and checked; the skill also states the row count it read in and the row count it wrote out
a scaled pass runs across the whole production from a run directory the production is worked a tranche at a time, the lawyer choosing the size, with the boundary stated on every delivery
the findings page is rendered by a bundled program and opened from the local file system the page is written by hand as a self-contained HTML file in the Output folder and opened in the preview pane, loading nothing from outside itself
the lawyer's rulings are exported from the page and read back in by a program the lawyer's rulings go into their own column of the register beside the finding, and the page is rebuilt from those rows without reading any document again
temporary working state is removed at completion nothing is deleted, because nothing here can be; the register, the pages and the working files stay in the Output folder and are named on delivery

The original

Upstream source: skills/litigation/docreview at fa5a668.

Its own description, as upstream wrote it:

Review an incoming litigation production against the matter's requests or issues, with deterministic inventory and coverage receipts, a plain-language setup approval, human privilege decisions, source-linked Requests/Documents HTML, and drift-bound lawyer feedback. Use when asked to organize or review a production, map documents to RFPs or pleadings, identify production gaps, or prepare a privilege queue.

The shipped package replaces that wholesale: Cowork routes on the description, so the wording above is rewritten for the way a lawyer asks.

Files shipped

What is inside skills/docreview/ in the package, after the build has stripped, rewritten and stamped everything. The same files sit at the root of docreview.skill, with the licence and the notice added.

Tested it?

There is one open issue per skill, carrying the synthetic inputs and what a pass looks like. Say what happened, including when nothing went wrong: open issues for docreview. The testing guide has the whole programme.