Usb Light Sensor Reader

v1.0.2

Read light intensity from USB sensors with real-time monitoring, filtering, and threshold detection.

0· 107·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
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the implementation: sensor.py reads /dev/ttyUSB0, provides moving-average filtering and threshold checks. Declared binary (python3) and requirement (pyserial in requirements.txt) are appropriate and proportional.
Instruction Scope
SKILL.md stays on-topic (check /dev/ttyUSB0, connect, read, disconnect). The broader USAGE-GUIDE references other skills (control-usb-relay) and example agent configs (showing a model API key) — those are documentation for integrating with external agent frameworks, not requirements of this skill. That could confuse non-technical users but does not change the skill's behavior.
Install Mechanism
No install spec (instruction-only) and only local Python code and a small requirements.txt referencing pyserial; no external downloads or archive extraction. Low install risk.
Credentials
The skill does not request environment variables or credentials. Example docs include an agent config with an API key for third-party agents — that is unrelated to this skill and optional when integrating with agent software.
Persistence & Privilege
always is false, no special persistence requested, and the code does not modify other skills or system-wide configuration. It only opens and closes the serial port it is configured to use.
Assessment
This skill appears to do exactly what it claims: read a local USB light sensor via a serial port. Before installing, ensure you: (1) run on a Linux machine and have python3 and pyserial installed, (2) add the user to the dialout group or otherwise grant access to /dev/ttyUSB0, and (3) review whether you'll also install the separate 'control-usb-relay' skill—combining sensor+relay lets an AI agent control hardware, so grant that capability only to agents you trust. Note: some documentation examples show agent configs with API keys for external agent software; those are for the agent platform (e.g., NanoBot) and are not required by this sensor skill itself.

Like a lobster shell, security has layers — review code before you run it.

latestvk970cyx4xhdaatgax3w6nx5b2d833tap

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

☀️ Clawdis
OSLinux
Binspython3

Comments