Global Legal Search · Xiao Lü Tongxue AI: Agent Skills for Overseas Expansion and Domestic Compliance

Introduction

When conducting cross-border compliance or domestic legal article retrieval within an Agent, general web searches often fail to capture the hierarchy of legal provisions or distinguish between judicial interpretations, guiding cases, and foreign law sources. Relying on the model to “answer from memory” often leads to overlooking validity and scope of application. Below is an introduction to @org-tz5v519f/mcp-law-search-skill on SkillHub (Page Name: Global Legal Search · Xiao Lü Tongxue AI, v1.0.5), maintained by the publisher “Xiao Lü Tongxue”. It integrates legal retrieval and document drafting into the current Agent workflow via MCP tools.

What is this

One-sentence positioning: A legal retrieval and document generation Skill by Xiao Lü Tongxue AI, covering domestic regulatory systems and international treaties, foreign laws, and cross-border compliance requirements for 168 countries/regions.

Origin and Coordinates: Enterprise source, classified as professional; Skill coordinates @org-tz5v519f/mcp-law-search-skill. The SkillHub page displays a rating of 100,000 and 2,514 downloads (statistics are subject to the page).

Problems it solves: Completing searches for laws, regulations, judicial interpretations, guiding cases, and sentencing standards within conversations, as well as querying cross-border compliance provisions; it also declares support for drafting 697 types of legal documents. Official instructions state that this Skill’s exposed MCP tools should be used for any scenario involving legal article queries, cross-border compliance, case filing and sentencing, compensation calculation, or document drafting.

Core Functions

The following capabilities are derived from the SkillHub page and captured summaries; interface names not appearing in the materials are not expanded upon.

  1. Domestic Legal Resource Retrieval
    Covers laws, regulations, judicial interpretations, guiding cases, and sentencing standards, suitable for queries regarding case filing, sentencing, and compensation calculations.

  2. Cross-border and Foreign Law Retrieval
    Covers international treaties, foreign laws, and cross-border compliance requirements for 168 countries/regions, aimed at compliance checks for enterprises going global, local employment, and investment restrictions.

  3. Legal Document Drafting
    Supports drafting 697 types of legal documents (specific categories are subject to the Skill’s internal MCP tool descriptions).

  4. Triggers and Usage Habits
    Official trigger words include: legal search (法律检索), check legal articles (查法条), regulation query (法规查询), cross-border compliance (跨境合规), enterprise going global (企业出海), document drafting (文书起草), legal search. It is recommended to use Chinese keywords for searches; English long-form questions have a lower recall rate.

  5. Authentication
    Tagged as requires_api_key=true. Authentication must be completed before calling: client OAuth authorization or API Key configuration. This differs from “calling the backend without registration”; authorization must still be completed according to the Skill’s requirements after installation.

  6. Explicit Exclusions
    Not applicable for real-time legal news or litigation strategies for specific cases.

Installation and Activation

Environment check first: This Skill is installed via SkillHub and requires the skillhub CLI on the local machine. See the official installation instructions at skillhub.cn/install/skillhub.md.

1. Check or Install SkillHub CLI

command -v skillhub && skillhub --version

If not installed, follow the official documentation to perform a full installation (CLI + default Skill):

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

If only the CLI is needed:

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

2. Install this Skill to the current Agent’s skills directory

When installing, you must use --dir to point to the skills directory recognized by the current Agent; otherwise, it defaults to ./skills/ which may not be loaded.

skillhub install @org-tz5v519f/mcp-law-search-skill --dir <skills directory>

Common paths (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also ask the Agent to install it following official prompts within a client that supports Skills:

Please install `@org-tz5v519f/mcp-law-search-skill` according to https://skillhub.cn/install/skillhub.md.

3. Complete Authentication

Complete OAuth or API Key configuration according to the Skill’s requirements before calling MCP tools. Specific fields and entry points are subject to the installed SKILL.md and the client’s MCP configuration interface.

After completing the above steps, restart or refresh the Agent, and use the official trigger words in the conversation to guide the model to call legal retrieval tools.

Typical Usage

The materials do not provide fixed curl examples. The following are conversational usages consistent with official scenario descriptions, facilitating reproduction within an Agent.

Cross-border Compliance (Chinese Keywords)

Use the legal retrieval skill to check: What are the main compliance obligations for consumer data privacy in California, USA? Please list key legal sources.
In German labor law, what are the general procedural requirements for unilateral termination by an employer?
In Vietnam's foreign investment negative list, which industries have restrictions on foreign investment? Please cite the key points of the providable articles.

Domestic Legal Articles, Sentencing, and Compensation

Check legal articles: Relevant provisions in the Labor Contract Law regarding the calculation of economic compensation, and explain the applicable scenarios.
Based on guiding cases and sentencing standards, briefly explain common factors considered in sentencing for intentional injury causing minor injury (Level 2) (only for article and standard retrieval, no litigation strategy).

Document Drafting

Document drafting: Draft a checklist of key points for a cross-border technical service contract (a bilingual clause outline is sufficient), and mark foreign law sources that require further verification.

When asking questions, try to be concise and use Chinese keywords; if multiple rounds are needed, first retrieve legal articles, then let the model draft or compare contract clauses based on the retrieval results.

Applicable Scenarios and Notes

Intended Users

  • Technical or legal collaboration personnel who need to integrate “checking articles” and “writing documents” into Agent workflows for scenarios such as enterprises going global, legal compliance, and product privacy policy drafting.
  • Developers building automated compliance assistants in clients supporting SkillHub skills, such as Cursor, Claude Code, and Codex.

Usage Notes

  1. Authentication (OAuth or API Key) is required first; otherwise, stable backend retrieval cannot be guaranteed.
  2. Ask questions using Chinese keywords; avoid using English long sentences as the primary search query.
  3. Output is for research and internal compliance reference and cannot replace the opinion of a licensed attorney; real-time news and specific case litigation strategies are not within the scope of this Skill.
  4. The version is subject to SkillHub; the current page is v1.0.5. To upgrade, use skillhub to update the same coordinates and re-confirm the skills directory and authentication configuration.

Conclusion

@org-tz5v519f/mcp-law-search-skill connects domestic law, cross-border treaties, foreign law retrieval, and large-scale legal document drafting capabilities to MCP, making it suitable for traceable compliance checks within Agents. For installation and priority source instructions, see SkillHub Installation Documentation; for Skill details and coordinates, see the SkillHub Skill Page and the api.skillhub.cn entry.

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

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

Xiaoye