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-providersgit 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-providers)<a href="https://agentmods.dev/skills/kingselyjoe/legal-research-dsh/legal-research-providers"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-providers/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-providers"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-providers.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.00074 | $0.00699 |
| Opus 5.5 | $0.00030 | $0.00280 |
| Sonnet 5.5 | $0.00015 | $0.00140 |
| Haiku 4.5 | $0.00007 | $0.00070 |
Grade A, and why
legal-research-providers 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 1mo 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。
统一处理第三方法律数据服务的鉴权边界、字段映射、去重和来源追溯。当前实现北大法宝,其他供应商通过同一Provider接口扩展。
基本规则
- 只使用用户已经取得授权的账号、Token和数据范围,不抓取网页,不绕过登录、付费墙、频率限制或合同条款。
- Token只进入环境变量或目标客户端的密钥管理机制,不写进Skill、代码、日志、研究台账或可提交配置。
- 供应商返回记录默认标记为
provider-record-unverified-against-origin。回到法条原文、裁判文书或论文原文核验后,才能把来源设为verified。 - 批量调用可能消耗额度。执行真实查询前说明调用范围;用户没有授权真实调用时,只生成配置模板或处理本地结果文件。
选择接入方式
- 对话式法规、法条、案例、案号和引文查询使用MCP。
- Community版允许用户自行运行供应商CLI,再把结构化JSON导入来源台账。自动调用、批量执行和断点续跑由Pro版提供。
- 已有导出JSON时直接导入,不重复请求外部服务。
先检查环境:
legal-research provider list --json
legal-research provider diagnose pkulaw --json
北大法宝
处理北大法宝时读取 references/pkulaw.md。生成不含真实Token的九服务MCP配置模板:
legal-research provider mcp-config pkulaw --output ./mcp.pkulaw.example.json
导入MCP或CLI保存的JSON:
legal-research --workspace "{workspace}" provider import pkulaw "{result.json}" --resource-type auto --json
导入完成后执行 legal-research-sources,核对来源身份、效力状态、原文链接和精确定位。Provider导入日志保存在 providers/{provider}/imports.jsonl,只记录文件哈希、数量、结果ID和时间,不保存Token。
回到原始法源核验后写回状态:
legal-research --workspace "{workspace}" source verify S0001 \
--locator "{original-source-url}" --notes "已核对标题、效力和引用位置" --json
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.
- 1mo ago First seen · 59 lines · 74 tokens per session scan A de61a9137767
legal-research-providers is a skill published in the GitHub repository kingselyjoe/legal-research-dsh (2 stars, last pushed 2mo ago), licensed MIT. It adds 74 tokens to every session and 699 once invoked, about $0.0003 per session on Opus 5.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
deslop
Audits and rewrites legal writing, professional documentation, and general text to follow plain English principles. Translates archaic legalese and eliminates verbose "AI slop" by enforcing active voice, subject-verb proximity, and concise phrasing (inspired by Bryan Garner, the SEC Plain English Handbook, Federal…
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.
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.
format-monitoring-report
A formatting guide for turning already-approved legal-monitoring content into a DOCX or PDF report. It specifies a seven-section layout, blue labels, Times New Roman, footnotes, page numbers, and a final comparison table.
verifiable-legal-document
A Russian-language workflow for producing legal documents with claim identifiers, linked supporting passages, hashes, and validation reports.
matter-intake
A setup process for a new legal matter or research assignment. It turns an unstructured request into a defined question, scope, data classification, plan, sources, deadline, and completion criteria.