Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

omada-viewer奥玛达观众

Agent Skill

omada-viewer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,920

周安装

117

GitHub Stars

公开资料未说明

下载量

945
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:omada-viewer(奥玛达观众)
来源仓库:https://github.com/imjuff/omada-viewer
安装命令:
openclaw skills install omada-viewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install omada-viewer

简介

通过只读 API 访问 TP-Link Omada SDN 控制器获取设备状态信息。

  • 支持查看客户端连接、VLAN 配置、LAN/WAN 网络状态等数据。
  • 无需登录即可读取公开接口信息,保障基础运维效率。
  • 使用前需确认控制器开放 API 端口且网络可达。
  • 仅提供只读权限,不可修改配置或重启设备。omada-viewer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
omada-viewer
description
Read-only diagnostics for TP-Link Omada SDN controllers via the Open API. Use when inspecting Omada devices, clients, VLANs, LAN networks, WAN status, router ports, switch ports, DHCP ranges, port forwards, or general controller/network health. Requires user-provided Omada Open API credentials and HTTPS access to the user's controller. Best for troubleshooting and inventory, not config changes.

Omada Viewer

Read-only diagnostics for TP-Link Omada SDN controllers via the Open API.

What it does

Use this skill to inspect:

  • Devices
  • Clients
  • VLANs / LAN networks
  • WAN status
  • Router ports
  • Switch ports
  • DHCP ranges
  • Port forwards
  • General controller health

What it does NOT do

  • Does not make configuration changes
  • Does not create, edit, or delete controller settings
  • Does not require Admin role for normal use

Requirements

This skill does require:

  • A reachable Omada controller over HTTPS
  • A user-created Open API application in Omada
  • User-provided credentials for that API app

Recommended role:

  • Viewer

Required configuration:

  • OMADA_URL
  • OMADA_CLIENT_ID
  • OMADA_CLIENT_SECRET

Optional configuration:

  • OMADA_OMADAC_ID
  • OMADA_SITE
  • OMADA_VERIFY_SSL

Quick Setup

  1. In Omada, go to:

- Settings > Platform Integration > Open API

  1. Create an application in:

- Client mode

  1. Prefer this permission level:

- Viewer

  1. Store credentials locally, not in chat

Common Commands

python scripts/omada_query.py summary
python scripts/omada_query.py clients
python scripts/omada_query.py devices
python scripts/omada_query.py vlans
python scripts/omada_query.py port-forwards
python scripts/omada_query.py wan-status
python scripts/omada_query.py router-summary

Authentication

Use client credentials mode:

POST {base_url}/openapi/authorize/token?grant_type=client_credentials
Content-Type: application/json

{
  "omadacId": "<omadac_id>",
  "client_id": "<client_id>",
  "client_secret": "<client_secret>"
}

Successful responses return:

  • accessToken
  • refreshToken
  • expiresIn

Use the token like this:

Authorization: AccessToken=<accessToken>

Important notes:

  • Send JSON as UTF-8 without BOM
  • Some local controllers allow omadacId discovery from GET /api/info

Core Read Endpoints

All site-scoped paths below are relative to:

/openapi/v1/{omadacId}/sites/{siteId}

Discovery

  • GET /api/info
  • GET /openapi/v1/{omadacId}/sites?page=1&pageSize=100

Devices and Clients

  • GET /devices?page=1&pageSize=200
  • GET /devices/{deviceMac}
  • GET /clients?page=1&pageSize=200
  • GET /clients/{clientMac}

LAN / VLAN / DHCP

  • GET /lan-networks?page=1&pageSize=50
  • GET /lan-networks/{networkId}
  • GET /networks/vlans

Typical LAN network responses may include:

  • VLAN ID
  • Gateway subnet
  • DHCP range
  • DNS settings
  • Lease time

Port Forwards / NAT / Firewall

  • GET /nat/port-forwardings?page=1&pageSize=50
  • GET /firewall
  • GET /firewall/timeout/default
  • GET /insight/port-forwarding/{type}

Gateway / WAN / Router Ports

  • GET /gateways/{gatewayMac}
  • GET /gateways/{gatewayMac}/ports
  • GET /gateways/{gatewayMac}/wan-status
  • GET /gateways/{gatewayMac}/lan-status
  • GET /internet/ports-config
  • GET /internet/load-balance
  • GET /internet/load-balance/status
  • GET /health/gateways/{gatewayMac}/wans/details

Switches / APs

  • GET /switches/{switchMac}/ports
  • GET /port-status-ports
  • GET /poe-ports
  • GET /aps/{apMac}
  • GET /aps/{apMac}/ports
  • GET /aps/{apMac}/port-vlans
  • GET /aps/{apMac}/vlan

Script Commands

Use scripts/omada_query.py for quick diagnostics.

Supported commands:

python scripts/omada_query.py sites
python scripts/omada_query.py devices
python scripts/omada_query.py clients
python scripts/omada_query.py vlans
python scripts/omada_query.py dhcp-reservations
python scripts/omada_query.py port-forwards
python scripts/omada_query.py switch-ports <switch_mac>
python scripts/omada_query.py wan-ports
python scripts/omada_query.py wan-status
python scripts/omada_query.py router-ports
python scripts/omada_query.py router-summary
python scripts/omada_query.py summary

Included References

  • references/api-endpoints.md — compact endpoint reference
  • references/discovered-endpoints.md — practical starting endpoints
  • references/all-endpoints.md — categorized endpoint catalog
  • scripts/extract_endpoints.py — regenerate endpoint catalog from an OpenAPI export

Security Notes

  • Prefer Viewer role for normal use
  • Never paste secrets into chat
  • Keep read-only diagnostics separate from any future admin/write skill
  • If you later publish a write-capable version, use a separate Admin-scoped API app

Troubleshooting

  • 401 / auth failures: verify Client mode, credentials, and grant_type=client_credentials
  • Invalid credential errors: confirm exact client_id, client_secret, and omadacId
  • SSL errors: local controllers with self-signed certs may require SSL verification disabled
  • Missing endpoints: API coverage varies by controller version, model, and enabled features
  • Unexpected JSON/auth issues: ensure request body is UTF-8 without BOM

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.7%
按下载量换算678

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills