Best use case
usb-debug is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Teams using usb-debug should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/usb-debug/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How usb-debug Compares
| Feature / Agent | usb-debug | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill provides specific capabilities for your AI agent. See the About section for full details.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Skill: USB Debugging & Automation
## 1. Overview
Protocol for debugging USB devices using software sniffers and Python automation.
## 2. Tools
* **Analysis**: Wireshark with USBPcap (Windows) or usbmon (Linux).
* **Automation**: Python `pyusb` (libusb wrapper).
* **Hardware**: Total Phase Beagle (High-end) or OpenVizsla (Open-source).
## 3. Python Automation (PyUSB)
```python
import usb.core
import usb.util
# Find device
dev = usb.core.find(idVendor=0x1234, idProduct=0x5678)
if dev is None:
raise ValueError('Device not found')
# Set configuration to first available
dev.set_configuration()
# Write to Endpoint 1 (OUT)
dev.write(1, b'\x00\x01\x02')
# Read from Endpoint 129 (IN)
data = dev.read(0x81, 64)
print(data)
```
## 4. Debugging Workflow
1. **Capture**: Start Wireshark with USBPcap.
2. **Plug & Play**: Connect device, perform actions.
3. **Analyze**: Filter by `usb.addr` to isolate device traffic.
4. **Replay**: Use `pyusb` to mimic host commands verifying device response.Related Skills
serial-debug
No description provided.
register-debug
No description provided.
lora-debug
No description provided.
Skill: Debugging & Testing Standards
> **Skill ID**: `SKILL_DEBUGGING`
ble-debug
No description provided.
vuln-scan
Multi-language dependency security scan - Use Safety CLI and OSV-Scanner to quickly detect dependency vulnerabilities in Python/JS/Java projects
SKILL_ONBOARDING.md
> **Purpose**: Conduct a one-time "Handshake Interview" with the user to establish their Developer Persona.
sql-lint
SQL code style check - Use SQLFluff to check SQL statement style and syntax (supports PostgreSQL, MySQL, SQLite, etc.)
security-check
Check dependency security vulnerabilities
rust-lint
Rust code quality check - Use Clippy and Rustfmt to ensure Rust code standards and performance optimization
run-tests
Run project test suite
owasp-scan
OWASP dependency vulnerability scan - Use OWASP Dependency-Check to detect known CVE vulnerabilities in project dependencies