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 agentmods add skills/eysn0130/deeplaw/deeplaw-compile-sourcenpx skills add Eysn0130/DeepLaw --skill deeplaw-compile-sourcegit clone --depth 1 https://github.com/Eysn0130/DeepLawWrote 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/eysn0130/deeplaw/deeplaw-compile-source)<a href="https://agentmods.dev/skills/eysn0130/deeplaw/deeplaw-compile-source"><img src="https://agentmods.dev/badge/skills/eysn0130/deeplaw/deeplaw-compile-source.svg" alt="Measured on agentmods" 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.00046 | $0.00329 |
| Opus 5 | $0.00023 | $0.00164 |
| Sonnet 5 | $0.00009 | $0.00066 |
| Haiku 4.5 | $0.00005 | $0.00033 |
Grade A, and why
deeplaw-compile-source 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 6d 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
Compile an Admitted Source
Require a user-selected Source Revision and confirm_no_case_data=true.
- Ask the owner to obtain the read-only handoff with
deeplaw knowledge compile handoff --source-revision-id <exact-id>. Verify that it namesknowledge_supportandknowledge_sink, includes no grant, performed no write, and reports the exact Source status. Then read withknowledge_support: useoperation=sourceto identify the exact revision andoperation=compilationwithcompilation_action=list_uncompiledorprofile. - Require a separately owner-created, scope-bound Grant for
knowledge_sink. Never create, widen, inspect, or copy a Grant. - Use the explicit sink lifecycle:
begin_compilation,stage_semantic_observations,freeze_semantic_inventory,finalize_semantic_compilation,validate_compilation,commit_compilation, thenresume_compilationwith projection requested. Supply fresh idempotency keys. - Let DeepLaw validate identity, source binding, provenance, lifecycle, and authority. Never write Markdown or databases directly, invoke a model automatically, or promote a draft.
- Verify the committed revision and report partial status, gaps, conflicts, and projection state.
What ships with it
1 file 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.
- 6d ago First seen · 24 lines · 46 tokens per session scan A e0a3f2ee4557
deeplaw-compile-source is a skill published in the GitHub repository Eysn0130/DeepLaw (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 46 tokens to every session and 329 once invoked, about $0.0002 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
legal-citation-comprehensive
全面法学引注诊断、补全与格式化工具。用于检查混乱脚注、识别缺失要素、说明应去哪里查找缺失信息,并在用户提供来源文件、法条、案例或网页信息时生成符合《法学引注手册(第二版)》的中文/外文法律脚注。适用于法学引注、脚注检查、引注修正、引用格式转换、法律文献引用、法条脚注、案例脚注、论文引注。.
legal-fact-checker
法律产出事实核查技能。当用户需要撰写、编辑、分析任何法律文件(法律文书、案例分析、法条评析、合同审查、法律意见书、法学作业等)时触发此技能。核心原则:一切法律产出必须有事实依据,禁止编纂案例、法规或事实。触发词:法律文件、案例分析、法条分析、合同审查、法律意见、法学作业、法规验证、事实核查、凶宅案、合同纠纷、民法作业、法律写作、legal writing、fact check、法律产出。.
legal-research
当用户需要【查法条/查案例/查赔偿标准/判断合法性】时使用。触发词:查一下、法条、怎么规定、法律依据、赔偿标准、合法吗、有没有责任。输出:法条原文+条文号+相关案例(可溯源)。不做:凭记忆回答(必须经检索源核实)。.
workflow-overview
Skill "workflow-overview" from lawyerllsx-dotcom/Legal-Workflow-Chain, covering 工作流总览(workbuddy 版), 工作流全景, 唯一入口与路由优先级(p1-1), 执行路径(自主规划) and 与 case-pipeline 合并互补(复杂案件必读).
legal-research
本 skill 由多个文件组成。下文所有 references/… 路径均相对于本 SKILL.md 所在目录。开始前先确定该目录(你被指向或读取本文件时所在的位置),之后所有读取都基于它解析,不要用当前工作目录去找。.
document-fill
给一份文书模板 + 本案知识库,按模板取证填充、产出干净文书 + 溯源/缺口报告。当用户要求「按案卷/知识库填一份模板/表单/文书」时使用。.