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 kingselyjoe/legal-research-dsh --skill legal-research-sourcesgit clone --depth 1 https://github.com/kingselyjoe/legal-research-dshWrote 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/kingselyjoe/legal-research-dsh/legal-research-sources)<a href="https://agentmods.dev/skills/kingselyjoe/legal-research-dsh/legal-research-sources"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-sources/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/kingselyjoe/legal-research-dsh/legal-research-sources"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-sources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00058 | $0.00436 |
| Opus 5 | $0.00029 | $0.00218 |
| Sonnet 5 | $0.00012 | $0.00087 |
| Haiku 4.5 | $0.00006 | $0.00044 |
Grade A, and why
legal-research-sources 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
法律来源检索
开始前完整读取并遵守 ../legal-research/references/interaction-protocol.md,先解释当前步骤,结束时说明结果、作用和下一步,不向用户粘贴原始 JSON。
先读取 references/source-hierarchy.md,按法域选择来源层级。
流程
- 把问题拆成法条、案例、学术观点、事实数据和反方材料五类检索节点。
- 优先检索立法机关、法院、政府公报、官方数据库和论文原文;商业数据库只在用户已有权限时使用。需要通过MCP、CLI或结构化接口访问商业数据库时,先执行
legal-research-providers。 - 每个来源核验标题、发布主体、日期、效力或裁判状态、稳定地址和精确位置。
- 用命令登记来源:
legal-research --workspace "{workspace}" source add \
--type law --title "{标题}" --locator "{URL或本地路径}" \
--jurisdiction "{法域}" --authority-level primary --date "YYYY-MM-DD" --verified
- 同时寻找相反裁判、修法历史、废止文件和对主张不利的文献。
搜索结果页、模型摘要、博客转述和无正文截图只能用于发现来源,不能直接标记 verified。无法核实的资料仍可登记,但必须保留待核验状态。
What ships with it
2 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 · 33 lines · 58 tokens per session scan A de68069ecca9
legal-research-sources is a skill published in the GitHub repository kingselyjoe/legal-research-dsh (2 stars, last pushed 21d ago), licensed MIT. It adds 58 tokens to every session and 436 once invoked, about $0.0003 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.
Other skills, from other repositories
wechat-prohibited-word
A compliance checker for WeChat public-account content. It scans text, files, images, or web pages for restricted or sensitive wording and suggests safer replacements.
xiaohongshu-prohibited-word
A Xiaohongshu content checker that finds platform-prohibited or sensitive words in text, documents, images, and web pages. Xiaohongshu is a Chinese social platform with rules that can limit or reject posts containing certain terms.
contract-guardian
A contract-review workflow that checks agreements for risks, links important findings to relevant laws, and produces a written review. It covers common agreements such as sales, leases, loans, services, contracting, and intellectual property.
法律周报
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.
legal-research
A Chinese-language legal research workflow for finding laws, regulations, court cases, compensation standards, and legal grounds.
legal-citation-comprehensive
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.