A recent appellate reply brief of mine started at 10,881 words. The cap under URAP 24(g) is 7,000. That’s a lot of brief to lose, and I didn’t want to lose it by hand—or by letting an AI quietly rewrite my work.
So I used AI to propose cuts, built a small tool to review them safely, and found that the biggest savings didn’t come from cutting at all. Here’s what worked, what broke, and what I’d do again.
The setup: Markdown and Git
The brief lives as one Markdown file per section in a Git repository. That matters more than it sounds. Every AI pass becomes a branch, every branch can be diffed against my version, and nothing touches my real draft until I say so.
If you haven’t used Git for drafting, the short version is that it’s an undo button with a memory. I’ll write more about the setup in another post.
Pass one: ordinary trimming
The first pass was me, with an assistant, cutting the obvious stuff—hedging, restated points, and parallel reporter cites I didn’t need. That took the brief from 10,881 to 10,096 words. I then drafted the introduction and conclusion, which pushed the total back up to 10,290.
That’s the humbling part of word limits: the first 800 words are easy, and then you add the parts you forgot to write.
Pass two: two independent trims, compared
Next I had two separate AI passes work from the same baseline, each on its own branch. One was told to cut aggressively. The other, a different model, was told to do a full rewrite. They landed at 8,001 and 8,322 words.
Git worktrees make this painless. Each pass gets its own checked-out folder, so I can open both side by side:
# one worktree per candidate pass, branched from the same baseline
git worktree add ../trim-aggressive -b trim-aggressive
git worktree add ../trim-rewrite -b trim-rewrite
# compare the same section across the two
git diff --word-diff trim-aggressive trim-rewrite -- section-03.md
The useful part was where the two passes agreed. When both independently dropped the same paragraph, I treated that as a strong signal it was safe to lose. Disagreement told me where to look harder.
Pass three: make the AI show its work
The third pass changed the format. I told the AI to leave a comment at every cut explaining why:
<!-- CUT:014: restates the point made two paragraphs earlier -->
That one habit made review possible. A plain diff shows what vanished. A diff with rationales shows what vanished and what the AI was thinking, which is the thing I actually have to judge. This pass took the brief to about 7,800 words, with 46 flagged cuts.
But 46 diffs in a text editor is miserable, which is why I built the tool.
The reviserator
I’m not a programmer, but I can work with Claude to build small tools. This one is a single Python file with no dependencies beyond the standard library. It reads two Git refs—my version and the candidate with the CUT comments—and serves a page on my own machine. Each flagged change gets its own editable text box, pre-filled with the AI’s proposal.
I can keep the original, accept the proposal, or type something custom, and the page shows which of the three I’ve chosen. If I leave a {{ note to self }} in a box, it passes through untouched so I can deal with it later. When I click Apply, it writes the reconciled files. It never touches the original ref.
The hard part was matching each comment to the right original text. It took three tries:
- Exact-string context matching failed. The AI tightens language throughout a pass, not just at the flagged spots, so the “unchanged” text near a cut often wasn’t unchanged.
- A real line diff worked. Comparing the original against the comment-stripped candidate gave me honest change regions to match against.
- Non-exclusive matching fixed the rest. Several cuts can legitimately land in the same paragraph, so one diff region has to be allowed to claim more than one comment.
That got about 96% auto-matching on real data. The 2 of 46 cuts that didn’t match are shown with their rationale but no editable box, so I can restore them by hand. I’d rather the tool admit it’s lost than guess.
I reviewed pass three through the tool, accepted most cuts, rewrote several paragraphs myself, and committed the result: 7,922 words. Under 8,000, but not under 7,000.
Pass four: structure, not sentences
By this point, sentence-level trimming had run dry. For the fourth pass I told the AI it could convert prose to tables and bullet lists where the content was parallel—but only to match formats I’d already used in the brief. The pass made four conversions, among them a table in place of a page of paragraphs. That landed at roughly 6,980 words, under the cap for the first time.
I also told it to read my own notes on one section before touching it, because I’d already worked out why that section shouldn’t be compressed further. It left that one alone.
What broke
Two things, both found in real use.
Out-of-order IDs and a silent failure. The fourth-pass agent numbered its cut comments in no particular order, and it invented its own notation for a combined cut: CUT:005/002. My parser expected a plain integer after CUT:, so that comment didn’t fail loudly. It just wasn’t there. A tool that quietly drops a change is worse than one that crashes. The lesson is to tell the AI the exact comment format, and to make your parser complain about anything that almost matches.
A pointless copy-back step. The tool originally wrote its output to a separate directory, and I had to copy files back into my working folder by hand. The cause was that I’d built it to compare any two refs, even ones not checked out anywhere. By then every real run pointed at a checked-out branch. So --output became optional: if the candidate branch is the one currently checked out, Apply writes straight into it as an ordinary uncommitted change. If it isn’t, the tool refuses instead of guessing. The original ref is still read-only.
The cite-check, and the cut that wasn’t a cut
A later session ran a full cite-check, and the brief dropped to 6,467 words without a dedicated trim pass at all. The cause was restructuring. Several sections had drifted into arguing forward and backward at once, so I had them rewritten around one pattern:
- State the rule.
- State what the record and trial court did.
- State the other side’s argument, all of it, in their order.
- Rebut each point in that order.
- Close.
Rebuilding that way cut words as a side effect, because the brief stopped saying things twice.
On the cite-check itself, I didn’t trust the report whole. I spot-checked its most serious findings against the primary sources first, including two recent appellate decisions it cited, which I confirmed on CourtListener. Everything I checked held up, so I went ahead with the rest. Checking a sample before trusting the batch is cheap insurance.
The tool has since been shelved. It did its job on one brief, and the real value was the method.
What I’d tell another lawyer
Don’t ask an AI to “shorten this.” Ask it to cut, and make it explain each cut in a comment you can review. Run two independent passes and trust the overlap. Keep everything in Git so no pass can overwrite your draft.
And when sentence-level trimming stops working, stop trimming sentences. Fix the structure instead.