跳到正文
Skillpedia
部署与云(DevOps)58k · #3242

cli-anything-rms

它能做什么

这个技能让 AI 智能体使用 Teltonika RMS。这是一个远程管理路由器和联网设备的平台。适合负责大量设备的网络和 IT 人员。

适用场景

  • ✓当你想查看哪些设备在线或离线的时候。
  • ✓当你需要为设备添加标签、重命名或更新其详细信息的时候。
  • ✓当你想邀请新用户或列出平台上的公司的时候。

技能链接

https://github.com/HKUDS/CLI-Anything/blob/main/rms/agent-harness/cli_anything/rms/skills/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/HKUDS/CLI-Anything/blob/main/rms/agent-harness/cli_anything/rms/skills/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我查看目前哪些路由器处于离线状态,并按公司列出。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体使用你的访问令牌调用 RMS 网页 API,并返回关于设备、公司、用户或标签的数据。大多数命令都可以按状态或标签筛选结果。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

cli-anything-rms

CLI harness for Teltonika RMS (Remote Management System). Manage routers, gateways, and IoT devices via the RMS REST API.

Installation

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=rms/agent-harness

Authentication

Set RMS_API_TOKEN environment variable or run cli-anything-rms config set api_token <token>.

Command Groups

devices

  • devices list [--status online|offline] [--tag TAG] [--limit N] [--offset N] [--sort FIELD] — List devices
  • devices get <device_id> — Get device details
  • devices update <device_id> [--name NAME] [--tag TAG] — Update device
  • devices delete <device_id> — Delete device

companies

  • companies list [--limit N] [--offset N] — List companies
  • companies get <company_id> — Get company details
  • companies create --name NAME — Create company
  • companies update <company_id> [--name NAME] — Update company
  • companies delete <company_id> — Delete company

users

  • users list [--limit N] [--offset N] — List users
  • users get <user_id> — Get user details
  • users invite --email EMAIL [--role ROLE] — Invite user
  • users update <user_id> [--role ROLE] — Update user
  • users delete <user_id> — Delete user

tags

  • tags list [--limit N] [--offset N] — List tags
  • tags get <tag_id> — Get tag details
  • tags create --name NAME — Create tag
  • tags update <tag_id> [--name NAME] — Update tag
  • tags delete <tag_id> — Delete tag

alerts

  • alerts list [--device DEVICE_ID] [--limit N] [--offset N] — List alerts
  • alerts get <alert_id> — Get alert details
  • alerts delete <alert_id> — Delete alert
  • alerts configs list — List alert configurations
  • alerts configs get <config_id> — Get alert config
  • alerts configs create --data JSON — Create alert config
  • alerts configs update <config_id> --data JSON — Update alert config
  • alerts configs delete <config_id> — Delete alert config

configs

  • configs list [--device DEVICE_ID] [--limit N] [--offset N] — List device configurations
  • configs get <config_id> — Get configuration
  • configs update <config_id> --data JSON — Update configuration

remote-access

  • remote-access list [--device DEVICE_ID] [--limit N] — List sessions
  • remote-access get <session_id> — Get session details
  • remote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT] — Create session
  • remote-access delete <session_id> — Delete session

logs

  • logs list [--device DEVICE_ID] [--limit N] [--offset N] — List logs
  • logs get <log_id> — Get log details
  • logs delete <log_id> — Delete log

location

  • location get <device_id> — Get current device location
  • location history <device_id> [--limit N] [--offset N] — Location history

credits

  • credits list [--limit N] [--offset N] — List credits
  • credits transfer --code CODE — Transfer credits
  • credits codes [--limit N] — List transfer codes

files

  • files list [--limit N] [--offset N] — List files
  • files get <file_id> — Get file details
  • files upload <file_path> — Upload file
  • files delete <file_id> — Delete file

reports

  • reports list [--limit N] [--offset N] — List reports
  • reports get <report_id> — Get report
  • reports create --template TEMPLATE_ID [--name NAME] — Create report
  • reports delete <report_id> — Delete report
  • reports templates list — List report templates

hotspots

  • hotspots list [--device DEVICE_ID] [--limit N] — List hotspots
  • hotspots get <hotspot_id> — Get hotspot details
  • hotspots create --device DEVICE_ID --name NAME — Create hotspot
  • hotspots update <hotspot_id> [--name NAME] — Update hotspot
  • hotspots delete <hotspot_id> — Delete hotspot

passwords

  • passwords get <device_id> — Get device password
  • passwords update <device_id> --password PASSWORD — Update password
  • passwords update <device_id> --password-stdin — Update password (reads from stdin, safer)

smtp

  • smtp list [--limit N] [--offset N] — List SMTP configs
  • smtp get <config_id> — Get SMTP config
  • smtp create --host HOST [--port PORT] [--username USER] [--password PASS] — Create SMTP config
  • smtp update <config_id> [--host HOST] [--port PORT] — Update SMTP config
  • smtp delete <config_id> — Delete SMTP config

auth

  • auth test — Test API connectivity
  • auth status — Show current auth info

config

  • config set <key> <value> — Set configuration (api_token, default_limit)
  • `config get
常见问题

连接需要准备什么?

你需要一个 RMS API 令牌,可以设置为环境变量,或用 config 命令保存。

它可以删除设备吗?

可以。delete 命令会删除设备,因此请谨慎使用。

它可以管理用户权限吗?

可以。它可以邀请、更新和移除用户,并设置他们的角色。

详情

作者的原始描述

Teltonika RMS device management and monitoring CLI

repo: HKUDS/CLI-Anything

热度

GitHub 星标
58k
排名
#3242
许可证
Apache-2.0
更新时间
2026/9/21

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能