Diagnose a private household UniFi network for Operator and discover non-secret local helper configuration. Use for Wi-Fi, internet, DNS, latency, packet los...
编程
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 lo...
它能做什么
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.
技能文档
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 # 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 and unifi device power-cycle
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.
相关技能
用同一个 CLI 管理 UniFi:集成 API、Session API、Site Manager 云端 API 与 WebSocket 事件流。
Use when maintaining or using the UnifyPort Node.js SDK; covers the Device API client, public contract, generated code, errors, retries, and the new API work...
UnifAPI (unifapi.com). Use this skill for ANY UnifAPI request — reading, creating, and updating data. Whenever a task involves UnifAPI, use this skill instea...
UniOne (unione.io). Use this skill for ANY UniOne request — reading, creating, and updating data. Whenever a task involves UniOne, use this skill instead of...
Infrastructure inventory automation and utility/integration operations for netbox-proxmox-sync, an idempotent state sync that models Proxmox VE and UniFi int...