unifi-protect

unifi-protect is a skill for Claude Code from enuno/unifi-mcp-server. It costs 62 tokens per session (2,086 once invoked), scanned A, original, Apache-2.0.

A workflow for operating UniFi Protect devices such as cameras, alarm hubs, sensors, lights, and sirens. UniFi Protect is UniFi's system for managing security and monitoring devices; this workflow focuses on device state and control, not recorded media.

In plain words
What is it for?
Use it to check device health, configure Protect devices, inspect event metadata, or arm and disarm alarms with appropriate care.
Why use it?
It helps avoid unsafe diagnostics and accidental changes in a real space. It also keeps checks focused on metadata, such as device status and event times, rather than retrieving footage or audio.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the unifi-mcp-server plugin — 36 skills, 17 commands, 4 agents, 2 MCP servers shipped together

Good fit Use it to check device health, configure Protect devices, inspect event metadata, or arm and disarm alarms with appropriate care.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/enuno/unifi-mcp-server/unifi-protect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add enuno/unifi-mcp-server --skill unifi-protect
Clone the repo
git clone --depth 1 https://github.com/enuno/unifi-mcp-server

Made for: Claude Code.

Or install unifi-mcp-server, the plugin that ships this one along with the rest of its 36 skills, 17 commands, 4 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unifi-protect

README.md
[![agentmods](https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect/github.svg)](https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect)
Your own site
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unifi-protect

Your own site · 80×15
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,086 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02086
Opus 5.5 $0.00025 $0.00834
Sonnet 5.5 $0.00012 $0.00417
Haiku 4.5 $0.00006 $0.00209

Measured today against content hash ac91b466007a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unifi-protect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/unifi-protect/SKILL.md · 188 lines

How it starts

The opening of the file, as written. The whole thing — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UniFi Protect Operations

Protect tools talk to the Protect integration API on the local console. They need local API mode and a console with Protect enabled.

Privacy and safety first

Protect manages cameras, microphones and alarm outputs in real spaces.

  • Recorded media is out of scope for these tools. The inventory and event tools report metadata: device state, event type, timestamp. They do not fetch footage, snapshots or audio. If a task needs the recording, it needs a workflow that is explicitly authorised for it.
  • Never retrieve media as a diagnostic. Event metadata answers "did the camera fire" without touching what it saw.
  • Alarming and disarming are disruptive. enable_protect_alarm and disable_protect_alarm change the state of a live space. Confirm the scope before running them, and never arm a profile as a way of testing it.
  • Output tools cause noise. play_protect_siren, test_protect_siren_sound, test_protect_speaker_sound and trigger_protect_alarm_hub_output make noise in an occupied space. Do not run them to check that a device works.
  • A camera's field of view is a security boundary. Widening it with update_protect_device may record somewhere it did not before.

Device inventory

Tool Answers
list_protect_devices Every Protect device the console exposes
list_protect_cameras The cameras
list_protect_nvrs The NVRs and consoles
list_protect_alarm_hubs The alarm hubs
list_protect_sensors The sensors
list_protect_chimes The chimes
list_protect_sirens The sirens
list_protect_lights The lights
list_protect_fobs The fobs
list_protect_bridges The bridges
list_protect_link_stations The link stations
get_protect_device One device in full, by id

list_protect_devices is the one to start with: it is the widest view and it tells you which specific device is in which state.

Per-device getters (get_protect_camera, get_protect_sensor, get_protect_relay, get_protect_siren, get_protect_speaker, get_protect_light, get_protect_chime, get_protect_fob, get_protect_bridge, get_protect_link_station, get_protect_alarm_hub) read one device's full configuration.

Read the full file on GitHub · 188 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed ac91b466007a
  2. 9d ago Changed b4fdf5fd7892
  3. 11d ago Changed · +7 lines 0b63409c9a8e
  4. 19d ago Changed 1a3e77e159f2
  5. 1mo ago First seen · 181 lines · 62 tokens per session scan A f305a8e9c77e

Subscribe to this mod's changes

unifi-protect is a skill published in the GitHub repository enuno/unifi-mcp-server (395 stars, last pushed today), licensed Apache-2.0. It adds 62 tokens to every session and 2,086 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.

Related

unifi-protect compared with skills from other repositories

unifi-protect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unifi-protectenuno/unifi-mcp-serverSkill395todayApache-2.0A62Claude Code
gke-compute-classesgoogle/skillsSkill25ktodayApache-2.0A83Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill4.2ktodayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k14d agoMITA113Claude Code, Codex
hsb-flashNVIDIA/skillsSkill4.2ktodayApache-2.0B94Claude Code
jetson-validate-imageNVIDIA/skillsSkill4.2ktodayApache-2.0B50Claude Code, Codex