Agent skill

Source Command Unifi API Docs Update

by enuno in enuno/unifi-mcp-server

Update UNIFIAPI.md with latest endpoints from developer.ui.com

Apache-2.0Auto-check passedDevelopment

Install Source Command Unifi API Docs Update

skills CLI
$ npx skills add enuno/unifi-mcp-server --skill source-command-unifi-api-docs-update -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install enuno/unifi-mcp-server source-command-unifi-api-docs-update --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/enuno/unifi-mcp-server.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/source-command-unifi-api-docs-update .claude/skills/source-command-unifi-api-docs-update && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
source-command-unifi-api-docs-update
GitHub stars
282
Token cost
~1k tokens
SKILL.md length
331 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Update UNIFIAPI.md with latest endpoints from developer.ui.com

  • Works in 4 steps: Verify dependencies are installed → Run the API documentation updater → Review the changes → …
  • Tasks that involve Technical documentation
  • Calls npm, node and git; reaches developer.ui.com

What it does

Source Command Unifi API Docs Update is an agent skill from enuno/unifi-mcp-server. Update UNIFIAPI.md with latest endpoints from developer.ui.com

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Technical documentation. The repository describes itself as: An MCP server that leverages official UniFi API. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Technical documentation

Example prompts

  • “/source-command-unifi-api-docs-update”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Verify dependencies are installed
  2. Run the API documentation updater
  3. Review the changes
  4. Show summary

What it can do on your machine

Read from SKILL.md and the folder at commit f0801c7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • node
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • developer.ui.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Source Command Unifi API Docs Update loads about 1k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 331 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from enuno/unifi-mcp-server at commit f0801c7, republished under its Apache-2.0 licence (© enuno). 331 words, ~1,040 tokens.

Download SKILL.mdSave it as .claude/skills/source-command-unifi-api-docs-update/SKILL.md (or your agent's skills folder).
name
source-command-unifi-api-docs-update
description
Update UNIFI_API.md with latest endpoints from developer.ui.com

source-command-unifi-api-docs-update

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

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:

    bash
    npm list puppeteer

    If not installed, run: npm install puppeteer

  2. Run the API documentation updater:

    bash
    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:

    bash
    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

Expected output:

🔍 UniFi API Documentation Updater

Loading existing documentation...
✓ Loaded (42243 characters)

Processing Site Manager v1.0.0...
  Loading https://developer.ui.com/site-manager/v1.0.0/gettingstarted...
  ✓ Found 11 endpoints
  → 4 new endpoints found
    Extracting: Query ISP Metrics...
    Extracting: List SD-WAN Configs...
    Extracting: Get SD-WAN Config by ID...
    Extracting: Get SD-WAN Config Status...

Processing Network v10.1.68...
  Loading https://developer.ui.com/network/v10.1.68/gettingstarted...
  ✓ Found 74 endpoints
  → 3 new endpoints found
    Extracting: Adopt Devices...
    Extracting: List DPI Application Categories...
    Extracting: Quick Start...

Processing Protect v6.2.83...
  Loading https://developer.ui.com/protect/v6.2.83/gettingstarted...
  ✓ Found 41 endpoints
  → 36 new endpoints found
    Extracting: Get application information...
    Extracting: Get viewer details...
    [... more endpoints ...]

Generating updated documentation...
✓ Updated documentation saved to: docs/UNIFI_API.md

📊 Summary:
  Site Manager: +4 new endpoints
  Network: +3 new endpoints
  Protect: +36 new endpoints

✅ Complete!

Report back with:

  • Number of new endpoints discovered per API product
  • Total lines added to documentation
  • Any errors or warnings during extraction
  • Git diff statistics showing the changes

Safety checks:

  • Script only adds new endpoints, never removes existing content
  • All official API URLs are hardcoded (no user input)
  • Runs in headless mode (no manual interaction needed)
  • Timeout handling for slow pages
  • Error handling to skip problematic endpoints

Notes:

  • The script uses Puppeteer to scrape public documentation (no authentication required)
  • First run may take 2-3 minutes depending on network speed
  • Subsequent runs will be faster as most endpoints are already documented
  • Script is safe to run multiple times (idempotent)

© enuno, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/source-command-unifi-api-docs-update of enuno/unifi-mcp-server.

Open the folder on GitHubat commit f0801c7

Compare with similar skills

Source Command Unifi API Docs Update next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Source Command Unifi API Docs Update compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Source Command Unifi API Docs Update this skillenuno/unifi-mcp-server282—~1kAutomated safety check: PassApache-2.0
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Get API Docs with chubandrewyng/context-hub14k2 repos~775Automated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes

More from enuno/unifi-mcp-server

All 12 skills in this repo
  • Unifi

    enuno/unifi-mcp-server

    Manage UniFi network infrastructure via the UniFi MCP Server.

    282 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Unifi MCP Tool Builder

    enuno/unifi-mcp-server

    Specialized guide for adding new MCP tools to the UniFi MCP Server following project standards, UniFi API patterns, and test-driven development practices.

    282 GitHub stars~5.8k tokensUpdated today
    Auto-check passed
  • Source Command Unifi MCP Add Tool

    enuno/unifi-mcp-server

    Scaffold a new UniFi MCP tool with model, function, tests, and docs

    282 GitHub stars~748 tokensUpdated today
    Auto-check passed
  • Prepare a new release with version bump, changelog, and quality checks

    282 GitHub stars~939 tokensUpdated today
    Auto-check passed
  • Auto-generate and update API.md documentation from tool docstrings

    282 GitHub stars~899 tokensUpdated today
    Auto-check passed

Categories

Questions about Source Command Unifi API Docs Update

What does Source Command Unifi API Docs Update do?

Update UNIFIAPI.md with latest endpoints from developer.ui.com. Source Command Unifi API Docs Update is an agent skill from enuno/unifi-mcp-server.

When should I use Source Command Unifi API Docs Update?

Source Command Unifi API Docs Update fits situations like: tasks that involve Technical documentation.

How do I install Source Command Unifi API Docs Update in Claude Code?

Run `npx skills add enuno/unifi-mcp-server --skill source-command-unifi-api-docs-update -a claude-code`. Or copy the skill folder (.agents/skills/source-command-unifi-api-docs-update in enuno/unifi-mcp-server) into .claude/skills/source-command-unifi-api-docs-update in your project. Claude Code loads it when a task matches its description.

How do I install Source Command Unifi API Docs Update in Codex?

Run `npx skills add enuno/unifi-mcp-server --skill source-command-unifi-api-docs-update -a codex`. Or copy the skill folder (.agents/skills/source-command-unifi-api-docs-update in enuno/unifi-mcp-server) into .agents/skills/source-command-unifi-api-docs-update in your project. Codex loads it when a task matches its description.

Can I use Source Command Unifi API Docs Update in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add enuno/unifi-mcp-server --skill source-command-unifi-api-docs-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/source-command-unifi-api-docs-update, .gemini/skills/source-command-unifi-api-docs-update, .github/skills/source-command-unifi-api-docs-update and .opencode/skills/source-command-unifi-api-docs-update in your project.

What does Source Command Unifi API Docs Update need to run?

Going by SKILL.md and its folder, Source Command Unifi API Docs Update needs the command-line tools its instructions call (npm, node and git). Our summary lists: Node.js.

Does Source Command Unifi API Docs Update access the network?

SKILL.md names 1 domain. In commands or code: developer.ui.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Source Command Unifi API Docs Update safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Source Command Unifi API Docs Update use?

Source Command Unifi API Docs Update is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Source Command Unifi API Docs Update use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Source Command Unifi API Docs Update?

Skills that share tags, products or a category with Source Command Unifi API Docs Update: Diagram Design (cathrynlavery/diagram-design, 45k stars), Simple English (moeru-ai/airi, 50k stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Doc Sync (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Source Command Unifi API Docs Update?

enuno (a GitHub user) maintains it in enuno/unifi-mcp-server, which has 282 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.

Source: enuno/unifi-mcp-server on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.