unifi-mcp-server: Skill for Claude Code

.agents/skills/source-command-unifi-api-docs-update-2/SKILL.md

source-command-unifi-api-docs-update-2 is a skill for Claude Code, Codex from enuno/unifi-mcp-server. It costs 23 tokens per session (981 once invoked), scanned A, original, Apache-2.0.

A tool for downloading the latest UniFi API reference from Ubiquiti's developer website and updating the project's UNIFI_API.md file.

In plain words
What is it for?
Use it to discover new Site Manager, Network, and Protect API endpoints, update their Markdown reference, and review the resulting changes and examples.
Why use it?
It reduces the manual work of comparing official API changes with the project's existing endpoint documentation.

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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/update-api-docs.js.

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/source-command-unifi-api-docs-update-2/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 source-command-unifi-api-docs-update-2

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/source-command-unifi-api-docs-update-2"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/source-command-unifi-api-docs-update-2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00023 $0.00981
Opus 5 $0.00012 $0.00491
Sonnet 5 $0.00005 $0.00196
Haiku 4.5 $0.00002 $0.00098

Measured 9d ago against content hash 85a719a911ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

source-command-unifi-api-docs-update-2 scanned grade A 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Code examples (curl commands)
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/source-command-unifi-api-docs-update-2/SKILL.md · 135 lines

How it starts

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

source-command-unifi-api-docs-update-2

Use this skill when the user asks to run the migrated source command unifi-api-docs-update 2.

Command Template

Scrape the latest UniFi API documentation from developer.ui.com and update docs/UNIFI_API.md with newly discovered endpoints.

This command runs the scripts/update-api-docs.js Puppeteer-based scraper to fetch API documentation from the official UniFi developer site and compare it against the current documentation.

API Sources:

Steps to execute:

  1. Verify dependencies are installed:

    npm list puppeteer
    

    If not installed, run: npm install puppeteer

  2. Run the API documentation updater:

    node scripts/update-api-docs.js
    
  3. Review the changes:

    • Check how many new endpoints were discovered
    • Verify the markdown formatting is correct
    • Review the extracted examples and descriptions
  4. Show summary:

    git diff --stat docs/UNIFI_API.md
    

What the script does:

  1. Extracts endpoints from each API source:

    • Navigates to the getting started page
    • Discovers all endpoint links from the sidebar
    • Filters out non-API pages (getting started, guides, etc.)
  2. Compares with existing documentation:

    • Loads current docs/UNIFI_API.md
    • Checks if each endpoint is already documented
    • Identifies new endpoints to add
  3. Extracts detailed information for new endpoints:

    • HTTP method (GET, POST, PUT, PATCH, DELETE)
    • Endpoint path
    • Description
    • Code examples (curl commands)
    • Reference link to official docs
  4. Updates documentation:

    • Generates markdown sections for each API product
    • Adds new endpoints with proper formatting
    • Appends sections to existing documentation
    • Preserves all existing content

Read the full file on GitHub · 135 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. 9d ago First seen · 135 lines · 23 tokens per session scan A 85a719a911ac

Subscribe to this mod's changes

source-command-unifi-api-docs-update-2 is a skill published in the GitHub repository enuno/unifi-mcp-server (247 stars, last pushed 2d ago), licensed Apache-2.0. It adds 23 tokens to every session and 981 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ruview-cli-api

Use the RuView wifi-densepose CLI binary (incl. MAT scan/status/zones/survivors/alerts/export subcommands), the REST API (wifi-densepose-api, Axum), and the browser/WASM build (wifi-densepose-wasm, wifi-densepose-wasm-edge). Use when integrating RuView into another program, scripting it from the shell, exposing it…

ruvnet/RuView · 104 tokens

amazon-alexa

Integracao completa com Amazon Alexa para criar skills de voz inteligentes, transformar Alexa em assistente com Claude como cerebro (projeto Auri) e integrar com AWS ecosystem (Lambda, DynamoDB, Polly, Transcribe, Lex, Smart Home).

sickn33/agentic-awesome-skills · 53 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

jetson-customize-pcie

Per-controller PCIe enable / disable / lanes / link-speed for a Jetson Thor or Orin custom carrier via ODMDATA + kernel-DT overlay. Do NOT use for UPHY lane allocation or endpoint-mode bring-up.

NVIDIA/skills · 53 tokens

deepep-to-cam-converter

A code migration skill for replacing DeepEP communication operations with CAM operations when moving mixture-of-experts code from CUDA/NCCL to Ascend NPUs.

XiaoLuoLYG/GOD · 63 tokens

telnyx-iot-curl

Manage IoT SIM cards, eSIMs, data plans, and wireless connectivity. Use when building IoT/M2M solutions. This skill provides REST API (curl) examples.

team-telnyx/ai · 45 tokens