/unifi-intelligence:visitor-auditfrom UniFi Intelligence
Audits visitor activity by correlating Access door events with Network evidence from a cloud worker's timeline. Requires the cloud worker with a connected relay.
Ships in UniFi Intelligence. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Requires: access, worker Optional: network
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 and reports Access as
unsupported, so this audit never asks it for Access and never presents Access
records as timeline evidence. Access events come from the Access server's own
read-only event tool, listed directly by the Access server or the cloud worker;
when neither lists it directly, Access is unavailable. A timeline
response alone does not establish complete source coverage.
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.
State the two sources apart: the Access read with its filters, returned count and
limit; and the timeline's Network coverage (overall, coverage_complete, the
Network source's outcome and budgets.exhausted). The timeline's coverage says
nothing about Access.
Separate Observations (cite source/tool, record ID and timestamp when available), Hypotheses (correlations and alternative explanations), and Identity (only explicit source-backed credential/account attribution, with its limits). Timing, similar names, proximity, or absence of a matching event alone proves neither identity nor cause. A credential event identifies the recorded account, not who physically used it. Missing mappings or clock uncertainty limit correlations.
You are auditing visitor activity by setting recorded door access beside network evidence near the same doors.
readOnlyHint: true. Never use
*_execute or *_batch, even for a lookup: they are not read-only.unifi_get_incident_evidence for exact device MACs and
unifi_get_client_details by MAC.
Never offer to list devices, cameras, access points or doors, and never
reach for *_load_tools, *_execute or *_batch.resume_after) or another read; make it only after the
user says yes.Given a time window (e.g., "today", "this week"), you:
access_list_events(start="2026-08-08T13:00:00Z", end="2026-08-08T21:00:00Z", limit=500),
adding door_id for one door. When the returned count equals limit, label
the read capped and offer a narrower window.unifi_location_timeline(start="2026-08-08T09:00:00-04:00", end="2026-08-08T17:00:00-04:00", products=["network"], device_macs=["aa:bb:cc:00:10:01"]).
When record_selection.next_cursor is set, offer the same call with
resume_after set to it, and make it only after the user says yes.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/incident-investigationInvestigate one UniFi Network device incident (a switch, AP or gateway going offline, disconnecting or misbehaving) over an explicit, bounded time window, with Protect camera context, using only the local read-only evidence tools. Produces a cited report that states its coverage. Use when the user asks what happened to a Network device at a given time./security-patrolReview retrieved activity at one area in a given time window from the cloud worker's merged Network and Protect timeline, with Access door events read separately. Needs the cloud worker with a connected relay. Use when the user asks about activity at a door, entrance, room, or area.npx claudepluginhub sirkirby/unifi-mcp --plugin unifi-intelligenceOther plugins' skills for the same job