Skills routeros-fundamentals
📦

routeros-fundamentals

Safe ⚙️ External commands🌐 Network access

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.

Supports: Claude Codex Code(CC)
🥉 74 Bronze
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

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

Safe
v2 • 4/16/2026

Security 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.

14
Files scanned
3,265
Lines analyzed
2
findings
2
Total audits
Audited by: claude View Audit History →

Quality Score

45
Architecture
100
Maintainability
85
Content
32
Community
100
Security
100
Spec Compliance

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

Basic RouterOS Command Help
How do I configure [feature] on RouterOS v7? Write the CLI commands to [specific task].
REST API Request Construction
Generate a REST API call to [endpoint] on RouterOS v7 for [operation]. Include authentication headers.
RouterOS Scripting Assistance
Write a RouterOS script that [description of automation task] using the scripting language syntax.
Linux vs RouterOS Differences
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

Frequently Asked Questions

Does this skill work with RouterOS v6?
No. This skill covers RouterOS v7 only. Command syntax and API structure changed significantly from v6 to v7. Using v6 documentation with v7 routers will cause errors.
How do I authenticate to the RouterOS REST API?
RouterOS v7 REST API supports token-based authentication via /rest/login endpoint with username and password, or SSL certificate authentication for production environments.
Why do my Linux commands fail on RouterOS?
RouterOS is based on Linux kernel but uses a completely different CLI and command structure. RouterOS has its own proprietary shell. For example, 'ip addr show' on Linux becomes '/ip address print' on RouterOS.
Can this skill execute commands on my router?
No. This skill provides documentation and command generation only. It cannot directly access or modify your router. You must implement the generated commands using RouterOS CLI or API.
What is the difference between RouterOS CLI and REST API?
CLI commands are used directly on the router terminal or via SSH. REST API allows programmatic management from external systems. Both use the same underlying data model but different access methods.
Does this skill cover RouterOS scripting language?
Yes. RouterOS has its own scripting language for automation. Scripts run on the router using syntax like ':put "Hello"' and can use '/path/to/command' syntax for CLI commands within scripts.