Control Usb Relay
v1.0.2Control USB relay modules with on/off switching, state tracking, and automation support.
⭐ 0· 125·0 current·0 all-time
byjiahaoli@lj-hao
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description, README, SKILL.md, and relay.py all consistently implement local USB relay control using a serial port (/dev/ttyUSB1) and pyserial. Required binary (python3) and requirements.txt (pyserial) match the purpose. Documentation references optional companion tools (ClawHub, NanoBot) but those are usage/integration suggestions, not required for the relay functionality.
Instruction Scope
SKILL.md instructs only to verify hardware, connect to the serial port, send known 4-byte commands, track state in memory, and disconnect. There are no instructions to read unrelated files, exfiltrate data, or contact external network endpoints. The only 'endpoint' referenced is the local serial device (/dev/ttyUSB1).
Install Mechanism
No install spec is declared (instruction-only), and the included code is simple Python that depends on pyserial (requirements.txt). There are no remote downloads, obscure URLs, or archive extraction steps in the package metadata.
Credentials
The skill declares no required environment variables or credentials. The docs mention configuring an AI agent with an API key as an unrelated integration example, but relay.py itself does not read environment variables or secrets.
Persistence & Privilege
always is false and the skill does not request persistent system changes or modify other skills. Note: autonomous invocation is allowed (platform default) which means an agent could actuate hardware without further prompts — this is normal but worth considering because the capability controls physical devices.
Assessment
This skill appears internally coherent for local USB relay control. Before installing: (1) ensure you have the physical relay and that you want software to be able to switch it (this is hardware actuation—test on a safe circuit), (2) add your user to the dialout group and install pyserial, (3) review relay.py (it writes bytes to the serial port and will actuate hardware), and (4) consider the agent autonomy settings: allowing an AI to call this skill lets it turn devices on/off without additional confirmation. If you don't trust the source, run it in an isolated test environment or review/modify the code to add confirmations or safeguards.Like a lobster shell, security has layers — review code before you run it.
latestvk978t7h3bzavy3x09401ste5cn832ma9
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🔌 Clawdis
OSLinux
Binspython3
