case-law-analysis

case-law-analysis is a skill for Claude Code, Codex from sergeionlyart/minius_codex_lab. It costs 61 tokens per session (830 once invoked), scanned A, original, Apache-2.0.

A research aid for collecting and comparing court or administrative decisions on a legal question. It examines what each decision actually decided, where cases differ, and how far the sample can support a conclusion.

In plain words
What is it for?
Use it to define a search sample, record decisions and their procedural status, identify disagreements, and report evidence and coverage limits.
Why use it?
It reduces the risk of treating one ruling or a biased sample as a general description of legal practice.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to define a search sample, record decisions and their procedural status, identify disagreements, and report evidence and coverage limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sergeionlyart/minius_codex_lab/case-law-analysis
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 sergeionlyart/minius_codex_lab --skill case-law-analysis
Clone the repo
git clone --depth 1 https://github.com/sergeionlyart/minius_codex_lab

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 case-law-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergeionlyart/minius_codex_lab/case-law-analysis.svg)](https://agentmods.dev/skills/sergeionlyart/minius_codex_lab/case-law-analysis)
Your own site
<a href="https://agentmods.dev/skills/sergeionlyart/minius_codex_lab/case-law-analysis"><img src="https://agentmods.dev/badge/skills/sergeionlyart/minius_codex_lab/case-law-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 830 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.00061 $0.00830
Opus 5 $0.00030 $0.00415
Sonnet 5 $0.00012 $0.00166
Haiku 4.5 $0.00006 $0.00083

Measured 8d ago against content hash 03bc3c72b381, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

case-law-analysis 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 8d 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.

.agents/skills/case-law-analysis/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Анализ судебной и административной практики

Contract

  • Job-to-be-done: собрать воспроизводимый corpus решений и определить holdings, расхождения и пределы обобщения.
  • Inputs: юрисдикция, органы/инстанции, период, правовой вопрос и inclusion/exclusion criteria.
  • Outputs: протокол поиска, corpus rows, synthesis, adverse cases и ограничения выборки.
  • Evidence and safety: используй точные локаторы и официальные источники; санитизируй внешние запросы и не раскрывай материалы дела.
  • Stop conditions: остановись, если scope не определен, источник нельзя проверить или доступная выборка не позволяет заявленный вывод.
  • Acceptance test: вручную повтори один поиск и проверь для трех решений реквизиты, finality, holding и locator.

До поиска: протокол выборки

Зафиксируй в research/case-law-protocol.md:

  • юридический вопрос и ключевые нормы;
  • юрисдикцию и вид органа;
  • инстанции;
  • период;
  • inclusion/exclusion criteria;
  • search strings, synonyms и filters;
  • способ дедупликации;
  • finality/procedural status;
  • стратегия полной выборки или sampling;
  • известные ограничения доступа и representativeness.

Без протокола нельзя делать количественный вывод о практике.

Поля corpus

Для каждого решения:

  • decision_id;
  • court/body, chamber, jurisdiction, instance;
  • case number/official identifier;
  • date;
  • finality/status;
  • norms;
  • issue;
  • material facts;
  • holding/ratio;
  • relevant obiter отдельно;
  • outcome/remedy;
  • category/tags;
  • exact paragraph/page locator;
  • official URL/local copy/hash;
  • subsequent treatment/overruling, если известно;
  • relevance и limitations.

Процедура

  1. Проверь, доступен ли официальный реестр и каковы ограничения доступа.
  2. Выполни поиск по заранее зафиксированным словам; журналируй запросы и количество результатов.
  3. Удали технические дубликаты, но сохрани связанные инстанции как отдельные записи.
  4. Не смешивай:
    • разные юрисдикции;
    • разные инстанции;
    • окончательные/неокончательные решения;
    • процессуальные/материальные вопросы;
    • ratio и obiter;
    • решения до/после изменения нормы.
  5. Извлеки holding своими словами и рядом точный supporting extract. Не приписывай суду более широкий тезис.
  6. Классифицируй практику: consistent, dominant with exceptions, split, evolving, fragmented, insufficient sample.
  7. Проверь adverse cases и последующую судьбу ключевых решений.
  8. Количественные доли рассчитывай только при известном denominator и понятной полноте массива.
  9. Объясни, что практика показывает о качестве нормы: clarity, enforceability, predictability, institutional defects.
  10. Отдельно оцени, является ли проблема дефектом текста, толкования, неодинакового применения или исполнения.

Read the full file on GitHub · 90 lines

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. 8d ago First seen · 90 lines · 61 tokens per session scan A 03bc3c72b381

Subscribe to this mod's changes

case-law-analysis is a skill published in the GitHub repository sergeionlyart/minius_codex_lab (6 stars, last pushed 6d ago), licensed Apache-2.0. It adds 61 tokens to every session and 830 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

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

legal-fact-checker

A Chinese-language fact-checking guide for legal documents such as contracts, case analyses, legal opinions, and legal assignments. It checks provided drafts against factual and legal support without inventing laws, cases, or facts.

lawyerllsx-dotcom/Legal-Workflow-Chain · 143 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

workflow-overview

A workflow guide for handling complex legal matters through assessment, issue identification, source research, reasoning, fact checking, and document output.

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

legal-research

A structured system for legal research involving laws, court decisions, academic sources, arguments, and evidence. It separates facts, legal claims, scholarly views, and the author's own analysis.

kingselyjoe/legal-research-dsh · 78 tokens

tw-legal-rag

A tool for finding real Taiwan court judgments and legal interpretations with verifiable citations before answering questions about Taiwan law.

aa0101181514/tw-legal-rag · 84 tokens