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,
Paper Trail Receipts
Local-only per-citation audit (no remote API). Reads the cited PDFs from the local registry, generates RECEIPT
Audit Geo
Audit cuecards GEO health — verify AI-discoverability files are accurate, citation-ready, and consistent with
Hack Me
Attack your own running app on localhost, prove each vuln is real, patch it, and re-verify.
Token Waste Audit
Run the FR-26 token-waste audit — parse this project's Claude Code transcripts deterministically (requestId-de
Proposition Audit
A Claude skill for post-hoc verification of AI-generated factual and interpretive claims. Designed for barrist
Related Agents
Citation Auditor
Audits citations in a legal memo draft against the research files that produced it. Verifies every normative/c
Verify Claim Faithfulness
A verification agent that independently checks, at the sentence level, whether each cited source actually SUPP
01 Prove It
Murderboard role 1 of 11, Claim & data verifier — 'Prove It.' Extract every factual and quantitative claim — n