← Back to Skills Marketplace
harrylabsj

Legal Consultation

by haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
382
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install legal-consultation
Description
General legal consultation entry point to help users identify their legal issues and guide them to appropriate resources. Use when the user asks about any le...
README (SKILL.md)

Legal Consultation

Overview

This skill serves as the entry point for general legal questions. It helps users understand their legal issues, identify the appropriate legal domain, and guides them toward suitable next steps and resources.

⚠️ Important Disclaimer: This tool provides general guidance only. It does not constitute legal advice. Always consult a qualified attorney for specific legal matters.

When to Use This Skill

  • User has a legal question but doesn't know where to start
  • Unclear what type of lawyer is needed
  • Don't know what legal procedure applies
  • Need to understand if a situation has legal implications
  • Want to know rights and obligations in a general sense

Legal Areas Covered

Civil Law

  • Contracts and agreements
  • Property disputes
  • Debt and loans
  • Personal injury
  • Family law (marriage, divorce, custody)
  • Inheritance

Labor Law

  • Employment contracts
  • Termination and severance
  • Workplace disputes
  • Salary and benefits

Commercial Law

  • Business formation
  • Partnerships
  • Commercial contracts
  • Corporate governance

Criminal Law (General Info Only)

  • Basic procedure explanations
  • Rights of the accused
  • General process overview

Administrative Law

  • Government permits
  • Regulatory compliance
  • Administrative appeals

Workflow

  1. Identify the issue — Understand the user's situation
  2. Classify the area — Determine which legal domain applies
  3. Assess urgency — Identify time-sensitive matters
  4. Suggest resources — Recommend appropriate next steps
  5. Provide guidance — Explain general principles and options

Common Scenarios

Scenario Likely Area Suggested Action
"我被公司辞退了" Labor Law Labor dispute check, consult labor attorney
"合同有问题" Contract Law Contract review, legal document assistance
"想起诉对方" Civil Procedure Complaint drafting, litigation guidance
"收到起诉书" Civil Procedure Defense drafting, litigation guidance
"要离婚" Family Law Family law attorney consultation
"欠钱不还" Debt/Contract Evidence organization, litigation guidance

Usage

Basic Consultation

"我有个法律问题"
"这算不算违法"
"我该怎么办"
"我的权利是什么"

Specific Context

"公司这样做合法吗"
"对方违约了怎么办"
"我能起诉吗"
"该找什么律师"

Output Format

For each consultation:

  • Issue classification: Which legal area applies
  • Key considerations: Important factors to consider
  • Suggested next steps: Recommended actions
  • Relevant resources: Applicable skills or external resources
  • Disclaimer: Consult professional advice

References

For detailed legal guidance:

Privacy Note

Consultation information is processed for guidance only. No data is stored or transmitted to third parties.

Important Reminders

  • Time limits: Many legal claims have statutes of limitations
  • Evidence preservation: Keep relevant documents and communications
  • Professional consultation: Complex matters require attorney advice
  • Local variations: Laws vary by jurisdiction
Usage Guidance
This skill appears to be a small, local classifier that helps identify which legal area a question falls into. It does not request credentials or perform network calls in the included code. Before installing or enabling broadly: (1) confirm the missing reference files (references/legal-areas.md and references/common-issues.md) are either intentionally omitted or available elsewhere, (2) remember this is not legal advice — always consult a licensed attorney for binding advice, (3) if you plan to run the Node.js code in a production environment, review it yourself to ensure it is the exact code shipped (to detect later modifications), and (4) monitor future updates for added network or credential usage, since those would change the risk profile.
Capability Analysis
Type: OpenClaw Skill Name: legal-consultation Version: 1.0.0 The legal-consultation skill is a straightforward keyword-based classifier designed to help an AI agent categorize legal queries into domains like labor, contract, or family law. The implementation in scripts/legal-consultation.js is minimal, containing no network calls, file system access, or dangerous execution sinks, and the SKILL.md instructions are focused entirely on the stated purpose with appropriate legal disclaimers.
Capability Assessment
Purpose & Capability
Name/description match the included code: scripts/legal-consultation.js implements a simple text-based legal-area classifier and returns suggestions and a disclaimer. The package.json metadata and triggers align with a legal consultation entrypoint.
Instruction Scope
SKILL.md describes a limited consultation workflow and privacy note claiming no data transmission; the included code performs only local string classification and does not read files, environment variables, or call network endpoints. Minor inconsistency: SKILL.md references files under references/ (references/legal-areas.md and references/common-issues.md) that are not present in the file manifest.
Install Mechanism
No install spec is provided (instruction-only). There are local Node.js source and test files but no downloads, external installers, or extract operations. Risk from install mechanism is minimal.
Credentials
The skill requests no environment variables, no credentials, and the code does not access process.env or any external config paths. Requested access is proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent system changes. It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install legal-consultation
  3. After installation, invoke the skill by name or use /legal-consultation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug legal-consultation
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Legal Consultation?

General legal consultation entry point to help users identify their legal issues and guide them to appropriate resources. Use when the user asks about any le... It is an AI Agent Skill for Claude Code / OpenClaw, with 382 downloads so far.

How do I install Legal Consultation?

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

Is Legal Consultation free?

Yes, Legal Consultation is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Legal Consultation support?

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

Who created Legal Consultation?

It is built and maintained by haidong (@harrylabsj); the current version is v1.0.0.

💬 Comments