legal-citation-comprehensive

legal-citation-comprehensive is a skill for Claude Code, Codex from lawyerllsx-dotcom/Legal-Workflow-Chain. It costs 119 tokens per session (3,092 once invoked), scanned A, original, MIT.

A Chinese and foreign legal-citation tool for checking, completing, explaining, and formatting footnotes under the second edition of a legal citation manual. It handles laws, cases, legal documents, and academic sources when the relevant source material is provided.

In plain words
What is it for?
Use it to review or repair footnotes, convert citation styles, and format citations for laws, court cases, legal writing, or research papers.
Why use it?
It helps identify missing citation details and keeps footnotes in the required legal format.

Skill for Claude CodeCodex

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

Good fit Use it to review or repair footnotes, convert citation styles, and format citations for laws, court cases, legal writing, or research papers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive
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 lawyerllsx-dotcom/Legal-Workflow-Chain --skill legal-citation-comprehensive
Clone the repo
git clone --depth 1 https://github.com/lawyerllsx-dotcom/Legal-Workflow-Chain

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-citation-comprehensive

README.md
[![agentmods](https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive/github.svg)](https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive)
Your own site
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive/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-citation-comprehensive

Your own site · 80×15
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-citation-comprehensive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,092 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.
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.00119 $0.03092
Opus 5 $0.00060 $0.01546
Sonnet 5 $0.00024 $0.00618
Haiku 4.5 $0.00012 $0.00309

Measured 12d ago against content hash 2ca3442ca666, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

legal-citation-comprehensive 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 12d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/analyze_citation.py, scripts/audit_reference_data.py, scripts/build_reference_data.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-citation-comprehensive/SKILL.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

接力模式检测(所有 skill 通用规则)

加载后静默检查:若上下文存在 [Skill接力: legal-citation-comprehensive]接力模式

  • 跳过用户身份询问、新手引导、输出格式选择
  • 从上一 skill 的"接力上下文"+"待办"字段直接获取输入
  • 聚焦完成待办任务,不主动扩展分析范围

不触发情况(强制排除 —— 满足任一即不触发)

用户意图 应交由
检索法条/案例(找法律依据) legal-research
撰写/起草法律文书正文 legal-fact-checker
核查文书事实准确性 legal-fact-checker
识别/梳理争议焦点 dispute-issue-identification
三段论推理/涵摄分析 deductive-reasoning
整理证据材料到模板 evidence-catalog-generator
编辑 .docx 文件格式 docx-editing
仅解决法条竞合/规范冲突 conflict-resolution

判定口诀:用户只关心"脚注格式/引注规范/引用格式"→ 本 skill;用户要"写正文/查法条/核事实/改格式"→ 不触发。

多 Skill 协作接力协议(2026-07-17 更新)

加载后立即执行:检查用户请求是否同时需要本 skill 不覆盖的能力。

前置接力(先核查/推理再引注)

如果用户请求包含"核查/检查案例是否真实/法规是否过时"等事实核查,但引注来源未经核实 → 必须先由 legal-fact-checker 核查:

[Skill接力: legal-fact-checker]
接力上下文: 需要先核查引注中引用的法规效力和案例真实性
待办: 核查完成后回到 legal-citation-comprehensive 格式化脚注

如果用户请求包含"撰写/写作/起草/写"等创作任务(如"写一份案例分析/法律意见书+脚注"),本 skill 只负责脚注格式,必须先由 legal-fact-checker 完成写作

[Skill接力: legal-fact-checker]
接力上下文: 用户要求撰写法律文书,本 skill 只负责引注格式化,写作任务需先由 fact-checker 完成
待办: 写作完成后回到 legal-citation-comprehensive 格式化脚注

引注内容中发现的推理问题分流

在格式化引注时,引注中的法条或案例引用出现异常时的分流:

引用异常 接力到 说明
引用的法条已失效或被修改 legal-research 检索现行有效版本后回到引注格式化
同一观点引用了多个冲突法条 conflict-resolution 确定优先引用哪个后回到引注格式化

判定关键词:写、撰写、起草、帮我写、帮我做一份

接力前自检(输出接力标记前强制执行)

□ 接力目标是否正确?(引注来源未核实 → fact-checker;法条失效 → legal-research;多法条冲突 → conflict-resolution) □ "待办"字段是否包含了需要核验的具体法条编号或案例名称? □ 本 skill 的核心任务(引注格式化)是否确实已完成或已确认需前置处理?

执行自检通过后在接力标记前输出确认行:✅ 接力自检通过: 目标正确([skill-name]) | 待办完整 | 本skill任务已完成

接力标记格式

[Skill接力: next-skill-name]
接力上下文:
- 结论: {一句话核心结论}
- 依据: {关键法条/事实/证据,分条列出}
- 置信度: {高/中/低 + 理由}
- 待核验项: {需下一 skill 或人工核实的点;无则填"无"}
待办: {下一个 skill 需要完成的具体任务}

注意:本 skill 通常是法律工作流的最后一站(格式化工序),后置接力场景较少。如用户的引注要素缺失且无法从已有材料提取,应先接力到 legal-research 补全来源信息。

诊断/格式化完成后,末尾提示用户:如需在原文书中直接修正脚注或引注,可让我用 docx-editing 打开编辑。

Read the full file on GitHub · 239 lines

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. 12d ago First seen · 239 lines · 119 tokens per session scan A 2ca3442ca666

Subscribe to this mod's changes

legal-citation-comprehensive is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed 2d ago), licensed MIT. It adds 119 tokens to every session and 3,092 once invoked, about $0.0006 per session on Opus 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-31.

Related

Other skills, from other repositories