unifi-drive

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

A tool for reading and managing storage on a UniFi NAS, a network-connected storage device. It covers storage pools, RAID state, disk health, shared drives, file services, and NFS client connections, with writes previewed first.

In plain words
What is it for?
Use it for NAS capacity checks, disk and RAID health, SMB or NFS services, Time Machine support, and NFS mounts.
Why use it?
It gives an agent a structured way to inspect NAS health and capacity and to make storage-service changes more cautiously.

Skill for Claude Code

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

Part of the unifi-drive plugin — 2 skills shipped together

Good fit Use it for NAS capacity checks, disk and RAID health, SMB or NFS services, Time Machine support, and NFS mounts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sirkirby/unifi-mcp/unifi-drive
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,150 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 unifi-drive
Clone the repo
git clone --depth 1 https://github.com/sirkirby/unifi-mcp

Made for: Claude Code.

Or install unifi-drive, the plugin that ships this one along with the rest of its 2 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 unifi-drive

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sirkirby/unifi-mcp/unifi-drive"><img src="https://agentmods.dev/badge/skills/sirkirby/unifi-mcp/unifi-drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,104 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.00083 $0.01104
Opus 5.5 $0.00033 $0.00442
Sonnet 5.5 $0.00017 $0.00221
Haiku 4.5 $0.00008 $0.00110

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

Security

Grade A, and why

unifi-drive 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 yesterday.

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.

plugins/unifi-drive/skills/unifi-drive/SKILL.md · 92 lines

How it starts

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

UniFi Drive

Dependencies

Requires: drive Optional: none

The NAS is its own console

This server talks to UniFi Drive on the NAS itself, a separate UniFi OS console from the gateway, logged in with a local account on that NAS. It is not reached through the Network application, and its IDs are scoped to the Drive tool family — do not pass them to Network, Protect or Access tools.

Drive has no startup login. The server starts without contacting the NAS, and the first tool call logs in, so a running server proves nothing about the host or password. When the first read fails to log in, stop and use unifi-drive-setup. A server offering only its setup-status tool has no host configured.

Discover and read

It provides 22 domain tools, plus 6 meta-tools. Eighteen domain tools read and four write. In default lazy mode, start with drive_tool_index, filtered by name or search, and request include_schemas=True for the intended tool. Use drive_execute with its tool and arguments fields when the domain tool is not directly listed. drive_batch runs several calls as jobs, reads side by side and writes one at a time; drive_batch_status and drive_batch_cancel follow and withdraw its jobs, and drive_load_tools loads selected tools for clients that handle tool-list changes.

Read the tool reference for all twenty-two tools before constructing a call. drive_list_disks hides empty bays unless called with include_empty=true. Shared drive IDs from drive_list_shared_drives are what the NFS tools take.

  • drive_list_logs reads newest first. Pass its next_cursor back as cursor with the same filters for the next page. An unknown category or type is an error, not an empty log.
  • drive_get_disk_stats summarizes each disk over the window. Leave include_samples off unless per-bucket values are needed: they add about 12 KB per disk per day.
  • drive_list_snapshots takes a shared drive's name, not its ID. Scheduled snapshots have no name; their description (Scheduled Snapshot) identifies them.
  • drive_list_users gives each user's access level: owner, admin (any role) or user.

Read the full file on GitHub · 92 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · +12 lines 9d9e06cb42b0
  2. 4d ago First seen · 80 lines · 83 tokens per session scan A a78d89186a39

Subscribe to this mod's changes

unifi-drive is a skill published in the GitHub repository sirkirby/unifi-mcp (1,150 stars, last pushed today), licensed MIT. It adds 83 tokens to every session and 1,104 once invoked, about $0.0003 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-11-26.

Related

unifi-drive compared with skills from other repositories

unifi-drive next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unifi-drivesirkirby/unifi-mcpSkill1.1ktodayMITA83Claude Code
streamdeck-designerverygoodplugins/streamdeck-mcpSkill556d agoMITA167Claude Code, Codex
streamdeck-profileverygoodplugins/streamdeck-mcpSkill556d agoMITA0Claude Code, Codex
unifi-udm-pro-mcprodolfoconcepcion/unifi-udm-pro-mcpSkill514d agoMITA35Claude Code, Codex
unifi-networkgordcurrie/unifi-mcpSkill21mo agoMITA111Claude Code, Codex
audit-erc-drc-and-safetyw1ne/labwired-coreSkill210todayMITA49Claude Code
export-kicad-and-bomw1ne/labwired-coreSkill210todayMITA51Claude Code