legal-citation-audit
Skill0 starsChanged 4 months agoApache-2.0View on GitHub
Audit legal authorities, quotations, pinpoints, signals, treatment, record cites, statutes, regulations, rules, and linked propositions in a draft or source ledger. Use before relying on or delivering a legal memorandum, brief, pleading, demand, regulatory analysis, or other work product containing consequential citations.
In this repository16 other files it gives its agents.
- ai-product-marketing-reviewSkill
- compliance-privacy-assessmentSkill
- contract-draftingSkill
- contract-obligationsSkill
- contract-redlining-and-negotiationSkill
- contract-reviewSkill
- legal-due-diligenceSkill
- legal-intake-and-routingSkill
- legal-meeting-briefingSkill
- legal-quality-gateSkill
- legal-research-memoSkill
- legal-response-draftingSkill
- legal-risk-assessmentSkill
- litigation-draftingSkill
- litigation-preservation-and-discoverySkill
- nda-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Verify every consequential proposition against the actual source.
- Distinctive: line 26
Check existence, identity, proposition, pinpoint, quotation, treatment, hierarchy, temporal status, and record fit as defined in the …
- Distinctive: line 27
Search current subsequent history, amendments, supersession, repeal, negative treatment, limiting decisions, and conflicting controlling …
- Distinctive: line 29
Check record cites against the correct exhibit, version, page/line or paragraph, and procedural posture.
- Very specific: line 32
Run $legal-quality-gate in a fresh review context before consequential reliance or delivery.
- Distinctive: line 38
Do not call an audit complete while a consequential citation remains unverified.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Legal Citation Audit
Verify every consequential proposition against the actual source. Do not treat citation formatting as proof that the authority exists or supports the statement.
Before processing sensitive matter content, verify the configured model service and any required client or engagement AI-use permission. If the first message already contained sensitive content, disclose that the check could not prevent the initial transmission, avoid repeating the content, and stop or re-scope to an authorized redacted or synthetic record while any condition remains unresolved.
Apply the common standard
Read and follow:
- ../../references/legal-work-product-standard.md
- ../../references/authority-and-citation-standard.md
- references/citation-audit.md
Workflow
- Confirm the document version, jurisdiction, forum, as-of date, citation style or court rules, record universe, and access limitations.
- Extract a complete citation inventory: cases, statutes, regulations, constitutional text, rules, orders, docket items, exhibits, transcripts, contracts, agency materials, secondary sources, URLs, quotations, and factual record cites.
- Pair each citation with every proposition it is offered to support. Split compound sentences when one source supports only part.
- Obtain the actual source from an authoritative repository or authenticated matter record. Do not verify against a search snippet, headnote, copied string, or AI summary.
- Check existence, identity, proposition, pinpoint, quotation, treatment, hierarchy, temporal status, and record fit as defined in the authority standard.
- Search current subsequent history, amendments, supersession, repeal, negative treatment, limiting decisions, and conflicting controlling authority.
- Check quotations character by character where consequential, including omissions, alterations, emphasis, and context. Use scripts/compare_quote.py against the obtained source when text files are available and preserve its JSON output. Exit
0means text was found; exit1means no match and is a valid audit finding, not a tool failure; any other exit means the check did not run successfully. A match does not verify source identity, pinpoint, context, or legal treatment. Do not reconstruct unavailable text. - Check record cites against the correct exhibit, version, page/line or paragraph, and procedural posture. Distinguish allegation, testimony, finding, admission, and disputed evidence.
- Assign a status:
VERIFIED,NARROW,CORRECT,REMOVE, orUNVERIFIED. Never fabricate a repair. Provide a verified replacement only if independently found and actually supportive. - Re-read the edited sentence after any fix. Confirm that the conclusion did not become broader than the remaining support.
- Run
$legal-quality-gatein a fresh review context before consequential reliance or delivery.
Output
Provide the audited draft or correction list, citation ledger, unresolved-source list, authority/treatment notes, quotation check, record-cite check, and coverage metrics.
Do not call an audit complete while a consequential citation remains unverified; label the document accordingly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

