← 返回 Skills 市场
137
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install yuandian-law-search
功能描述
元典法条与案例检索。本技能应在需要查询中国法律法规条文、检索相关案例、为法律分析提供数据支撑时使用。
安全使用建议
This skill appears to do what it says (query a Chinese law/case API), but before installing: (1) note the developer forgot to declare the required YD_API_KEY in the skill metadata — the script will fail without that key; (2) the script sends your API key in the URL over plain HTTP (http://aiapi.ailaw.cn:8319?api_key=...), which can be intercepted or logged — prefer HTTPS and POST bodies or Authorization headers; (3) verify you trust the API provider (aiapi.ailaw.cn) and the skill author, and consider creating a restricted API key if possible; (4) ask the author/maintainer to update the registry manifest to declare YD_API_KEY as the primary credential and to use HTTPS and send keys in headers or request bodies to avoid leakage. If you cannot confirm the endpoint or cannot accept the insecure transport of secrets, do not install or use this skill with sensitive keys.
功能分析
Type: OpenClaw Skill
Name: yuandian-law-search
Version: 0.3.1
The skill is a legitimate tool for searching Chinese laws and legal cases using the YuanDian (元典) API. The Python script (scripts/yd_search.py) and the instructions in SKILL.md are well-structured, focusing on API key validation and formatted data retrieval without any signs of data exfiltration, malicious execution, or prompt injection.
能力标签
能力评估
Purpose & Capability
Skill name/description match the included CLI script and API spec: it queries a '元典' law/case API. Requiring an API key is expected for this purpose, but the registry metadata lists no required env vars/primary credential while both SKILL.md and scripts/yd_search.py require YD_API_KEY. The missing declaration is an inconsistency.
Instruction Scope
SKILL.md and the script explicitly instruct reading scripts/.env or the YD_API_KEY environment variable and then call the external API. That is within scope, but the code builds requests as HTTP (http://aiapi.ailaw.cn:8319) and appends the API key in the URL query string (?api_key=...), which exposes the key to network observers and to any logs that capture full URLs. This insecure transport/placement of secrets is a security concern.
Install Mechanism
No install spec; the skill is instruction + a small Python CLI script. No downloads or package installs are performed by the skill itself.
Credentials
The script requires a YD_API_KEY (via environment variable or scripts/.env) but the skill manifest/registry metadata does not declare this required credential or primaryEnv. That omission reduces transparency. The API key is the sole secret requested, which is proportionate to the stated purpose, but its handling (in URL + over plain HTTP) amplifies risk.
Persistence & Privilege
Skill flags show no always:true and default autonomous invocation is allowed. The skill does not request to persist or modify other skills or system-wide config. No elevated persistence is requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yuandian-law-search - 安装完成后,直接呼叫该 Skill 的名称或使用
/yuandian-law-search触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.1
移除跨技能引用章节,保持技能描述独立聚焦
v0.3.0
元典法条与案例检索,支持法条语义/关键词/详情检索和案例关键词/向量语义检索
元数据
常见问题
元典法条与案例检索 是什么?
元典法条与案例检索。本技能应在需要查询中国法律法规条文、检索相关案例、为法律分析提供数据支撑时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。
如何安装 元典法条与案例检索?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yuandian-law-search」即可一键安装,无需额外配置。
元典法条与案例检索 是免费的吗?
是的,元典法条与案例检索 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
元典法条与案例检索 支持哪些平台?
元典法条与案例检索 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 元典法条与案例检索?
由 xierluo(@cat-xierluo)开发并维护,当前版本 v0.3.1。
推荐 Skills