China Legal Query

v1.0.2

中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte...

0· 729·2 current·2 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for tobewin/china-legal-query.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "China Legal Query" (tobewin/china-legal-query) from ClawHub.
Skill page: https://clawhub.ai/tobewin/china-legal-query
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: python3, curl
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install china-legal-query

ClawHub CLI

Package manager switcher

npx clawhub@latest install china-legal-query
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

⚖️ Clawdis
Binspython3, curl
latestvk971pbn7qd0b7tttsk47w4rt5x83sh8a
729downloads
0stars
3versions
Updated 1mo ago
v1.0.2
MIT-0

中国法律法规查询工具

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

功能特点

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

⚠️ 免责声明

本工具仅供参考,不构成法律建议。 不同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解读仅供参考
  • 条文可能有更新,以最新版本为准
  • 复杂法律问题请咨询专业律师

Comments

Loading comments...