agentleFS
AliKaramiAliKarami/MikroMCP/skills/mikromcp/SKILL.md

mikromcp

Skill71 starsChanged 3 months agoMITView on GitHub

Use when managing, configuring, or troubleshooting MikroTik RouterOS devices through the MikroMCP server — picking the right tool, running safe (dry-run, confirmed, rollback-able) changes, fleet operations, and diagnosing network issues.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    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
  1. Very specific:

    Dry-run first: Call a write tool with dryRun: true, show the diff, then apply for real.

    line 34
  2. Very specific:

    Rollback exists: Write tools snapshot+journal first.

    line 42
  3. Very specific:

    Prefer dedicated tools over run_command: Use run_command only when no dedicated tool covers the need.

    line 44
  4. Very specific:

    Call the manage_* tool with dryRun: true.

    line 70
  5. Very specific:

    If a confirmation token is required, re-issue with confirmationToken.

    line 71
  6. Very specific:

    Check list_routes, list_firewall_rules, list_dns_entries as the symptom suggests.

    line 78
  7. Very specific:

    Read the error code/category and suggestedAction.

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Driving MikroMCP

MikroMCP exposes MikroTik RouterOS management as MCP tools (over stdio or HTTP). This skill is about operating those tools well and safely. It does not reproduce RouterOS documentation — when you need to know what a RouterOS field means, see references/routeros-docs.md and fetch the linked official page.

When to use

  • Configuring, inspecting, or troubleshooting a MikroTik router via MikroMCP tools.
  • Rolling a change across many routers.

When not to use

  • Devices that are not MikroTik/RouterOS.
  • Tasks with no MikroMCP server connected.

First moves

  1. Establish the target router. Tools take an optional routerId. If omitted, MikroMCP uses MIKROMCP_DEFAULT_ROUTER, or the sole configured router. If several routers exist and none is defaulted, ask which one.
  2. Orient before changing anything: get_system_status, then list_interfaces (and the relevant list_* for the area you're touching).

Golden rules (the safety spine)

  1. Reads are safe; treat every write as consequential.
  2. Dry-run first. Call a write tool with dryRun: true, show the diff, then apply for real. Never skip this for a non-trivial change.
  3. Confirmation tokens. Destructive tools may require a two-step confirm: the first call returns an approval requirement + token; repeat the call with confirmationToken. This is a guardrail — explain it, don't try to bypass it.
  4. Writes are idempotent. already_exists and no_change are SUCCESS, not errors. A CONFLICT means the resource exists with different config — resolve it deliberately (see references/safety-and-recovery.md).
  5. Rollback exists. Write tools snapshot+journal first. To undo, use rollback_change with the journal ID. Know this before bulk changes.
  6. Prefer dedicated tools over run_command. Use run_command only when no dedicated tool covers the need.

Intent → tool quick index

I want to…Tool
See device health/uptime/versionget_system_status
List interfaceslist_interfaces
Add/serve an IP on an interfacemanage_ip_address
Block/allow trafficmanage_firewall_rule
Port-forward / NATmanage_firewall_rule (table nat)
Add a static routemanage_route
Add a DNS recordmanage_dns_entry
See/assign DHCP leaseslist_dhcp_leases, manage_dhcp_lease
See who's connected (WiFi)list_wifi_clients
Test connectivityping, traceroute
Run a change across many routersbulk_execute
Undo a changerollback_change

Full enumeration of every tool by family: references/tool-map.md.

Core workflows

Make a safe config change

  1. list_* the area to capture current state.
  2. Call the manage_* tool with dryRun: true; read the returned diff.
  3. If a confirmation token is required, re-issue with confirmationToken.
  4. Apply for real; confirm the action in the result (created/updated).
  5. Note the journal ID in case you need rollback_change.

Diagnose connectivity

  1. get_system_status and list_interfaces to confirm links are up.
  2. ping the target from the router; traceroute if it fails partway.
  3. Check list_routes, list_firewall_rules, list_dns_entries as the symptom suggests. Cross-check field meanings via references/routeros-docs.md.

Fleet rollout

  1. Validate the change on ONE router first (dry-run → apply).
  2. bulk_execute with the tool + params, targeting routerIds or a tag.
  3. For destructive tools, complete the fleet confirmation-token step.
  4. Review per-router succeeded/failed counts; rollback_change per-router if needed.

Recover from an error

  1. Read the error code/category and suggestedAction.
  2. Map it to a next step via the error→action table in references/safety-and-recovery.md.

Pointers

  • Need a tool not in the quick index → references/tool-map.md.
  • Need RouterOS field meaning, defaults, or version differences → references/routeros-docs.md (fetch the linked page; don't guess).
  • Hit an error, a CONFLICT, or a destructive/confirmation flow → references/safety-and-recovery.md.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.