routeros-netinstall

routeros-netinstall is a skill for Claude Code, Codex from tikoci/routeros-skills. It costs 82 tokens per session (2,785 once invoked), scanned B, original, MIT.

A guide to netinstall-cli, MikroTik’s Linux command-line tool for reinstalling RouterOS on a device in etherboot mode.

In plain words
What is it for?
Use it to write flashing scripts, send RouterOS images and .npk package files, apply userscripts or modescripts, and work with BOOTP, DHCP, and TFTP.
Why use it?
It explains the network boot process and the required permissions and connection path, reducing mistakes when automating device reinstalls.

Skill for Claude CodeCodex

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

Good fit Use it to write flashing scripts, send RouterOS images and .npk package files, apply userscripts or modescripts, and work with BOOTP, DHCP, and TFTP.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikoci/routeros-skills/routeros-netinstall
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-netinstall
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-netinstall

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-netinstall/github.svg)](https://agentmods.dev/skills/tikoci/routeros-skills/routeros-netinstall)
Your own site
<a href="https://agentmods.dev/skills/tikoci/routeros-skills/routeros-netinstall"><img src="https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-netinstall/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-netinstall

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikoci/routeros-skills/routeros-netinstall"><img src="https://agentmods.dev/badge/skills/tikoci/routeros-skills/routeros-netinstall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,785 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00082 $0.02785
Opus 5.5 $0.00033 $0.01114
Sonnet 5.5 $0.00016 $0.00557
Haiku 4.5 $0.00008 $0.00279

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

Security

Grade B, and why

routeros-netinstall scanned grade B with 2 findings 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 10d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ./netinstall-cli -r -i eth0 \

Makes network callslowCapability

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

wget https://download.mikrotik.com/routeros/7.22/netinstall-7.22.tar.gz
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

routeros-netinstall/SKILL.md · 237 lines

How it starts

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

RouterOS Netinstall

This skill focuses on official Netinstall / netinstall-cli behavior. tikoci/netinstall is a useful wrapper and source of grounded examples, but it is only one way to drive the tool.

What netinstall-cli Does

Netinstall reinstalls RouterOS onto a device that has booted into etherboot mode. The Linux tool, netinstall-cli, listens for BOOTP requests and then sends the RouterOS boot image and selected .npk packages.

Grounded behavior from MikroTik docs:

  • Netinstall re-formats the system drive
  • It does not erase the RouterOS license key
  • It does not reset RouterBOOT settings
  • It works over a direct Layer 2 path using BOOTP/DHCP ports and TFTP
  • It requires root / sudo

netinstall-cli is the Linux command-line variant. The Windows GUI exposes nearly the same core options.

Command Syntax

netinstall-cli [-r] [-e] [-b] [-m [-o]] [-f] [-v] [-c]
               [-k <keyfile>] [-s <userscript>] [-sm <modescript>]
               [--mac <mac>] {-i <interface> | -a <client-ip>} [PACKAGES...]

Flags

Flag Meaning
-r Reinstall and apply the default-configuration stage
-e Reinstall with empty configuration
-b Discard the currently installed branding package
-m Enable repeated installs in one run
-o With -m, only reinstall a given MAC once per run; by itself it behaves like a normal single install
-f Ignore storage-size checks
-v Verbose output
-c Allow multiple netinstall instances on the same host
-k <keyfile> Install a license key (.KEY)
-s <userscript> Install a persistent configure script that replaces the RouterOS-supplied default configuration script
-sm <modescript> Install a one-time mode script for the first boot after install
--mac <mac> Only respond to this MAC address
-i <interface> Bind to a specific interface
-a <client-ip> Assign a specific client IP; if -i is used, server IP is auto-detected

Read the full file on GitHub · 237 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. 10d ago Changed · +27 lines 86e1cf60ef30
  2. 3mo ago First seen · 210 lines · 82 tokens per session scan B b7f9f78a4dad

Subscribe to this mod's changes

routeros-netinstall is a skill published in the GitHub repository tikoci/routeros-skills (99 stars, last pushed 9d ago), licensed MIT. It adds 82 tokens to every session and 2,785 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

routeros-netinstall compared with skills from other repositories

routeros-netinstall next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
routeros-netinstalltikoci/routeros-skillsSkill999d agoMITB82Claude Code, Codex
lab-hardware-cadK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA108Claude Code
pylabrobotK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA49Claude Code
pybammK-Dense-AI/scientific-agent-skillsSkill59ktodayMITA70Claude Code, Codex
offensive-wifiSnailSploit/Claude-RedSkill12k13d agoMITA183Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k13d agoMITA113Claude Code, Codex
offensive-iotSnailSploit/Claude-RedSkill12k13d agoMITB196Claude Code, Codex