ag-setuplisted
Install: claude install-skill epicsagas/AgentGlance
Onboard the SmallTV status monitor. Walk the user through this; don't assume any
step already happened.
## 1. Is the device already configured?
```bash
echo "env AGENT_GLANCE_IP=${AGENT_GLANCE_IP:-<unset>}"
cat ~/.agent-glance/config.json 2>/dev/null || echo "(no saved config)"
```
If an IP is already present, skip to step 3.
## 2. Find the device
Ask the user if they already know the device's IP (it is shown in the device's
own web UI, or in the router's client list). If they don't, offer to scan the
local network — say you are about to probe the local /24 and get their OK first:
```bash
BASE=$(ipconfig getifaddr en0 2>/dev/null || ipconfig getifaddr en1)
BASE=${BASE%.*}
echo "scanning ${BASE}.1-254 ..."
for i in $(seq 1 254); do
( curl -s -m 0.4 "http://${BASE}.${i}/photo/list" 2>/dev/null \
| grep -q '"files"' && echo " FOUND SD_RU ${BASE}.${i}"
curl -s -m 0.4 "http://${BASE}.${i}/app.json" 2>/dev/null \
| grep -q '"theme"' && echo " FOUND ULTRA ${BASE}.${i}" ) &
done; wait
```
Nothing found means the device is off, on another subnet/VLAN, or running
different firmware (see step 3).
## 3. Verify the firmware is supported
Either firmware works — check both:
```bash
curl -s -m 4 "http://<IP>/photo/list" # SD_RU / SD Pro: JSON with a "files" array
curl -s -m 4 "http://<IP>/app.json" # SmallTV Ultra: JSON with a "theme" key
```
One of the two must answer. If both 404, stop and tell the user their device
runs a different firmware — other Gee