跳到正文
TakoAPI
返回技能列表

unifi

由 jmagar 提供

Self-Hosted & Automation
2.7k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Query and monitor UniFi network via local gateway API.

描述

该技能的功能

Queries and monitors a local UniFi network through the UniFi OS gateway API. Supports read-only access to devices, active clients, network health, DPI traffic data, and recent alerts. Tested on Cloud Gateway Max.

Pulls live data directly from the local UniFi OS API without requiring Ubiquiti cloud access or the web UI.

何时使用

  • Checking which devices are currently connected to the network
  • Identifying which apps are consuming the most bandwidth
  • Reviewing recent network alerts and alarms
  • Getting a full network health summary in one command
  • Listing all APs, switches, and gateway status

示例工作流

输入

User asks: What's using the most bandwidth on my network?

智能体
  1. 1

    Read credentials from ~/.clawdbot/credentials/unifi/config.json

  2. 2

    Authenticate against the local UniFi OS gateway

  3. 3

    Run scripts/top-apps.sh to query DPI traffic data

  4. 4

    Parse and format application bandwidth usage

  5. 5

    Present ranked list of top applications with RX/TX totals

输出

Table showing top 10 applications by total traffic, with category, RX, TX, and combined bandwidth in GB

前置要求

  • UniFi OS gateway (e.g. Cloud Gateway Max) accessible on local network
  • Local UniFi OS admin username and password
  • Credentials file at ~/.clawdbot/credentials/unifi/config.json

安装

clawhub install jmagar/unifi

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接