← Back to Skills Marketplace
173
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install usb-light-sensor-reader
Description
Read light intensity from USB sensors with real-time monitoring, filtering, and threshold detection.
Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill
Name: usb-light-sensor-reader
Version: 1.0.2
The skill is a standard implementation for reading light intensity from a USB serial sensor. The core logic in `sensor.py` uses the `pyserial` library to interface with `/dev/ttyUSB0`, employing a moving average filter for data stability and regex for parsing sensor output. The documentation (SKILL.md, README.md, and USAGE-GUIDE.md) is consistent with the code's functionality, providing clear instructions for hardware setup and AI agent integration without any signs of malicious intent, data exfiltration, or suspicious execution patterns.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install usb-light-sensor-reader - After installation, invoke the skill by name or use
/usb-light-sensor-reader - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added USAGE-GUIDE.md to provide more detailed usage instructions.
- Updated version to 1.0.2 in metadata and documentation.
- No changes to core functionality or security notes.
v1.0.1
- Added README.md with usage and setup documentation.
- Updated SKILL.md and metadata for improved clarity and accuracy.
v1.0.0
Initial release of USB Light Sensor Reader.
- Reads light intensity (lux) in real-time from USB-connected sensors at /dev/ttyUSB0
- Provides moving average filtering and raw value access
- Includes default threshold detection for dark (<100 lux) and bright (>500 lux) environments
- Requires user in dialout group and hardware initialization/disconnect steps
- No persistent data storage; works directly from serial port
Metadata
Frequently Asked Questions
What is Usb Light Sensor Reader?
Read light intensity from USB sensors with real-time monitoring, filtering, and threshold detection. It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.
How do I install Usb Light Sensor Reader?
Run "/install usb-light-sensor-reader" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Usb Light Sensor Reader free?
Yes, Usb Light Sensor Reader is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Usb Light Sensor Reader support?
Usb Light Sensor Reader is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux).
Who created Usb Light Sensor Reader?
It is built and maintained by jiahaoli (@lj-hao); the current version is v1.0.2.
More Skills