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.
npx skills add tikoci/routeros-skills --skill routeros-mndpgit clone --depth 1 https://github.com/tikoci/routeros-skillsWrote 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.
[](https://agentmods.dev/skills/tikoci/routeros-skills/routeros-mndp)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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 Copies of this mod
1 near-identical copy found in the catalogue:
- routeros-mndp — 100% identical, 319 lines differ
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/neighboron 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
- Listener sends a request — a small UDP datagram to 255.255.255.255:5678;
00 00 00 00 00 06 00 00is the form to use (see below). The 9-byte forms in circulation get no reply - 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 usuallyff02::1), so a listener must bind port 5678 - 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]
- 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 - Some config changes announce at once (observed on 7.26beta5) — identity, CAPsMAN, CMR,
/ip/packingon that interface, IPv6 on/off, discoveryprotocol/discover-interval/lldp-med,modereturning 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]
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.
- 9d ago Changed · +5 lines ad099498d5a9
- 13d ago Changed · +142 lines dbc5a7c54295
- 21d ago Changed · +6 lines 87451dfe6423
- 3mo ago First seen · 299 lines · 88 tokens per session scan A ad868fa58e17
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.
routeros-mndp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| routeros-mndptikoci/routeros-skills | Skill | 99 | 9d ago | MIT | A | 88 | Claude Code, Codex |
| issue-authoringkurone-kito/idd-skill | Skill | 11 | today | MIT | A | 71 | Claude Code |
| idd-spec-auditkurone-kito/idd-skill | Skill | 11 | today | MIT | A | 94 | Claude Code |
| requirements-elicitationandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 13 | Claude Code, Codex |
| self-improvementandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 12 | Claude Code, Codex |
| architecture-sketchingandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 12 | Claude Code, Codex |
| building-mcp-serversandreaswasita/copilot-agents-dojo | Skill | 56 | 2mo ago | MIT | A | 17 | Claude Code, Codex |