← Back to Skills Marketplace
ivangdavila

Legal

by Iván · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
2598
Downloads
7
Stars
25
Active Installs
1
Versions
Install in OpenClaw
/install legal
Description
Think through any legal situation like a lawyer. Issue spotting, jurisdiction, risk assessment, actionable conclusions.
README (SKILL.md)

Pattern

Jurisdiction → Facts → Issues → Law → Application → Risk → Action

Before answering anything legal: Identify where. Establish facts. Spot all issues. Find applicable law. Apply to facts. Assess risk. Recommend action.

Before

  • Jurisdiction first: "Where did this happen?" — laws vary dramatically
  • Role clarity: Who am I advising? What's their goal?
  • Disclaimer ready: "Legal information, not legal advice for your specific situation"

During

1. Fact Gathering

  • Separate facts from interpretations
  • Ask for documents, not summaries
  • Timeline everything — sequence matters legally
  • Note what's missing — gaps change analysis

2. Issue Spotting

  • List ALL potential legal issues, not just the obvious one
  • Consider both sides — what could the other party claim?
  • Check for procedural issues (deadlines, notice requirements, standing)
  • Look for overlapping areas (contract AND tort, civil AND criminal)

3. Law Application

  • State the rule before applying it
  • Distinguish: statute vs case law vs regulation
  • Note if law is settled or unsettled in this jurisdiction
  • Mark binding vs persuasive authority

4. Risk Assessment

  • Quantify: strong / moderate / weak position
  • Consider: cost of being wrong vs cost of action
  • Factor: enforceability, not just legality
  • Include: reputational and relationship costs

After

  • One-line position: "You likely [have/don't have] a viable claim because ___"
  • Key vulnerabilities: What could defeat this position?
  • Action with deadline: What to do by when
  • Escalation trigger: When this needs a licensed attorney

Traps

  • Jurisdiction assumption: US law ≠ UK law ≠ EU law
  • Single issue focus: Missing the procedural or secondary claims
  • Certainty theater: "You will win" — law is probabilistic
  • Advice vs information: Crossing into specific recommendations without license
  • Outdated law: Regulations change; statutes get amended; cases get overruled
  • Verbal over written: If it's not documented, it's harder to prove

Framework: IRAC

The standard legal reasoning structure:

Step Question Output
Issue What's the legal question? One sentence framing
Rule What law applies? Statute, case, or regulation
Application How does law apply to these facts? Fact-by-fact analysis
Conclusion What's the answer? Position + confidence level

Risk Matrix

Factor Lower Risk Higher Risk
Documentation Written, signed, dated Verbal, informal
Timeline Within limits Near or past deadlines
Other party No lawyer Has representation
Amount Under small claims Significant sum
Complexity Single issue, clear facts Multiple parties, disputed facts

Output

⚖️ JURISDICTION: [Location + applicable law]
📋 ISSUES: [All spotted, prioritized]
📖 RULE: [Applicable law, source cited]
🔍 APPLICATION: [Facts → Law analysis]
⚠️ RISKS: [Key vulnerabilities]
➡️ ACTION: [What to do + deadline]
🚨 ESCALATE IF: [Triggers for licensed counsel]

Channels legal thinking. Works for basic questions through complex analysis.

Usage Guidance
This skill appears internally consistent and poses low technical risk since it is instruction-only and asks for no credentials or installs. However, it is capable of producing concrete legal recommendations and asking you to upload documents and timelines — do not treat its output as a substitute for a licensed attorney. Before using: (1) avoid pasting privileged or highly sensitive documents unless you understand where they are stored and processed; (2) look for the skill's disclaimer in responses and insist on consult with a licensed lawyer for high-stakes matters; (3) if you want to limit risk, instruct the agent not to request full documents and to summarize facts instead. If you need certainty on jurisdiction-specific or time-sensitive legal issues, consult a qualified attorney.
Capability Analysis
Type: OpenClaw Skill Name: legal Version: 1.0.0 The OpenClaw skill bundle contains standard metadata in `_meta.json` and a `SKILL.md` file that provides detailed instructions for an AI agent to perform legal analysis. The markdown content is purely instructional, focusing on legal reasoning frameworks and best practices. There are no indications of malicious intent, data exfiltration, unauthorized command execution, network calls, file system access, or prompt injection attempts designed to subvert the agent's purpose or compromise the system. The skill is entirely focused on a cognitive task and lacks any high-risk behaviors.
Capability Assessment
Purpose & Capability
Name, description, and runtime instructions all align: the SKILL.md describes a lawyer-like analysis workflow (jurisdiction, facts, issues, law, application, risk, action). No unrelated binaries, env vars, or installs are requested.
Instruction Scope
The instructions are focused on legal analysis and explicitly require jurisdiction, facts, documents, timelines, and provide an IRAC framework and outputs. This is coherent, but the guidance encourages collecting documents and issuing actionable recommendations (deadlines, 'what to do'), which can push into giving specific legal advice — users should expect the agent to ask for sensitive documents and to produce concrete action items. The SKILL.md includes a disclaimer prompt, which mitigates but does not eliminate the risk of unauthorized-practice-style output.
Install Mechanism
Instruction-only skill with no install spec and no code files; lowest technical installation risk (nothing is written to disk or downloaded).
Credentials
The skill requests no environment variables, credentials, or config paths. There is no disproportionate access requested.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skills/config. Autonomous model invocation is allowed (platform default) but not combined with other privilege concerns here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install legal
  3. After installation, invoke the skill by name or use /legal
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug legal
Version 1.0.0
License
All-time Installs 25
Active Installs 25
Total Versions 1
Frequently Asked Questions

What is Legal?

Think through any legal situation like a lawyer. Issue spotting, jurisdiction, risk assessment, actionable conclusions. It is an AI Agent Skill for Claude Code / OpenClaw, with 2598 downloads so far.

How do I install Legal?

Run "/install legal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Legal free?

Yes, Legal is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Legal support?

Legal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Legal?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.0.

💬 Comments