Agent skill

Source Command Unifi MCP Update Docs

by enuno in enuno/unifi-mcp-server

Auto-generate and update API.md documentation from tool docstrings

Apache-2.0Auto-check passedDevelopment

Install Source Command Unifi MCP Update Docs

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

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

GitHub CLI
$ gh skill install enuno/unifi-mcp-server source-command-unifi-mcp-update-docs --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-mcp-update-docs .claude/skills/source-command-unifi-mcp-update-docs && 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-mcp-update-docs
GitHub stars
282
Token cost
~899 tokens
SKILL.md length
307 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Auto-generate and update API.md documentation from tool docstrings

  • Works in 7 steps: Discover all MCP tools → Discover all MCP resources → Categorize tools by functionality → …
  • Tasks that involve Technical documentation
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve MCP servers

What it does

Source Command Unifi MCP Update Docs is an agent skill from enuno/unifi-mcp-server. Auto-generate and update API.md documentation from tool docstrings

Its SKILL.md is about 900 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 and MCP servers. It works with Model Context Protocol. 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
  • Tasks that involve MCP servers

Example prompts

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

Workflow steps

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

  1. Discover all MCP tools
  2. Discover all MCP resources
  3. Categorize tools by functionality
  4. Read current API.md to preserve
  5. Generate updated documentation
  6. Update API.md
  7. Validate documentation

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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 MCP Update Docs loads about 899 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 307 words of instructions outside code blocks.

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

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). 307 words, ~899 tokens.

Download SKILL.mdSave it as .claude/skills/source-command-unifi-mcp-update-docs/SKILL.md (or your agent's skills folder).
name
source-command-unifi-mcp-update-docs
description
Auto-generate and update API.md documentation from tool docstrings

source-command-unifi-mcp-update-docs

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

Command Template

Automatically generate and update API.md documentation from tool docstrings and code.

This command scans all MCP tools and resources, extracts documentation from code, and updates API.md to ensure it stays in sync with the implementation.

Steps to execute:

  1. Discover all MCP tools:

    • Scan src/tools/ directory for all tool modules
    • Import each module and extract tool functions
    • Parse docstrings to get:
      • Description
      • Parameters with types and descriptions
      • Return values
      • Raises (errors)
      • Example usage
  2. Discover all MCP resources:

    • Scan src/resources/ directory for resource handlers
    • Extract resource URI templates
    • Document available operations (list, read, subscribe)
  3. Categorize tools by functionality:

    • Site Management
    • Device Operations
    • Client Management
    • Network Configuration
    • WiFi/WLAN Management
    • Firewall & Security
    • Port Forwarding
    • DPI (Deep Packet Inspection)
    • Zone-Based Firewall
    • Traffic Flows
    • Vouchers
    • Webhooks
  4. Read current API.md to preserve:

    • Overview and introduction sections
    • Authentication details
    • Rate limiting information
    • Error handling guide
    • Custom examples or notes
  5. Generate updated documentation:

    • Table of contents with all categories

    • Tool documentation for each category:

      markdown
      ### tool_name
      
      **Description:** Brief description
      
      **Parameters:**
      - `param1` (type): Description
      - `param2` (type, optional): Description
      
      **Returns:** Return value description
      
      **Example:**
      ```json
      {
        "tool": "tool_name",
        "arguments": {
          "param1": "value1"
        }
      }
  6. Update API.md:

    • Preserve manual sections (overview, auth, errors)
    • Replace tool documentation sections
    • Add new tools that aren't documented
    • Remove documentation for deleted tools
    • Update version number and last updated date
  7. Validate documentation:

    • Check for missing descriptions
    • Verify all parameters are documented
    • Ensure examples are valid JSON
    • Check for broken internal links

Report back with:

  • Number of tools documented
  • Number of resources documented
  • Tools added to documentation
  • Tools removed from documentation
  • Tools with incomplete documentation
  • Summary of changes made
  • Validation results

Example output:

Documentation Update Complete!

Tools Documented: 40
Resources Documented: 4

Changes:
✓ Added documentation for 2 new tools:
  - create_traffic_flow_rule
  - update_zbf_matrix
✓ Updated 5 tool descriptions
✓ Removed 1 deprecated tool: old_firewall_rule
⚠ Warning: 3 tools missing example usage:
  - get_device_stats
  - list_dpi_restrictions
  - create_port_forward

Categories:
- Site Management: 3 tools
- Device Operations: 6 tools
- Client Management: 5 tools
- Network Configuration: 4 tools
- WiFi/WLAN: 4 tools
- Firewall & Security: 8 tools
- Zone-Based Firewall: 5 tools
- Traffic Flows: 3 tools
- Other: 2 tools

API.md updated successfully!
Last updated: 2025-01-15

Safety checks:

  • Never expose credentials in examples
  • Use placeholder values for sensitive data
  • Preserve existing manual documentation
  • Create backup before major changes

© 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-mcp-update-docs of enuno/unifi-mcp-server.

Open the folder on GitHubat commit f0801c7

Compare with similar skills

Source Command Unifi MCP Update Docs 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 MCP Update Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Source Command Unifi MCP Update Docs this skillenuno/unifi-mcp-server282—~899Automated safety check: PassApache-2.0
Typescript Styletjx666/vscode-mcp106—~961Automated safety check: PassCustom licence
Githits MCPgithits-com/githits-cli114—~2kAutomated safety check: PassApache-2.0
Doc Freshness ReviewTencentCloudBase/CloudBase-AI-Toolkit1.1k—~1.1kAutomated safety check: PassMIT
Library Documentation Seekerwithkynam/vibecode-pro-max-kit1.1k2 repos~1kAutomated safety check: NotesMIT
Dashclaw Shipucsandman/DashClaw310—~7.2kAutomated safety check: PassMIT

Similar skills

  • Typescript Style

    tjx666/vscode-mcp

    TypeScript code style and repo conventions for VSCode MCP — inference vs explicit types, ESM import suffixes, zod schema contracts, async VSCode/Node APIs, JSON-safe IPC results, JSDoc for public…

    106 GitHub stars~961 tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Githits MCP

    githits-com/githits-cli

    Route public OSS code, documentation, examples, and package questions to GitHits tools.

    114 GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Doc Freshness Review

    TencentCloudBase/CloudBase-AI-Toolkit

    A skill your agent uses when auditing repository documentation for drift, stale statements, broken references, or README mismatches, especially across published docs under doc/ and key entry…

    1.1k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Library Documentation Seeker

    withkynam/vibecode-pro-max-kit

    Looks up library and framework documentation through Context7 first, with bundled Node scripts as a fallback that fetch and analyze llms.txt files.

    1.1k GitHub starsUsed in 2 repos~1k tokens
    DevelopmentAuto-check: notes
  • Dashclaw Ship

    ucsandman/DashClaw

    The single command that gets a DashClaw change ON MAIN AND LIVE — it resolves everything blocking production, never defers, and never hands back a checklist.

    310 GitHub stars~7.2k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Score Harness

    ruvnet/metaharness

    5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness.

    690 GitHub stars~613 tokensUpdated yesterday
    DevelopmentAuto-check passed

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

Questions about Source Command Unifi MCP Update Docs

What does Source Command Unifi MCP Update Docs do?

Auto-generate and update API.md documentation from tool docstrings. Source Command Unifi MCP Update Docs is an agent skill from enuno/unifi-mcp-server.

When should I use Source Command Unifi MCP Update Docs?

Source Command Unifi MCP Update Docs fits situations like: tasks that involve Technical documentation; tasks that involve MCP servers.

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

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

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

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

Can I use Source Command Unifi MCP Update Docs 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-mcp-update-docs -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-mcp-update-docs, .gemini/skills/source-command-unifi-mcp-update-docs, .github/skills/source-command-unifi-mcp-update-docs and .opencode/skills/source-command-unifi-mcp-update-docs in your project.

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

SKILL.md names no scripts, command-line tools or credentials: Source Command Unifi MCP Update Docs is instructions for the agent only.

Does Source Command Unifi MCP Update Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Source Command Unifi MCP Update Docs 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 MCP Update Docs use?

Source Command Unifi MCP Update Docs 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 MCP Update Docs use?

About 899 tokens (SKILL.md is roughly 3.6k 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 MCP Update Docs?

Skills that share tags, products or a category with Source Command Unifi MCP Update Docs: Typescript Style (tjx666/vscode-mcp, 106 stars), Githits MCP (githits-com/githits-cli, 114 stars), Doc Freshness Review (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars) and Library Documentation Seeker (withkynam/vibecode-pro-max-kit, 1.1k 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 MCP Update Docs?

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.