legal-research-export

legal-research-export is a skill for Claude Code, Codex from kingselyjoe/legal-research-dsh. It costs 55 tokens per session (303 once invoked), scanned A, original, MIT.

A delivery tool for legal research that checks the work and formats it as Markdown or a Word document. It runs an audit before creating the final research report.

In plain words
What is it for?
Use it to audit a legal research workspace, render an evidence report, and mark a completed delivery. It can produce Markdown and DOCX files.
Why use it?
It helps catch missing sources, placeholders, incomplete files, or failed evidence checks before research is delivered. It also keeps an evidence report separate from any formal legal text.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Good fit Use it to audit a legal research workspace, render an evidence report, and mark a completed delivery. It can produce Markdown and DOCX files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kingselyjoe/legal-research-dsh/legal-research-export
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 kingselyjoe/legal-research-dsh --skill legal-research-export
Clone the repo
git clone --depth 1 https://github.com/kingselyjoe/legal-research-dsh

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 legal-research-export

README.md
[![agentmods](https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-export/github.svg)](https://agentmods.dev/skills/kingselyjoe/legal-research-dsh/legal-research-export)
Your own site
<a href="https://agentmods.dev/skills/kingselyjoe/legal-research-dsh/legal-research-export"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-export/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 legal-research-export

Your own site · 80×15
<a href="https://agentmods.dev/skills/kingselyjoe/legal-research-dsh/legal-research-export"><img src="https://agentmods.dev/badge/skills/kingselyjoe/legal-research-dsh/legal-research-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 303 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.00055 $0.00303
Opus 5 $0.00028 $0.00151
Sonnet 5 $0.00011 $0.00061
Haiku 4.5 $0.00006 $0.00030

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

Security

Grade A, and why

legal-research-export 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.

skills/legal-research-export/SKILL.md · 31 lines

What it actually says

研究交付

开始前完整读取并遵守 ../legal-research/references/interaction-protocol.md,先解释当前步骤,结束时说明结果、作用和下一步,不向用户粘贴原始 JSON。

读取 references/delivery-checklist.md。先运行:

legal-research --workspace "{workspace}" audit --strict

审计不通过时保留研究草稿,列出阻断项,不生成“最终版”措辞。通过后:

legal-research --workspace "{workspace}" render --format markdown
legal-research --workspace "{workspace}" render --format docx
legal-research --workspace "{workspace}" stage complete

render 生成的是证据台账报告。若用户已经有正式正文,应另行核对正文与台账的一致性,并登记为 final artifact;不得用台账报告覆盖用户正文。

Files

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.

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. 12d ago First seen · 31 lines · 55 tokens per session scan A 9cf23537b05e

Subscribe to this mod's changes

legal-research-export is a skill published in the GitHub repository kingselyjoe/legal-research-dsh (2 stars, last pushed 21d ago), licensed MIT. It adds 55 tokens to every session and 303 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.

Related

Other skills, from other repositories

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.

sergeionlyart/minius_codex_lab · 91 tokens

verifiable-legal-document

A Russian-language workflow for producing legal documents with claim identifiers, linked supporting passages, hashes, and validation reports.

sergeionlyart/minius_codex_lab · 69 tokens

evidence-catalog-generator

Organize user-provided evidence materials into evidence catalog entries and fill them into a user-provided or generic DOCX template. The public version contains no real case template, parties, docket numbers, facts, amounts, addresses, or local file paths.

lawyerllsx-dotcom/Legal-Workflow-Chain · 56 tokens

cloud-service-agreement

Draft and fill SaaS agreement templates — cloud contract, MSA, order form, software license, pilot agreement, design partner agreement. Includes variants with SLAs and AI terms. Produces signable DOCX from Common Paper standard forms. Use when user says "SaaS agreement," "cloud contract," "MSA," "order form,"…

open-agreements/open-agreements · 103 tokens

data-privacy-agreement

Draft and fill data privacy contract and agreement templates — DPA, data processing contract, GDPR, HIPAA BAA, business associate agreement, AI addendum. Produces signable DOCX files from Common Paper standard forms. Use when user says "DPA," "data processing agreement," "HIPAA BAA," "business associate agreement," or…

open-agreements/open-agreements · 123 tokens

write-docs-cn

A guide to writing project documentation, especially README files. It explains how tutorials differ from reference material and where each kind of information belongs.

pingfanfan/hello-dsh · 46 tokens