unifi-docs-sync

unifi-docs-sync is a skill for Claude Code from enuno/unifi-mcp-server. It costs 65 tokens per session (2,187 once invoked), scanned B, original, Apache-2.0.

A checklist for keeping an MCP server's tools, agent description, prompts, and documentation aligned. An MCP server exposes callable tools, while an agent card describes its capabilities to other software.

In plain words
What is it for?
Use it when adding, changing, or removing tools, prompts, agent capabilities, deployment exposure, or related API and README documentation.
Why use it?
Changing one public capability in only one place can make the server and its documentation disagree. The checklist identifies the registry as the source to inspect before updating the other surfaces.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/elvis/projects/unifi-mcp-server-prompts.

Part of the unifi-mcp-server plugin — 36 skills, 17 commands, 4 agents, 2 MCP servers shipped together

Good fit Use it when adding, changing, or removing tools, prompts, agent capabilities, deployment exposure, or related API and README documentation.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add enuno/unifi-mcp-server
Claude Code
/plugin install unifi-mcp-server

Made for: Claude Code.

Or install unifi-mcp-server, the plugin that ships this one along with the rest of its 36 skills, 17 commands, 4 agents, 2 MCP servers.

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-docs-sync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-docs-sync"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-docs-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,187 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00065 $0.02187
Opus 5.5 $0.00026 $0.00875
Sonnet 5.5 $0.00013 $0.00437
Haiku 4.5 $0.00006 $0.00219

Measured 1mo ago against content hash 1004e406d1eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

unifi-docs-sync 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 1mo 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

for dir in .claude/skills .agents/skills; do
skills/unifi-docs-sync/SKILL.md · 230 lines

How it starts

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

Keeping Tools, A2A, Prompts and Docs in Sync

The repository exposes the same capability surface in four places. They are derived from the tool registry, but each one is a separate artifact, and each can drift. This skill is the checklist for keeping them aligned.

The four surfaces

Surface Source of truth Artifact
MCP tools src/tool_registry.py registration Live at runtime
A2A agent card src/a2a/capabilities.py (the live registry) agent-card.json
Native MCP prompts src/prompts/catalog.py Live at runtime
Documentation API.md, README.md, skills/ Files

The rule that keeps them aligned: never write a tool name into a document from memory. Read it from the registry.

Read the real tool inventory

unset PYTHONPATH; cd /home/elvis/projects/unifi-mcp-server-prompts
UNIFI_API_KEY=*** UNIFI_API_TYPE=local UNIFI_LOCAL_HOST=192.0.2.1 \
AGNOST_ENABLED=false ./.venv/bin/python -c "
import src.main as M
tools = sorted(
    k[5:].split('@', 1)[0]
    for k in M.mcp._local_provider._components
    if k.startswith('tool:')
)
print(len(tools))
print('\n'.join(tools))"

The count differs by mode and profile. Local mode registers 343 tools; the cloud modes register 71. Check the mode you are documenting.

The risk tier of each tool is in src/tool_registry.py:TOOL_TIERS, filled at registration. It is what the server authorizes against, so a document that calls a tool read-only when the registry says write is wrong.

When you add a tool

  1. Implement it in the right src/tools/ module, with @read_tool or @write_tool. register_module_tools refuses a tool with no declaration, so this is not optional.
  2. Give a write tool a confirm parameter and, where the operation can be previewed, a dry_run parameter. The wrapper enforces confirm; the dry_run gate is what makes a preview possible.
  3. Check the tests. tests/unit/test_tool_declarations.py walks the call graph of every read tool and fails if one reaches a post, put, patch or delete.
  4. Add it to API.md under the right category, with its parameters.
  5. Add it to the right skill under skills/. The operator skills cover the tool surface; the developer skills cover the module mechanics.
  6. If it is a new module, add it to the profile lists in src/tool_registry.py and to the module map in the developer skill.
  7. Regenerate the agent card if the tool surface changed:

Read the full file on GitHub · 230 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. 1mo ago First seen · 230 lines · 65 tokens per session scan B 1004e406d1eb

Subscribe to this mod's changes

unifi-docs-sync is a skill published in the GitHub repository enuno/unifi-mcp-server (395 stars, last pushed today), licensed Apache-2.0. It adds 65 tokens to every session and 2,187 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.

Related

unifi-docs-sync compared with skills from other repositories

unifi-docs-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
unifi-docs-syncenuno/unifi-mcp-serverSkill395todayApache-2.0B65Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code