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 enuno/unifi-mcp-server --skill unifi-safe-changesgit clone --depth 1 https://github.com/enuno/unifi-mcp-serverWrote 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/enuno/unifi-mcp-server/unifi-safe-changes)<a href="https://agentmods.dev/skills/enuno/unifi-mcp-server/unifi-safe-changes"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-safe-changes/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/enuno/unifi-mcp-server/unifi-safe-changes"><img src="https://agentmods.dev/badge/skills/enuno/unifi-mcp-server/unifi-safe-changes.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.00063 | $0.01724 |
| Opus 5.5 | $0.00025 | $0.00690 |
| Sonnet 5.5 | $0.00013 | $0.00345 |
| Haiku 4.5 | $0.00006 | $0.00172 |
Grade A, and why
unifi-safe-changes 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -H "Authorization: Bearer $MCP_AUTH_TOKEN" \ How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Safe State Changes
Every write the server exposes is gated. This skill explains what each gate does, which of them is enforced in code and which is a convention, and how to make a change you can undo.
The four gates
They are independent. A change passes all four or it does not happen.
| Gate | Where | Enforced by |
|---|---|---|
| Role | The caller's token role must grant the tool's tier | src/access.py, checked in the tool wrapper |
confirm=True |
The caller must pass it explicitly | The tool wrapper, for every tool that takes a confirm parameter |
dry_run=True |
The caller can ask for a preview | The tool wrapper, for every tool that takes a dry_run parameter |
| Server mode | UNIFI_READ_ONLY and UNIFI_DRY_RUN narrow what runs |
The tool registry, at registration |
Only the first three are runtime controls. They are enforced in code and a missing gate is a bug, not a style problem.
confirm is enforced, not advisory
Every mutating tool takes a confirm parameter and the wrapper refuses the
call without it. The refusal is an error, not a warning, and it is written
to the audit log as denied.
# Refused: the call raises and nothing changes
await client.call_tool("create_firewall_zone", {"site_id": "default", "name": "IoT"})
# Accepted
await client.call_tool(
"create_firewall_zone",
{"site_id": "default", "name": "IoT", "confirm": True},
)
A tool without a confirm parameter is a read tool. The server's own
registry decides which is which (@read_tool / @write_tool in
src/utils/tool_kind.py); the tier is what your role is checked against.
dry_run is a real preview
dry_run=True returns what the change would do without doing it. It is
the correct first step for any change you have not performed before.
preview = await client.call_tool(
"create_firewall_zone",
{"site_id": "default", "name": "IoT", "confirm": True, "dry_run": True},
)
A dry run proves the request shape and the server's validation. It does not prove the change is safe, and it does not prove the controller will accept it.
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.
- 1mo ago First seen · 161 lines · 63 tokens per session scan A c11a52753ed6
unifi-safe-changes is a skill published in the GitHub repository enuno/unifi-mcp-server (395 stars, last pushed today), licensed Apache-2.0. It adds 63 tokens to every session and 1,724 once invoked, about $0.0003 per session on Opus 5.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-10-27.
unifi-safe-changes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| unifi-safe-changesenuno/unifi-mcp-server | Skill | 395 | today | Apache-2.0 | A | 63 | Claude Code |
| gke-compute-classesgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 83 | Claude Code, Codex |
| jetson-diagnosticNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 30 | Claude Code, Codex |
| holoscan-install-wheelNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| offensive-z-waveSnailSploit/Claude-Red | Skill | 12k | 14d ago | MIT | A | 113 | Claude Code, Codex |
| hsb-flashNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | B | 94 | Claude Code |
| jetson-validate-imageNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | B | 50 | Claude Code, Codex |