法律周报

法律周报 is a skill for Claude Code, Codex from lawyerllsx-dotcom/Legal-Workflow-Chain. It costs 242 tokens per session (7,768 once invoked), scanned A, original, MIT.

A legal-news briefing workflow that finds recent court and legal-practice articles, scores them against selected criteria, and archives chosen items in a local Obsidian notes folder. Obsidian is a local note-taking application.

In plain words
What is it for?
Use it to create a weekly legal briefing, collect court-publication articles, track legal developments involving AI, and add selected material to a shared local wiki.
Why use it?
It reduces the manual work of searching several legal sources, selecting useful articles, avoiding duplicate imports, and turning them into a searchable archive. It also checks the generated briefing before delivery.

Skill for Claude CodeCodex

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

Good fit Use it to create a weekly legal briefing, collect court-publication articles, track legal developments involving AI, and add selected material to a shared local wiki.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lawyerllsx-dotcom/legal-workflow-chain/legal-weekly-briefing
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-weekly-briefing
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 法律周报

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-weekly-briefing"><img src="https://agentmods.dev/badge/skills/lawyerllsx-dotcom/legal-workflow-chain/legal-weekly-briefing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 242 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,768 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.00242 $0.07768
Opus 5 $0.00121 $0.03884
Sonnet 5 $0.00048 $0.01554
Haiku 4.5 $0.00024 $0.00777

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

Security

Grade A, and why

法律周报 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 yesterday.

The scan reads SKILL.md. This mod also ships 18 executable files (scripts/build_candidates.py, scripts/dedupe.py, scripts/demo.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.

workbuddy/skills/legal-weekly-briefing/SKILL.md · 398 lines

How it starts

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

全局禁令(Agent 铁律)

以下规则在整个 skill 执行期间必须遵守。违反任一条 = 交付阻断。

场景 必须遵守 不应发生
入库知识库 仅写入本地 Obsidian weekly-briefing-archive/notes/ 目录,不经过任何第三方服务器 不应指引订阅/加入/发送到任何外部知识库
HTML 交付 仅用 render_html.py 渲染(#f8f7f5 / #1a1a2e 浅色简报风) 不应自造深色翻页幻灯片或其他替代样式
交付验证 每次修改后必须跑 python3 scripts/verify.py,全量通过 不应跳过验证或仅凭人眼判断
候选数据 每条候选必须含 abstract + recommend 不应构建缺少必填字段的 candidates.jsonl
session.json 仅本地使用,.gitignore 已排除 不应分享/提交到 Git/发送到任何服务器
样式修改 需要改样式时先问用户确认 不应擅自改动配色/布局/交互
适配流程 用户说「配置法律周报」→ 必须按适配向导 4 问引导 不应跳过适配向导给通用配置
内容发现路径 启动时检测双通道(微信读书登录态 → 元宝登录态),确定路径后明确告知用户 不应静默降级到 WebSearch 而不告知路径变化及影响
候选摘要 每条候选 abstract 必须非空,三级回退见 references/curation-guide.md 不应产出 abstract 为空的候选条目

工作流

Step 0 · 启动前检查更新(必做)

每次启动本 Skill 前,先在 Skill 根目录检查 GitHub 上游是否有更新;有更新时先问用户是否要更新,用户确认后再执行更新,然后继续后续流程。

git -C "<SKILL_ROOT>" fetch --quiet
git -C "<SKILL_ROOT>" rev-list --count HEAD..@{u}

如果返回值大于 0,告诉用户检测到上游更新数量,询问是否先执行:

git -C "<SKILL_ROOT>" pull --ff-only

执行规则

  • 不要自动更新。用户拒绝时继续使用当前版本。
  • 如果网络不可用、没有 upstream、不是 git 仓库、或 remote 被 404/删除,静默跳过本步,直接进 Phase 0,不报错不打断。
  • 当前状态:remote 已配置为 https://github.com/5tnb6xgsm5-ops/legal-weekly-briefing,Step 0 已生效。

Step 1 · 进入 Phase 流程

完成 Step 0 后,按下方「标准执行流程(Phase 0-6)」执行。


第一性原理

同一批法院公众号文章,走三层分流:

Tier 1 · 精读区:k-NN 评分引擎挑 12 条精品(AI+法律 5 + 纯法律 7)→ 律师主动阅读 Tier 2 · 雷达区 + Obsidian 归档:低分≠消失,legal 未进精读的前 8 条进「其他领域速览」(雷达区)防闭门造车;score ≥ 阈值法院源条目全量写入本地 Obsidian 归档目录(weekly-briefing-archive/notes/) Tier 3 · 噪音:非 legal 源 + 非 court 源 + 未进 AI 精读的条目,自然落选

精读解决"本周重点看什么",雷达区解决"执业圈外还有什么在动",Obsidian 入库解决"以后能找到什么"。三层共享内容发现层,在评分环节分叉。

核心交付模式:「配置一次,每周自动推送」——依赖外部调度层(WorkBuddy Automation / GitHub Actions cron)定时触发。


分级架构

Level 0 · 5 分钟快速体验(零配置,零依赖)
  └─ 预置 10 条示范候选 → demo.py → 演示周报 MD+HTML

Level 1 · 纯评分引擎(零外部依赖)
  └─ 用户提供候选 URL 列表 → k-NN 评分排序 → 周报 MD+HTML

Level 2 · + Obsidian 本地入库(零外部依赖)
  └─ Level 1 + obsidian_importer.py → 分类 → 写归档笔记(本地 weekly-briefing-archive/notes/)

Level 3 · + 自动发现(需微信读书账号 + 元宝账号)
  └─ 微信读书搜一搜(主)→ 元宝反查(补)双通道拉取四账号文章

Read the full file on GitHub · 398 lines

Files

What ships with it

39 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.

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. yesterday First seen · 398 lines · 242 tokens per session scan A 09ed1303b712

Subscribe to this mod's changes

法律周报 is a skill published in the GitHub repository lawyerllsx-dotcom/Legal-Workflow-Chain (5 stars, last pushed 2d ago), licensed MIT. It adds 242 tokens to every session and 7,768 once invoked, about $0.0012 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-11.

Related

Other skills, from other repositories