Install
openclaw skills install mikrotik-routerosManage MikroTik RouterOS devices via API to view status, firewall, network config, logs, users, backups, and run custom commands across multiple devices.
openclaw skills install mikrotik-routerosdescription: Connect and manage MikroTik RouterOS devices via API. Supports viewing device status, firewall rules, network configuration, and executing custom RouterOS commands.
Connect and manage MikroTik RouterOS devices via API.
Add device info in ~/.openclaw/workspace/TOOLS.md:
Password format:
empty password, no password, none, or leave blankexport MIKROTIK_HOST=192.168.88.1
export MIKROTIK_USER=admin
export MIKROTIK_PASS= # empty password
# or
export MIKROTIK_PASS=yourpassword # with password
Priority: Environment Variables > TOOLS.md > Defaults
If multiple devices are configured, you can specify the device name in the command:
├── SKILL.md # Skill description (this file) ├── handler.py # Command processor └── mikrotik-api/ # API client library ├── init.py ├── client.py # API client ├── commands.py # Command wrappers ├── cli.py # CLI tool └── scanner.py # Network scanner
Network Scan Risks
mikrotik scan actively scans the local subnet, generating network discovery traffic.Credential Security
MIKROTIK_HOST/MIKROTIK_USER/MIKROTIK_PASS).Local Commands and Permissions
subprocess to call system commands (ip/hostname).