court-sms

court-sms is a skill for Claude Code, Codex from ThomasMoreAI/legal-skills-open. It costs 54 tokens per session (7,120 once invoked), scanned A, original, Apache-2.0.

A workflow that reads court text messages or delivery links, extracts case details, downloads court documents, and files them in the matching case folder.

In plain words
What is it for?
Use it to process notices about document delivery, case filing, or hearings and archive documents from supported court-service websites.
Why use it?
It removes the need to manually interpret delivery messages, copy case information, and organize downloaded court papers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/download_court_docs.mjs --url "{短信链接}" --output /tmp/court-sms-staging/.

Good fit Use it to process notices about document delivery, case filing, or hearings and archive documents from supported court-service websites.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open
agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/court-sms

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 court-sms

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/court-sms/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/court-sms)
Your own site
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/court-sms"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/court-sms/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 court-sms

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/court-sms"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/court-sms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 138
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 186
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Data Exfiltration · line 145
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 173
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00054 $0.07120
Opus 5 $0.00027 $0.03560
Sonnet 5 $0.00011 $0.01424
Haiku 4.5 $0.00005 $0.00712

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

Security

Grade A, and why

court-sms scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| 全国法院统一送达平台 | `zxfw.court.gov.cn` | curl API 直连 | qdbh, sdbh, sdsin |
cn/litigation/skills/court-sms/SKILL.md · 572 lines

How it starts

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

法院短信识别与文书下载

功能概述

处理法院短信的完整流程:粘贴短信 → 解析内容 → 匹配案件 → 下载文书 → 归档保存

支持两种触发方式:

方式一:粘贴短信原文

收到法院短信,内容如下:
【xx市人民法院】张三,您好!您有(2025)苏0981民初1234号案件文书送达,请点击链接查收:https://zxfw.court.gov.cn/zxfw/#/pagesAjkj/app/wssd/index?qdbh=DEMO1&sdbh=DEMO2&sdsin=DEMO3

方式二:直接发送送达链接

用户可能直接粘贴送达链接(非完整短信文本),此时跳过短信文本解析,直接从 URL 中提取 qdbhsdbhsdsin 参数,进入第三步下载流程。

https://zxfw.court.gov.cn/zxfw/#/pagesAjkj/app/wssd/index?qdbh=xxx&sdbh=xxx&sdsin=xxx

短信类型分类

类型 特征 含下载链接 处理方式
文书送达 含送达平台链接 + 案号 下载文书并归档到案件目录
立案通知 含"已立案"等关键词 可能有 展示解析结果
信息通知 无链接,纯信息 展示解析结果

支持的送达平台zxfw.court.gov.cn(全国)、sd.gdems.com(广东)、jysd.10102368.com(集约送达)、dzsd.hbfy.gov.cn(湖北)、sfpt.cdfy12368.gov.cn(司法送达网)。同一平台可能使用不同域名(同构异域名),通过 URL 路径特征识别平台。详见 references/sms-patterns.json


工作流(四步)

第一步:输入解析

  1. 读取 references/sms-patterns.json 作为解析参考
  2. 判断输入类型
    • 完整短信:包含法院签名(如 【xx法院】)+ 正文 + 链接 → 完整解析流程
    • 纯链接:用户直接发送送达 URL(如 https://zxfw.court.gov.cn/...?qdbh=xxx&sdbh=xxx&sdsin=xxx)→ 跳过短信文本解析,直接从 URL 提取参数,进入第三步下载。案号、当事人等信息在下载文书后从文书内容中提取。
  3. 对用户粘贴的短信文本进行分析(纯链接输入跳过此步):

a) 短信分类:根据关键词判断类型

  • 文书送达:包含 zxfw.court.gov.cn 链接
  • 立案通知:包含"已立案"、"立案通知"等
  • 信息通知:其他

b) 案号提取:使用正则 [((〔[]\d{4}[))〕]] 匹配标准案号格式

标准案号格式示例:

  • (2025)苏0981民初1234号
  • (2024)粤0604执保5678号
  • 〔2025〕京0105民初901号

c) 当事人提取:从短信文本初步识别,最终以文书内容为准

  • 注意:短信中的称呼(如"张三,您好")仅为短信接收人,不作为案件当事人
  • 公司名称:xx有限责任公司xx有限公司xx股份有限公司
  • 诉讼对峙:A与BA诉B原告A 被告B
  • 角色前缀:原告:xxx被告:xxx
  • 下载文书后,以起诉状、传票中的当事人信息为准,覆盖短信阶段的初步判断

d) 下载链接提取:识别短信中的送达平台链接并提取参数

平台 域名 下载方式 提取参数
全国法院统一送达平台 zxfw.court.gov.cn curl API 直连 qdbh, sdbh, sdsin
广东法院电子送达 sd.gdems.com 浏览器自动化 路径中的送达标识码
集约送达平台 jysd.10102368.com 浏览器自动化 key
湖北电子送达 dzsd.hbfy.gov.cn HTTP API(免账号)/ 浏览器自动化(账号模式) 免账号:msg;账号模式:账号+密码从正文提取
司法送达网 sfpt.cdfy12368.gov.cn 纯 Playwright(无 API) 验证码(手机尾号后6位 / 短信验证码)

Read the full file on GitHub · 572 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. 9d ago First seen · 572 lines · 54 tokens per session scan A 7a6e034ec197

Subscribe to this mod's changes

court-sms is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (72 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 7,120 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

audit-export

Export the full CocoAudit trail as a stakeholder-ready compliance document.

Snowflake-Labs/cocoplus · 15 tokens

law-to-markdown

A legal-document conversion skill for turning PDF, Word, or plain-text regulations into structured Markdown. Markdown is a text format that uses simple symbols for headings and lists.

anbeime/skill · 86 tokens

akf-trust-metadata-v2

AKF — The AI Native File Format workflow skill. Use this skill when the user needs The AI native file format. EXIF for AI — stamps every file with trust scores, source provenance, and compliance metadata. Embeds into 20+ formats (DOCX, PDF, images, code). EU AI Act, SOX, HIPAA auditing and the operator should preserve…

diegosouzapw/awesome-omni-skills · 100 tokens

oscal-document-engineering

Convert, validate, and maintain OSCAL documents from legacy SSP/PDF/DOCX/Markdown source material.

oscal-compass-lab/compliance-trestle-skills · 28 tokens

oscal-document-workbench-expert

Convert legacy SSP/PDF/DOCX source material into traceable, validated OSCAL workspaces with Compliance Trestle and OSCAL CLI.

oscal-compass-lab/compliance-trestle-skills · 37 tokens

okhp3-sharepoint-library-contract-extractor

Extract specified obligation, renewal, notice, owner, counterparty, and risk fields from selected SharePoint contract files into a review queue. Use when contracts need operational visibility. Do not use to interpret legal obligations, update records, or send notices automatically.

OKHP3/skillz · 60 tokens