security-patrol

security-patrol is a skill for Claude Code from sirkirby/unifi-mcp. It costs 60 tokens per session (1,393 once invoked), scanned A, original, MIT.

A security investigation workflow that combines UniFi Network, Protect, and Access events for a named area and time period.

In plain words
What is it for?
Use it to investigate entrances, doors, rooms, or other areas—for example, checking motion, badge scans, access denials, devices, and outages.
Why use it?
It turns separate activity records into a timeline, making it easier to see the order of events and notice unusual patterns.

Skill for Claude Code

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

Part of the unifi-intelligence plugin — 3 skills shipped together

Good fit Use it to investigate entrances, doors, rooms, or other areas—for example, checking motion, badge scans, access denials, devices, and outages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sirkirby/unifi-mcp/security-patrol
About the project

UniFi MCP is a set of MCP servers and a Graph API that let AI agents and other software manage UniFi Network, Protect, and Access systems; an MCP server exposes tools that a compatible client can call. It is for UniFi administrators building assistants, automations, custom applications, or remote integrations. The catalogue plugins package these servers with agent skills and setup guidance, while the listed skills support workflows across the UniFi products.

sirkirby/unifi-mcp · 1,152 stars · on GitHub · unifimcp.com

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 sirkirby/unifi-mcp --skill security-patrol
Clone the repo
git clone --depth 1 https://github.com/sirkirby/unifi-mcp

Made for: Claude Code.

Or install unifi-intelligence, the plugin that ships this one along with the rest of its 3 skills.

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 security-patrol

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sirkirby/unifi-mcp/security-patrol"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/security-patrol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,393 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00060 $0.01393
Opus 5.5 $0.00024 $0.00557
Sonnet 5.5 $0.00012 $0.00279
Haiku 4.5 $0.00006 $0.00139

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

Security

Grade A, and why

security-patrol 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/unifi-intelligence/skills/security-patrol/SKILL.md · 111 lines

How it starts

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

Security Patrol

Dependencies

Requires: worker Optional: network, protect, access

This skill needs the cloud worker. The cloud worker provides unifi_location_timeline through a connected relay; local product servers do not. Look for it in the client's tool list, which takes no tool call. If it is not listed, stop with no tool call at all and report “No merged timeline available: this skill needs the cloud worker.” You may offer separate local product reads in words, naming the tools you would use; make none until the user agrees, naming only the reads Safety allows, and give any you then make their own coverage labels.

Verify required tools through MCP discovery before collecting data; discovery alone does not prove controller connectivity or authorization. If a required server/tool is missing or a required read fails, stop and report it unavailable. Optional sources may be skipped only when the report visibly names the missing source and resulting coverage limits. Use the product setup skill for connection help; never request secrets.

The timeline collects Network and Protect evidence only; it reports Access as unsupported. Access door events come from a separate Access read, never from the timeline. Security Patrol needs at least one available product; a multi-product claim needs at least two. A timeline response alone does not establish complete source coverage.

Coverage and Limitations

Every report must include a Coverage and Limitations section: name each requested source and its status (available, unavailable, partial, or capped), requested time window/timezone or current-state collection time, actual filters, returned counts, limits, pagination, and any failed calls or unknown fields. Counts describe retrieved records, not totals unless completeness is established. A successful empty query is an observation; a failed or missing source is unavailable, never an empty result. If a limit is reached, label the source capped unless further bounded reads establish coverage. If completeness cannot be established, label it partial. Do not claim complete coverage, all-clear, or overall health from unavailable, partial, or capped data; say “No concerning activity found in the retrieved records” when appropriate.

Read the full file on GitHub · 111 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. 1mo ago Changed · +47 lines · +11 tokens per session ee57a3fb09c9
  2. 1mo ago Changed · +31 lines · +1 tokens per session 2326b2ac4790
  3. 3mo ago First seen · 33 lines · 48 tokens per session scan A 6bb7d1d4b1a6

Subscribe to this mod's changes

security-patrol is a skill published in the GitHub repository sirkirby/unifi-mcp (1,152 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 1,393 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-08-30.

Related

security-patrol compared with skills from other repositories

security-patrol next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-patrolsirkirby/unifi-mcpSkill1.2ktodayMITA60Claude Code
streamdeck-designerverygoodplugins/streamdeck-mcpSkill55yesterdayMITA167Claude Code, Codex
streamdeck-profileverygoodplugins/streamdeck-mcpSkill55yesterdayMITA0Claude Code, Codex
unifi-udm-pro-mcprodolfoconcepcion/unifi-udm-pro-mcpSkill515d agoMITA35Claude Code, Codex
audit-network-securitygordcurrie/unifi-mcpSkill21mo agoMITA81Claude Code, Codex
unifi-networkgordcurrie/unifi-mcpSkill21mo agoMITA111Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill289yesterdayApache-2.0A54Claude Code, Codex