← 返回 Skills 市场
2944721178

Mikrotik

作者 wukefenggao · GitHub ↗ · v1.8.5 · MIT-0
cross-platform ✓ 安全检测通过
539
总下载
0
收藏
4
当前安装
5
版本数
在 OpenClaw 中安装
/install mikrotik
功能描述
通过 API 连接和管理 MikroTik RouterOS 设备。支持查看设备状态、防火墙规则、网络配置,执行自定义 RouterOS 命令。
安全使用建议
This skill appears to do what it claims (manage MikroTik devices and scan the local network), but it performs active network scanning and may attempt default/empty-password logins and write device info to ~/.openclaw/workspace/TOOLS.md. Before installing or running it: (1) get explicit permission from your network administrator; (2) avoid saving plaintext credentials in TOOLS.md — use environment variables or a secrets manager; (3) test in an isolated lab network first to see scanning behavior and resource use; (4) review the code that may perform writes to your workspace if you need to prevent credential persistence. If you need, I can point to the exact places in the code that perform scans, subprocess calls, login attempts, and any file writes so you can audit or modify them.
功能分析
Type: OpenClaw Skill Name: mikrotik Version: 1.8.5 The MikroTik skill bundle is a comprehensive administrative tool for managing RouterOS devices via the MikroTik API. It includes functionality for monitoring system health, managing firewall rules, and performing network discovery. While the skill utilizes high-risk capabilities such as local network scanning via `subprocess` (in `scanner.py`) and credential retrieval from `TOOLS.md` (in `handler.py`), these behaviors are explicitly documented, aligned with the stated purpose, and include appropriate security warnings for the user. No evidence of intentional data exfiltration, unauthorized remote access, or malicious prompt injection was found.
能力评估
Purpose & Capability
Name and description match the code and instructions: the package implements a MikroTik RouterOS API client, common command wrappers, CLI, and a network scanner. The requested capabilities (reading TOOLS.md, optional env vars, opening sockets to devices, and issuing RouterOS commands including admin-level operations) are coherent with a router management skill.
Instruction Scope
SKILL.md and the code direct the agent to perform active LAN operations: enumerate local subnets, run system commands ('ip', 'hostname', 'ip neigh'), scan many IPs for open API ports (8728/8729), and attempt connections (including trying empty-password 'admin' logins for info). The instructions also describe interactive flows that save credentials to ~/.openclaw/workspace/TOOLS.md. These behaviors are within the skill's purpose but are intrusive on a network and can trigger security alerts; they require explicit operator approval and careful credential handling.
Install Mechanism
No install spec is present (no external downloads or installers). The package is delivered as code files in the skill bundle; nothing in the manifest indicates fetching arbitrary third-party archives or running remote installers. This is lower-risk from an install-mechanism perspective.
Credentials
The registry metadata lists no required env vars, but the code and SKILL.md read and recommend MIKROTIK_HOST / MIKROTIK_USER / MIKROTIK_PASS and also parse ~/.openclaw/workspace/TOOLS.md for credentials. Those environment variables are appropriate and expected for the stated purpose, but the mismatch with the declared registry requirements is an inconsistency. The skill also recommends storing credentials in TOOLS.md (plaintext) which is insecure — the doc warns about it but still promotes that option.
Persistence & Privilege
always:false and normal autonomous invocation apply. The skill can persist device info/credentials into the user's workspace TOOLS.md (per SKILL.md/README statements), which is a modest persistence within the user's OpenClaw workspace and not a system-wide privilege escalation. Users should be aware credentials may be written locally if they follow the interactive setup.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mikrotik
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mikrotik 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.8.5
v1.8.5 (2026-03-09) 🚀 - 🔍 重构网络扫描:改用 API 端口扫描 - ⚡ 50 线程并发,自动获取设备信息 - 🔧 修复 login() 逻辑错误 - ⚠️ 添加安全警告和使用建议
v1.8.4
v1.8.4: 新增备份配置、存储清理、API 配置查看功能,整合临时脚本
v1.8.3
修复 RouterBOARD 固件显示错误
v1.8.2
v1.8.2 - 更新 handler.py,优化功能或修复细节 - 其它文档和功能保持不变
v1.8.1
Version 1.8.1 - 完善 SKILL.md 文档,详细说明所有核心功能及用法,覆盖设备状态、防火墙、接口、流量、DHCP、ARP、VLAN、桥接、路由、日志等多项管理与查询能力 - 明确配置方法,支持 TOOLS.md 和环境变量双重配置,详述优先级与密码格式 - 增加多设备管理说明,覆盖命令场景、依赖和常见注意事项 - 优化示例响应和常见问题补充,提升易用性和上手体验 - 该版本为文档完善与用法梳理,未涉及核心功能更新
元数据
Slug mikrotik
版本 1.8.5
许可证 MIT-0
累计安装 4
当前安装数 4
历史版本数 5
常见问题

Mikrotik 是什么?

通过 API 连接和管理 MikroTik RouterOS 设备。支持查看设备状态、防火墙规则、网络配置,执行自定义 RouterOS 命令。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 539 次。

如何安装 Mikrotik?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install mikrotik」即可一键安装,无需额外配置。

Mikrotik 是免费的吗?

是的,Mikrotik 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Mikrotik 支持哪些平台?

Mikrotik 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Mikrotik?

由 wukefenggao(@2944721178)开发并维护,当前版本 v1.8.5。

💬 留言讨论