← Back to Skills Marketplace
99
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-plugin-dg-lab-skill
Description
An OpenClaw plugin that controls DG-Lab V3 electrostimulation devices via WebSocket with AI-driven commands and emotion-triggered stimulation.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-plugin-dg-lab-skill - After installation, invoke the skill by name or use
/openclaw-plugin-dg-lab-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is DG-LAB?
An OpenClaw plugin that controls DG-Lab V3 electrostimulation devices via WebSocket with AI-driven commands and emotion-triggered stimulation. It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.
How do I install DG-LAB?
Run "/install openclaw-plugin-dg-lab-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is DG-LAB free?
Yes, DG-LAB is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does DG-LAB support?
DG-LAB is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created DG-LAB?
It is built and maintained by 枫莹 (@fengying1314); the current version is v1.0.3.
More Skills