agentleFS
r-irber-irbe/proof-skills/skills/applied-legal-reasoning/SKILL.md

applied-legal-reasoning

Skill3 starsChanged 26 days agoApache-2.0View on GitHub

USE FOR: Legal reasoning formalization: statutory interpretation, case-based reasoning, argumentation frameworks. DO NOT USE FOR: formalising those legal models in Lean (@lean-applied-reasoning). TRIGGERS: statutory interpretation, case-based reasoning.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    STOP if the question is about pure deontic logic — delegate to @lean-causal-reasoning.

    line 50
  2. Very specific:

    STOP if the legal regime is jurisdiction-specific and not in the body — escalate to @research-council.

    line 51
  3. Very specific:

    STOP if security/privacy policy dominates — delegate to @applied-data-information-security.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Legal Reasoning

Formal frameworks for legal analysis, argumentation, normative reasoning, and their intersection with formal verification and AI governance.

Routing

  • USE FOR: Legal reasoning formalization — statutory interpretation, case-based reasoning, argumentation frameworks, defeasible rules, deontic norms, regulatory compliance, and their connection to provenance chains, governance structures, and formal verification for legal-adjacent AI systems.
  • DO NOT USE FOR: formalising those legal models in Lean (use @lean-applied-reasoning); deontic reasoning specifically (use @lean-causal-reasoning); security policy (use @applied-data-information-security).
  • TRIGGERS: statutory interpretation, case-based reasoning, argumentation framework, defeasible rule, deontic norm, legal reasoning, regulatory.

Workflow

  1. Classify the legal task: statutory interpretation, case-based reasoning, argumentation, or deontic-norm modelling.
  2. Pick the matching framework (ASPIC+, Carneades, defeasible-logic, deontic-action) from the body.
  3. Apply the framework; document the argument structure + defeaters.
  4. Hand off: to @lean-causal-reasoning for deontic-logic encoding, to @lean-applied-reasoning for Lean formalisation, to @lean-zettelkasten.

Recovery & STOP

  • STOP if the question is about pure deontic logic — delegate to @lean-causal-reasoning.
  • STOP if the legal regime is jurisdiction-specific and not in the body — escalate to @research-council.
  • STOP if security/privacy policy dominates — delegate to @applied-data-information-security.

Handoffs

  • Predecessors: agent:gateway, skill:lean-research.
  • Successors: skill:lean-applied-reasoning, skill:lean-causal-reasoning, skill:lean-knowledge-formalization.

Detailed reference

Full content for applied-legal-reasoning lives in references/applied-legal-reasoning-handbook.md. Load that file when the skill is convened; the SKILL.md only carries the dispatch contract and the parts index.

SectionTopic
Part 1Legal Reasoning Paradigms
Part 2Argumentation Frameworks
Part 3Defeasible Legal Rules
Part 4Statutory Interpretation
Part 5Case-Based Reasoning (CBR)
Part 6Regulatory Compliance Formalization
Part 7AI & Legal Reasoning
Part 8Cross-References

See also

  • ../../references/applied-legal-reasoning-handbook.md — Full handbook (extracted from this skill)
  • ../lean-applied-reasoning/SKILL.md — Successor
  • ../lean-causal-reasoning/SKILL.md — Successor
  • ../lean-knowledge-formalization/SKILL.md — Successor

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.