← 返回 Skills 市场
fengying1314

DG-LAB

作者 枫莹 · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ⚠ suspicious
99
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-plugin-dg-lab-skill
功能描述
An OpenClaw plugin that controls DG-Lab V3 electrostimulation devices via WebSocket with AI-driven commands and emotion-triggered stimulation.
安全使用建议
This plugin appears to do what it claims (control DG-Lab V3 devices over WebSocket, include an emotion engine that maps assistant replies to stimulation), but it can directly cause physical stimulation and requires opening a public port. Before installing: - Do not run the one-click curl|bash installer unless you audit the install script on GitHub first — prefer npm install or cloning the repo and reviewing the code. - Understand you must open/forward TCP port (default 18888) so devices can connect; restrict access (use firewall rules, VPN, or localhost-only with SSH tunnel) to avoid unauthorized binding. - The plugin can be invoked by the model (default platform behavior). If you plan to run agents autonomously, explicitly disable or restrict agent permissions for this plugin, or do not enable emotion mode (/dg_emotion) to avoid automatic triggers. - Set hardware safety limits in the DG-Lab App (the plugin's software limiter is not a safety substitute) and keep initial intensity very low when testing. - Review the repository/install script and the included JS files (server, protocol, pulselib, emotion) yourself or with someone technical to verify no unexpected remote endpoints or behaviors are present (the QR string references https://www.dungeon-lab.com for the app tag — expected for this ecosystem but note it is an external domain). If you are not comfortable auditing code or exposing a public WebSocket for a device that delivers electrical stimulation, do not install or run this plugin on a production/connected machine.
功能分析
Type: OpenClaw Skill Name: openclaw-plugin-dg-lab Version: 1.0.3 The plugin provides functionality to control DG-Lab V3 e-stim hardware via a WebSocket server, which is a high-risk physical interaction capability. While it includes safety mechanisms like intensity limits and a rest timer, the `/dg_pulse load` command in `dist/index.js` is vulnerable to path traversal, allowing the reading of arbitrary files from the host system (e.g., via `../../` patterns). Additionally, the documentation encourages a high-risk installation method (`curl|bash`), and the 'Emotion Engine' in `dist/emotion.js` allows the AI to automatically trigger physical stimulation based on chat keywords without direct user confirmation for each event.
能力评估
Purpose & Capability
The name/description (DG-LAB V3 controller with AI emotion-triggered stimulation) matches the shipped files and runtime behavior: a WebSocket server, QR pairing, waveform library, protocol handling, and an emotion engine that converts assistant replies into stimulation commands. No unrelated credentials or services (AWS, etc.) are requested.
Instruction Scope
SKILL.md and the code direct the agent to run plugin lifecycle actions, start an in-process WebSocket server, read/write plugin data under the user's OpenClaw workspace, generate QR images, and optionally enable an emotion engine that scans AI reply text and can autonomously trigger stimulation. That behavior aligns with the described purpose but grants the agent/tags the plugin scope to analyze assistant replies and send physical-device commands — a capability that carries inherent safety concerns (explicitly warned in the docs).
Install Mechanism
The registry entry contains no formal install spec, but SKILL.md recommends a one‑line curl|bash installer from raw.githubusercontent.com (a common but higher-risk pattern because it downloads and executes a remote script). The package also supports npm install and manual cloning. The distributed JS files are present, which reduces the need for arbitrary remote downloads, but the recommended one‑click installer remains a vector to be cautious about.
Credentials
The skill requires no credentials or special environment variables. It does read/write files under ~/.openclaw (media and plugin data) and expects the host to expose a public IP / open TCP port (default 18888) so the DG-Lab App can connect — that network exposure is necessary for the plugin's stated function but has security implications (publicly reachable WebSocket).
Persistence & Privilege
The plugin registers an in-process service with the OpenClaw Gateway (normal for plugins) and is not marked always:true. However, it exposes agent-invocable tools (dg_shock, dg_pulse_list, qr generation) and an emotion engine that can trigger stimulation from assistant replies. Autonomous invocation plus ability to control a physical device increases risk — this is expected for the plugin's purpose but should be considered before enabling autonomous agents or the emotion mode.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-plugin-dg-lab-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-plugin-dg-lab-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- Initial release of openclaw-plugin-dg-lab. - Native integration with OpenClaw for controlling DG-Lab V3 electrostimulation devices via WebSocket. - Supports QR code pairing, AI tool-based control (dg_shock, dg_pulse_list), and emotion engine for automatic stimulation triggers. - Implements software intensity limits, 1-hour safety timer with enforced cooldown, device feedback sync, and real-time status monitoring. - Custom waveform library with Coyote-Game-Hub format compatibility, and robust security and protocol compliance features.
元数据
Slug openclaw-plugin-dg-lab-skill
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

DG-LAB 是什么?

An OpenClaw plugin that controls DG-Lab V3 electrostimulation devices via WebSocket with AI-driven commands and emotion-triggered stimulation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。

如何安装 DG-LAB?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-plugin-dg-lab-skill」即可一键安装,无需额外配置。

DG-LAB 是免费的吗?

是的,DG-LAB 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DG-LAB 支持哪些平台?

DG-LAB 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DG-LAB?

由 枫莹(@fengying1314)开发并维护,当前版本 v1.0.3。

💬 留言讨论