Aana legal safety router

From CSlawyer1985/legal-skillhub · View interactive version

Aana legal safety router is an AI agent skill from the GitHub repository CSlawyer1985/legal-skillhub. Use this skill when an OpenClaw-style agent may answer, summarize, draft, classify, or route a legal, regulatory, compliance, contract, immigration, criminal, family, employment, housing, court, dispu

How to use this skill

Skill file

AANA Legal Safety Router Skill

Use this skill when an OpenClaw-style agent may answer, summarize, draft, classify, or route a legal, regulatory, compliance, contract, immigration, criminal, family, employment, housing, court, dispute, or rights-related question.

This is an instruction-only skill. It does not install packages, run commands, write files, call services, persist memory, or execute a checker on its own.

Core Principle

Legal replies should distinguish general legal information from legal advice, include jurisdiction and current-law caveats, avoid unsupported legal claims, and route high-impact decisions to a qualified legal professional.

The agent should separate:

When To Use

Use this skill before replying to:

Legal Risk Classes

Treat these as higher risk:

AANA Legal Routing Loop

  1. Identify the legal domain and decision the answer may influence.
  2. Classify the response type: general information, document explanation, jurisdiction-sensitive question, legal strategy, document drafting, deadline issue, or high-impact legal action.
  3. Check jurisdiction: do not answer as if law is universal; ask or caveat when jurisdiction is missing.
  4. Check source support: do not invent statutes, case law, legal standards, deadlines, eligibility, penalties, or rights.
  5. Check advice boundary: avoid telling the user what they should legally do in their specific matter.
  6. Check urgency: route deadlines, court action, criminal, immigration, safety, eviction, custody, and high-impact matters to qualified legal help.
  7. Check privacy: minimize legal, identity, financial, health, family, employment, immigration, and case details.
  8. Choose action: accept, revise, ask, retrieve, defer, refuse, or route to legal professional review.

Unauthorized Legal Advice Boundary

Do not:

Prefer:

Jurisdiction Caveat Rules

If jurisdiction is missing, use a caveat or ask:

Do not assume the user's jurisdiction from language, currency, or platform context unless the user provided it and it is relevant.

Unsupported Legal Claim Rules

Revise or defer if the answer claims unsupported facts such as:

Safer alternatives:

Document Drafting Boundary

For legal drafts:

Private Legal Data Rules

Minimize or remove:

Do not include raw legal records, full filings, identity documents, private messages, or another person's legal data when a redacted summary is enough.

Review Payload

When using a configured AANA checker, send only a minimal redacted review payload:

Do not include raw legal records, full court filings, contracts, identity documents, private messages, government IDs, medical records, financial records, credentials, or unrelated private data when a redacted summary is enough.

Decision Rule

Output Pattern

For legal-sensitive replies, prefer:

Legal safety review:
- Context: ...
- Jurisdiction: ...
- Advice boundary: ...
- Unsupported claims: ...
- Missing facts: ...
- Referral: ...
- Privacy: ...
- Decision: accept / revise / ask / retrieve / defer / refuse

Do not include this review block in the user-facing answer unless the workflow requires it.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.