legal-scholarship-skills
Claude Code and Codex skills for legal scholarship: verified citation placement and
restyling (Bluebook, OSCOLA, Chicago, APA, McGill), article planning, law-review
manuscript workflows in Word and LaTeX, and document sourcing and delivery.
Each skill is a self-contained folder that teaches
Claude Code or
Codex a workflow.
Install the whole set in either agent or copy individual skill folders — every
skill stands alone, with no cross-skill dependencies. A standalone Windows app
in tools/cite-restyle/ exposes the citation-restyle pipeline to colleagues
who use neither Claude Code nor Codex.
Contents
What this repository is for
Legal scholarship has a distinctive production pipeline: the argument is
carried substantially in footnotes, citation form is governed by demanding
style manuals, and delivery runs through Word-centric law-review editorial
processes even when the author drafts in LaTeX. The skills in this repository
instrument that pipeline for Claude Code and Codex — from planning an article's
structure, through placing and restyling verified citations, to surviving
rounds of editor redlines and delivering clean files in whatever format a
journal demands.
The repository leads with cite-placement. The most public AI failures in law
have been fabricated citations, and this skill is built as the answer to that
objection: it places citations only from a user-supplied, pre-screened
bibliography, verifies every reference against OpenAlex/CrossRef, and
deliberately leaves case citations untouched when restyling. Around it sit the
planning skill, the Word/LaTeX manuscript machinery, and the sourcing and
delivery plumbing.
How the skills fit together
The skills map onto the stages an article actually passes through. None of
them requires another — each installs and runs alone — but together they cover
the pipeline end to end.
Plan. writing-article-plans interviews the author to settle the thesis,
contribution, article type, and structure, then writes a task-decomposed plan
in which every section is broken into paragraph-sized argument moves and every
claim needing support carries a typed citation slot rather than an invented
reference. Drafter subagents write the manuscript in LaTeX from the plan alone.
Source. Literature discovery precedes document retrieval, and it is handled
by the companion standalone repository
lit-review-orchestrator,
a Claude Code and Codex skill that turns a manuscript, abstract, or proposal
into a verified, relevance-ranked bibliography. Once the sources are
identified, download-gated-pdfs retrieves the actual PDF binary from
bot-gated hosts — SSRN mirrors, think-tank sites — that serve an HTML
interstitial to non-browser clients, and pdf extracts the content once the
file exists, with a footnote-aware path for law-review articles that inlines
each footnote at its reference point instead of jumbling notes into the body.
Cite. With a draft in hand and a screened bibliography assembled,
/cite-placement places each reference where it belongs — as formatted
footnotes in one of five legal and notes styles, or as inline author-date
citations — and verifies every entry against bibliographic databases. When a
manuscript changes venue, its restyle mode converts the existing footnotes to
the new style while leaving case citations and legislation untouched.
Survive editing. Law reviews and co-authors work in Word. word-docx
reads the redlined .docx an editor returns and builds response-to-comments
documents or applies the author's replies as tracked edits, while
latex-to-word runs the round-trip for LaTeX authors — .docx to .tex,
edit, convert back — with a footnote-count check guarding against silent loss.