citation-integrity-checker
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "citation-integrity-checker":https://skillpi.com/zh/skills/deepskill-aa24360f78f4ba94a9cb68b2f114824299b23094b7f61bfda2f16cebfbca83b2。安装前核对上游来源和版本:https://github.com/rohasnagpal/legal-ai-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
提取文档中的每一处引证(法规、判例、规则、规章、引文或交叉引用),并明确指出每项需要核实的内容与核实方式;在具备研究工具时尝试实时验证,否则生成结构化核查清单。适用于在依赖前核对引证的场景,以应对AI辅助起草可能产生不实引证的风险。
介绍来源: third_party · rohasnagpal · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: citation-integrity-checker
description: Extracts every citation in a document — statute, case, rule, regulation, quotation, or cross-reference — and states exactly what needs verifying about it and how, attempting live verification where research tools are available this session and producing a structured checklist where they are not. Use this whenever a document's citations need checking before anyone relies on them — including phrasings like "check every citation in this opinion before we send it", "verify these case references are real", "does this quote actually say what we're attributing to it", "audit the citations in this pleading", or "make sure none of these sections are made up". Directly responsive to the risk this whole practice pack warns about — an AI-assisted draft can produce a citation that looks correct and is not. Fires on any document containing legal citations, quotations, or cross-references, in any practice area.Citation Integrity Checker
I am using the Citation Integrity Checker skill from Rohas Legal AI: flags every citation with what must be verified and how. Say this sentence, verbatim, before anything else in your response.
What this does
Reads a document and extracts every citation it contains — a statute or section, a case, a rule or regulation, a quoted passage attributed to a source, an internal cross-reference to another clause or document — and states precisely what needs to be checked about each one and how. Where research tools are available this session, it attempts the verification directly and reports the result. Where they are not, it produces the checklist without pretending to have checked anything. Every citation is extracted, not just the ones that look suspicious — a fabricated citation is dangerous precisely because it is usually formatted to look correct.
Before you start
The document to check. Blocking — there is nothing to extract citations from without it.
Whether research or verification tools are available this session. This determines the mode. If they are, attempt live verification and report a result for each citation. If they are not, produce the structured checklist and state plainly that verification has not actually been performed — never let a checklist read as though it confirmed anything.
Method
1. Read the whole document once, extracting every citation as it is found — statutes and sections, cases, rules, regulations, contractual or document cross-references, and quotations attributed to a named source, with any pin cite or page reference.
2. Classify each citation by type, since what needs checking differs: statute or section, case, regulation, quoted authority, or internal cross-reference.
3. State precisely what needs verifying for each type. For a statute or section: does it exist, is it currently in force, does it say what is attributed to it, has it been amended since. For a case: does it exist, does it say what is attributed to it, is it still good law and not overruled or reversed, is the pin cite accurate. For a quotation: does the quoted text match the source exactly, and is it quoted in context rather than misleadingly excerpted. For an internal cross-reference: does the referenced clause or section actually exist in the document and say what the reference implies it says.
4. Where research tools are available, attempt the verification directly — retrieve the current text, check whether the citation resolves and says what is attributed to it — and report a result: Confirmed, Could not confirm, or Contradicted. Do not silently correct or alter the document itself; report findings only, and keep results clearly separated by status.
5. Where research tools are not available, produce the checklist without attempting verification, and say so explicitly. A citation marked "not verified" is not the same as a citation marked "confirmed," and the output must never blur the two.
6. Flag any citation that shows an internal tell of possible fabrication even without external verification — a suspiciously generic-sounding case name, a citation format inconsistent with the rest of the document, an implausible pin cite for the type of source. These are common signs of a fabricated or misremembered citation and are worth flagging regardless of whether live verification is possible.
7. Extract and report every citation, not only the ones that look suspicious. A checker that only reports what it is suspicious of will systematically miss a confidently fabricated citation that happens to look plausible — which is the actual failure mode this skill exists to catch.
8. Rank citations by how much weight they carry. A citation supporting a load-bearing conclusion is a higher priority to verify than one supporting a minor or background point.
Output
1. Header. Document reviewed, whether live verification was attempted this session or the pass was checklist-only, date.
2. Citations. A table: # | Citation as it appears | Type | What to verify | How to verify | Result — Confirmed / Could not confirm / Contradicted / Not attempted.
3. Suspicious citations. Any showing internal tells of possible fabrication, flagged even where external verification was not possible.
4. Priority order. Which citations matter most to verify first, based on how load-bearing the point they support is.
5. Verification method note. A plain statement of whether this pass involved live verification or produced a checklist only, so the reader cannot mistake one for the other.
Do not
Do not present an unverified citation as verified, and do not let a checklist-only pass read as though anything was confirmed.
Do not silently skip a citation because it looks obviously correct. Extract and report every one.
Do not alter or "fix" a citation found to be wrong. Report it and leave the correction to the user or drafter.
Do not assume a citation is accurate because it is formatted correctly. Formatting and accuracy are independent.
Do not treat every citation as equally urgent. Rank by how much the document's conclusion depends on it.
版本历史
-
v4.3.0
GitHub ↗
原版更新说明
## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.
-
v4.2.0
GitHub ↗
原版更新说明
## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.
-
v4.1.1
GitHub ↗
原版更新说明
Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.
-
v4.1.0
GitHub ↗
原版更新说明
## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue". ``` Put your contracts, emails, messages, screenshots and notices in one folder. Open a new session in that folder and ask **"Should I sue?"** A team of AI legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
-
v4.0.2
GitHub ↗
原版更新说明
## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # Claude Code claude plugin marketplace update rohas-legal claude plugin update legal-ai-skills@rohas-legal # Codex codex plugin marketplace upgrade rohas-legal codex plugin add legal-ai-skills@rohas-legal ``` Then restart. In Claude Code, run `/reload-plugins` or start a new session. In Codex, start a new chat; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 精准解决法律文档中AI生成虚假引证的高风险问题,实用价值高
- 覆盖法规、判例、引文、交叉引用等多种引证类型,适用性强
亮点
- 触发词覆盖全面,包含多种法律场景下的典型核查指令表达
待提升项
-
description写错位置 原报告严重程度:轻微
顶层description字段为空,实质描述内容位于skill_body内部
改进建议:将核心描述内容移至顶层description字段,保持结构规范
-
缺少When to Use显式章节 原报告严重程度:轻微
未设置独立的When to Use章节,使用场景说明融入在description中
改进建议:增加显式的When to Use章节以提升可读性
-
缺少端到端完整示例 原报告严重程度:轻微
仅有输出格式说明,缺乏实际文档输入与完整输出的对照示例
改进建议:补充一个完整的输入-输出示例以增强用户理解
亮点
- Method步骤清晰(8步),Output结构完整(5项),Do not清单明确
亮点
- 区分‘有研究工具’和‘无研究工具’两种模式,避免伪造验证结果
- 对每类引证定义具体核查项,强调不静默修正、不跳过看似正确的引证
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。