شعار Routeros Webfig

Routeros Webfig

مؤسسة
tikoci
routeros-webfig

Build RouterOS WebFig deep links for human review of connections, addresses, VLANs, bridges, firewall rules and CMR. Covers the hash-fragment URL scheme, object links, login redirects, browser token storage, and embedding the router UI in a native WebView. Use when linking a human to RouterOS views or integrating WebFig into an app. Grounded on CHR 7.24.5 and version-specific CMR checks; use routeros-centrs for machine configuration.

نظرة عامة

الناشرtikoci
المستودعrouteros-skills
اسم المهارةrouteros-webfig
النجوم
85
التفريعات
18
الملفات المرفقة
3
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها tikoci على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Routeros Webfig في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/tikoci/routeros-skills/tree/main/routeros-webfig
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tikoci/routeros-skills.git /tmp/routeros-skills
mkdir -p .claude/skills
cp -r /tmp/routeros-skills/routeros-webfig .claude/skills/routeros-webfig
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Routeros Webfig في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Routeros Webfig تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Routeros Webfig بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

RouterOS WebFig links and embedded views

Use WebFig to let a human inspect the router's own UI alongside an agent's work. Give them a link plus what to check, for example:

Review the bridge's tagged and untagged VLAN membership: https://router.example/webfig/#Bridge.VLANs

WebFig can edit configuration too; opening its UI does not make an agent's changes approved. Use routeros-centrs for machine configuration and verification. This skill covers navigation and session behavior.1

Build a link

Use a router web origin reachable from the human's browser or embedded view, plus /webfig/ and a fragment:

text
https://router.example:8443/webfig/#IP:Firewall.Connections
https://router.example:8443/webfig/#IP:Addresses
https://router.example:8443/webfig/#Bridge.VLANs

Get the actual service and port from /ip/service through centrs. www serves HTTP (default 80); www-ssl serves HTTPS (default 443) and needs a valid certificate. A quickchr host-forward port belongs in the URL instead of the guest's service port. Prefer trusted HTTPS for deployed routers. A working REST endpoint proves that the corresponding web service is reachable from that client. Check the human's browser separately when the agent uses a tunnel or loopback address on another machine. On releases exposing /ip/service/webserver, webfig-plain and webfig-secure can disable WebFig independently of REST. Check /webfig/ and its rendered view too.2

The common grammar is #[group:]service[.container]. Names are case-sensitive. The served normalize() function replaces whitespace and dots in service/container names with underscores; it leaves the group literal. Thus IP → Firewall → Filter Rules is #IP:Firewall.Filter_Rules. CLI paths are not WebFig fragments: /ip/address maps to #IP:Addresses, not #ip:address.3

Frequently useful views

These views were opened in Chrome against x86 CHR 7.24.5 and 7.26beta1; see the validation record for versions and limits.

Human should reviewFragment
Connection tracking#IP:Firewall.Connections
IPv4 addresses#IP:Addresses
IPv4 routes#IP:Routes
Firewall filter rules#IP:Firewall.Filter_Rules
NAT rules#IP:Firewall.NAT
Interfaces#Interfaces.Interface
VLAN interfaces#Interfaces.VLAN
Bridges#Bridge.Bridge
Bridge ports#Bridge.Ports
Bridge VLAN membership#Bridge.VLANs
RouterOS users#System:Users

CMR was checked separately on 7.26beta1 with the optional cmr package:

Human should reviewFragment
Controller dashboard#CMR_Dashboard.Dashboard
Controller device inventory#CMR_Devices.Devices
Router's own CMR client settings/status#System:CMR_Client

#CMR and #CMR.Devices did not open CMR in that lab; they silently fell back to Interfaces. Use the UI's names rather than guessing from /cmr.

For other views, use the fragment catalog and discovery guidance. Menu availability depends on RouterOS version, installed packages, hardware (including CHR architecture: ARM64 7.24.5 did not advertise ups.jg in its menu manifest even with the ups package installed), user policy and skins. Copy the URL from the target UI when possible.3

Object links and fallback

Additional components can select an object: the UI generated #Interfaces.Interface.2 when opening the lab's ether1, and reopening that URL opened its form. MikroTik also documents #IP:Firewall.Filter_Rules.17 as an object URL. Copy the actual UI-generated fragment; suffixes are router-local object identifiers, not portable row numbers or interface names. Do not blindly append a REST .id such as *1.4

Unknown services or containers can silently fall back to another view while leaving the requested hash in the address bar. Verify the rendered title and selected tab, not just the URL or HTTP 200. Do not bulk-open generated fragments: the menu definitions include action containers as well as tables and forms, and some doit containers dispatch an operation when opened.3

Skins

For a simplified WebFig UI, use a skin, edited in #SkinDesigner when the user's permissions expose the designer and stored as skins/<name>.json on the router. Assign it to a user group (/user/group set <group> skin=<skin> via centrs). MikroTik also documents WinBox use of the group skin; WinBox was not tested here. A skin can hide or rename entries, add notes, and apply UI limits or read-only fields; it is not a security boundary — a user whose group policies allow an action can still reach it through the CLI or another tool.5

Login and human handoff

Send a plain URL with no password or token. On the tested 7.24.5 login flow:

  1. /webfig/#IP:Firewall.Connections without a token redirects to /#IP:Firewall.Connections.
  2. A failed password login returns to that login URL with the hash intact.
  3. Successful login returns to the requested WebFig view.
  4. A returning browser uses a token from the router origin's localStorage.

An expired password can instead open #System:Password.Change_Now; treat login and any required password change as human steps. Default configuration and other startup flows may also take precedence. This is tested version behavior, not a promise for every RouterOS release.6

Embed in an app

Load the router's URL as the top-level page of a native WebView, with JavaScript and web storage available. Let the human use WebFig's login form. Keep /, /webfig/, /assets/ and /jsproxy on the same router origin; fetching only the WebFig HTML into a local app page does not recreate its relative requests or storage context.7

The tested server sends X-Frame-Options: sameorigin for / and /webfig/. A cross-origin iframe in an app's web dashboard is therefore blocked; a native top-level WebView is a different integration. Validate the actual target engine and RouterOS release before promising an embedded experience.7

Choose whether the WebView's website data persists. WebFig stores its token in localStorage, whose storage area is scoped to the scheme/host/port and the browser's data store. This describes browser storage isolation, not a server-side restriction on where the token can authenticate. Changing HTTP to HTTPS, changing the port, or opening another browser profile can require a new login. Reusing one data store and origin shares the login; independent data stores allow separate sessions. For example, WKWebView exposes this through WKWebsiteDataStore.8

Keep privileged native bridges away from untrusted navigation, and validate TLS normally. WebFig's application encryption does not authenticate the HTML/JS delivered over plain HTTP. Use the auth/session reference when debugging login, token persistence, logout or /jsproxy; it is background for hosting the real UI, not a replacement configuration API.7

Related skills

  • routeros-centrs — validated machine operations and state verification.
  • routeros-cmr — CMR package/version requirements and configuration.
  • routeros-quickchr-cli — disposable CHR for reproducing UI behavior.

Footnotes

  1. MikroTik WebFig manual describes monitoring, configuration, troubleshooting and skins. ↩

  2. WebFig HTTPS setup, web server settings, and quickchr's port-forwarding documentation. ↩

  3. Validation record: 7.24.5 served bundle normalize, findContainer, selectService, updateContent and container.*.createPane; browser checks of valid and invalid fragments. ↩ ↩2 ↩3

  4. MikroTik's skin alias / URL example and live object-link check. ↩

  5. MikroTik WebFig skins ("Design Skin … is not a security tool"; group assignment via /user/group set), served-bundle loadSkin/saveSkin/normalizeSkin schema (validation), and live /user/group skin property read on CHR 7.24.5. ↩

  6. Validation record, including browser login, wrong-password and expired-password observations; bundle autoLogin, doAuth, logout, start and login-page openWebFig. ↩

  7. Validation record for headers and source inspection. Native WebView guidance is an integration recommendation; native engines were not tested. HTML origin rules explain origin isolation. ↩ ↩2 ↩3

  8. HTML Web Storage standard and Apple WKWebsiteDataStore, plus observed WebFig token behavior. ↩

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Routeros Webfig؟

Build RouterOS WebFig deep links for human review of connections, addresses, VLANs, bridges, firewall rules and CMR. Covers the hash-fragment URL scheme, object links, login redirects, browser token storage, and embedding the router UI in a native WebView. Use when linking a human to RouterOS views or integrating WebFig into an app. Grounded on CHR 7.24.5 and version-specific CMR checks; use routeros-centrs for machine configuration.

لماذا تستخدم Routeros Webfig على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Routeros Webfig عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Routeros Webfig في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/tikoci/routeros-skills/tree/main/routeros-webfig. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Routeros Webfig؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Routeros Webfig؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Routeros Webfig معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Routeros Webfig مجانية؟

نعم. نشرها tikoci على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇