CLI-Anything cli-anything-rms
install
source · Clone the upstream repo
git clone https://github.com/HKUDS/CLI-Anything
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HKUDS/CLI-Anything "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/cli-anything-rms" ~/.claude/skills/hkuds-cli-anything-cli-anything-rms && rm -rf "$T"
manifest:
skills/cli-anything-rms/SKILL.mdsource content
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
— List devicesdevices list [--status online|offline] [--tag TAG] [--limit N] [--offset N] [--sort FIELD]
— Get device detailsdevices get <device_id>
— Update devicedevices update <device_id> [--name NAME] [--tag TAG]
— Delete devicedevices delete <device_id>
companies
— List companiescompanies list [--limit N] [--offset N]
— Get company detailscompanies get <company_id>
— Create companycompanies create --name NAME
— Update companycompanies update <company_id> [--name NAME]
— Delete companycompanies delete <company_id>
users
— List usersusers list [--limit N] [--offset N]
— Get user detailsusers get <user_id>
— Invite userusers invite --email EMAIL [--role ROLE]
— Update userusers update <user_id> [--role ROLE]
— Delete userusers delete <user_id>
tags
— List tagstags list [--limit N] [--offset N]
— Get tag detailstags get <tag_id>
— Create tagtags create --name NAME
— Update tagtags update <tag_id> [--name NAME]
— Delete tagtags delete <tag_id>
alerts
— List alertsalerts list [--device DEVICE_ID] [--limit N] [--offset N]
— Get alert detailsalerts get <alert_id>
— Delete alertalerts delete <alert_id>
— List alert configurationsalerts configs list
— Get alert configalerts configs get <config_id>
— Create alert configalerts configs create --data JSON
— Update alert configalerts configs update <config_id> --data JSON
— Delete alert configalerts configs delete <config_id>
configs
— List device configurationsconfigs list [--device DEVICE_ID] [--limit N] [--offset N]
— Get configurationconfigs get <config_id>
— Update configurationconfigs update <config_id> --data JSON
remote-access
— List sessionsremote-access list [--device DEVICE_ID] [--limit N]
— Get session detailsremote-access get <session_id>
— Create sessionremote-access create --device DEVICE_ID [--protocol PROTO] [--port PORT]
— Delete sessionremote-access delete <session_id>
logs
— List logslogs list [--device DEVICE_ID] [--limit N] [--offset N]
— Get log detailslogs get <log_id>
— Delete loglogs delete <log_id>
location
— Get current device locationlocation get <device_id>
— Location historylocation history <device_id> [--limit N] [--offset N]
credits
— List creditscredits list [--limit N] [--offset N]
— Transfer creditscredits transfer --code CODE
— List transfer codescredits codes [--limit N]
files
— List filesfiles list [--limit N] [--offset N]
— Get file detailsfiles get <file_id>
— Upload filefiles upload <file_path>
— Delete filefiles delete <file_id>
reports
— List reportsreports list [--limit N] [--offset N]
— Get reportreports get <report_id>
— Create reportreports create --template TEMPLATE_ID [--name NAME]
— Delete reportreports delete <report_id>
— List report templatesreports templates list
hotspots
— List hotspotshotspots list [--device DEVICE_ID] [--limit N]
— Get hotspot detailshotspots get <hotspot_id>
— Create hotspothotspots create --device DEVICE_ID --name NAME
— Update hotspothotspots update <hotspot_id> [--name NAME]
— Delete hotspothotspots delete <hotspot_id>
passwords
— Get device passwordpasswords get <device_id>
— Update passwordpasswords update <device_id> --password PASSWORD
— Update password (reads from stdin, safer)passwords update <device_id> --password-stdin
smtp
— List SMTP configssmtp list [--limit N] [--offset N]
— Get SMTP configsmtp get <config_id>
— Create SMTP configsmtp create --host HOST [--port PORT] [--username USER] [--password PASS]
— Update SMTP configsmtp update <config_id> [--host HOST] [--port PORT]
— Delete SMTP configsmtp delete <config_id>
auth
— Test API connectivityauth test
— Show current auth infoauth status
config
— Set configuration (api_token, default_limit)config set <key> <value>
— Show configurationconfig get [key]
— Delete configurationconfig delete <key>
— Show config file pathconfig path
Examples
# List all online devices cli-anything-rms devices list --status online # Get device details as JSON cli-anything-rms --json devices get 12345 # Check alerts for a specific device cli-anything-rms alerts list --device 12345 # Interactive mode cli-anything-rms