{"id":"6ee6b8b1-bd63-45e0-83f4-755831c90ec0","entityType":"agent","slug":"clawhub-tobewin-china-legal-query","name":"China Legal Query","canonicalUrl":"https://www.xpersona.co/agent/clawhub-tobewin-china-legal-query","canonicalPath":"/agent/clawhub-tobewin-china-legal-query","generatedAt":"2026-10-10T07:29:13.468Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":null},"description":"中国法律法规查询工具。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","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.7K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s174rz3f0862tcfw7pzfh5w8kn83hv2z:china-legal-query","sourceUrl":"https://clawhub.ai/tobewin/china-legal-query","homepage":"https://clawhub.ai/tobewin/skills/china-legal-query","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/tobewin/china-legal-query","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/tobewin/skills/china-legal-query","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":52,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":null},"stars":null,"forks":null,"downloads":2663,"packageName":null,"latestVersion":"1.0.2","tractionLabel":"2.7K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:21:57.250Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T12:21:57.251Z","lastCrawledAt":"2026-10-09T12:21:57.250Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T12:21:57.250Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.2","createdAt":"2026-03-28T18:32:01.262Z","changelog":"修复数据来源：移除无法访问的网站，改用web-search和AI知识库","fileCount":4,"zipByteSize":3900},{"version":"1.0.1","createdAt":"2026-03-28T16:38:12.868Z","changelog":"扩展法律覆盖：添加婚姻法、消费者权益、公司法、税法、环保法、交通法等12类法律","fileCount":3,"zipByteSize":2842},{"version":"1.0.0","createdAt":"2026-03-28T16:31:08.464Z","changelog":"中国法律法规查询工具：支持刑法/民法/劳动法/合同法/知识产权法，AI解读","fileCount":3,"zipByteSize":2624}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s174rz3f0862tcfw7pzfh5w8kn83hv2z:china-legal-query","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T07:29:13.467Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-tobewin-china-legal-query/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":null},"readme":"Skill: China Legal Query\n\nOwner: tobewin\n\nSummary: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, inte...\n\nTags: latest:1.0.2\n\nVersion history:\n\nv1.0.2 | 2026-03-28T18:32:01.262Z | user\n\n修复数据来源：移除无法访问的网站，改用web-search和AI知识库\n\nv1.0.1 | 2026-03-28T16:38:12.868Z | user\n\n扩展法律覆盖：添加婚姻法、消费者权益、公司法、税法、环保法、交通法等12类法律\n\nv1.0.0 | 2026-03-28T16:31:08.464Z | user\n\n中国法律法规查询工具：支持刑法/民法/劳动法/合同法/知识产权法，AI解读\n\nArchive index:\n\nArchive v1.0.2: 4 files, 3900 bytes\n\nFiles: LICENSE.txt (901b), skill-card.md (2005b), SKILL.md (3598b), _meta.json (136b)\n\nFile v1.0.2:SKILL.md\n\n---\nname: china-legal-query\ndescription: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, intellectual property law. 中国法律、法规查询、法律条文。\nversion: 1.0.2\nlicense: MIT-0\nmetadata: {\"openclaw\": {\"emoji\": \"⚖️\", \"requires\": {\"bins\": [\"python3\", \"curl\"], \"env\": []}}}\n---\n\n# 中国法律法规查询工具\n\n查询中国法律法规、司法解释、案例判决。\n\n## 功能特点\n\n- ⚖️ **法律条文**: 刑法、民法、劳动法、合同法等\n- 📋 **司法解释**: 最高法院、最高检察院解释\n- 📚 **案例参考**: 裁判文书、典型案例\n- 🔍 **智能搜索**: 关键词、法条号、主题搜索\n- 🌐 **官方来源**: 国家法律法规数据库\n- 🇨🇳 **中国法律**: 专注中国法律体系\n\n## ⚠️ 免责声明\n\n> **本工具仅供参考，不构成法律建议。**\n> 不同AI模型能力不同，查询结果可能有差异。\n> 重要法律事务请咨询专业律师。\n> 法律条文以官方发布为准。\n\n## 支持的法律类型\n\n| 类别 | 法律名称 | 说明 |\n|------|----------|------|\n| **宪法** | 中华人民共和国宪法 | 根本大法 |\n| **刑法** | 中华人民共和国刑法 | 犯罪与刑罚 |\n| **民法** | 中华人民共和国民法典 | 民事关系 |\n| **婚姻法** | 民法典婚姻家庭编 | 结婚、离婚、财产 |\n| **劳动法** | 中华人民共和国劳动法 | 劳动关系 |\n| **合同法** | 民法典合同编 | 合同订立、履行 |\n| **知识产权** | 专利法、商标法、著作权法 | 知识产权保护 |\n| **消费者权益** | 消费者权益保护法 | 消费者保护 |\n| **公司法** | 中华人民共和国公司法 | 公司治理 |\n| **税法** | 个人所得税法、企业所得税法 | 税收 |\n| **环保法** | 环境保护法 | 环境保护 |\n| **交通法** | 道路交通安全法 | 交通安全 |\n\n## 使用方式\n\n```\nUser: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规\n```\n\n---\n\n## 查询流程\n\n```\n用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果\n```\n\n---\n\n## Python代码\n\n```python\nimport os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'web_search': '使用web-search查询法律条文',\n            'ai_knowledge': '使用AI模型法律知识库'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 使用web-search查询\n        # 或使用AI模型知识库\n        results = []\n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 使用AI模型知识库\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': 'AI知识库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'ai_knowledge'\n        }\n```\n\n---\n\n## 注意事项\n\n- 法律条文以官方数据库为准\n- AI解读仅供参考\n- 条文可能有更新，以最新版本为准\n- 复杂法律问题请咨询专业律师\n\nFile v1.0.2:_meta.json\n\n{\n  \"ownerId\": \"kn75z6gevjsyrznm7dg2ez6sen82h8sz\",\n  \"slug\": \"china-legal-query\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1774722721262\n}\n\nFile v1.0.2:skill-card.md\n\n## Description:\n\nChina 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[tobewin](https://clawhub.ai/user/tobewin)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Legal answers may be incomplete, outdated, or mistaken when based on AI knowledge or broad web search.\n\nMitigation: Verify important results against official Chinese legal sources and consult a qualified lawyer for consequential matters.\n\nRisk: Network lookups through curl or web search may return unavailable or non-authoritative sources.\n\nMitigation: Prefer official legal databases and clearly distinguish retrieved legal text from AI interpretation.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/tobewin/skills/china-legal-query)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, guidance]\n\n**Output Format:** [Markdown or plain text legal-reference answers]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include legal-domain classification, article-level answers, source summaries, and caveats to verify against official sources.]\n\n## Skill Version(s):\n\n1.0.2 (source: evidence release and frontmatter)\n\n## Ethical Considerations:\n\nUsers 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.\n\nFile v1.0.2:LICENSE.txt\n\nMIT No Permission (MIT-0)\n\nCopyright 2026\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this\nsoftware and associated documentation files (the \"Software\"), to deal in the Software\nwithout restriction, including without limitation the rights to use, copy, modify,\nmerge, publish, distribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE\nFOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n\nArchive v1.0.1: 3 files, 2842 bytes\n\nFiles: LICENSE.txt (901b), SKILL.md (3746b), _meta.json (136b)\n\nFile v1.0.1:SKILL.md\n\n---\nname: china-legal-query\ndescription: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, intellectual property law. 中国法律、法规查询、法律条文。\nversion: 1.0.1\nlicense: MIT-0\nmetadata: {\"openclaw\": {\"emoji\": \"⚖️\", \"requires\": {\"bins\": [\"python3\", \"curl\"], \"env\": []}}}\n---\n\n# 中国法律法规查询工具\n\n查询中国法律法规、司法解释、案例判决。\n\n## 功能特点\n\n- ⚖️ **法律条文**: 刑法、民法、劳动法、合同法等\n- 📋 **司法解释**: 最高法院、最高检察院解释\n- 📚 **案例参考**: 裁判文书、典型案例\n- 🔍 **智能搜索**: 关键词、法条号、主题搜索\n- 🌐 **官方来源**: 国家法律法规数据库\n- 🇨🇳 **中国法律**: 专注中国法律体系\n\n## ⚠️ 免责声明\n\n> **本工具仅供参考，不构成法律建议。**\n> 不同AI模型能力不同，查询结果可能有差异。\n> 重要法律事务请咨询专业律师。\n> 法律条文以官方发布为准。\n\n## 支持的法律类型\n\n| 类别 | 法律名称 | 说明 |\n|------|----------|------|\n| **宪法** | 中华人民共和国宪法 | 根本大法 |\n| **刑法** | 中华人民共和国刑法 | 犯罪与刑罚 |\n| **民法** | 中华人民共和国民法典 | 民事关系 |\n| **婚姻法** | 民法典婚姻家庭编 | 结婚、离婚、财产 |\n| **劳动法** | 中华人民共和国劳动法 | 劳动关系 |\n| **合同法** | 民法典合同编 | 合同订立、履行 |\n| **知识产权** | 专利法、商标法、著作权法 | 知识产权保护 |\n| **消费者权益** | 消费者权益保护法 | 消费者保护 |\n| **公司法** | 中华人民共和国公司法 | 公司治理 |\n| **税法** | 个人所得税法、企业所得税法 | 税收 |\n| **环保法** | 环境保护法 | 环境保护 |\n| **交通法** | 道路交通安全法 | 交通安全 |\n\n## 使用方式\n\n```\nUser: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规\n```\n\n---\n\n## 查询流程\n\n```\n用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果\n```\n\n---\n\n## Python代码\n\n```python\nimport os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'national_db': 'https://flk.npc.gov.cn',\n            'court': 'https://wenshu.court.gov.cn'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 搜索逻辑\n        results = []\n        \n        # 使用web-search获取法律信息\n        # AI分析并提取相关条文\n        \n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 查询具体法律条文\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': '国家法律法规数据库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        # 识别法律领域\n        # 提取关键词\n        # 确定搜索策略\n        \n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'keyword_search'\n        }\n```\n\n---\n\n## 注意事项\n\n- 法律条文以官方数据库为准\n- AI解读仅供参考\n- 条文可能有更新，以最新版本为准\n- 复杂法律问题请咨询专业律师\n\nFile v1.0.1:_meta.json\n\n{\n  \"ownerId\": \"kn75z6gevjsyrznm7dg2ez6sen82h8sz\",\n  \"slug\": \"china-legal-query\",\n  \"version\": \"1.0.1\",\n  \"publishedAt\": 1774715892868\n}\n\nFile v1.0.1:LICENSE.txt\n\nMIT No Permission (MIT-0)\n\nCopyright 2026\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this\nsoftware and associated documentation files (the \"Software\"), to deal in the Software\nwithout restriction, including without limitation the rights to use, copy, modify,\nmerge, publish, distribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE\nFOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.\n\nArchive v1.0.0: 3 files, 2624 bytes\n\nFiles: LICENSE.txt (901b), SKILL.md (3228b), _meta.json (136b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: china-legal-query\ndescription: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, intellectual property law. 中国法律、法规查询、法律条文。\nversion: 1.0.0\nlicense: MIT-0\nmetadata: {\"openclaw\": {\"emoji\": \"⚖️\", \"requires\": {\"bins\": [\"python3\", \"curl\"], \"env\": []}}}\n---\n\n# 中国法律法规查询工具\n\n查询中国法律法规、司法解释、案例判决。\n\n## 功能特点\n\n- ⚖️ **法律条文**: 刑法、民法、劳动法、合同法等\n- 📋 **司法解释**: 最高法院、最高检察院解释\n- 📚 **案例参考**: 裁判文书、典型案例\n- 🔍 **智能搜索**: 关键词、法条号、主题搜索\n- 🌐 **官方来源**: 国家法律法规数据库\n- 🇨🇳 **中国法律**: 专注中国法律体系\n\n## ⚠️ 免责声明\n\n> **本工具仅供参考，不构成法律建议。**\n> 不同AI模型能力不同，查询结果可能有差异。\n> 重要法律事务请咨询专业律师。\n> 法律条文以官方发布为准。\n\n## 支持的法律类型\n\n| 类别 | 示例 |\n|------|------|\n| 宪法 | 中华人民共和国宪法 |\n| 刑法 | 中华人民共和国刑法 |\n| 民法 | 中华人民共和国民法典 |\n| 劳动法 | 中华人民共和国劳动法 |\n| 合同法 | 中华人民共和国民法典合同编 |\n| 知识产权 | 专利法、商标法、著作权法 |\n\n## 使用方式\n\n```\nUser: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规\n```\n\n---\n\n## 查询流程\n\n```\n用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果\n```\n\n---\n\n## Python代码\n\n```python\nimport os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'national_db': 'https://flk.npc.gov.cn',\n            'court': 'https://wenshu.court.gov.cn'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 搜索逻辑\n        results = []\n        \n        # 使用web-search获取法律信息\n        # AI分析并提取相关条文\n        \n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 查询具体法律条文\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': '国家法律法规数据库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        # 识别法律领域\n        # 提取关键词\n        # 确定搜索策略\n        \n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'keyword_search'\n        }\n```\n\n---\n\n## 注意事项\n\n- 法律条文以官方数据库为准\n- AI解读仅供参考\n- 条文可能有更新，以最新版本为准\n- 复杂法律问题请咨询专业律师\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn75z6gevjsyrznm7dg2ez6sen82h8sz\",\n  \"slug\": \"china-legal-query\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1774715468464\n}\n\nFile v1.0.0:LICENSE.txt\n\nMIT No Permission (MIT-0)\n\nCopyright 2026\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this\nsoftware and associated documentation files (the \"Software\"), to deal in the Software\nwithout restriction, including without limitation the rights to use, copy, modify,\nmerge, publish, distribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE\nFOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE.","readmeExcerpt":"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","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"User: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规"},{"language":"text","snippet":"用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果"},{"language":"python","snippet":"import os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'web_search': '使用web-search查询法律条文',\n            'ai_knowledge': '使用AI模型法律知识库'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 使用web-search查询\n        # 或使用AI模型知识库\n        results = []\n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 使用AI模型知识库\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': 'AI知识库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'ai_knowledge'\n        }"},{"language":"text","snippet":"User: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规"},{"language":"text","snippet":"用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果"},{"language":"python","snippet":"import os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'national_db': 'https://flk.npc.gov.cn',\n            'court': 'https://wenshu.court.gov.cn'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 搜索逻辑\n        results = []\n        \n        # 使用web-search获取法律信息\n        # AI分析并提取相关条文\n        \n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 查询具体法律条文\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': '国家法律法规数据库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        # 识别法律领域\n        # 提取关键词\n        # 确定搜索策略\n        \n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'keyword_search'\n        }"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: china-legal-query\ndescription: 中国法律法规查询工具。Use when user needs to search Chinese laws, regulations, judicial interpretations. Supports criminal law, civil law, labor law, contract law, intellectual property law. 中国法律、法规查询、法律条文。\nversion: 1.0.2\nlicense: MIT-0\nmetadata: {\"openclaw\": {\"emoji\": \"⚖️\", \"requires\": {\"bins\": [\"python3\", \"curl\"], \"env\": []}}}\n---\n\n# 中国法律法规查询工具\n\n查询中国法律法规、司法解释、案例判决。\n\n## 功能特点\n\n- ⚖️ **法律条文**: 刑法、民法、劳动法、合同法等\n- 📋 **司法解释**: 最高法院、最高检察院解释\n- 📚 **案例参考**: 裁判文书、典型案例\n- 🔍 **智能搜索**: 关键词、法条号、主题搜索\n- 🌐 **官方来源**: 国家法律法规数据库\n- 🇨🇳 **中国法律**: 专注中国法律体系\n\n## ⚠️ 免责声明\n\n> **本工具仅供参考，不构成法律建议。**\n> 不同AI模型能力不同，查询结果可能有差异。\n> 重要法律事务请咨询专业律师。\n> 法律条文以官方发布为准。\n\n## 支持的法律类型\n\n| 类别 | 法律名称 | 说明 |\n|------|----------|------|\n| **宪法** | 中华人民共和国宪法 | 根本大法 |\n| **刑法** | 中华人民共和国刑法 | 犯罪与刑罚 |\n| **民法** | 中华人民共和国民法典 | 民事关系 |\n| **婚姻法** | 民法典婚姻家庭编 | 结婚、离婚、财产 |\n| **劳动法** | 中华人民共和国劳动法 | 劳动关系 |\n| **合同法** | 民法典合同编 | 合同订立、履行 |\n| **知识产权** | 专利法、商标法、著作权法 | 知识产权保护 |\n| **消费者权益** | 消费者权益保护法 | 消费者保护 |\n| **公司法** | 中华人民共和国公司法 | 公司治理 |\n| **税法** | 个人所得税法、企业所得税法 | 税收 |\n| **环保法** | 环境保护法 | 环境保护 |\n| **交通法** | 道路交通安全法 | 交通安全 |\n\n## 使用方式\n\n```\nUser: \"查询劳动法关于加班的规定\"\nAgent: 搜索相关法律条文并展示\n\nUser: \"民法典第1024条是什么\"\nAgent: 查询具体法条内容\n\nUser: \"关于知识产权保护的法律有哪些\"\nAgent: 列出相关法律法规\n```\n\n---\n\n## 查询流程\n\n```\n用户提问\n    ↓\n1. 识别法律领域\n    ↓\n2. 搜索官方数据库\n    ↓\n3. 提取相关条文\n    ↓\n4. AI解读分析\n    ↓\n5. 输出查询结果\n```\n\n---\n\n## Python代码\n\n```python\nimport os\nimport re\n\nclass LegalQueryEngine:\n    def __init__(self):\n        self.sources = {\n            'web_search': '使用web-search查询法律条文',\n            'ai_knowledge': '使用AI模型法律知识库'\n        }\n    \n    def search_law(self, keyword, law_type=None):\n        \"\"\"搜索法律条文\"\"\"\n        # 使用web-search查询\n        # 或使用AI模型知识库\n        results = []\n        return results\n    \n    def get_article(self, law_name, article_num):\n        \"\"\"获取具体法条\"\"\"\n        # 使用AI模型知识库\n        return {\n            'law': law_name,\n            'article': article_num,\n            'content': '...',\n            'source': 'AI知识库'\n        }\n    \n    def analyze_query(self, user_query):\n        \"\"\"分析用户查询意图\"\"\"\n        return {\n            'domain': '劳动法',\n            'keywords': ['加班', '工时'],\n            'search_strategy': 'ai_knowledge'\n        }\n```\n\n---\n\n## 注意事项\n\n- 法律条文以官方数据库为准\n- AI解读仅供参考\n- 条文可能有更新，以最新版本为准\n- 复杂法律问题请咨询专业律师"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn75z6gevjsyrznm7dg2ez6sen82h8sz\",\n  \"slug\": \"china-legal-query\",\n  \"version\": \"1.0.2\",\n  \"publishedAt\": 1774722721262\n}"},{"path":"skill-card.md","content":"## Description:\n\nChina 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.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[tobewin](https://clawhub.ai/user/tobewin)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nExternal 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.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Legal answers may be incomplete, outdated, or mistaken when based on AI knowledge or broad web search.\n\nMitigation: Verify important results against official Chinese legal sources and consult a qualified lawyer for consequential matters.\n\nRisk: Network lookups through curl or web search may return unavailable or non-authoritative sources.\n\nMitigation: Prefer official legal databases and clearly distinguish retrieved legal text from AI interpretation.\n\n## Reference(s):\n\n- [ClawHub Skill Page](https://clawhub.ai/tobewin/skills/china-legal-query)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, guidance]\n\n**Output Format:** [Markdown or plain text legal-reference answers]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [May include legal-domain classification, article-level answers, source summaries, and caveats to verify against official sources.]\n\n## Skill Version(s):\n\n1.0.2 (source: evidence release and frontmatter)\n\n## Ethical Considerations:\n\nUsers 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."},{"path":"LICENSE.txt","content":"MIT No Permission (MIT-0)\n\nCopyright 2026\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this\nsoftware and associated documentation files (the \"Software\"), to deal in the Software\nwithout restriction, including without limitation the rights to use, copy, modify,\nmerge, publish, distribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,\nINCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR\nPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE\nFOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\nDEALINGS IN THE SOFTWARE."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"中国法律法规查询工具。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","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":836,"uniquenessScore":56,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T12:21:57.251Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T07:29:13.468Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}