agentleFS
kingselyjoekingselyjoe/legal-research-dsh/skills/legal-research/SKILL.md

legal-research

Skill2 starsChanged 3 months agoMITView on GitHub

统筹法律检索、法学论文、文献综述、法律备忘录和裁判文书实证研究。用户需要确定研究问题、查找并核验法源、建立论点证据链、写作或审稿时使用;普通文本润色或无须法律来源的一般写作不触发。

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Legal Research DSH

把法律研究做成可复核的证据工程。模型负责研究判断,legal-research 命令负责项目状态、来源、论点、证据和审计。

开始任何工作前完整读取并遵守 references/interaction-protocol.md。它规定如何向用户解释当前步骤、处理结果和下一步;原始 JSON 只供内部读取。

不可破坏的规则

  • 不凭记忆编造法条、案号、裁判要旨、页码、DOI、引文或效力状态。
  • 事实、法律命题、学术观点和作者分析必须分开标记。
  • 引用法律结论前回到可访问的原始来源;只有摘要时明确标为二手来源。
  • 缺失内容保留 [待核验] 或 [待补:具体字段],不得猜补。
  • 法域、研究截止日期、目标体例和交付格式必须进入项目元数据。
  • 输出是研究辅助材料,不冒充律师意见、司法结论或学术原创性证明。

开始或恢复

先运行:

legal-research diagnose --json
legal-research --workspace "{workspace}" guide --json

没有项目时,根据用户已经提供的信息直接初始化;只有核心命题或法域确实无法推断时才追问:

legal-research --workspace "{workspace}" init \
  --title "{题目}" --jurisdiction "{法域}" \
  --research-type law-review --citation-style "中引法" \
  --thesis "{暂定核心命题}" --json

上面的命令在内部执行。面向用户先说明当前主阶段、这一步的目的和完成标准;执行后说明实际产出、对论文的作用和唯一的建议下一步。

当前阶段达到完成标准后,在内部运行 legal-research --workspace "{workspace}" stage {下一阶段} --json,再重新读取 guide --json。不得仅因调用过某个模块就把阶段标成完成。

研究类型仅选 legal-memo、law-review、empirical、literature-review。

路由

用户目标模块
法条、案例、文献和数据库检索legal-research-sources
北大法宝等授权法律数据库的MCP、CLI和批量导入legal-research-providers
拆论点、找反例、建立证据地图legal-research-claims
中引法、Bluebook、OSCOLA等引注核验legal-research-citations
论文计划、文献综述、备忘录和正文legal-research-writing
降低模板化表达、强化作者判断和论文作者性审查legal-research-authorship
投稿前审查、论证和方法复核legal-research-review
裁判文书批处理、编码和实证数据legal-research-empirical
Markdown、DOCX和交付检查legal-research-export

当环境不能直接激活同名 Skill 时,完整读取对应目录的 SKILL.md 后执行。项目目录规范见 references/workspace.md。

默认工作流

  1. 阶段 1/6 研究设定:固定问题、法域、时间边界、研究类型、核心命题和反命题。
  2. 阶段 2/6 来源检索与核验:需要授权数据库时先执行 legal-research-providers,再执行 legal-research-sources 登记并核验来源。
  3. 阶段 3/6 论点与证据链:执行 legal-research-claims 建立证据地图,再由 legal-research-citations 核验身份、定位和体例。
  4. 阶段 4/6 提纲与正文:执行 legal-research-writing,正文只使用证据台账中可追溯的材料。
  5. 阶段 5/6 作者确认与审查:依次执行 legal-research-authorship 和 legal-research-review,修复阻断问题。
  6. 阶段 6/6 导出与交付:运行 legal-research audit --strict;通过后执行 legal-research-export 并人工核对。

研究失败时保留项目目录和已验证来源,只重做失败步骤。网页不可访问不等于来源不存在,也不允许把搜索摘要包装成已核验正文。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.