muguafabao

木瓜法律助手

Professionalv1.0.4
By muguafabaoUpdated 2026-05-115 versions · latest released 2026-03-20mugua-legal-assistant@clawhub_yzw23333/mugua-legal-assistant
Legal & Compliance

According to AlphaMoat, as of 2026-09, 木瓜法律助手 has 2,925 downloads and 2 stars — ranked #3,786 of 5,078 AI skills overall, and #316 of 465 in Professional.

Installs
507
Downloads
2.9K
Stars
2
Overall Rank
#3,786
Top 75% overall · Top 68% in Professional
PlatformInstallsDownloadsStarsComments
ClawHub ↗241.0K--
SkillHub ↗5072.9K2—

Platforms count differently and update at different times.

What this skill does

The skill calls the Mugua Legal API using a runtime-injected base_url and api_key, exposing three capabilities: legal consultation answers user legal questions; case element extraction automatically pulls key elements from text or files; and complete case analysis generates a structured report from party information, cause of action, facts, and claims. Requests are sent to fixed paths (legal-chat/completions and case-analysis/generate) and never guess endpoints. This is informational assistance, not legal advice; verify jurisdiction-specific issues with a qualified lawyer before relying on it.

Profile published 2026-10-27

What you can do with it

  • Obtain professional answers to everyday legal questions such as labor or contract disputes
  • Automatically extract key case elements such as parties, cause, and facts from text or files
  • Generate a structured case analysis report to support decision making

When to use it

  • When the user raises a specific legal question and wants a professional answer
  • When key case elements need to be extracted from text or uploaded files
  • When a complete case analysis report is needed to aid decision making

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

An employee was dismissed verbally; how can I protect my rights?
Extract the key elements of this case from the material provided
Generate a case analysis report based on the following party information and facts

Monthly Trend

Downloads2.9K
7431.9K3.1K2026-03 · Downloads 9052026-05 · Downloads 1.6K2026-06 · Downloads 1.8K2026-07 · Downloads 2.1K2026-08 · Downloads 2.3K2026-09 · Downloads 2.9K26-0326-09
Stars2
0122026-03 · Stars -2026-05 · Stars 22026-06 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.9K—2
2026-082.3K+9.9%2
2026-072.1K+16.6%2
2026-061.8K+12.2%2
2026-051.6K—2
2026-03905—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.8 KB · ClawHub v1.0.4
# 木瓜法律咨询

## 简介
对接木瓜法律API,提供专业的法律咨询、案件要素提取和案件完整分析能力。

## 功能
- **法律咨询**:针对用户法律问题提供专业解答
- **案件要素提取**:从文本或文件中自动提取案件关键要素
- **案件完整分析**:基于当事人信息、案由、事实和诉求生成完整案件分析报告

Show all (59 lines)
## HTTP 端点(必须严格一致)
`base_url` 末尾带 `/`(默认 `https://api.test.mugua.muguafabao.com/`)。本 Skill 在服务端按下列路径请求,**不得**改用其它路径或自行 `curl` 猜测地址。

| 能力 | 方法 | 完整 URL(拼接规则) |
|------|------|----------------------|
| 法律咨询 | POST | `{base_url}v1/legal-chat/completions` |
| 案件分析 | POST | `{base_url}v1/case-analysis/generate` |

**错误示例(不存在,会导致 404)**:`/v1/legal/chat`、`/api/v1/legal/chat` 等任何与上表不一致的路径。

**正确调用方式**:通过本 Skill 的 `action` 与 JSON 参数调用(见下),由运行时注入 `base_url` 与 `api_key`;**不要**把 `legal/chat` 当作接口路径。

## 调用示例
### 法律咨询
```json
{
  "action": "legal_chat",
  "prompt": "员工被口头辞退,我该如何维权?",
  "stream": false,
  "enable_network": false
}
```

### 案件要素提取
```json
{
  "action": "case_analysis",
  "analysis_mode": "element_extract",
  "input_text": "张三于2024年1月入职A公司,未签订劳动合同,2024年6月被口头辞退。"
}
```

## 配置说明
- `base_url`: 木瓜 API 根地址(与 `metadata.json` 中 `required_configs` 一致)。运行时按顺序读取 `context.credentials.base_url`、`context.config.base_url`、`event.config.base_url`;均未提供时使用代码内默认 `https://api.test.mugua.muguafabao.com/`。法律咨询实际请求为 `{base_url}v1/legal-chat/completions`。
- `api_key`: 木瓜 API 鉴权 Token(Bearer),对应 `context.credentials.api_key`。
- `requirements.txt` 仅声明 `requests`;勿将标准库 `typing` 写入 pip 依赖(与注册元数据一致)。

## 许可证
MIT-0

## 数据安全与隐私提示
- 本Skill会将用户提供的案件文本、上传文件及配置的`api_key`发送至您指定的`base_url`服务端,请务必确认该服务是您信任的官方服务。
- 请勿在未阅读并同意木瓜法律API隐私政策前,发送包含敏感个人信息的案件数据。
- 建议仅在隔离环境中测试,使用模拟数据验证功能后再处理真实案件。

## 安装前必看
1.  确认`base_url`为官方可信端点(当前默认是测试环境)。
2.  必须配置`api_key`(Bearer Token)才能正常调用API。
3.  妥善保管`api_key`,避免泄露。

Popular in Professional

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.