app
Adom USB
Public Unreviewedby John Lauer
See every USB device across the entire Adom ecosystem — laptop, WSL2, cloud container, Azure VM, workcells — in one dashboard, and mount / unmount / reset / test / force-class / sniff any of them. USB/IP slingshot for the whole mesh.
#!/bin/bash
# install.sh for adom-usb (app) — runs from the extracted module dir.
# The binary is NOT shipped inside the tarball (it's gitignored and adompkg
# honors .gitignore); install.sh fetches it from the published wiki release
# asset instead. A locally-built bin/adom-usb (dev) is used if present.
set -euo pipefail
DIR="$(cd "$(dirname "$0")" && pwd)"; cd "$DIR"
BIN_DIR="${HOME}/.local/bin"; mkdir -p "$BIN_DIR"
if [ -f "$DIR/bin/adom-usb" ]; then
install -m 0755 "$DIR/bin/adom-usb" "$BIN_DIR/adom-usb"
else
VER="$(grep -oE '"version"[[:space:]]*:[[:space:]]*"[0-9]+\.[0-9]+\.[0-9]+"' "$DIR/package.json" | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | head -1)"
URL="https://wiki.adom.inc/download/john/adom-usb/${VER}/adom-usb"
echo "Fetching adom-usb ${VER} binary from ${URL}"
curl -fsSL "$URL" -o "$BIN_DIR/adom-usb"
chmod +x "$BIN_DIR/adom-usb"
fi
echo "Installed adom-usb -> $BIN_DIR/adom-usb"
SKILL_DIR="${HOME}/.claude/skills"
# install EVERY sub-skill bundled under skills/ (adom-usb, adom-usb-publish, …)
for d in "$DIR"/skills/*/; do
s="$(basename "$d")"
if [ -f "$d/SKILL.md" ]; then
mkdir -p "$SKILL_DIR/$s"
install -m 0644 "$d/SKILL.md" "$SKILL_DIR/$s/SKILL.md"
echo "Installed skill -> $SKILL_DIR/$s/SKILL.md"
fi
done
echo "adom-usb installed. Try: adom-usb app --demo"