← Back to Skills Marketplace
cat-xierluo

元典法条与案例检索

by xierluo · GitHub ↗ · v0.3.1 · MIT-0
cross-platform ⚠ suspicious
137
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install yuandian-law-search
Description
元典法条与案例检索。本技能应在需要查询中国法律法规条文、检索相关案例、为法律分析提供数据支撑时使用。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptocan-make-purchases
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yuandian-law-search
  3. After installation, invoke the skill by name or use /yuandian-law-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.1
移除跨技能引用章节,保持技能描述独立聚焦
v0.3.0
元典法条与案例检索,支持法条语义/关键词/详情检索和案例关键词/向量语义检索
Metadata
Slug yuandian-law-search
Version 0.3.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is 元典法条与案例检索?

元典法条与案例检索。本技能应在需要查询中国法律法规条文、检索相关案例、为法律分析提供数据支撑时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 137 downloads so far.

How do I install 元典法条与案例检索?

Run "/install yuandian-law-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 元典法条与案例检索 free?

Yes, 元典法条与案例检索 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 元典法条与案例检索 support?

元典法条与案例检索 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 元典法条与案例检索?

It is built and maintained by xierluo (@cat-xierluo); the current version is v0.3.1.

💬 Comments