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.
npx skills add NEU-ZHA/legal-ai-skills --skill case-retrieval-display-tablegit clone --depth 1 https://github.com/NEU-ZHA/legal-ai-skillsWrote 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.
[](https://agentmods.dev/skills/neu-zha/legal-ai-skills/case-retrieval-display-table)<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/case-retrieval-display-table"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/case-retrieval-display-table/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.
<a href="https://agentmods.dev/skills/neu-zha/legal-ai-skills/case-retrieval-display-table"><img src="https://agentmods.dev/badge/skills/neu-zha/legal-ai-skills/case-retrieval-display-table.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.00762 |
| Opus 5 | $0.00040 | $0.00381 |
| Sonnet 5 | $0.00016 | $0.00152 |
| Haiku 4.5 | $0.00008 | $0.00076 |
Grade A, and why
case-retrieval-display-table 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.
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.
What it actually says
类案检索展示表
将检索到的每一条题录整理为横向案例卡片,并生成可直接给法律团队阅览的 .docx 明细表。公开版使用 [律所名称] 等占位符,不写入任何真实律所名称、客户名称或项目名称。
工作流程
- 先逐案读取可获得的裁判全文、典型案例材料或数据库题录;仅将材料能够支持的内容写入“核心事实/争点”“法院认定”和“裁判结果”。
- 先给每案标明检索分类:
实体判决、程序/关联裁定、重复题录或典型案例。不要将程序裁定或同案重复题录写成实体裁判规则。 - 按 references/case-schema.md 组织 JSON;案件名称本身带原文超链接,不另设“法宝链接”行。
- 运行
scripts/build_case_display_table.js生成横向 A4 文档;无输入数据时,该脚本生成一张可复制的空白案例卡片。 - 用
unzip -t验证输出文件;必要时转为 PDF 并逐页检查表格是否越界、标题是否孤立在页尾,以及超链接是否保留。
生成命令
node scripts/build_case_display_table.js \
--input cases.json \
--output "case-retrieval-display-table.docx" \
--title "[律所名称]|类案检索案例展示表"
生成空白模板时省略 --input:
node scripts/build_case_display_table.js \
--output "case-retrieval-display-template.docx" \
--title "[律所名称]|类案检索案例展示模板"
如果当前运行时没有 docx 依赖,请先在本 skill 目录安装:
npm install
输出规则
- 每案一张横向案例卡片;表头显示“案例 序号|检索分类”。
- 案件名称是唯一原文链接入口;链接文本应为案名,不要追加“北大法宝链接”等冗余行。
- “关键表述/关键词”只摘录与检索主题、裁判判断或争点识别有关的原文短语;没有则写“公开材料未载明”或“未见与本案认定相关的关键词”。
- “法院认定”应压缩“本院认为”的判断路径;“裁判结果”应写明维持、改判、驳回或准许等主文结果。
- 对全文未公开、材料不全或仅见典型案例摘要的记录,明确写“公开材料未载明”,不得补造案号、日期、事实或裁判理由。
- 除表内案情内容外,不写“本案/我方案/建议继续关注”等检索报告式语言。
What ships with it
4 files 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.
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.
- 12d ago First seen · 49 lines · 80 tokens per session scan A 3852b8133e88
case-retrieval-display-table is a skill published in the GitHub repository NEU-ZHA/legal-ai-skills (64 stars, last pushed 23d ago), licensed MIT. It adds 80 tokens to every session and 762 once invoked, about $0.0004 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-30.
Other skills, from other repositories
html-ppt-zhangzara-stencil-tablet
A workplace-safety compliance review for a manufacturing regulator — findings, the evidence chain, and the corrective mandate. Built as a decision-grade policy briefing deck for regulator, plant leadership.
treatment-plans
Format and structurally validate local treatment-plan documentation after clinical decisions have already been supplied and verified by authorized licensed professionals. Use for source traceability, clinician-authored intervention records, goals and checkpoints, shared-decision records, reconciliation handoffs, and…
handbook-updates
Diff a proposed handbook change against the current version, flag ripple effects and state supplement impacts. Use when user says "update the handbook", "add this to the handbook", "handbook change", or has a policy ready for insertion.
software-copyright-materials
A workflow for creating Chinese application materials for software copyright registration from a real software project.
iflytek-contract-intelligence-review
A contract-review workflow for scanned or digital agreements. It can recognize document text, examine clauses, detect risks, check compliance, and create translation summaries; its output is for review and is not formal legal advice.
legal-writer
Legal document drafting -- contracts, memos, briefs, complaints, demand letters, opinions, discovery, settlements, ToS, privacy policies. Full pipeline: document structure, per-section writing, Bluebook citation, case law lookup (CourtListener API), regulation lookup (eCFR API), DOCX output, and TDD-style verification…