legal-fact-checker

legal-fact-checker is a skill for Claude Code, Codex from NEU-ZHA/legal-ai-skills. It costs 48 tokens per session (857 once invoked), scanned A, original, MIT.

A fact-checking tool for legal writing, including court documents, contract reviews, case analyses, and legal opinions. It checks claims against supplied documents or available legal sources.

In plain words
What is it for?
Use it to inspect PDFs, Word files, screenshots, database results, and web pages before using them in legal work. It can convert documents to searchable text and preserve where each fact came from.
Why use it?
It reduces the risk of inventing or repeating unsupported cases, laws, or facts. It also flags information that could not be verified.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect PDFs, Word files, screenshots, database results, and web pages before using them in legal work. It can convert documents to searchable text and preserve where each fact came from.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neu-zha/legal-ai-skills/legal-fact-checker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NEU-ZHA/legal-ai-skills --skill legal-fact-checker
Clone the repo
git clone --depth 1 https://github.com/NEU-ZHA/legal-ai-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for legal-fact-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/legal-fact-checker/github.svg)](https://agentmods.dev/skills/neu-zha/legal-ai-skills/legal-fact-checker)
Your own site
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/legal-fact-checker"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/legal-fact-checker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for legal-fact-checker

Your own site · 80×15
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/legal-fact-checker"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/legal-fact-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.00857
Opus 5.5 $0.00019 $0.00343
Sonnet 5.5 $0.00010 $0.00171
Haiku 4.5 $0.00005 $0.00086

Measured 17d ago against content hash 0b55524ec9a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

legal-fact-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/legal-fact-checker/SKILL.md · 45 lines

What it actually says

法律产出事实核查

核查范围从用户要求确定。全面审计覆盖全部主张;局部修改核对受影响事实与引用,保留范围外文字和格式。

来源与材料

  • 先定位与问题有关的文件、页码或章节。原文可直接读取时无需统一转为 Markdown,也不因提供文件夹而转换全部文件。
  • 需要提取时选可用工具,保留出处、页码或段落。长文先检查提取覆盖范围;出现缺页、截断、表格错位或识别疑点时,再用第二工具或原页核对。
  • 检索未命中不能证明原文没有。作出缺失判断前,确认相关页已完整提取或检查原页。
  • 中间提取文件放内部工作目录;已有 _source_md/ 可复用,但目录名不是事实真实性的条件。
  • 局部无法读取时说明影响范围,继续已可靠取得材料的部分。不得以不完整提取结果冒充全面核查。

核对要求

  • 关键事实可追溯到用户提供的原始材料或可核验的一手来源;区分事实、作者主张、推断及假设。
  • 案例核对案号、当事人、法院、日期、裁判结果和相关说理。金额、日期、案号逐字核对;不凭印象补细节。
  • 法规核对名称、条款项、原文及与案件时间有关的效力状态。转述不得当成原文引语。
  • 姓名按原文处理;用户要求脱敏时遵循其脱敏范围,保持身份对应一致。
  • 同一引用在本次核查已取得可靠原文且无变化时可复用核验记录;发现矛盾、新材料或改动再核查相关项。

检索与工具

发现实际可用的工具并读取参数 schema。北大法宝、其他权威数据库、发布机关或法院原文均可提供核验依据,不能假定某一供应商的专用接口已安装。

有可用法宝 MCP 时按法规、精准条文或案例任务选择接口;网页兜底按需使用 pkulaw-legal-search。缺少案号识别或超链接接口时,直接核对取得的原文与来源,不停止其他核查,不编造接口返回、案号或链接。

交付前检查

对本次范围检查来源对应、数字一致、时间线和论证是否与已核验材料相符。已完成且无新问题的检查无需按固定遍数重复。

纠正能够确认的错误;未能取得可靠依据的关键主张应删除、改为条件表达或明确标为待核实,不能写成已验证结论。尚存缺口影响结论时,向用户说明具体位置和影响。

默认交付用户请求的文件或答复。只有用户要求独立核查底稿时才另建清单,包含位置、原主张、核查结果、来源和未决项;过程标签不进入提交用正文。不强制生成 UNSOURCED.md。

相关工作

  • 引注格式:legal-citation-comprehensive;DOCX 原生脚注按需使用 legal-citation-automator。
  • 民法作业版式:legal-homework-formatter。
  • 需要 OCR 或复杂版面提取时,选择当前可用的本地或已授权服务;服务上传与费用不由本技能自动授权。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · -155 lines · -99 tokens per session 0b55524ec9a6
  2. 1mo ago First seen · 200 lines · 147 tokens per session scan A 222997230a1b

Subscribe to this mod's changes

legal-fact-checker is a skill published in the GitHub repository NEU-ZHA/legal-ai-skills (68 stars, last pushed 18d ago), licensed MIT. It adds 48 tokens to every session and 857 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

fto-triage

Freedom-to-operate triage — a structured first look at potentially blocking patents, not an FTO opinion. Use when a product, process, or feature is being evaluated for blocking patents, when asked whether anything stops a launch, or to build a claim-chart first pass against the most plausible patents before patent…

anthropics/claude-for-legal · 81 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

terms-of-service

Draft terms of service and a companion privacy notice matched to the product's form and feature modules, not legal advice, delivered as a Word document.

genspark-ai/genoffice · 32 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

ai-risk-management

Apply the NIST AI Risk Management Framework (AI RMF 1.0) and adjacent guidance to AI / ML systems — model lifecycle governance, fairness and bias evaluation, robustness, transparency, accountability, third-party model risk, monitoring for drift, and AI incident response. Broader than prompt-injection (which is the…

briiirussell/cybersecurity-skills · 180 tokens