routeros-mndp

routeros-mndp is a skill for Claude Code, Codex from tikoci/routeros-skills. It costs 88 tokens per session (8,495 once invoked), scanned A, original, MIT.

A guide to MNDP, the MikroTik Neighbor Discovery Protocol that RouterOS uses to find devices on the same local network, including the interface behind WinBox's Neighbors view.

In plain words
What is it for?
Use it to implement or debug MikroTik device discovery, parse MNDP packets, or work with RouterOS /ip/neighbor results.
Why use it?
It helps explain how MikroTik devices announce themselves and why a router may be missing from a neighbor list. It also provides the details needed to read or create these UDP discovery messages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to implement or debug MikroTik device discovery, parse MNDP packets, or work with RouterOS /ip/neighbor results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikoci/routeros-skills/routeros-mndp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tikoci/routeros-skills --skill routeros-mndp
Clone the repo
git clone --depth 1 https://github.com/tikoci/routeros-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for routeros-mndp

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-mndp/github.svg)](https://agentmods.dev/skills/tikoci/routeros-skills/routeros-mndp)
Your own site
<a href="https://agentmods.dev/skills/tikoci/routeros-skills/routeros-mndp"><img src="https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-mndp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for routeros-mndp

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikoci/routeros-skills/routeros-mndp"><img src="https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-mndp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.08495
Opus 5.5 $0.00035 $0.03398
Sonnet 5.5 $0.00018 $0.01699
Haiku 4.5 $0.00009 $0.00850

Measured 9d ago against content hash ad099498d5a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

routeros-mndp scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -u admin: http://<router-ip>/rest/ip/neighbor
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

routeros-mndp/SKILL.md · 452 lines

How it starts

The opening of the file, as written. The whole thing — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MNDP — MikroTik Neighbor Discovery Protocol

MNDP is the UDP broadcast/multicast protocol that RouterOS uses for automatic device discovery on the local network. It is the same protocol WinBox uses to find routers. RouterOS generally ships with MNDP broadly enabled; exactly which interfaces take part varies by device, version and default configuration.

Why This Matters for Agents

  • /ip/neighbor on RouterOS is the CLI/REST surface for MNDP results
  • WinBox's "Neighbors" tab is an MNDP listener
  • Any agent implementing device discovery for MikroTik equipment needs MNDP
  • The protocol is simple enough to implement from scratch — no library needed

Protocol Basics

Property Value
Transport UDP
Port 5678
IPv4 Broadcast to 255.255.255.255:5678
IPv6 Multicast to ff02::1 (all-nodes link-local)
Copies Every announcement goes out as an IPv4 broadcast. Most also go out as an IPv6 multicast with the same payload and counter, but not all. These were IPv4 only: 12 of 13 boot announcements on 6.49.23–7.26beta5, 0 to 2 announcements after a 7.x boot with IPv6 enabled, and every one while disable-ipv6=yes. On 7.x an announcement with TLV 15 always had the IPv6 copy, but not the reverse: one IPv6 copy without TLV 15 was captured just after IPv6 was re-enabled. 6.49 sends the IPv6 copy only with the ipv6 package enabled, and never TLV 15[^m2ir-wire]
Direction Bidirectional — same port for send and receive
Authentication None — read-only discovery, no credentials
Scope Layer 2 broadcast domain (does not cross routers)

How Discovery Works

  1. Listener sends a request — a small UDP datagram to 255.255.255.255:5678; 00 00 00 00 00 06 00 00 is the form to use (see below). The 9-byte forms in circulation get no reply
  2. Every RouterOS device announcing on the segment replies to a broadcast request with an ordinary announcement. A reply is an announcement, so a router sends none on an interface that doesn't participate in discovery, or while mode=rx-only (see Multi-Interface Behavior) (identity, version, board, MAC, IP, uptime, etc.). A unicast request draws a reply only from the router it is addressed to. Either way the reply is broadcast from port 5678 to 255.255.255.255:5678 (and usually ff02::1), so a listener must bind port 5678
  3. Replies arrive after a random delay — 21 ms to 1.96 s on the tested 7.x routers and 11 ms to 1.87 s on 6.49.23 (an observed range, not a measured bound); 7.x routers answer a burst of requests once[^m2ir-wire]
  4. RouterOS devices also announce periodically every discover-interval (a setting since 7.16, default 30 s; a fixed 60 s before[^changelog-716]) — passive listening works but is slow to populate
  5. Some config changes announce at once (observed on 7.26beta5) — identity, CAPsMAN, CMR, /ip/packing on that interface, IPv6 on/off, discovery protocol/discover-interval/lldp-med, mode returning to a transmitting value, and address changes (7.21+[^changelog-721]). Service toggles (MAC server, RoMON, IP services) wait for the next interval[^m2ir-wire]

Read the full file on GitHub · 452 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago Changed · +5 lines ad099498d5a9
  2. 13d ago Changed · +142 lines dbc5a7c54295
  3. 21d ago Changed · +6 lines 87451dfe6423
  4. 3mo ago First seen · 299 lines · 88 tokens per session scan A ad868fa58e17

Subscribe to this mod's changes

routeros-mndp is a skill published in the GitHub repository tikoci/routeros-skills (99 stars, last pushed 9d ago), licensed MIT. It adds 88 tokens to every session and 8,495 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

routeros-mndp compared with skills from other repositories

routeros-mndp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
routeros-mndptikoci/routeros-skillsSkill999d agoMITA88Claude Code, Codex
issue-authoringkurone-kito/idd-skillSkill11todayMITA71Claude Code
idd-spec-auditkurone-kito/idd-skillSkill11todayMITA94Claude Code
requirements-elicitationandreaswasita/copilot-agents-dojoSkill562mo agoMITA13Claude Code, Codex
self-improvementandreaswasita/copilot-agents-dojoSkill562mo agoMITA12Claude Code, Codex
architecture-sketchingandreaswasita/copilot-agents-dojoSkill562mo agoMITA12Claude Code, Codex
building-mcp-serversandreaswasita/copilot-agents-dojoSkill562mo agoMITA17Claude Code, Codex