ops-unifi

ops-unifi is a Claude Code skill for people managing UniFi networks and cameras, but it depends on OPS components outside its own folder. It describes cloud fleet monitoring, local network controls and Protect camera operations through curl and API keys. Local requests disable certificate verification, and several advertised health checks are only outlined.

Researched 17 Nov 2026

In short.

ops-unifi is a Claude Code skill for UniFi network and camera administrators, but its supplied files depend on external OPS components and leave parts of the advertised health monitoring incomplete. It combines cloud Site Manager reporting with local Network and Protect API operations, including device restarts, client blocking and camera snapshots. The instructions specify confirmation and audit logging for changes. Important limitations include disabled local certificate verification, credential discovery that can print secrets, incomplete pagination and inconsistent multi-site handling. No installation, API request or device operation was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete captured claude-ops/skills/ops-unifi/SKILL.md and claude-ops/skills/ops-unifi/references/cli.md at revision 2cfcc0da2f77f8114d61f83c3a5a8b54c8cfd905, plus LICENSE and claude-ops/LICENSE. The broader repository, ops-rules, central setup wizard, agent definitions, third-party MCP implementations and official UniFi API documentation are outside the supplied scope. All behavior is assessed from the documents; installation, API compatibility, safety controls, monitoring accuracy and live operations remain untested.

The overview

Identity

ops-unifi is an instruction package within Lifecycle Innovations Limited's claude-ops repository. It is intended to let a Claude Code assistant inspect and manage Ubiquiti UniFi networking and surveillance infrastructure. The selected folder contains SKILL.md and references/cli.md.

The original resource location is [https://github.com/Lifecycle-Innovations-Limited/claude-ops/tree/main/claude-ops/skills/ops-unifi]. Its documented interface includes /ops:ops-unifi with arguments such as status, devices, clients, protect, snapshot, restart and predict.

Assessment

The documented design suits an administrator who already operates UniFi equipment and wants one assistant interface across cloud fleet information, local networking and cameras. It supplies specific request examples and operational procedures that a technically experienced user could inspect and adapt.

Adoption needs technical review. The selected folder references missing OPS components, and several behaviors depend on the assistant completing instructions rather than invoking a supplied implementation. Confirmation, audit logging, API compatibility and recovery behavior have not been demonstrated.

Intended users

Likely users include home-network administrators, small-business operators and developers responsible for UniFi consoles, wireless access points, switches or Protect cameras. Cloud inventory is relevant to people overseeing several sites; local operations require connectivity to the relevant console.

Beginners would need help understanding API keys, console addresses, shell commands and the consequences of network changes. Experienced administrators can inspect the routes and request bodies, but still need to verify compatibility with their installed applications. The reference states that the legacy self-hosted Network application does not support the local API-key approach described here.

Documented capabilities

Read operations cover cloud consoles, sites, devices, internet-connection metrics and SD-WAN status; local Network devices, clients and current statistics; and Protect camera information and snapshots. The reference also lists streaming, WebSocket subscriptions, sensors, lights, chimes and viewers, although complete assistant procedures are not provided for all of them.

State-changing operations include restarting devices, blocking or unblocking clients, changing camera settings and creating or revoking hotspot vouchers. The instructions require confirmation and audit logging for these operations.

The predict mode describes threshold and baseline checks for internet degradation, device stress, weak wireless signals, saturated links and surveillance gaps. Its forecasting accuracy and false-alarm rate are unknown.

Using it

Requirements

The design expects an assistant environment capable of running Bash, reading and writing configuration, requesting user confirmation and optionally dispatching agents. It uses curl for requests and jq for structured output, with a raw-JSON fallback described when jq is missing. No SDK or MCP server is required by the documented design.

Users need API credentials for whichever surfaces they intend to use. Local Network and Protect operations require reachable console addresses and compatible applications. Doppler and the macOS keychain are optional credential sources.

The skill requires ops-rules and references the wider OPS setup wizard, preferences, health files and agent definitions. Those components are outside the supplied folder. Minimum supported Claude Code, UniFi OS, Network and Protect versions are not specified.

How it works

The assistant maps a requested task to shell-based API calls and formats the returned JSON. Cloud requests target Site Manager at [https://api.ui.com]. Local requests use the console's /proxy/network/integration/v1 or /proxy/protect/integration/v1 paths. Credentials are sent in X-API-Key headers, and unconfigured surfaces are intended to be skipped.

The credential code reads preferences.json first, then fills missing values from environment variables, Doppler and the macOS keychain. Although a comment says environment values override preferences, the shown conditions retain nonempty preference values. Protect defaults to the Network host and key when separate values are absent; whether a shared key works depends on the installation.

Parallel probing can use Agent Teams or ordinary subagents. Changes are governed by confirmation instructions, followed by logging and, for restart and client-blocking actions, a subsequent target read.

Setup

The published setup entry point is /ops:setup --section network. The documents direct users to UniFi integration settings to create cloud, Network or Protect API keys. They propose checking /v1/hosts, /sites and /meta/info before saving credentials under home_network in preferences.json.

A complete installation procedure for the containing OPS plugin is not included. The inline fallback also prints selected environment variables and matching shell-profile lines, which can expose API keys in output. Those discovery steps need revision before use in a recorded assistant session.

The setup instructions describe authentication checks, but successful key provisioning and storage were not tested. File permissions, secret redaction and the availability of the central wizard are not established by these files.

Example use

An illustrative read-only request is /ops:ops-unifi status. With only a Site Manager key configured, the intended behavior is to show available cloud information and mark unconfigured local Network and Protect surfaces unavailable. This is an example of the documented flow; no dashboard output was produced.

For /ops:ops-unifi restart followed by a device name, the instructions call for identifying the exact target and obtaining confirmation before sending a RESTART action to the selected site's device endpoint. A subsequent read is requested. One read alone would not establish that a reboot completed or that dependent services recovered.

Assessment & evidence

Limitations

Local Network and Protect helpers use curl -k, disabling TLS certificate verification. The helpers also lack explicit HTTP-status failure handling, and the snapshot example writes the response directly to a JPEG filename without validating its content. Authentication or API errors therefore need stronger handling before results can be trusted.

The reference documents Site Manager pagination using nextToken, but the examples do not follow subsequent pages. Fleet inventories and counts could be partial. Site-selection instructions ask for a choice when multiple sites exist, while the status and predict snippets select the first returned site.

The predict examples do not supply historical baseline storage, sustained-load sampling, state-change comparison or the promised scoring implementation. The scoring step is a comment, and the illustrated fetches do not gather every advertised input, such as NVR storage.

Confirmation and audit logging are written requirements, with no supplied enforcement implementation or runtime evidence. The external ops-rules dependency is unavailable in the selected files, so its fallback and approval procedures cannot be assessed.

Design tradeoffs

Using curl avoids a required SDK or MCP server and makes request paths and payloads visible to administrators. It also leaves response validation, pagination, secret handling and transport security to shell procedures and assistant behavior.

Separating cloud and local APIs allows partial operation when only some credentials or connections are available. Cloud fallback provides the documented fleet view; local control and camera operations still depend on their respective endpoints.

The health scan uses understandable thresholds and trailing baselines. Its usefulness depends on collecting the right measurements over time and interpreting them correctly. The supplied files provide no measured detection accuracy, warning lead time or operational reliability.

Related approaches

Developers can use the documented Site Manager, Network and Protect API routes directly when they want to implement their own request validation, data handling and controls. This requires supplying the surrounding application behavior themselves.

The skill names ry-ops/unifi-mcp-server, sirkirby/unifi-mcp and DataKnifeAI's Network and Protect MCP servers as optional approaches. These are separate third-party resources. Their current availability, compatibility, security, licensing and comparative capabilities were not assessed; the skill's statements about tool counts and official MCP availability are not independently established.

Evidence and assessment limits

The supplied material comprises the complete selected SKILL.md and references/cli.md, together with the repository-root and claude-ops MIT notices. The captured instructions are available at [https://raw.githubusercontent.com/Lifecycle-Innovations-Limited/claude-ops/2cfcc0da2f77f8114d61f83c3a5a8b54c8cfd905/claude-ops/skills/ops-unifi/SKILL.md]. The companion reference is at [https://raw.githubusercontent.com/Lifecycle-Innovations-Limited/claude-ops/2cfcc0da2f77f8114d61f83c3a5a8b54c8cfd905/claude-ops/skills/ops-unifi/references/cli.md].

These documents establish published instructions and examples. No commands were executed. Installation, credentials, API schemas, returned data, approval behavior, logs, snapshots and infrastructure changes were not tested. Ubiquiti's own API documentation and the referenced external components were not supplied.

Access & freshness

Costs

The supplied MIT notices permit use and redistribution without a software licence fee. They do not establish the total cost of operating this skill.

Prices for assistant access, model usage, UniFi equipment, API access and optional services are not supplied. Parallel agent calls may affect model usage, but no token counts, usage measurements or billing examples are provided. Setup effort and ongoing operating cost are unknown.

Licence and reuse

Both supplied licence notices use the MIT License and identify Copyright (c) 2026 Lifecycle Innovations Limited. They permit using, copying, modifying, publishing, distributing, sublicensing and selling the software and associated documentation.

Copies or substantial portions must retain the copyright and permission notice. The material is supplied without warranty. Terms for UniFi services and optional third-party MCP servers are not supplied by these notices.

Source version

The supplied snapshot is pinned to repository revision 2cfcc0da2f77f8114d61f83c3a5a8b54c8cfd905 and was captured on 2026-11-17 at 12:26:15.972 UTC. Findings apply to that snapshot.

The capture timestamp does not establish when the files were last maintained. Later repository changes, current UniFi endpoint contracts and compatibility with particular application releases are unknown.

Before adoption

Obtain and inspect the containing OPS installation instructions, ops-rules and required agent definitions. Confirm that the documented API routes and key permissions match the installed UniFi applications. Replace credential discovery that prints secrets and configure certificate verification for local requests.

A practical evaluation would begin with read-only inventory for an explicitly chosen site. Validate pagination, API error handling and output completeness before relying on fleet totals. Before enabling changes, verify exact target selection, confirmation and audit behavior on noncritical equipment.

Treat predict as an outlined health-analysis feature until its missing history collection and scoring are implemented and validated. No such evaluation was performed.

Evidence for this report

LICENSEnotice · checked 2026-11-17
claude-ops/LICENSEnotice · checked 2026-11-17
claude-ops/skills/ops-unifi/SKILL.mdselected · checked 2026-11-17
claude-ops/skills/ops-unifi/references/cli.mdselected · checked 2026-11-17