Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

s2-nlp-connectors2 nlp 连接器

Agent Skill

s2-nlp-connector 用于整理文档、README、Markdown 和说明材料,适合在 OpenClaw 中需要把零散信息整理成结构清晰的文档时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,941

周安装

178

GitHub Stars

公开资料未说明

下载量

1,381
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:s2-nlp-connector(s2 nlp 连接器)
来源仓库:https://github.com/spacesq/s2-nlp-connector
安装命令:
openclaw skills install s2-nlp-connector
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install s2-nlp-connector

简介

s2-nlp-connector 从 API 文档自动生成设备控制模板与跨协议桥接脚本。

  • 适用于封闭生态物联网系统的统一接入与管理。
  • 利用本地 LLM 解析接口定义,生成可执行代码片段。
  • 通过 clawhub 安装后,作为文档处理流水线的一环调用。
  • 需人工审核生成的代码,防止注入不安全操作或越权访问。

SKILL.md

🤝 S2-NLP-Connector: The Dynamic API Adapter Generator

动态 API 适配器生成引擎

*v1.0.0 | Bilingual Edition (English / 中文)*

Welcome to Phase 2 of the S2-Spatial-Primitive OS. This SKILL answers the industry's hardest question: *How does an LLM actually control physical IoT devices across different protocols?* 欢迎来到 S2 空间基元操作系统的第二阶段。本技能解答了行业的终极疑问:*大模型到底如何跨协议控制物理物联网设备?*

Instead of writing hardcoded Python drivers for every new smart bulb, this engine uses your local LLM to read the device's API documentation and dynamically generate an executable Declarative Control Template (声明式控制模板). 本引擎不再为每个新灯泡硬编码驱动程序,而是利用您的本地大模型阅读设备的 API 文档,并动态生成可执行的声明式控制模板


🏗️ The 3-Tier Integration Architecture / 三级集成架构

Included in the *S2-SP-OS Whitepaper Addendum*, this connector operates on three explicit tiers: 依据白皮书技术附录,本互联引擎基于三个明确的层级运行:

Tier 1: S2-Native (Zero-Compute)

Devices that broadcast the S2 JSON schema natively bypass the LLM and mount instantly. / 原生支持 S2 JSON 的设备,跳过大模型,毫秒级直接挂载。

Tier 2: Open APIs (Declarative Adapter Generation)

If a device has a REST API (e.g., POST /api/speed {"level": X}), the LLM reads the doc and outputs a template. The S2 execution engine will later inject real values into the {{s2_value}} placeholder to trigger the device. / 对于开放接口,大模型阅读文档并吐出模板。S2 执行引擎随后将真实数值注入 {{s2_value}} 占位符以触发设备。

Tier 3: Closed Ecosystems (Sovereignty Block)

If you attempt to handshake with a proprietary, encrypted protocol (like native Apple HomeKit or Miio without a bridge), the engine explicitly flags it as BLOCKED_CLOSED_ECOSYSTEM. We respect hardware cryptographic sovereignty and enforce the use of Matter/Home Assistant bridges. / 如果试图与专有加密协议直接握手,引擎将显式拒绝并触发合规阻断。我们尊重硬件密码学主权,并强制要求使用 Matter 中继网桥。


🚀 Usage Simulation / 使用模拟

Run the script and try these two test cases to see the architecture in action: 运行脚本并尝试以下两个测试用例,见证架构的威力:

Test Case A (Open API - Success):

  • Device: Smart Bulb X
  • API Doc: POST /v1/light/dim {"brightness": X}

*(Watch the LLM generate the JSON template mapping to element_1_light!)*

Test Case B (Closed Protocol - Blocked):

  • Device: Apple HomePod
  • API Doc: Apple HomeKit Proprietary

*(Watch the engine legally block the direct connection and demand a bridge!)*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.75%
按下载量换算1,308

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills