mikrotik-routeros
Skill7 starsChanged 10 months agoMITView on GitHub
Configures and automates MikroTik RouterOS routers through the terminal, command line interface, .rsc imports, /system script repository, Scheduler, Netwatch, firewall, NAT, DHCP, DNS, bridge, VLAN, routing, VPN, device-mode, backup/export, and RouterOS scripting. Use this skill whenever the user mentions MikroTik, Mikrotik, RouterOS, WinBox terminal, router CLI, router scripts, .rsc files, or configuring MikroTik services from the command line.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- JoshFinlayAU/mikrotik-drifttheir own version, first seen Aug 17, 2026
- nichwang88/claude-skillstheir own version, first seen Jan 21, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- JoshFinlayAU/mikrotik-drift★ 1same name
- nichwang88/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- apple-cktool-jsSkill
- apple-cktoolSkill
- audit-training-experimentSkill
- awkSkill
- close-out-ml-experimentSkill
- compare-models-blindlySkill
- conventional-commitsSkill
- design-resumable-model-evaluationSkill
- gogopowermanagerSkill
- ios-design-reviewSkill
- obsidian-dailySkill
- orbstack-cliSkill
- package-private-ml-artifactsSkill
- prepare-training-corpusSkill
- proxmox-adminSkill
- review-ios-ui-apple-higSkill
- review-training-data-qualitySkill
- run-hugging-face-training-smokeSkill
- sedSkill
- select-and-verify-best-checkpointSkill
- send-to-minionSkill
- swift-reviewSkill
- technical-writerSkill
- tmuxinatorSkill
- topydoSkill
- unhobble-agent-contextSkill
- validate-structured-model-outputSkill
- write-a-promptSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 9 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Use this skill to generate, review, or troubleshoot RouterOS command-line configuration and scripts.
- Distinctive: line 16
Read the smallest relevant reference before producing commands:
- Very specific: line 28
Prefer commands that are safe to paste into a RouterOS terminal.
- Very specific: line 29
Use stable identifiers: item names, comments, default-name values, or [find ...] filters.
- Distinctive: line 36
Never guess credentials, public IPs, interface roles, or firewall rule order.
- Very specific: line 37
Do not include real passwords, private keys, shared secrets, or show-sensitive output unless the user explicitly asks and understands the …
- Distinctive: line 38
Prefer SSH or local terminal examples.
- Distinctive: line 40
If the user asks for a destructive reset, include the exact consequence and a backup/export step first.
- Very specific: line 78
Write commands in slash-separated form: /ip/address/print, /system/script/add, /interface/bridge/vlan/add.
- Very specific: line 79
Keep param=value tight; RouterOS does not allow spaces around =.
- Distinctive: line 81
Use comments as durable anchors for generated rules and scheduled jobs.
- Very specific: line 82
Use print terse or print detail for state capture, and print where ...
- Very specific: line 83
Use export terse for portable command output.
- Distinctive: line 87
Use this pattern when adding an object that should exist at most once:
- Distinctive: line 99
Before handing off commands, check:
- Distinctive: line 105
Import files use RouterOS syntax, not Bash.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MikroTik RouterOS CLI and Scripting
Use this skill to generate, review, or troubleshoot RouterOS command-line configuration and scripts. Target RouterOS v7 unless the user gives a different version.
Reference Loading
Read the smallest relevant reference before producing commands:
references/official-docs.md- source map for official MikroTik documentation and version notes.references/routeros-cli.md- terminal syntax, paths, item targeting, quoting, and SSH execution.references/routeros-scripting.md- RouterOS script structure, variables, functions, error handling, and script repository behavior.references/config-change-workflows.md- backups, exports, safe mode, imports, resets, and rollback planning.references/recipes.md- reusable command patterns for common configuration tasks.
Operating Model
- Determine whether the user wants live execution, a command plan, a reusable
.rscfile, or a/system scriptentry. - Gather only the facts needed to avoid an unsafe or wrong config: RouterOS version, model, management IP/interface, WAN/LAN interface names, bridge/VLAN design, and existing rule order.
- Prefer commands that are safe to paste into a RouterOS terminal. Use absolute menu paths such as
/ip/firewall/filterinstead of relying on the current menu. - Use stable identifiers: item names, comments, default-name values, or
[find ...]filters. Avoid numeric item IDs in generated scripts because CLI numbers are session-local. - Make commands idempotent where practical. Check for existing objects with
[find ...]before adding duplicates. - Separate preflight, changes, verification, and rollback. Router configuration mistakes can cut off management access.
Safety Defaults
- For remote network, firewall, route, bridge, VLAN, or address changes, recommend an export and either safe mode or a staged rollback path before making changes.
- Never guess credentials, public IPs, interface roles, or firewall rule order. Use placeholders or ask for the missing value if it is a blocker.
- Do not include real passwords, private keys, shared secrets, or
show-sensitiveoutput unless the user explicitly asks and understands the exposure. - Prefer SSH or local terminal examples. Do not recommend Telnet except for an explicitly isolated recovery scenario.
- Flag commands that reboot, reset, disable management services, remove addresses/routes, or alter input firewall policy.
- If the user asks for a destructive reset, include the exact consequence and a backup/export step first.
Answer Shape
For configuration changes, use this structure:
## Preflight
<read-only commands to inspect state and save config>
## Commands
<RouterOS commands, grouped by subsystem>
## Verify
<commands to prove the intended state and connectivity>
## Rollback
<minimal commands or restore path>For scripts, use this structure:
## Script
<source code or /system script add/set command>
## Install
<commands to add the script and required policy>
## Test
<manual run, logs, dry-run behavior if applicable>
## Schedule or Trigger
<scheduler/netwatch/button hook only if requested>RouterOS Command Style
- Write commands in slash-separated form:
/ip/address/print,/system/script/add,/interface/bridge/vlan/add. - Keep
param=valuetight; RouterOS does not allow spaces around=. - Quote strings with spaces or special characters:
comment="managed by routeros-script". - Use comments as durable anchors for generated rules and scheduled jobs.
- Use
print terseorprint detailfor state capture, andprint where ...for targeted checks. - Use
export tersefor portable command output; use binary/system backuponly for same-device restore scenarios.
Idempotent Pattern
Use this pattern when adding an object that should exist at most once:
:if ([:len [/ip/firewall/address-list/find list="mgmt-allow" address="203.0.113.10"]] = 0) do={
/ip/firewall/address-list/add list="mgmt-allow" address="203.0.113.10" comment="managed: admin workstation"
}For existing objects, use set [find ...] ... only when the find expression is expected to match exactly one item. If multiple matches are possible, print and ask the user to choose or narrow the filter.
Validation Checklist
Before handing off commands, check:
- Interface names match the user's device, or are clearly placeholders.
- Firewall rules are placed before broad drop/reject rules.
- Management allow rules are added before any restrictive input policy.
- Scripts declare variables before use and use local scope unless persistence is intentional.
- Import files use RouterOS syntax, not Bash.
- Version-sensitive features are labelled and linked to official docs when needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

