evidence-bundle

evidence-bundle is a skill for Claude Code, Codex from jonashertner/opencaselaw. It costs 42 tokens per session (372 once invoked), scanned A, original, MIT.

An evidence-bundle tool for collecting the court decisions, legal passages, and statute articles used in a memo or other legal answer. It saves the source files with timestamps, links, and SHA-256 hashes, which are file fingerprints.

In plain words
What is it for?
It helps collect legal sources, verify their integrity, compare two research runs, and report missing or failed items.
Why use it?
It gives reviewers a fixed record of what the answer relied on and shows whether the saved files were changed later.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps collect legal sources, verify their integrity, compare two research runs, and report missing or failed items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jonashertner/opencaselaw/evidence-bundle
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 jonashertner/opencaselaw --skill evidence-bundle
Clone the repo
git clone --depth 1 https://github.com/jonashertner/opencaselaw

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 evidence-bundle

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonashertner/opencaselaw/evidence-bundle/github.svg)](https://agentmods.dev/skills/jonashertner/opencaselaw/evidence-bundle)
Your own site
<a href="https://agentmods.dev/skills/jonashertner/opencaselaw/evidence-bundle"><img src="https://agentmods.dev/badge/skills/jonashertner/opencaselaw/evidence-bundle/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 evidence-bundle

Your own site · 80×15
<a href="https://agentmods.dev/skills/jonashertner/opencaselaw/evidence-bundle"><img src="https://agentmods.dev/badge/skills/jonashertner/opencaselaw/evidence-bundle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 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.00042 $0.00372
Opus 5 $0.00021 $0.00186
Sonnet 5 $0.00008 $0.00074
Haiku 4.5 $0.00004 $0.00037

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

Security

Grade A, and why

evidence-bundle 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 5d 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.

clients/python/src/opencaselaw_cli/skills/evidence-bundle/SKILL.md · 27 lines

What it actually says

Evidence bundles with ocl

Use when a deliverable relies on decisions or statutes and someone will review it later (a memo, a brief, an answer with legal authorities).

  1. Collect: ocl bundle create '<query>' --max-results <n> --passage <e-number> --law <ABBR:ART> --out <folder> saves every served response (JSON and plain text), a plain-language INDEX.md and manifest.json with requests, timestamps, source links and SHA-256 hashes. --court, --language, --date-from/--date-to narrow the selection; cantonal statutes take --law ZH/GOG:1.
  2. Add decisions found elsewhere: ocl bundle add <folder> <decision_id> ... --passage <n>.
  3. Verify before handing over: ocl bundle verify <folder> (exit 0 only when every listed file is intact). Compare two runs of the same question: ocl bundle diff <old> <new>.
  4. Report the bundle path, completeness (an unavailable item is one the service does not have; a failed one is retried with --resume), and the corpus_snapshot.db_generation the answers came from.

Rules: the bundle is what was served, not an assessment of legal support; never edit files inside it; cite from INDEX.md's labels, which are the service's citation strings.

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. 5d ago First seen · 27 lines · 42 tokens per session scan A 5fabf1156c51

Subscribe to this mod's changes

evidence-bundle is a skill published in the GitHub repository jonashertner/opencaselaw (63 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 372 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-09-07.

Related

Other skills, from other repositories

legaltech-expert

Expert in legal technology: contract lifecycle management, e-discovery, AI-assisted legal research, case and matter management, document automation, and compliance tooling. Use when the user mentions legal case or matter management, e-discovery and legal holds, CLM or contract review and obligation tracking, legal…

personamanagmentlayer/pcl · 74 tokens

legalize-kr

Use this skill when working with Legalize-KR public Korean legal data, including laws, court precedents, administrative rules, and local ordinances. It guides agents to choose between legalize-cli, the local stdio legalize MCP server, git clone workflows, and direct GitHub access for search, retrieval, article lookup…

legalize-kr/agent-skills · 86 tokens

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.

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

法律周报

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.

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

legal-research

A Chinese-language legal research workflow for finding laws, regulations, court cases, compensation standards, and legal grounds.

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

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.

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