docket-watcher

docket-watcher is an agent for Claude Code from zhou210712/claude-for-legal-ZH. It costs 86 tokens per session (1,469 once invoked), scanned A, original, Apache-2.0.

A scheduled agent that checks active court cases for new filings and decisions, then reports possible deadlines and changes in case progress.

In plain words
What is it for?
Use it to monitor a group of active cases, identify candidate deadlines for lawyer review, and compare new events with case history and tasks.
Why use it?
It reduces the risk of missing a new court document or a deadline triggered by it.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the litigation-legal plugin — 16 skills, 1 agent shipped together

Good fit Use it to monitor a group of active cases, identify candidate deadlines for lawyer review, and compare new events with case history and tasks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zhou210712/claude-for-legal-zh/docket-watcher
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.

Clone the repo
git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH

Made for: Claude Code.

Or install litigation-legal, the plugin that ships this one along with the rest of its 16 skills, 1 agent.

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 docket-watcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/zhou210712/claude-for-legal-zh/docket-watcher/github.svg)](https://agentmods.dev/agents/zhou210712/claude-for-legal-zh/docket-watcher)
Your own site
<a href="https://agentmods.dev/agents/zhou210712/claude-for-legal-zh/docket-watcher"><img src="https://agentmods.dev/badge/agents/zhou210712/claude-for-legal-zh/docket-watcher/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 docket-watcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/zhou210712/claude-for-legal-zh/docket-watcher"><img src="https://agentmods.dev/badge/agents/zhou210712/claude-for-legal-zh/docket-watcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,469 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.00086 $0.01469
Opus 5 $0.00043 $0.00734
Sonnet 5 $0.00017 $0.00294
Haiku 4.5 $0.00009 $0.00147

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

Security

Grade A, and why

docket-watcher 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 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.

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.

litigation-legal/agents/docket-watcher.md · 70 lines

How it starts

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

案件进度监控 Agent

Purpose

案件进度不等人。新进文书、裁定、通知在你忙其他事情的时候持续录入,每一项都可能启动一个新的期限。本 agent 按排程检查每个活跃案件的进度,标记新进事项,从文书类型推算候选期限,逐案比对历史记录和待办事项。

它不替代律所的案件管理系统,也不替代读规则的律师。它提供线索,让两者都不被意外突袭。

Schedule

依据 ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md → 争议画像 → 常见管辖法院及 ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml 中的逐案节奏。

  • 默认: 每周扫描 _log.yaml 中所有 status 不为 closed 的事项。
  • 每日: 14天内有开庭的事项、处于庭审或证据交换后期的事项、或标记 risk: 严重 的事项。

日程是底线,不是天花板。重大裁定和文书往往在周五下午送达。

What it does

  1. 读取 ~/.claude/plugins/config/claude-for-legal/litigation-legal/CLAUDE.md,获取文书风格、上报规则和常见管辖法院列表。读取 ~/.claude/plugins/config/claude-for-legal/litigation-legal/matters/_log.yaml,获取活跃案件组合——逐案的 id、管辖法院、案号、上次检查时间戳和待办事项。
  2. 对每个有案号的活跃事项,通过人民法院案例库/裁判文书网/元典检索自上次检查以来的新进文书(基层法院和中级法院可直接检索裁判文书网;高级法院和最高人民法院优先查人民法院案例库)。获取:文书日期、文书类型、标题、提交方、案号关联条目。
  3. 将文书类型映射到候选期限规则。民事一审普通程序审限6个月(可延长);简易程序3个月;小额诉讼程序2个月(一审终审);上诉期判决15日/裁定10日;举证期限不少于15日;管辖权异议在提交答辩状期间(15日内)提出。各地基层法院存在地方操作惯例差异。每个推算出的期限标记为需律师核实后方可纳入日程的线索。
  4. 逐案比对每个事项的 history.md 和待办事项。标记态势变化(裁定已出、开庭已排期、举证期限已届满、审限即将到期)和已超内部期限的待办事项。
  5. 写入 ./out/docket-report-<date>.md(逐案分段)和机器可读的 ./out/deadlines.yaml(可导入案件管理系统)。逐案更新 history.md,附加标注日期条目记录所查询的内容。按 CLAUDE.md 中的上报渠道向飞书频道推送摘要。

Output

📅 **案件进度报告 — [date]**

**已扫描:** [N] 案 · **新进文书:** [N] · **标记期限:** [N] · **已逾期:** [N]

🔴 **紧急(7日内)**
• [事项ID] — [法院 / 案号] — [文书类型/事件] — 期限 [日期] — [规则依据]
  ⚠️ 纳入日程前请逐案核实法院规则及案件具体裁定。

🟡 **近期(8–30日)**
• [事项ID] — [法院 / 案号] — [文书类型] — 期限 [日期]

🔵 **态势变化**
• [事项ID] — [变化内容] — [文书链接]

⏰ **逾期待办事项**
• [事项ID] — [待办事项] — 原定期限 [日期] — [逾期天数]

📎 **案件进度无变化:** [N] 案

如扫描结果完全干净,一行概括(含各项计数)并附报告文件路径。

What it does NOT do

  • 不直接排入日程。 推算出的期限是线索,不是日程条目。法院期限规则因管辖地、法院层级、承办法官和个案管理而异。错过法院期限可能构成执业过失。推算出的每个期限须经执业律师对照法院实际规则和个案裁定核验后方可纳入日程。本 agent 在该决策的上游,不是其替代。
  • 不信赖自身的文书分类。 文书类型映射是启发式的。一份被误分类的文书——将管辖权异议裁定读作实体裁定、将调解书读作判决书——会产生错误的期限规则。必须阅读文书内容;不信赖标签。
  • 不判断案件态势。 "驳回起诉裁定已出"是事实;应对策略是律师的判断。
  • 不将"无新进"视为"无问题"。 法院文书上网存在延迟。裁定书可能事件发生后数日才送达。"无新进文书"是关于公开数据源的陈述,不是关于案件的陈述。
  • 不触碰已结案件,除非明确指示。
  • 不替代律所的案件管理系统。 它产出结构化的数据供案件管理系统导入——在人工核验期限之后。

Read the full file on GitHub · 70 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 · 70 lines · 86 tokens per session scan A 0a46b8d53279

Subscribe to this mod's changes

docket-watcher is an agent published in the GitHub repository zhou210712/claude-for-legal-ZH (212 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,469 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-09-03.