routeros-fundamentals
Master MikroTik RouterOS v7 Configuration and Scripting
Configuring MikroTik routers manually wastes hours on repetitive tasks. This skill gives AI agents the RouterOS v7 knowledge to write correct CLI commands, REST API calls, and automation scripts on the first attempt.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "routeros-fundamentals". How do I add a static route to 192.168.10.0/24 via gateway 10.0.0.1 on RouterOS v7?
Expected outcome:
- Use the /ip route add command:
- /ip route add dst-address=192.168.10.0/24 gateway=10.0.0.1
- Key differences from Linux: RouterOS uses dst-address instead of -net/-host, and the syntax is dst-address=<network> gateway=<gateway-ip>.
Using "routeros-fundamentals". Write a REST API call to list all firewall rules on RouterOS
Expected outcome:
- GET /rest/ip/firewall/rule
- Headers: Content-Type: application/json, Accept: application/json, Authorization: Bearer <token>
- Authentication requires generating a token via /rest/login or using SSL certificates.
Security Audit
SafeSecurity scan detected 1898 potential issues, but all are false positives. The skill consists entirely of markdown documentation files containing RouterOS v7 reference material. The static scanner misidentified markdown code fences (backticks around code blocks) as Ruby shell execution, API documentation examples as code implementation, and common networking terminology as command-and-control indicators. No executable code, no credential exfiltration, no network access, and no malicious patterns exist. This is legitimate educational documentation for MikroTik RouterOS administrators.
Risk Factors
⚙️ External commands (14)
🌐 Network access (11)
Quality Score
What You Can Build
Network Admin Automating Router Configurations
IT administrators managing multiple MikroTik devices use this skill to generate RouterOS CLI commands and REST API scripts for bulk configuration changes across their infrastructure.
DevOps Engineer Building Network Automation
DevOps teams integrate RouterOS automation into their infrastructure-as-code pipelines using the skill to generate proper API calls and scripts for router provisioning.
Developer Troubleshooting RouterOS Errors
Developers building integrations with MikroTik routers use this skill to understand why Linux commands fail on RouterOS and how to adapt their code for RouterOS v7.
Try These Prompts
How do I configure [feature] on RouterOS v7? Write the CLI commands to [specific task].
Generate a REST API call to [endpoint] on RouterOS v7 for [operation]. Include authentication headers.
Write a RouterOS script that [description of automation task] using the scripting language syntax.
Why does the Linux command [command] fail on RouterOS? What is the RouterOS equivalent?
Best Practices
- Always specify RouterOS v7 explicitly to avoid v6 command syntax being suggested
- Use the REST API with SSL certificates for production automation rather than plain HTTP
- Test CLI commands in a lab environment first as RouterOS has different syntax from Linux
Avoid
- Do not assume Linux commands work on RouterOS without checking syntax differences
- Do not use RouterOS v6 documentation for v7 configuration as command structures differ
- Do not skip authentication configuration when using REST API in scripts