unifi-mcp-server: Skill for Claude Code

.agents/skills/unifi-protect-tools/SKILL.md

unifi-protect-tools is a skill for Claude Code, Codex from enuno/unifi-mcp-server. It costs 61 tokens per session (1,756 once invoked), scanned A, original, Apache-2.0.

A developer guide for adding, changing, and testing UniFi Protect tools for local security and building devices. UniFi Protect is UniFi's system for managing cameras, alarms, lights, door-access devices, and recording hardware.

In plain words
What is it for?
Use it when working on tools for cameras, alarms, alarm hubs, bridges, lights, chimes, key fobs, recording devices, events, or Protect hardware.
Why use it?
It documents the Protect API paths, data models, safe write and preview patterns, test fixtures, and known API gaps. This helps changes match the existing system rather than relying on assumptions about device behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is enuno/unifi-mcp-server's own configuration. It tells Claude Code and Codex how to work on unifi-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything unifi-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to enuno/unifi-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/enuno/unifi-mcp-server/main/.agents/skills/unifi-protect-tools/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/enuno/unifi-mcp-server

Made for: Claude Code, Codex.

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-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect-tools/github.svg)](https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect-tools)
Your own site
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect-tools"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect-tools/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-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-protect-tools"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-protect-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,756 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.00061 $0.01756
Opus 5.5 $0.00024 $0.00702
Sonnet 5.5 $0.00012 $0.00351
Haiku 4.5 $0.00006 $0.00176

Measured 4d ago against content hash 8e5286b30714, 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-tools 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 4d ago.

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.

.agents/skills/unifi-protect-tools/SKILL.md · 106 lines

How it starts

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

UniFi Protect Tools

Protect tools talk to the Protect integration API on the local console. Read this before you add or change a tool in any src/tools/protect_*.py module. For the general add-a-tool workflow, see unifi-mcp-tool-builder.

Module map

15 modules, 72 functions, 71 registered tool names.

Module Tools Examples
src/tools/protect_alarm.py 8 list_protect_arm_profiles, set_current_protect_arm_profile, disable_protect_alarm
src/tools/protect_alarm_hubs.py 4 list_protect_alarm_hubs, update_protect_alarm_hub
src/tools/protect_bridges.py 3 get_protect_bridge, update_protect_bridge
src/tools/protect_cameras.py 2 list_protect_cameras, get_protect_camera
src/tools/protect_devices.py 13 list_protect_devices, update_protect_light, get_protect_chime
src/tools/protect_events.py 7 list_protect_events, send_protect_alarm_webhook
src/tools/protect_fobs.py 3 update_protect_fob
src/tools/protect_link_stations.py 3 update_protect_link_station
src/tools/protect_nvr.py 2 list_protect_nvrs, get_protect_nvr
src/tools/protect_pos.py 1 ingest_pos_transaction
src/tools/protect_relays.py 4 update_protect_relay, activate_protect_relay_output
src/tools/protect_sirens.py 6 play_protect_siren, stop_protect_siren
src/tools/protect_speakers.py 4 update_protect_speaker
src/tools/protect_users.py 4 list_protect_users, list_protect_ulp_users
src/tools/protect_views.py 8 get_protect_meta_info, create_protect_live_view

MCP resources for Protect are in src/resources/protect.py. The raw connector_protect_* proxy tools are in src/tools/connector.py and belong to the cloud tool set.

Registration

  • Every public async def in the module is a tool (register_module_tools() in src/tool_registry.py). Name helpers with a leading _.
  • Protect modules are in _LOCAL_TOOL_MODULES only (src/main.py). They do not exist in cloud modes.
  • A new module goes into three places in src/main.py: _LOCAL_TOOL_MODULES, the protect profile and the system profile.
  • Protect reads are not cached. Protect modules are not in CACHED_MODULES (src/cache.py).

Read the full file on GitHub · 106 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. 4d ago Changed · -1 lines 8e5286b30714
  2. 9d ago First seen · 107 lines · 61 tokens per session scan A 3676ea44630e

Subscribe to this mod's changes

unifi-protect-tools is a skill published in the GitHub repository enuno/unifi-mcp-server (308 stars, last pushed 4d ago), licensed Apache-2.0. It adds 61 tokens to every session and 1,756 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-15.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

holoscan-install-wheel

Install Holoscan SDK 5.x CUDA 13 Python wheels in an isolated environment, choosing the full stack or version-matched components.

NVIDIA/skills · 34 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens