agentCLAWHUBUnverified

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: China Legal Query Owner: tobewin Summary: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte... Tags: latest:1.0.2 Version history: v1.0.2 | 2026-03-28T18:32:01.262Z | user 修复数据来源:移除无法访问的网站,改用web-search和AI知识库 v1.0.1 | 2026-03-28T16:38:12.868Z | user 扩展法律覆盖:添加婚姻法、消费者权益、公司法、税法、环保法、交通法等12类法律 v1.0.0 | 2026-03

OpenClaw

Rank

62

Safety

84

Downloads

2.7k

Updated

Oct 9, 2026

Version

1.0.2

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 2.7K downloads reported by the source. Last updated 10/9/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 9, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 9, 2026
Adoption signal
2.7K downloadsadoption · observed Oct 9, 2026
Latest release
1.0.2release · observed Mar 28, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s174rz3f0862tcfw7pzfh5w8kn83hv2z:china-legal-query
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/snapshot"

Documentation

CLAWHUB

12,981 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: china-legal-query
description: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, intellectual property law. 中国法律、法规查询、法律条文。
version: 1.0.2
license: MIT-0
metadata: {"openclaw": {"emoji": "⚖️", "requires": {"bins": ["python3", "curl"], "env": []}}}
---

# 中国法律法规查询工具

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

## 功能特点

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

## ⚠️ 免责声明

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

## 支持的法律类型

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

## 使用方式

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

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

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

---

## 查询流程

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

---

## Python代码

```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解读仅供参考
- 条文可能有更新,以最新版本为准
- 复杂法律问题请咨询专业律师

_meta.json

{
  "ownerId": "kn75z6gevjsyrznm7dg2ez6sen82h8sz",
  "slug": "china-legal-query",
  "version": "1.0.2",
  "publishedAt": 1774722721262
}

skill-card.md

## Description:

China Legal Query helps agents search Chinese laws, regulations, judicial interpretations, and case references for common legal domains including civil, criminal, labor, contract, and intellectual property law.

This skill is ready for commercial/non-commercial use.

## Publisher:

[tobewin](https://clawhub.ai/user/tobewin)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to look up Chinese legal provisions, judicial interpretations, and reference cases, then receive concise summaries or article-level answers. Outputs are reference material only and should be checked against official sources for consequential legal matters.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Legal answers may be incomplete, outdated, or mistaken when based on AI knowledge or broad web search.

Mitigation: Verify important results against official Chinese legal sources and consult a qualified lawyer for consequential matters.

Risk: Network lookups through curl or web search may return unavailable or non-authoritative sources.

Mitigation: Prefer official legal databases and clearly distinguish retrieved legal text from AI interpretation.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/tobewin/skills/china-legal-query)

## Skill Output:

**Output Type(s):** [text, markdown, code, guidance]

**Output Format:** [Markdown or plain text legal-reference answers]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include legal-domain classification, article-level answers, source summaries, and caveats to verify against official sources.]

## Skill Version(s):

1.0.2 (source: evidence release and frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

LICENSE.txt

MIT No Permission (MIT-0)

Copyright 2026

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Github ReposUpdated 8h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/tobewin/skills/china-legal-query",
      "sourceUrl": "https://clawhub.ai/tobewin/skills/china-legal-query",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:21:57.251Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:21:57.251Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "2.7K downloads",
      "href": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceUrl": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-09T12:21:57.251Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.2",
      "href": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceUrl": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-03-28T18:32:01.262Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.2",
      "description": "修复数据来源:移除无法访问的网站,改用web-search和AI知识库",
      "href": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceUrl": "https://clawhub.ai/tobewin/china-legal-query",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-03-28T18:32:01.262Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to China Legal Query and adjacent AI workflows.