Legal Assistant Lawyer Song: Integrating Menu-Style Legal Service Configurations into Agents

Introduction

When implementing legal consultation capabilities in environments like Cursor or Claude Code, it is common to either hand-write a long system prompt for every instance or let the model improvise. The former is difficult to maintain and standardize; the latter easily crosses boundaries into services requiring professional licensing, such as drafting legal documents or legal representation. If you simply want to deploy a set of reusable triage scripts—for statutory queries, answers regarding rentals and contracts, and litigation request referrals—without writing a full backend first, you can check out the community Skill on SkillHub: “Lawyer Song Helper” (ID @user_f6eaf3a0/song-lawyer-helper).

The following introduces what it is, what it does, how to install it, and the boundaries you should be aware of during use.

What is This

“Lawyer Song Helper” is a community Skill under the professional category on SkillHub (source: community, publisher: user_f6eaf3a0, package version: 1.0.0). The SkillHub page indicates requires_api_key=false, meaning installation does not depend on additional API Key configuration.

The skill body is in the standard SKILL.md format: a YAML description styled for OpenClow Customer Service Configuration (reporting config version 3.0, name “Lawyer Song Legal Assistant”). Agents supporting Skills read this file and reply based on trigger words and menu branches. The public source directory currently contains only this SKILL.md (see CSlawyer1985/legal-skillhub).

Its positioning is: Q&A and triage for real estate rentals, contract disputes, homeowner rights protection, return of original property, personal information protection, and compulsory execution. It also guides users to contact practicing lawyers when litigation referral is selected (the configuration specifies contact via WeChat).

Core Functions

The following capabilities are derived from the publicly available SKILL.md definitions; the Agent triggers the corresponding action based on keywords.

Number Menu and Welcome Message

After entering the conversation, users see a 7-item numbered menu:

  1. Statutes / Legal Regulations Query
  2. Rental / Agency / Landlord Dispute Consultation
  3. Contract Dispute / Breach of Contract Compensation
  4. Homeowner Rights / Homeowner Right to Know
  5. Privacy / Portrait Rights / Personal Information Infringement
  6. Litigation / Lawsuit / Filing / Compulsory Execution
  7. Contact Lawyer Song directly

When a specific skill is not matched, the fallback logic will list the above menu again.

Menu Trigger Examples Behavior
1 1, Statute, Legal Regulations Guide user to describe the statute or legal issue to query
2 2, Rent, Deposit, Agent Guide user to describe the rental dispute situation
3 3, Contract, Breach Guide user to explain contract type, performance, and losses
4 4, Homeowner, Property Management, Right to Know Explain what homeowners can inquire about and follow up on the case
5 5, Privacy, Leak, WeChat Group Explain rights protection strategies and follow up on evidence
6 6, Litigation, Filing, Compulsory Execution key_reply: Push litigation service description and lawyer WeChat contact copy
7 7, Contact Lawyer, WeChat key_reply: Directly provide lawyer’s WeChat and remarks method

When a user replies with keywords like “Agree” or “Authorize,” the system enters the “Authorized Referral” WeChat guidance flow; replying “Refuse” continues the free consultation script.

Built-in FAQ

The configuration embeds multiple sets of faqs, such as “What to do if the agent runs away and the landlord asks me to move out,” “Does the landlord have the right to forcibly repossess the property,” “What to do if personal information is leaked in a WeChat group,” “What is the lawsuit process,” and “Can I sue without a signed contract.” When a question hits, it returns preset answers and prompts to reply 6 if representation is needed.

Violations and Sensitive Words

  • global_stop_words: Words like “Draft lawsuit,” “Forge evidence,” “False litigation.” If the “Violation/Sensitive Content Interception” skill is triggered, it refuses to answer and prompts for legal rights protection.
  • global_sensitive_words: Words like “Legal letter,” “Complaint,” “Court appearance,” “Risk agency” are listed in the configuration for customer service strategy reference; whether to transfer to a human agent separately depends on the full text of your installed SKILL.md.

Installation and Activation

The installation method provided on the official SkillHub page is: instruct the Agent to install the ID @user_f6eaf3a0/song-lawyer-helper following the SkillHub Installation Documentation.

1. Verify skillhub CLI

command -v skillhub && skillhub --version

If not installed, execute the full installation according to the documentation (excerpt):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install to the current Agent’s skills directory

The documentation requires using --dir to point to the current client’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized.

Cursor user-level directory example:

skillhub install @user_f6eaf3a0/song-lawyer-helper --dir ~/.cursor/skills/

Claude Code:

skillhub install @user_f6eaf3a0/song-lawyer-helper --dir ~/.claude/skills/

Codex (choose either user-level or project-level, consistent with documentation):

skillhub install @user_f6eaf3a0/song-lawyer-helper --dir ~/.codex/skills/

After installation, restart or refresh the Agent according to your client’s instructions to load the new Skill. SkillHub crawling data shows the package has approximately 4012 downloads and 203 installation records (statistics are subject to SkillHub and may change over time).

Typical Usage

Once installed, you do not need to memorize all the YAML; simply use menu numbers or natural language keywords in the conversation. Below are directly reproducible interaction examples (reply content depends on the Skill loaded locally).

Enter Menu:

User sends any opening message → Agent should display the 1–7 menu in the welcome_message.

Statute Query:

1

Or send “Query statutes” → Follow menu 1 to guide further questions, e.g., “Civil Code Lease Contract.”

Rental Dispute FAQ:

What to do if the agent runs away and the landlord asks me to move out

→ Should return the FAQ entry regarding continuing to reside, calling the police, and suing for rights, and prompt to reply 6 if litigation is involved.

Litigation Referral:

6

→ Return litigation service description; if the user replies “Agree,” enter the authorized WeChat referral script (the WeChat ID in the configuration is songda10076, with the remark format “Legal Consultation + Name”).

Scenarios and Notes

Who is it for

  • Those who need to quickly attach a unified entry point for legal consultation triage in an Agent, rather than writing prompts from scratch.
  • Business focuses on first-round Q&A and lawyer referral for common livelihood disputes like rentals, contracts, homeowner issues, and privacy infringement.
  • Those who accept a lightweight “configuration-driven, no independent script” Skill (the current public package is only SKILL.md).

Limitations and Risks

  • The output consists of preset scripts and FAQs and cannot replace opinions from a practicing lawyer; regarding lawsuits, court appearances, property preservation, etc., the configuration itself also tends to guide users toward human lawyer referral.
  • Source is community; SkillHub and third-party directories both prompt: before installation, you should personally read SKILL.md and the source code to confirm permissions, whether data leaves the domain, and whether it meets your compliance requirements; do not paste sensitive materials like client keys or full case files into the conversation.
  • The model may still deviate from Skill constraints; manual review and log auditing are recommended for production environments.
  • The package contains contact information like the lawyer’s WeChat; whether to use it and how to retain records is determined by your compliance policy.

Conclusion

“Lawyer Song Helper” encapsulates OpenClow-style menus, trigger words, FAQs, and litigation triage into a single SKILL.md, making it a suitable starting point for an Agent-side legal customer service template. Installation follows the standard SkillHub process and is marked as requiring no API Key.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye