← ClaudeAtlas

routeros-command-treelisted

RouterOS command tree introspection via /console/inspect API. Use when: building tools that parse RouterOS commands, generating API schemas from RouterOS, working with /console/inspect, mapping CLI commands to REST verbs, traversing the RouterOS command hierarchy, or when the user mentions inspect, command tree, RAML, or OpenAPI generation for RouterOS.
aiskillstore/marketplace · ★ 329 · API & Backend · score 79
Install: claude install-skill aiskillstore/marketplace
# RouterOS Command Tree & /console/inspect ## Overview RouterOS organizes all configuration and commands in a **hierarchical tree**. Every path in the CLI (like `/ip/address/add`) corresponds to a node in this tree. The `/console/inspect` REST endpoint lets you **programmatically explore the entire tree** — this is how tools like `restraml` (RAML/OpenAPI schema generator) and `rosetta` (MCP command lookup) build their databases. ## The Command Tree Structure RouterOS's command hierarchy has four node types: | Node Type | Meaning | Example | |---|---|---| | `dir` | Directory — contains child paths | `/ip`, `/system` | | `path` | Path — a navigable level (often has commands) | `/ip/address`, `/interface/bridge` | | `cmd` | Command — an executable action | `add`, `set`, `print`, `remove`, `get`, `export` | | `arg` | Argument — a parameter to a command | `address=`, `interface=`, `disabled=` | ### Tree Example ``` / (root dir) ├── ip/ (dir) │ ├── address/ (path) │ │ ├── add (cmd) │ │ │ ├── address (arg) — "IP address" │ │ │ ├── interface (arg) — "Interface name" │ │ │ └── disabled (arg) — "yes | no" │ │ ├── set (cmd) │ │ ├── remove (cmd) │ │ ├── get (cmd) │ │ ├── print (cmd) │ │ └── export (cmd) │ ├── route/ (path) │ │ └── ... │ └── dns/ (path) │ ├── set (cmd) │ ├── cache/ (path) │ │ ├── print (cmd) │ │ └── flush (cmd) │ └── ... ├── interface/ (dir) │ └── ... ├── system/ (dir) │ └── .