Loading...
Loading...
Interact with AstroBox through the command-line interface. Use this skill whenever the user wants to control AstroBox, manage devices, browse providers, download resources, install files, or check connection status. If the task involves AstroBox operations, ALWAYS use abcli via npx instead of trying to manipulate AstroBox internals directly. Trigger on mentions of AstroBox, device connection, authkey, provider browsing, resource download, watchface/app installation, or anything related to managing the AstroBox desktop app.
npx skill4agent add astralsightstudios/astroboxskills abcliastrobox-clinpx astrobox-cli <command> [options]pnpm cli <command> # if in AstroBoxCli repoopenstatusdeviceproviderprovider pageprovider itemprovider downloadinstall127.0.0.1:10721| Task | Command |
|---|---|
| Launch AstroBox | |
| Check status | |
| List devices | |
| Show device details | |
| Connect device | |
| List providers | |
| Provider state | |
| Categories | |
| Refresh provider | |
| Total items | |
| Browse page | |
| Search by keyword | |
| Item detail | |
| Download link | |
| Install local file | |
npx astrobox-cli device list # see existing devices
npx astrobox-cli device connect \
--name "Xiaomi Smart Band 9 Pro C692" \
--addr "3C:AF:B7:ED:C6:92" \
--authkey "your-authkey" # user must tap confirm on device
npx astrobox-cli device show 3C:AF:B7:ED:C6:92 # verifynpx astrobox-cli provider list # pick provider
npx astrobox-cli provider refresh OfficialV2 # refresh cache before search
npx astrobox-cli provider page OfficialV2 \
--keyword "search-term" --limit 20 # search by keyword
npx astrobox-cli provider item OfficialV2 <id> # inspect details, get device key
npx astrobox-cli provider download OfficialV2 \
--id <id> --device <key> # get download URL# 1. Check AstroBox and list devices
npx astrobox-cli status
npx astrobox-cli device list
# 2. If device is disconnected, get authkey from saved device and reconnect
npx astrobox-cli device show <addr> # extracts authkey
npx astrobox-cli device connect \
--name "<name>" --addr "<addr>" --authkey "<key>"
# 3. Search, download, and install the resource
npx astrobox-cli provider refresh OfficialV2
npx astrobox-cli provider page OfficialV2 --keyword "<name>" --limit 20
npx astrobox-cli provider item OfficialV2 <id> # note the device key from Downloads
npx astrobox-cli provider download OfficialV2 \
--id <id> --device <key>
# 4. Download the file (url may need URL-encoding for spaces)
curl -L -o "resource.bin" "<download-url>"
# 5. Install through AstroBox
npx astrobox-cli install "./resource.bin"npx astrobox-cli status # should show "AstroBox: connected"unavailablereferences/output-parsing.md- <name> (<addr>) [<status>][<restype>] <name>\n id: <id> <field>: <value>provider refresh <name>--keyword--keywordprovider pagegrep--keyworddevice showdevice show <addr>provider itemDownloads:xmb9pxmb10xmrw5provider download --device <key>npx astrobox-cli install{"ok": true, "message": "queued"}npx astrobox-cliENOTEMPTY~/.npm/_npx/*| Error | Meaning | Action |
|---|---|---|
| Desktop app not running | Ask user to launch AstroBox |
| Invalid install path | Verify path |
| Address not in list | Run |
| Wrong type | Only |
references/errors.mdreferences/commands.mdreferences/commands.mdreferences/output-parsing.mdreferences/errors.md