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.
npx skills add baileywickham/unifi-cli --skill unifi-cligit clone --depth 1 https://github.com/baileywickham/unifi-cliWrote 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.
[](https://agentmods.dev/skills/baileywickham/unifi-cli/unifi-cli)<a href="https://agentmods.dev/skills/baileywickham/unifi-cli/unifi-cli"><img src="https://agentmods.dev/badge/skills/baileywickham/unifi-cli/unifi-cli/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.
<a href="https://agentmods.dev/skills/baileywickham/unifi-cli/unifi-cli"><img src="https://agentmods.dev/badge/skills/baileywickham/unifi-cli/unifi-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01292 |
| Opus 5.5 | $0.00020 | $0.00517 |
| Sonnet 5.5 | $0.00010 | $0.00258 |
| Haiku 4.5 | $0.00005 | $0.00129 |
Grade B, and why
unifi-cli scanned grade B with 1 finding 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 13d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
(applies at the client's next DHCP renewal; on a Mac `sudo ipconfig set en0 DHCP` How it starts
The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
unifi-cli
CLI for the UniFi Network Integrations API on a local UniFi gateway (Cloud Gateway Ultra, UDM, UDR, etc.).
Prerequisites
-
unifiis on PATH.bun linkinstalls it to~/.bun/bin, which is not on PATH when Bun came from Homebrew — try~/.bun/bin/unifibefore assuming it's missing. If it isn't installed, install it (requires Bun):git clone https://github.com/baileywickham/unifi-cli cd unifi-cli && bun install && bun link -
API key in
UNIFI_API_KEYor~/.config/unifi-cli/config.json. If missing, the CLI prints setup instructions — relay them to the user instead of guessing. (Keys must be created in the gateway's local web UI, not unifi.ui.com — the CLI's error output and the repo README explain this.)
Commands
Prefer --json when you need to parse the output.
unifi devices --json # all UniFi hardware: model, IP, state
unifi device <name|id> # one device: detail + uptime/cpu/memory
unifi clients [--wired|--wireless] [--all] # connected clients (--all: plus known offline ones)
unifi client <name|ip|mac> # one client + its DHCP reservation; falls back to
# known offline clients with first/last seen
unifi client fixed-ip <client> <ip|off> [--name label] # DHCP reservation (write action)
unifi radios [<device>] # AP radios: band, channel/width (configured vs now), tx power
unifi radio set <device> <2.4|5|6> [--width N] [--channel N|auto] [--tx-power low|medium|high|auto] # (write action)
unifi neighbors [--band 5] [--hours 24] # neighboring networks per channel, as the APs hear them
unifi smartq # Smart Queues (SQM) on/off and rates per WAN
unifi smartq set <down Mbps> <up Mbps> | off [--wan name] # (write action)
unifi portforwards # port-forward rules: enabled, proto, port, target, source
unifi portforward enable|disable <name|id> # (write action)
unifi upnp # UPnP / NAT-PMP on or off
unifi networks # networks: VLAN, subnet, isolated
unifi network create <name> --vlan N --subnet 192.168.20.1/24 [--isolate] # (write action)
unifi wifis # SSIDs and the network each is on
unifi wifi create <ssid> --network <name> [--band 2.4|5|6|both] [--passphrase P] # (write action)
unifi wifi passphrase <ssid> [--passphrase P] # (write action)
unifi sites # sites (usually just "default")
unifi info # network application version
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.
- 13d ago Changed · +5 lines 8c4766a1e349
- 14d ago Changed · +9 lines c9f722b5e27b
- 20d ago Changed · +8 lines d19fb00478ec
- 22d ago Changed · +5 lines 2c3eae869b43
- 1mo ago Changed · +5 lines scan A → B 7e6fa9c88487
- 1mo ago First seen · 46 lines · 49 tokens per session scan A 440184a066c8
unifi-cli is a skill published in the GitHub repository baileywickham/unifi-cli (3 stars, last pushed 14d ago), licensed MIT. It adds 49 tokens to every session and 1,292 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
telephony-and-conferencing
Runs voice and meeting infrastructure — phone systems and numbers, emergency calling obligations, conference rooms and their AV, call recording and its retention consequences, and the porting that makes provider changes go badly. Use this to replace a phone system, fix rooms nobody can start a meeting in, meet…
endpoint-management
Manages laptops, desktops and mobile devices — enrollment, configuration, patching, software distribution, and lost or compromised devices. Use this to set up device management, standardize builds, roll out software or an OS upgrade, handle a lost device, or bring an unmanaged fleet under control.
addin-operations
TIA Portal Add-In development in Visual Studio Code: creating Add-In C# projects, adding Add-In templates, compiling and debugging Add-Ins, converting Add-Ins from older TIA Portal versions and configuring Add-In project parameters.
tia-plc-operations
C# Openness implementation of PLC software engineering.
tia-sivarc
C# TIA Portal Openness V21 automation for SIMATIC Visualization Architect (SiVArc): rule tables, rules and groups, library instances, tag/text definitions, tag member settings, expression resolution, layout exchange, definition upgrade, and generation.
tia-testsuite
TIA Portal V21 Test Suite operations. Use for Application Tests with PLCSIM, Style Guide rules, System Tests through OPC UA, import/scope management, execution, and recursive result evaluation.