device-client-troubleshooting

device-client-troubleshooting is a skill for Claude Code from swkstudios/unifi-fabric-mcp-server. It costs 30 tokens per session (772 once invoked), scanned A, original, MIT.

A read-first workflow for diagnosing UniFi devices, switch ports, client connections, and spanning-tree problems. Spanning Tree is a network protocol that helps prevent loops between switches.

In plain words
What is it for?
Use it to investigate broken links, switch-port errors, client connection issues, power problems, or possible network loops.
Why use it?
It gathers link, error, power, client, and loop-related data before disruption, and treats restarting a device as a last resort.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the unifi-fabric plugin — 6 skills shipped together

Good fit Use it to investigate broken links, switch-port errors, client connection issues, power problems, or possible network loops.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/swkstudios/unifi-fabric-mcp-server/device-client-troubleshooting
Install

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.

Any agent
npx skills add swkstudios/unifi-fabric-mcp-server --skill device-client-troubleshooting
Clone the repo
git clone --depth 1 https://github.com/swkstudios/unifi-fabric-mcp-server

Made for: Claude Code.

Or install unifi-fabric, the plugin that ships this one along with the rest of its 6 skills.

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 device-client-troubleshooting

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/swkstudios/unifi-fabric-mcp-server/device-client-troubleshooting"><img src="https://agentmods.dev/badge/skills/swkstudios/unifi-fabric-mcp-server/device-client-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00030 $0.00772
Opus 5.5 $0.00012 $0.00309
Sonnet 5.5 $0.00006 $0.00154
Haiku 4.5 $0.00003 $0.00077

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

Security

Grade A, and why

device-client-troubleshooting scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/claude/skills/device-client-troubleshooting/SKILL.md · 37 lines

How it starts

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

Device and client troubleshooting

Diagnose with reads before any disruption. Pass MAC addresses: the statistics tools take a MAC or Classic _id, never the Integration id. In discovery mode (the default) run each tool below through call_read_tool or call_write_tool with name and arguments; in full mode call it directly. For anything else use search_tools and describe_tool.

  1. Call get_device with host, site and the device MAC as device_id.
  2. Call get_device_port_state with host, site, the MAC as device_id and optional 1-based port_idx; check link, error and drop counters, and PoE.
  3. Call get_client with host, site and the client MAC as client_id, then get_client_link_diagnostics with host, site and the same client_id (or client_ids for several clients, never both).
  4. When a loop or blocked forwarding is plausible, call get_device_stp_state with host, site and the MAC as device_id.
  5. Correlate timestamps, link state, diagnostics and STP; prefer a non-disruptive fix.
  6. restart_device is the last resort, never before steps 1-4. Show the operator the device and the impact and wait for approval; there is no per-call preview, and a status: "dry_run" result means dry-run mode and no restart. Restart one device, never retry automatically (read back after a timeout), then repeat steps 1-4.

Tool contracts checked against code (paths under src/unifi_fabric/)

Tool Mode Required arguments (optional) Return shape and source
get_device read host, site, device_id device object verbatim; tools/device_mgmt.py::get_device; readOnlyHint: true
get_device_port_state read host, site, device_id (port_idx) _device_record, port_table, lldp_table (or _port) verbatim; tools/statistics.py::get_device_port_state; readOnlyHint: true
get_client read host, site, client_id client object verbatim; tools/clients.py::get_client; readOnlyHint: true
get_client_link_diagnostics read host, site (client_id or client_ids) {meta, data} narrowed to the clients; tools/statistics.py::get_client_link_diagnostics; readOnlyHint: true
get_device_stp_state read host, site, device_id {meta, _device, _source, _stp, _ports, _device_record}; tools/statistics.py::get_device_stp_state; readOnlyHint: true
restart_device write host, site, device_id (reboot_type) upstream body verbatim, or {status, dryRun, message, preview, _consequence}; tools/device_mgmt.py::restart_device; readOnlyHint: false

Read the full file on GitHub · 37 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. 2d ago First seen · 37 lines · 30 tokens per session scan A 1cdab556cdf8

Subscribe to this mod's changes

device-client-troubleshooting is a skill published in the GitHub repository swkstudios/unifi-fabric-mcp-server (6 stars, last pushed 4d ago), licensed MIT. It adds 30 tokens to every session and 772 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.

Related

device-client-troubleshooting compared with skills from other repositories

device-client-troubleshooting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
device-client-troubleshootingswkstudios/unifi-fabric-mcp-serverSkill64d agoMITA30Claude Code
unifi-access-supportsirkirby/unifi-mcpSkill1.0kyesterdayMITA31Claude Code
ips-cleanupSchimmilab/ipsymcon-mcp-serverSkill0todayMITA56Claude Code
unifi-network-supportsirkirby/unifi-mcpSkill1.0kyesterdayMITA31Claude Code
unifi-protect-supportsirkirby/unifi-mcpSkill1.0kyesterdayMITA32Claude Code
interface-confignanxiaoyao/network-huawei-skillsSkill23mo agoMITA124Claude Code, Codex
ospf-confignanxiaoyao/network-huawei-skillsSkill23mo agoMITA136Claude Code, Codex