← Back to Skills Marketplace
MikroTik API
by
Affif Mukhlashin
· GitHub ↗
· v1.0.1
· MIT-0
241
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install mikrotik-api
Description
Manages MikroTik routers via the RouterOS API (port 8728/8729). Use when the user wants to configure, monitor, or troubleshoot a MikroTik router — including...
Usage Guidance
This skill appears to do what it says (manage MikroTik RouterOS) and only needs the router host/user/password. Before installing or using it: (1) verify the routeros-api PyPI package and consider pinning a specific version or auditing its source; (2) avoid the insecure example defaults in the doc — prefer use_ssl=True with ssl_verify=True and avoid plaintext_login unless absolutely required by your router/version; (3) run installation in a controlled environment (virtualenv/container) rather than system Python, and do not use --break-system-packages unless you understand its effects; (4) use a least-privileged router account for API actions and rotate credentials after testing; and (5) be cautious because the skill metadata lacks a homepage or source repository — if possible, request provenance or source code before trusting it in production.
Capability Analysis
Type: OpenClaw Skill
Name: mikrotik-api
Version: 1.0.1
The skill provides extensive administrative control over MikroTik routers via the RouterOS API, including firewall manipulation, user management, and system reboots (SKILL.md). While these functions are aligned with the stated purpose, they constitute high-risk capabilities. Additionally, the documentation suggests insecure practices such as disabling SSL certificate verification (ssl_verify=False and curl -k), which are classified as vulnerabilities. No evidence of intentional malice or data exfiltration was identified.
Capability Assessment
Purpose & Capability
The name/description match the instructions: the SKILL.md documents using the routeros-api Python library to manage RouterOS resources. Required credentials (host, username, password) and the operations described (read/add/set/remove/call) are exactly what a MikroTik management skill would need. Minor concern: the package/source provenance is missing (no homepage or source repo listed in metadata), which reduces auditability.
Instruction Scope
Instructions stay within the router management scope and only reference router credentials and API operations. They appropriately recommend env vars and disconnection. Notable security-relevant instructions: they set plaintext_login=True for compatibility and show use_ssl with ssl_verify=False and ssl_verify_hostname=False in the example — these weaken transport security and should be changed in production. The SKILL.md also suggests installing a package and provides a fallback to interactive input; it does not ask for unrelated files or other system credentials.
Install Mechanism
There is no registry install spec; the runtime doc instructs users to run pip3 install --break-system-packages routeros-api. That will pull code from PyPI (moderate risk). The SKILL.md does not pin a package version or provide checksums, and the --break-system-packages flag can alter system package boundaries — these are operational risks but not incoherent with the skill's function.
Credentials
The only credentials the documentation asks for are MIKROTIK_HOST, MIKROTIK_USERNAME, and MIKROTIK_PASSWORD — proportionate and expected. The skill does not request unrelated credentials, config paths, or broad system access.
Persistence & Privilege
The skill is instruction-only, always:false, and model invocation is not disabled (the normal default). It does not request permanent presence or modify other skills' configs. Autonomous invocation is allowed by platform default — this is expected for skills but note that an autonomously-invoked skill would have the ability to attempt network connections using provided credentials.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mikrotik-api - After installation, invoke the skill by name or use
/mikrotik-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Update: Added instructions to use environment variables (MIKROTIK_HOST, MIKROTIK_USERNAME, MIKROTIK_PASSWORD) for secure connection.
v1.0.0
Initial release: Comprehensive MikroTik RouterOS management via API
Metadata
Frequently Asked Questions
What is MikroTik API?
Manages MikroTik routers via the RouterOS API (port 8728/8729). Use when the user wants to configure, monitor, or troubleshoot a MikroTik router — including... It is an AI Agent Skill for Claude Code / OpenClaw, with 241 downloads so far.
How do I install MikroTik API?
Run "/install mikrotik-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is MikroTik API free?
Yes, MikroTik API is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does MikroTik API support?
MikroTik API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created MikroTik API?
It is built and maintained by Affif Mukhlashin (@bluemeda); the current version is v1.0.1.
More Skills