Citecheck — Security skill for Claude Code
Audit every legal citation in a draft: extract deterministically, prove each authority exists, then verify it supports the proposition it is cited for.
How to install Citecheck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kevanwee/citecheck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Citecheck does
Audit every legal citation in a draft: extract deterministically, prove each authority exists, then verify it supports the proposition it is cited for. Library, CLI and Claude skill.
Alternatives in Security
- Token Scan — Meme coin and token security scan — checks for rug pull vectors (hidden mint, honeypot, fee manipulation, LP l 3.8k ★
- 05 Source Citation Audit — Source Citation Audit 1.1k ★
- Tech Debt Skill — Claude Code skill that produces a thorough, file-cited tech debt audit of an entire codebase 590 ★
README
citecheck
Find every authority cited in a draft. Prove each one exists. Then check it says what the draft says it says.
The first two steps are a deterministic library and CLI. The third is a Claude skill that uses whatever retrieval tools are in the session. The split is deliberate: regexes do not hallucinate, and models should not be trusted to extract citations from page 40 of a brief.
$ citecheck submissions.docx -m matter-bundle.json --strict
# Citation check
8 unique citations: 2 exist, 1 NOT FOUND, 0 ambiguous, 5 unchecked. Strict mode: unresolved citations fail the check.
| # | Citation | Kind | Status | Source | Cited for |
|---|--------------------------------|--------------|---------------|----------|--------------------------------------------|
| 1 | [2013] SGCA 43 at [101] (x2) | case_neutral | EXISTS | manifest | The test for implying a term in fact is ... |
| 3 | [2024] SGHC 987 at [44] | case_neutral | **NOT_FOUND** | manifest | ... more recently in [2024] SGHC 987 ... |
...
$ echo $?
1
Why
Lawyers have been sanctioned in several jurisdictions for filing documents containing citations that do not exist. Every legal MCP server and research tool on offer *retrieves* law. None of them take a finished draft and audit it. This is the auditor.
What it does
| Step | Where | How |
|---|---|---|
| 1. Extract | library | Regex patterns for SG (neutral, SLR, statutes), UK (neutral, reports), AU (neutral, reports). Deduplicated, with pinpoints and the sentence each sits in. |
| 2. Resolve | library | Offline by default via a JSON manifest (bundle index, firm library). Opt-in HTTP existence check against canonical URLs. |
| 3. Verify proposition | skill | The assistant reads the authority and classifies: SUPPORTS / OVERSTATES / DOES_NOT_ADDRESS / CONTRADICTS / CANNOT_VERIFY, with quotations. |
| 4. Currency | skill | Reversed / overruled / doubted |
Related Skills
Su Presence
Are we present in search and AI answers? One audit surface for SEO, AEO, GEO, LLMO and Korean engines (Naver,
Source Audit
Audit claims, evidence grades, and source quality for a case file, chapter brief, or draft. Uses source-ledger
Paper Trail Receipts
Local-only per-citation audit (no remote API). Reads the cited PDFs from the local registry, generates RECEIPT
App Doctor
Audit any web app's security (39-point checklist) AND launch-readiness (legal, auth, polish, retention), repor
Audit Geo
Audit cuecards GEO health — verify AI-discoverability files are accurate, citation-ready, and consistent with
Token Waste Audit
Run the FR-26 token-waste audit — parse this project's Claude Code transcripts deterministically (requestId-de
Related Agents
Refute Verifier
Clean-context skeptic that tries to REFUTE each draft finding or claim it is given — verdicts CONFIRMED / REFU
Verify Claim Faithfulness
A verification agent that independently checks, at the sentence level, whether each cited source actually SUPP
Claim Checker
Sub-agent that audits a specific claim against the PDF cited. Invoked by citation-receipts skill for deep PDF↔