← 返回 Skills 市场
木瓜法律助手
作者
muguafabao
· GitHub ↗
· v1.0.4
· MIT-0
262
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install mugua-legal-assistant
功能描述
提供专业法律咨询,自动提取案件要素,并生成完整案件分析报告,助力法律问题解决和案件管理。
安全使用建议
This skill appears to do what it claims: call two Mugua API endpoints using a provided base_url and api_key. Before installing, confirm the following: 1) Verify the base_url is the official, trusted Mugua endpoint — the default in the code is a test host; change to the production endpoint only if you trust it. 2) Understand that any case text, uploaded files, and the api_key will be transmitted to that remote server; do not send sensitive personal data unless you trust the service and reviewed its privacy policy. 3) Resolve the metadata mismatch: the registry summary shows 'no required env vars' but metadata.json and SKILL.md require api_key/base_url — confirm how the platform will inject and store the api_key (the metadata claims it will be passed at runtime and not stored). 4) The requirements.txt lists 'typing' unnecessarily — this is harmless but indicates sloppy packaging. If you need higher assurance, review the base_url endpoint behavior or run the skill in an isolated test environment with non-production data and a scoped API key.
功能分析
Type: OpenClaw Skill
Name: mugua-legal-assistant
Version: 1.0.4
The skill is a legitimate API wrapper for the Mugua Legal service, providing legal consultation and case analysis. It correctly handles API authentication via Bearer tokens and routes requests to the specified endpoints (api.test.mugua.muguafabao.com). The code in skill.py is transparent, lacks obfuscation, and includes appropriate data safety warnings in SKILL.md regarding the handling of sensitive legal information.
能力评估
Purpose & Capability
The skill implements HTTP wrappers for two API endpoints (legal chat and case analysis) and requires only a base_url and an api_key — both are appropriate and expected for a remote-API legal assistant. No unrelated credentials, binaries, or system-level accesses are requested. Minor packaging inconsistency: requirements.txt includes 'typing' (a standard-library module) which the SKILL.md itself warns not to list; this is harmless but sloppy.
Instruction Scope
SKILL.md and skill.py clearly restrict behavior to calling the documented endpoints and describe which parameters are sent. The instructions explicitly state that user-provided case text, uploaded files, and the api_key will be transmitted to the configured base_url and warn the user to only use a trusted endpoint. The code does not attempt to read arbitrary files, environment variables, or other system state beyond context.credentials/context.config injected by the platform.
Install Mechanism
There is no install spec (instruction-only at registry level) but the package includes requirements.txt declaring 'requests' and 'typing'. The absence of an install spec lowers install risk; however, platform behavior around installing requirements is unspecified here. The usage of 'requests' is expected; 'typing' listed in pip deps is unnecessary but not dangerous.
Credentials
The skill requires one credential (api_key) and a base_url; both are proportional to its functionality. These are used only to authenticate and target requests to the remote Mugua API. Note: the registry summary at the top of the submission indicated 'Required env vars: none', which contradicts metadata.json/SKILL.md that mark api_key/base_url as required — this inconsistency should be resolved by the platform before trusting how credentials are provided or stored.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and contains no code that writes permanent system-level configuration. It relies on runtime context.credentials/context.config and performs ordinary outbound HTTP requests.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mugua-legal-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/mugua-legal-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Version 1.0.4
- Clarified `base_url` 配置说明:详细列出运行环境读取优先级,并强调与 `metadata.json` 一致。
- 明确 `api_key` 配置读取字段(`context.credentials.api_key`)。
- 在配置说明中补充仅需声明第三方依赖(`requests`),标准库如 `typing` 无需写入 `requirements.txt`。
- 无功能或接口变更,文档细化配置说明,提升易用性与准确性。
v1.0.3
- 补充并明确了 HTTP 接口端点和拼接路径的使用规范,规范接入方式,避免 404 错误。
- 增加了端点路径的正确示例和常见错误说明,以便用户正确配置和调用。
- 说明 runtime 注入机制,禁止手动拼接或更改接口路径。
- 其余功能和使用方式保持不变。
v1.0.2
No functional changes in this version.
- Added sections on data security, privacy, and installation requirements to the documentation.
- Now includes explicit reminders about protecting sensitive information and the importance of configuring and securing the API key.
- Emphasizes verification of the API endpoint and careful handling of real case data.
v1.0.1
Version 1.0.1
- Clarified the configuration instructions for the key parameter: "api_key" now specifies requiring a Bearer Token and entering the complete value assigned by the platform.
- No other functional or file changes detected.
v1.0.0
木瓜法律咨询技能首个版本发布,提供专业法律问题解答与案件分析。
- 支持通过木瓜法律API进行法律咨询,自动解答用户法律问题
- 实现案件要素提取功能,可自动从文本中识别案件关键信息
- 提供案件完整分析,根据用户提供的案情生成分析报告
- 配置简单,仅需设置API地址及密钥
元数据
常见问题
木瓜法律助手 是什么?
提供专业法律咨询,自动提取案件要素,并生成完整案件分析报告,助力法律问题解决和案件管理。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 262 次。
如何安装 木瓜法律助手?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mugua-legal-assistant」即可一键安装,无需额外配置。
木瓜法律助手 是免费的吗?
是的,木瓜法律助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
木瓜法律助手 支持哪些平台?
木瓜法律助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 木瓜法律助手?
由 muguafabao(@yzw23333)开发并维护,当前版本 v1.0.4。
推荐 Skills