routeros-fundamentals
RouterOS v7 domain knowledge for AI agents. Use when: working with MikroTik RouterOS, writing RouterOS CLI/script commands, calling RouterOS REST API, debugging why a Linux command fails on RouterOS, or when the user mentions MikroTik, RouterOS, CHR, or /ip /system /interface paths. Scope: RouterOS 7.x (long-term and newer) only — v6 is NOT covered and accuracy for v6 problems will be low.
What this skill does
# RouterOS Fundamentals ## RouterOS Is NOT GNU/Linux RouterOS runs a Linux kernel (5.6.3) but **everything above the kernel is MikroTik's proprietary `nova` system**. This is the single most important fact for agents to internalize. **What does NOT exist on RouterOS:** - No `/bin`, `/usr`, `/etc`, `/var` — no FHS layout - No bash, sh, ash, zsh — no Unix shell at all - No coreutils (`ls`, `cat`, `grep`, `ps`, `mount`, `ip`, `iptables`, etc.) - No glibc, musl, busybox - No apt, pkg, opkg — no package manager (packages are `.npk` files installed via upload + reboot) - No `systemctl`, `service`, init system - No `/proc` or `/sys` accessible from userland - No `docker`, `podman` — RouterOS has its own `/container` subsystem (7.x+) **What DOES exist:** - RouterOS CLI — its own language, not shell. Accessed via SSH, serial, WinBox, or WebFig - REST API at `/rest/` (HTTP, port 80 by default) — the primary programmatic interface - RouterOS scripting language (`.rsc` files) — its own syntax, not bash. See [Scripting reference](./references/scripting.md) - WebFig (web UI) on port 80 - WinBox protocol on port 8291 **Common agent mistakes to avoid:** - Do NOT try `ssh admin@host 'ls /'` — it opens RouterOS CLI, not a shell - Do NOT suggest `mount`, `fdisk`, `mkfs` — use `/disk` commands instead - Do NOT look for config files at `/etc/` — configuration is in the RouterOS database - Do NOT assume `ping` works the same — it's `/tool/ping` or `/ping` in CLI - Do NOT suggest installing packages via `apt` or `opkg` — upload `.npk` via SCP then `/system/package/apply-changes` (7.18+) or `/system/reboot` (<7.18) - See [Extra packages reference](./references/extra-packages.md) for the full package list and installation pattern ## RouterOS CLI Syntax RouterOS CLI uses path-based navigation, not Unix command pipelines: ```routeros # Navigation /ip/address/print /interface/print /system/resource/print # Adding entries /ip/address/add address=192.168.1.1/24 interface=ether1 # Modifying (by internal ID or find expression) /ip/address/set [find interface=ether1] address=10.0.0.1/24 # Removing /ip/address/remove [find address="192.168.1.1/24"] # Running a command /system/reboot /tool/fetch url="http://example.com/file.npk" dst-path="/" ``` **Key syntax differences from shell:** - `=` assigns properties (no spaces around it) - `[find ...]` is the query expression (like WHERE) - Strings use `""` (double quotes only) - Comments use `#` - Variables: `:local myVar "value"` and `$myVar` - No pipes, no redirection, no subshell ## REST API RouterOS REST API at `http://HOST:PORT/rest/`. HTTP verbs map non-standardly: | HTTP | RouterOS Action | CLI Equiv | |---|---|---| | `GET` | print (list/read) | `/path/print` | | `PUT` | **add (create)** | `/path/add` | | `PATCH` | set (update) | `/path/set` | | `DELETE` | remove | `/path/remove` | | `POST` | command (execute) | `/path/command` | **Key gotchas:** - `PUT` creates (NOT updates) — opposite of many REST APIs - Empty password auth: `admin:` (colon required, nothing after) - WebFig root (`GET /`) returns HTTP 200 without auth — use as health check - REST API (`/rest/`) requires auth (HTTP 401 without it) - `.id` field is `*HEX` format (e.g., `*1`, `*A`) See [REST API reference](./references/rest-api-patterns.md) for full patterns, error handling, filtering, POST commands, and `/console/inspect`. ## Version Scheme Format: `MAJOR.MINOR[.PATCH][betaN|rcN]` — e.g., `7.22`, `7.22.1`, `7.23beta2`, `7.22rc1` **Channels:** `stable` / `long-term` / `testing` / `development` Version endpoint (plain text): `https://upgrade.mikrotik.com/routeros/NEWESTa7.<channel>` For version parsing, comparison, download URLs, and package naming: see [Version parsing reference](./references/version-parsing.md). ## Architecture Names MikroTik uses these architecture identifiers (not standard Linux arch names): | MikroTik name | CPU | Common hardware | |---|---|---| | `x86` | x86_64 | CHR, x86-based RouterBOARDs | | `arm64` | aarch64 | Modern ARM boards (RB5009, Chateau) | | `arm` | ARMv7 | Older ARM boards | | `mipsbe` | MIPS big-endian | Legacy RouterBOARDs | | `mmips` | MIPS multi-core | hAP ac, RB4011 | | `smips` | MIPS single-core | hAP lite, mAP | | `ppc` | PowerPC | CCR1xxx series | | `tile` | Tilera | CCR (older models) | CHR (Cloud Hosted Router) is available only for `x86` and `arm64`. ## Default Credentials - Username: `admin` - Password: (empty — no password) - On first login via SSH/console, RouterOS 7.x prompts to set a password or press `a` to skip - REST API and WebFig allow empty-password access ## Inspecting Hardware from RouterOS CLI ```routeros # PCI devices (the RouterOS equivalent of lspci) /system/resource/hardware/print # IRQ assignments (shows driver binding) /system/resource/irq/print # System overview /system/resource/print # Disk info /disk/print # Installed packages /system/package/print # IP services and ports /ip/service/print # Network interfaces /interface/print ``` ## Additional Resources **Reference files:** - For REST API details and `/console/inspect` command tree: see [REST API reference](./references/rest-api-patterns.md) - For version parsing, comparison, and download URL logic: see [Version parsing reference](./references/version-parsing.md) - For extra packages (container, iot, zerotier, etc.): see [Extra packages reference](./references/extra-packages.md) - For device-mode (modes, feature matrix, physical confirmation): see [Device-mode reference](./references/device-mode.md) - For RouterOS scripting language syntax: see [Scripting reference](./references/scripting.md) - For user management, SSH keys, admin account: see [Users REST reference](./references/routeros-users-rest.md) - For IP addressing, routing, DHCP, DNS, interfaces: see [Networking REST reference](./references/routeros-networking-rest.md) - For firewall filter/NAT/mangle and rule ordering: see [Firewall REST reference](./references/routeros-firewall-rest.md) - For Bun runtime bugs affecting HTTP (req.destroy, pool, secrets): see [Bun runtime gotchas](./references/bun-runtime-gotchas.md) **Related skills:** - For the /container subsystem (VETH, device-mode, lifecycle): see the `routeros-container` skill - For netinstall-cli and device flashing: see the `routeros-netinstall` skill - For the /app YAML container format (7.22+): see the `routeros-app-yaml` skill - For /console/inspect tree traversal and schema generation: see the `routeros-command-tree` skill - For running CHR in QEMU (local or CI): see the `routeros-qemu-chr` skill - For packet capture, /tool/sniffer, and TZSP streaming: see the `routeros-sniffer` skill **MCP tools:** - For command tree browsing and property lookups: use the `rosetta` MCP server tools (`routeros_search`, `routeros_get_page`, `routeros_command_tree`)
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.