Agent skill · software engineering · aradotso
awawausb-webusb-firefox
WebUSB extension for Firefox using native messaging to enable USB device access from web pages
Why this skill is useful
Provides specific commands and setup procedures for integrating WebUSB with Firefox that are not commonly known.
What it needs
Requires rust installed locally. About 4k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
awawausb — WebUSB Extension for Firefox Skill by ara.so — Daily 2026 Skills collection. awawausb adds WebUSB (navigator.usb) to Firefox via a two-part system: a browser extension (.xpi) and a native stub binary (compiled Rust) that communicates over native messaging. Architecture Installation (End Users) 1. Install the Extension Signed release: Download .xpi from GitHub Releases, open in Firefox. Developer/testing: about:debugging → "This Firefox" → "Load Temporary Add-on…" → select extension/manifest.json. 2. Install the Native Stub Download and unzip the release archive for your platform, then run: Supported platforms: macOS x8664/ARM64, Linux x8664/aarch64, Windows AMD64/ARM64. Building from Source Platform Notes Platform Notes ---------- ------- macOS Should "just work"; vendored .tbd files included Linux Uses musl libc by default for static binaries; glibc builds work but untested Windows Uses mingw-w64 UCRT (-windows-gnullvm); MSVC not supported Cross-compiling (Linux → Windows example) Manual Native Manifest Setup After building, tell Firefox where the native stub binary is by placing a JSON manifest file in the correct location. Manifest Content On Windows, path can be just "awawausb-native-stub.exe" (no absolute path required). Manifest Locations macOS Linux Windows (registry keys) The registry value should be the full path to the manifest .json file. Quick Linux user-local setup script Quick macOS user-local setup Windows PowerShell setup Using WebUSB in Web Pages Once installed, navigator.usb is available. Usage is identical to Chrome's WebUSB API: Note: The WebUSB API is only available on the main page — not in Web Workers. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/awawausb-webusb-firefox