unifi-devices
Skill294 starsChanged 18 days agoApache-2.0View on GitHub
UniFi device management: inventory, adoption, restarts, firmware upgrades, radio/channel configuration, port profiles, switching/stacks, network topology, and diagnostics. Use when the task involves physical UniFi hardware (APs, switches, gateways, cameras).
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
All tools require local API mode unless noted.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UniFi Device Management
All tools require local API mode unless noted.
Device Inventory & Details
| Tool | Description |
list_devices_by_type | List devices filtered by type (ap, switch, gateway…) |
search_devices | Search devices by name, MAC, IP, or model |
get_device_details | Full configuration and status for a device |
get_device_statistics | CPU, memory, uptime, and traffic stats |
list_pending_devices | List devices waiting for adoption |
adopt_device | Adopt a pending device into the site |
execute_port_action | Execute an action on a specific device port |
Device Control
| Tool | Description |
restart_device | Restart a device by ID or MAC |
locate_device | Flash device LEDs to physically locate it |
upgrade_device | Upgrade device firmware (dry-run supported) |
get_ap_radio_config | Get radio configuration for an access point |
set_ap_radio_channel | Set channel/power on a specific radio band |
Port Profiles & Switching
| Tool | Description |
list_port_profiles | List all switch port profiles on a site |
get_port_profile | Get details for a specific port profile |
create_port_profile | Create a new port profile |
update_port_profile | Modify a port profile (native VLAN, tagged VLANs, PoE…) |
delete_port_profile | Delete a port profile |
get_device_by_mac | Find a switch by its MAC address |
get_device_port_overrides | Get per-port configuration overrides on a switch |
set_device_port_overrides | Apply per-port profile or PoE overrides |
Switching & Stacking
| Tool | Description |
list_lags | List Link Aggregation Groups (LAGs) |
get_lag_details | Get LAG member and status details |
list_switch_stacks | List switch stacks on a site |
get_switch_stack | Get stack members and roles |
list_mclag_domains | List MCLAG domains |
get_mclag_domain | Get MCLAG domain configuration |
Network Topology
| Tool | Description |
get_network_topology | Full uplink tree of all devices on a site |
get_device_connections | Devices connected to a specific device |
get_port_mappings | Port-level connection map for a device |
get_topology_statistics | Link speeds, utilization across the topology |
export_topology | Export topology as JSON or CSV |
Diagnostics
| Tool | Description |
run_speed_test | Trigger a WAN speed test (requires confirm=True) |
get_speed_test_status | Check status of a running speed test |
get_speed_test_history | Historical speed test results |
get_spectrum_scan | Get WiFi spectrum scan data for an AP |
list_spectrum_interference | List interference sources detected on a site |
get_network_references | Get cross-references between network objects |
Example Workflows
# Identify a slow AP
Get topology statistics, then get spectrum scan for the AP with highest
interference, then set its channel to a less congested one
# Prepare for maintenance
Locate device with MAC aa:bb:cc:11:22:33 (LED flash), then restart it
# Upgrade all APs
List devices by type "ap", then upgrade each one (dry_run=True first)
# Configure a trunk port
Set device port overrides on switch aa:bb:cc:dd:ee:ff, port 12,
profile "Trunk-All-VLANs"In this repository52 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/fastmcp/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .claude/skills/fastmcp/CLAUDE.mdCLAUDE.md
- .cursor/rules/common-mistakes.mdcCursor rule
- .cursor/rules/core-principles.mdcCursor rule
- .cursor/rules/environment-setup.mdcCursor rule
- .cursor/rules/mcp-tools.mdcCursor rule
- .cursor/rules/project-context.mdcCursor rule
- .cursor/rules/README.mdCursor rule
- .cursor/rules/unifi-api.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- FastMCP DevelopmentSkill
- mcp-builderSkill
- source-command-build-dockerSkill
- source-command-check-depsSkill
- source-command-cleanSkill
- source-command-docsSkill
- source-command-formatSkill
- source-command-lintSkill
- source-command-prSkill
- source-command-securitySkill
- source-command-setupSkill
- source-command-testSkill
- source-command-unifi-api-docs-update-2Skill
- source-command-unifi-api-docs-updateSkill
- source-command-unifi-mcp-add-toolSkill
- source-command-unifi-mcp-release-prepSkill
- source-command-unifi-mcp-test-coverageSkill
- source-command-unifi-mcp-update-docsSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- FastMCP DevelopmentSkill
- mcp-builderSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-protect-toolsSkill
- unifi-security-toolsSkill
- unifiSkill
- unifi-channel-planningSkill
- unifi-cloud-fleet-toolsSkill
- unifi-mcp-tool-builderSkill
- unifi-network-config-toolsSkill
- unifi-networkSkill
- unifi-protect-toolsSkill
- unifi-securitySkill
- unifi-security-toolsSkill
- unifi-systemSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

