Unifi cli
Use when asked about UniFi network gear or the local network — access points, gateway, switches, WiFi, or which clients/devices are connected. Queries the local UniFi gateway via the `unifi` CLI.From its SKILL.md
npx -y skills add baileywickham/unifi-cli --skill unifi-cliAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.0 KB, 443 tokens by cl100k_base, as published. Nobody here has run it
unifi-cli
CLI for the UniFi Network Integrations API on a local UniFi gateway (Cloud Gateway Ultra, UDM, UDR, etc.).
Prerequisites
-
unifiis on PATH.bun linkinstalls it to~/.bun/bin, which may not be on PATH in every shell — try~/.bun/bin/unifibefore assuming it's missing. If it isn't installed, install it (requires Bun):git clone https://github.com/baileywickham/unifi-cli cd unifi-cli && bun install && bun link -
API key in
UNIFI_API_KEYor~/.config/unifi-cli/config.json. If missing, the CLI prints setup instructions — relay them to the user instead of guessing. (Keys must be created in the gateway's local web UI, not unifi.ui.com — the CLI's error output and the repo README explain this.)
Commands
Prefer --json when you need to parse the output.
unifi devices --json # all UniFi hardware: model, IP, state
unifi device <name|id> # one device: detail + uptime/cpu/memory
unifi clients [--wired|--wireless] # connected clients
unifi sites # sites (usually just "default")
unifi info # network application version
Typical questions this answers: "what APs do I have?" → unifi devices;
"is the living room AP up?" → unifi device living-room;
"what's on my network?" → unifi clients.
Write actions — ask the user first
unifi device restart <name> and unifi device power-cycle <name> <port>
disrupt the network. NEVER run them unless the user explicitly asked for that
action in this conversation. These commands prompt interactively, so when
running them from Claude pass --yes — but only after the user has explicitly
confirmed the action in the conversation.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.