Communitygithub.com

cli-anything-rms

Teltonika RMS(遠端管理系統)的命令列工具。透過 RMS REST API 管理路由器、閘道器及 IoT 裝置。

cli-anything-rms 是什麼?

此技能提供一個完整的命令列工具(CLI),用於與 Teltonika RMS(遠端管理系統)進行互動。它封裝了 RMS REST API,讓 AI 代理或開發者可以透過終端機直接管理路由器、閘道器和其他 IoT 裝置。技能涵蓋多個管理功能群組,包括裝置、公司、使用者、標籤、警報、設定、遠端存取、日誌、位置、點數、檔案、報表、熱點、密碼、SMTP 設定以及驗證等操作。安裝後只需設定 `RMS_API_TOKEN` 環境變數即可進行驗證。支援 platforms 包括所有可執行 Python 的環境(如 Claude Code、Cursor、Codex 等)。此技能特別適合需要大規模管理多個 Teltonika 裝置的維運團隊,或希望在自動化指令碼中整合 RMS 功能的開發者。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-rms

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

cli-anything-rms 是做什麼的?

用於 Teltonika RMS(遠端管理系統)的命令列工具。透過 RMS REST API 管理路由器、閘道器及 IoT 裝置。

安裝

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

驗證

設定 RMS_API_TOKEN 環境變數,或執行 cli-anything-rms config set api_token <token>。

命令群組

devices

  • devices list [--status online|offline] [--tag TAG] [--limit N] [--offset N] [--sort FIELD] — 列出裝置
  • devices get <device_id> — 取得裝置詳細資料
  • devices update <device_id> [--name NAME] [--tag TAG] — 更新裝置
  • devices delete <device_id> — 刪除裝置

companies

  • companies list [--limit N] [--offset N] — 列出公司
  • companies get <company_id> — 取得公司詳細資料
  • companies create --name NAME — 建立公司
  • companies update <company_id> [--name NAME] — 更新公司
  • companies delete <company_id> — 刪除公司

users

  • users list [--limit N] [--offset N] — 列出使用者
  • users get <user_id> — 取得使用者詳細資料
  • users invite --email EMAIL [--role ROLE] — 邀請使用者
  • users update <user_id> [--role ROLE] — 更新使用者
  • users delete <user_id> — 刪除使用者

tags

  • tags list [--limit N] [--offset N] — 列出標籤
  • tags get <tag_id> — 取得標籤詳細資料
  • tags create --name NAME — 建立標籤
  • tags update <tag_id> [--name NAME] — 更新標籤
  • tags delete <tag_id> — 刪除標籤

alerts

  • alerts list [--device DEVICE_ID] [--limit N] [--offset N] — 列出警報
  • alerts get <alert_id> — 取得警報詳細資料
  • alerts delete <alert_id> — 刪除警報
  • alerts configs list — 列出警報設定
  • alerts configs get <config_id> — 取得警報設定
  • alerts configs create --data JSON — 建立警報設定
  • alerts configs update <config_id> --data JSON — 更新警報設定
  • alerts configs delete <config_id> — 刪除警報設定

configs

  • configs list [--device DEVICE_ID] [--limit N] [--offset N] — 列出裝置設定
  • configs get <config_id> — 取得設定
  • configs update <config_id> --data JSON — 更新設定

remote-access

  • remote-access list [--device DEVICE_ID] [--limit N] — 列出工作階段
  • remote-access get <session_id> — 取得工作階段詳細資料
  • remote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT] — 建立工作階段
  • remote-access delete <session_id> — 刪除工作階段

logs

  • logs list [--device DEVICE_ID] [--limit N] [--offset N] — 列出日誌
  • logs get <log_id> — 取得日誌詳細資料
  • logs delete <log_id> — 刪除日誌

location

  • location get <device_id> — 取得目前裝置位置
  • location history <device_id> [--limit N] [--offset N] — 位置歷史記錄

credits

  • credits list [--limit N] [--offset N] — 列出點數
  • credits transfer --code CODE — 轉移點數
  • credits codes [--limit N] — 列出轉移代碼

files

  • files list [--limit N] [--offset N] — 列出檔案
  • files get <file_id> — 取得檔案詳細資料
  • files upload <file_path> — 上傳檔案
  • files delete <file_id> — 刪除檔案

reports

  • reports list [--limit N] [--offset N] — 列出報表
  • reports get <report_id> — 取得報表
  • reports create --template TEMPLATE_ID [--name NAME] — 建立報表
  • reports delete <report_id> — 刪除報表
  • reports templates list — 列出報表範本

hotspots

  • hotspots list [--device DEVICE_ID] [--limit N] — 列出熱點
  • hotspots get <hotspot_id> — 取得熱點詳細資料
  • hotspots create --device DEVICE_ID --name NAME — 建立熱點
  • hotspots update <hotspot_id> [--name NAME] — 更新熱點
  • hotspots delete <hotspot_id> — 刪除熱點

passwords

  • passwords get <device_id> — 取得裝置密碼
  • passwords update <device_id> --password PASSWORD — 更新密碼
  • passwords update <device_id> --password-stdin — 更新密碼(從標準輸入讀取,更安全)

smtp

  • smtp list [--limit N] [--offset N] — 列出 SMTP 設定
  • smtp get <config_id> — 取得 SMTP 設定
  • smtp create --host HOST [--port PORT] [--username USER] [--password PASS] — 建立 SMTP 設定
  • smtp update <config_id> [--host HOST] [--port PORT] — 更新 SMTP 設定
  • smtp delete <config_id> — 刪除 SMTP 設定

auth

  • auth test — 測試 API 連線狀態
  • auth status — 顯示目前驗證資訊

config

  • config set <key> <value> — 設定設定值(api_token, default_limit)
  • config get [key] — 顯示設定
  • config delete <key> — 刪除設定
  • config path — 顯示設定檔路徑

範例

# 列出所有線上裝置
cli-anything-rms devices list --status online

# 以 JSON 格式取得裝置詳細資料
cli-anything-rms --json devices get 12345

# 檢查特定裝置的警報
cli-anything-rms alerts list --device 12345

# 互動模式
cli-anything-rms

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相關技能