From 064c3373c034b92533cf903874d8c47bfa462ff5 Mon Sep 17 00:00:00 2001 From: playerABCWNW <30926404+outsmall@users.noreply.github.com> Date: Tue, 17 Nov 2026 15:41:19 +0800 Subject: [PATCH] Add xc-compliance read-only EU compliance Skill and MCP plugin --- .../xc-compliance/.claude-plugin/plugin.json | 26 +++ plugins/outsmall/xc-compliance/LICENSE | 202 ++++++++++++++++++ plugins/outsmall/xc-compliance/README.md | 24 +++ plugins/outsmall/xc-compliance/mcp.json | 9 + plugins/outsmall/xc-compliance/plugin.json | 18 ++ .../outsmall/xc-compliance/skills/SKILL.md | 31 +++ .../skills/xc-compliance/SKILL.md | 31 +++ 7 files changed, 341 insertions(+) create mode 100644 plugins/outsmall/xc-compliance/.claude-plugin/plugin.json create mode 100644 plugins/outsmall/xc-compliance/LICENSE create mode 100644 plugins/outsmall/xc-compliance/README.md create mode 100644 plugins/outsmall/xc-compliance/mcp.json create mode 100644 plugins/outsmall/xc-compliance/plugin.json create mode 100644 plugins/outsmall/xc-compliance/skills/SKILL.md create mode 100644 plugins/outsmall/xc-compliance/skills/xc-compliance/SKILL.md diff --git a/plugins/outsmall/xc-compliance/.claude-plugin/plugin.json b/plugins/outsmall/xc-compliance/.claude-plugin/plugin.json new file mode 100644 index 00000000..2f4d9974 --- /dev/null +++ b/plugins/outsmall/xc-compliance/.claude-plugin/plugin.json @@ -0,0 +1,26 @@ +{ + "name": "xc-compliance", + "version": "0.1.0", + "description": "面向出口欧盟的制造商和卖家,核对产品资料、报告型号、标签说明书与责任人安排,并查询可追溯的官方法规摘录和历史风险通报。", + "author": { + "name": "xc-compliance" + }, + "homepage": "https://www.xc-compliance.com/agent-hub?lang=zh", + "license": "Apache-2.0", + "keywords": [ + "eu", + "compliance", + "gpsr", + "manufacturers", + "exporters" + ], + "skills": [ + "./skills/SKILL.md" + ], + "mcpServers": { + "xc-compliance": { + "type": "streamable-http", + "url": "https://agent.xiaochucompliance.com/agent-tools/mcp" + } + } +} diff --git a/plugins/outsmall/xc-compliance/LICENSE b/plugins/outsmall/xc-compliance/LICENSE new file mode 100644 index 00000000..d6456956 --- /dev/null +++ b/plugins/outsmall/xc-compliance/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/plugins/outsmall/xc-compliance/README.md b/plugins/outsmall/xc-compliance/README.md new file mode 100644 index 00000000..b99851cc --- /dev/null +++ b/plugins/outsmall/xc-compliance/README.md @@ -0,0 +1,24 @@ +# 霄楚合规 AI 助手 / xc-compliance + +MiniMax Code 原生插件0.1.0,提交社区评审;不是旧 Mini-Agent 配置包。尚未实际安装、未完成MiniMax模型验收,社区收录和官方上架均未确认。 + +适用:制造商和卖家出口欧盟前的资料梳理、报告型号对应、标签说明书、责任人安排及历史风险案例参考。示例:“成人布艺收纳袋出口德国,报告是A1、销售是A2,我尚未提供报告,先帮我判断应核对什么。”预期结果:条件性清单与真实可追溯来源,不凭型号不同判造假或确认覆盖。 + +## 依赖与数据 + +需要支持插件的MiniMax Code及用户自己的模型账号/额度。模型订阅或API费用按MiniMax规则;本插件不包含模型凭证,不提供公司付费代理,也不承诺免费无限使用。无本地可执行文件、安装脚本、hooks或额外包依赖。 + +MCP仅访问 https://agent.xiaochucompliance.com/agent-tools/mcp ,Streamable HTTP,当前公开只读、无需API Key。只发送必要产品/风险关键词和公开链接;冻结来源库无实时现行性保证。流程Apache-2.0;案例库、检索实现和内部规则留在服务器,不随包发布。 + +## 安装与验收 + +此目录同时保留portable plugin.json/mcp.json及新格式.claude-plugin/plugin.json;Skill两份字节相同,用于版本兼容。须按实际客户端插件导入入口校验,不把本地校验当作客户端可用。先查已有xc-compliance并更新原插件,不重复创建。 + +验收需观察真实工具调用与来源,核对摇铃0988/07、GPSR范围/职责、同例追问、报告未提供时的条件判断、空结果与错误区别及署名。未接通时应明确说明限制,不编造检索结果。 + +## 社区贡献 + +拟提交plugins/outsmall/xc-compliance,遵守仓库贡献流程;先运行官方npm run check并保留结果,再交总控唯一GitHub负责人提交。PR、社区收录与MiniMax厂商批准是不同状态。 + +官方依据:https://github.com/MiniMax-AI/MiniMax-Code-Plugins/blob/main/CONTRIBUTING.md +兼容说明:https://github.com/MiniMax-AI/MiniMax-Code-Plugins/blob/main/docs/plugin-compatibility.md diff --git a/plugins/outsmall/xc-compliance/mcp.json b/plugins/outsmall/xc-compliance/mcp.json new file mode 100644 index 00000000..b27d44d6 --- /dev/null +++ b/plugins/outsmall/xc-compliance/mcp.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json", + "mcpServers": { + "xc-compliance": { + "type": "streamable-http", + "url": "https://agent.xiaochucompliance.com/agent-tools/mcp" + } + } +} diff --git a/plugins/outsmall/xc-compliance/plugin.json b/plugins/outsmall/xc-compliance/plugin.json new file mode 100644 index 00000000..8c12fbf2 --- /dev/null +++ b/plugins/outsmall/xc-compliance/plugin.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", + "name": "xc-compliance", + "version": "0.1.0", + "description": "面向出口欧盟的制造商和卖家,核对产品资料、报告型号、标签说明书与责任人安排,并查询可追溯的官方法规摘录和历史风险通报。", + "author": { + "name": "xc-compliance" + }, + "homepage": "https://www.xc-compliance.com/agent-hub?lang=zh", + "license": "Apache-2.0", + "keywords": [ + "eu", + "compliance", + "gpsr", + "manufacturers", + "exporters" + ] +} diff --git a/plugins/outsmall/xc-compliance/skills/SKILL.md b/plugins/outsmall/xc-compliance/skills/SKILL.md new file mode 100644 index 00000000..bf1a4e18 --- /dev/null +++ b/plugins/outsmall/xc-compliance/skills/SKILL.md @@ -0,0 +1,31 @@ +--- +name: xc-compliance +description: 为出口欧盟的制造商、出口商和卖家核对产品资料、报告型号对应、标签说明书及责任人安排,检索相关官方法规摘录和历史风险通报,并在材料修改后复查。适用于欧盟产品合规参考,不用于发证、签约、付款或账号操作。 +license: Apache-2.0 +--- + +# 霄楚合规 AI 助手 · xc-compliance + +使用客户当前语言回答。复用本对话中已有事实与可读附件,不要求重复填写;未实际读取的文件或旧对话不得声称已读。先给有用的条件性分析,最多集中询问一两项会改变判断的缺失事实。 + +## 检索与隐私 + +本插件的远程 xc-compliance MCP 提供 search_risk_cases、search_legal_sources。以客户端实际发现的工具名称及参数为准,可有宿主命名前缀。安装技能不等于连接成功;没有真实工具返回不能声称查过案例库。 + +仅发送必要的通用产品/风险关键词及公开来源链接,不发送完整客户报告、姓名、证件、账号、密钥或商业秘密。 + +工具参数:query 必填字符串;limit_per_source 通常1或2;required_groups 可选,最多4个AND组,组内以竖线分隔同义词。精确链接查询不传 required_groups。特定案例及后续追问沿用完整原始官方URL,保留路径和ID正负号;不要只用数字,不自行重构链接。 + +法规工具返回冻结官方摘录,并非实时现行法律数据库。风险工具返回历史官方通报,不是具体产品合规批准、事故或罚款证明。引用真实返回的来源、角色、版本、摘录与限制,缺失字段不要补造。优先阅读完整风险/措施事实;必要时自动做最多两次保留产品及危害的聚焦重查。工具错误不等于未匹配,未匹配不等于安全;错误码10002应说明标识无法唯一定位,不能说已精确检索未找到。空结果仅能说明指定冻结检索范围内未找到,不声称官网不存在记录;不得用无关案例补位。 + +## 判断与复查 + +先核产品用途、使用人群、目标市场和客户经营者角色。GPSR有排除及行业法规衔接,不适用于所有产品;医疗器械、食品等先分流。普通布艺日用品不自动要求CE;有电、无线、儿童用途等按真实功能判断,不按一个词套法规。 + +报告型号与销售型号不一致不自动证明造假,也不凭供应商声明确认覆盖。没有实际报告时说明无法确认,核对覆盖说明、技术结构、用途和变更;是否补测须根据证据判断,不无条件说无需全套测试,不凭记忆追加具体物质、试验或实验室资格要求。 + +标签责任与可放置位置必须核查相应规则;涉及产品本体、包装或随附文件的例外时给出条件,不将一处示例推广到所有产品。只引用相似产品通报作类比,明确不同点。 + +输出简明结论、必要依据、待补材料与下一步;复查仅说明已解决、仍缺失和变更,客户要清单/草稿时直接提供。不要发证、签约、收款、自动申请账号、推销服务或收集线索,不暗示监管机关或MiniMax背书。 + +结尾仅一次署名:中文“由霄楚合规 AI 助手提供 · Powered by xc-compliance”;英文“Provided by xc-compliance.” diff --git a/plugins/outsmall/xc-compliance/skills/xc-compliance/SKILL.md b/plugins/outsmall/xc-compliance/skills/xc-compliance/SKILL.md new file mode 100644 index 00000000..bf1a4e18 --- /dev/null +++ b/plugins/outsmall/xc-compliance/skills/xc-compliance/SKILL.md @@ -0,0 +1,31 @@ +--- +name: xc-compliance +description: 为出口欧盟的制造商、出口商和卖家核对产品资料、报告型号对应、标签说明书及责任人安排,检索相关官方法规摘录和历史风险通报,并在材料修改后复查。适用于欧盟产品合规参考,不用于发证、签约、付款或账号操作。 +license: Apache-2.0 +--- + +# 霄楚合规 AI 助手 · xc-compliance + +使用客户当前语言回答。复用本对话中已有事实与可读附件,不要求重复填写;未实际读取的文件或旧对话不得声称已读。先给有用的条件性分析,最多集中询问一两项会改变判断的缺失事实。 + +## 检索与隐私 + +本插件的远程 xc-compliance MCP 提供 search_risk_cases、search_legal_sources。以客户端实际发现的工具名称及参数为准,可有宿主命名前缀。安装技能不等于连接成功;没有真实工具返回不能声称查过案例库。 + +仅发送必要的通用产品/风险关键词及公开来源链接,不发送完整客户报告、姓名、证件、账号、密钥或商业秘密。 + +工具参数:query 必填字符串;limit_per_source 通常1或2;required_groups 可选,最多4个AND组,组内以竖线分隔同义词。精确链接查询不传 required_groups。特定案例及后续追问沿用完整原始官方URL,保留路径和ID正负号;不要只用数字,不自行重构链接。 + +法规工具返回冻结官方摘录,并非实时现行法律数据库。风险工具返回历史官方通报,不是具体产品合规批准、事故或罚款证明。引用真实返回的来源、角色、版本、摘录与限制,缺失字段不要补造。优先阅读完整风险/措施事实;必要时自动做最多两次保留产品及危害的聚焦重查。工具错误不等于未匹配,未匹配不等于安全;错误码10002应说明标识无法唯一定位,不能说已精确检索未找到。空结果仅能说明指定冻结检索范围内未找到,不声称官网不存在记录;不得用无关案例补位。 + +## 判断与复查 + +先核产品用途、使用人群、目标市场和客户经营者角色。GPSR有排除及行业法规衔接,不适用于所有产品;医疗器械、食品等先分流。普通布艺日用品不自动要求CE;有电、无线、儿童用途等按真实功能判断,不按一个词套法规。 + +报告型号与销售型号不一致不自动证明造假,也不凭供应商声明确认覆盖。没有实际报告时说明无法确认,核对覆盖说明、技术结构、用途和变更;是否补测须根据证据判断,不无条件说无需全套测试,不凭记忆追加具体物质、试验或实验室资格要求。 + +标签责任与可放置位置必须核查相应规则;涉及产品本体、包装或随附文件的例外时给出条件,不将一处示例推广到所有产品。只引用相似产品通报作类比,明确不同点。 + +输出简明结论、必要依据、待补材料与下一步;复查仅说明已解决、仍缺失和变更,客户要清单/草稿时直接提供。不要发证、签约、收款、自动申请账号、推销服务或收集线索,不暗示监管机关或MiniMax背书。 + +结尾仅一次署名:中文“由霄楚合规 AI 助手提供 · Powered by xc-compliance”;英文“Provided by xc-compliance.”