← 返回 Skills 市场
tobewin

China Legal Query

作者 ToBeWin · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
745
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install china-legal-query
功能描述
中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte...
使用说明 (SKILL.md)

中国法律法规查询工具

查询中国法律法规、司法解释、案例判决。

功能特点

  • ⚖️ 法律条文: 刑法、民法、劳动法、合同法等
  • 📋 司法解释: 最高法院、最高检察院解释
  • 📚 案例参考: 裁判文书、典型案例
  • 🔍 智能搜索: 关键词、法条号、主题搜索
  • 🌐 官方来源: 国家法律法规数据库
  • 🇨🇳 中国法律: 专注中国法律体系

⚠️ 免责声明

本工具仅供参考,不构成法律建议。 不同AI模型能力不同,查询结果可能有差异。 重要法律事务请咨询专业律师。 法律条文以官方发布为准。

支持的法律类型

类别 法律名称 说明
宪法 中华人民共和国宪法 根本大法
刑法 中华人民共和国刑法 犯罪与刑罚
民法 中华人民共和国民法典 民事关系
婚姻法 民法典婚姻家庭编 结婚、离婚、财产
劳动法 中华人民共和国劳动法 劳动关系
合同法 民法典合同编 合同订立、履行
知识产权 专利法、商标法、著作权法 知识产权保护
消费者权益 消费者权益保护法 消费者保护
公司法 中华人民共和国公司法 公司治理
税法 个人所得税法、企业所得税法 税收
环保法 环境保护法 环境保护
交通法 道路交通安全法 交通安全

使用方式

User: "查询劳动法关于加班的规定"
Agent: 搜索相关法律条文并展示

User: "民法典第1024条是什么"
Agent: 查询具体法条内容

User: "关于知识产权保护的法律有哪些"
Agent: 列出相关法律法规

查询流程

用户提问
    ↓
1. 识别法律领域
    ↓
2. 搜索官方数据库
    ↓
3. 提取相关条文
    ↓
4. AI解读分析
    ↓
5. 输出查询结果

Python代码

import os
import re

class LegalQueryEngine:
    def __init__(self):
        self.sources = {
            'web_search': '使用web-search查询法律条文',
            'ai_knowledge': '使用AI模型法律知识库'
        }
    
    def search_law(self, keyword, law_type=None):
        """搜索法律条文"""
        # 使用web-search查询
        # 或使用AI模型知识库
        results = []
        return results
    
    def get_article(self, law_name, article_num):
        """获取具体法条"""
        # 使用AI模型知识库
        return {
            'law': law_name,
            'article': article_num,
            'content': '...',
            'source': 'AI知识库'
        }
    
    def analyze_query(self, user_query):
        """分析用户查询意图"""
        return {
            'domain': '劳动法',
            'keywords': ['加班', '工时'],
            'search_strategy': 'ai_knowledge'
        }

注意事项

  • 法律条文以官方数据库为准
  • AI解读仅供参考
  • 条文可能有更新,以最新版本为准
  • 复杂法律问题请咨询专业律师
安全使用建议
This skill appears coherent and does not request credentials, so it's not asking for unnecessary access. Two practical cautions: (1) SKILL.md is high-level and does not list concrete official URLs or APIs—make sure the agent's browsing/search settings will fetch authoritative government/legal sources rather than relying on model memory. (2) The skill may use curl or python at runtime to fetch web pages; if you care about privacy or network egress, confirm the agent's browsing policy or test in a controlled environment. For any important legal decisions, verify results against official publications or consult a qualified lawyer.
功能分析
Type: OpenClaw Skill Name: china-legal-query Version: 1.0.2 The skill bundle is a boilerplate implementation for a Chinese legal query tool. The Python code provided in SKILL.md consists of placeholder methods with no functional logic, network requests, or sensitive data access. There are no indicators of malicious intent, prompt injection, or suspicious behavior.
能力评估
Purpose & Capability
Name/description (Chinese law query) align with required binaries (python3 and curl) and the SKILL.md content. The sample Python code and references to web searches are plausible for a search/lookup tool and do not request unrelated capabilities.
Instruction Scope
SKILL.md stays within the stated purpose (identify domain, search databases, extract law text, analyze). It is somewhat high-level/vague about exact data sources (says 'official database' and 'web-search' but gives no concrete URLs or API endpoints), which means the runtime behavior depends on the agent's browsing/search implementation and could yield non-official sources or model-generated summaries if not constrained.
Install Mechanism
No install spec or archive downloads; instruction-only skill has minimal filesystem footprint. This is low-risk from an installation perspective.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets or broad system credentials.
Persistence & Privilege
The skill uses default privileges (not always:true) and does not request to modify other skills or system-wide settings. Autonomous invocation is allowed by platform default but not excessive here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install china-legal-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /china-legal-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
修复数据来源:移除无法访问的网站,改用web-search和AI知识库
v1.0.1
扩展法律覆盖:添加婚姻法、消费者权益、公司法、税法、环保法、交通法等12类法律
v1.0.0
中国法律法规查询工具:支持刑法/民法/劳动法/合同法/知识产权法,AI解读
元数据
Slug china-legal-query
版本 1.0.2
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

China Legal Query 是什么?

中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 745 次。

如何安装 China Legal Query?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install china-legal-query」即可一键安装,无需额外配置。

China Legal Query 是免费的吗?

是的,China Legal Query 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

China Legal Query 支持哪些平台?

China Legal Query 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 China Legal Query?

由 ToBeWin(@tobewin)开发并维护,当前版本 v1.0.2。

💬 留言讨论