شعار Keenetic Rci

Keenetic Rci

المجتمع
salatmaster
keenetic-rci

استخدم هذه المهارة عندما لا تغطي الأدوات المنسّقة سؤالًا عن Keenetic وتحتاج إلى rci_call. تشرح شجرة RCI والمسارات المتاحة والاستجابات التي ستُغرق السياق، والفخاخ التي تجعل الاستدعاء الخاطئ يبدو ناجحًا.

نظرة عامة

الناشرsalatmaster
المستودعkeenetic-mcp
اسم المهارةkeenetic-rci
النجوم
31
التفريعات
5
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Reaching the Keenetic API directly

The curated tools cover the common questions. rci_call covers everything else. It is deliberately unrestricted, so the responsibility for calling it well is yours.

What RCI actually is

Not REST. It is a JSON mirror of the router's command-line tree, so a URL path is a path through that tree. There are two branches:

FormWhat it gives you
GET show/...operational state, the equivalent of a show command
GET <config path>the running configuration, as JSON
POST with a bodyexecutes a command; the body mirrors the same tree

GET with an empty path returns the entire running configuration, about 35 KB.

Find the syntax instead of guessing it

This is the single most useful technique. The router stores its own configuration as valid CLI, so it will tell you the exact syntax of anything it is already doing:

rci_call { "method": "GET", "path": "show/running-config" }

Read the lines around whatever you want to change. A host with a routing policy appears as host <mac> policy Policy0, which maps to {"ip":{"hotspot":{"host":{"mac":"...","policy":"Policy0"}}}}. Guessing field names instead produces silent no-ops, described below.

Deleting something: no goes beside the arguments

The negation is not a wrapper key. The router shows an already-negated line as "no": true sitting next to that line's arguments, and a delete is written the same way round. The object's own name travels in name:

json
{"ip": {"policy": {"no": true, "name": "Policy1"}}}
{"interface": {"no": true, "name": "Wireguard1"}}
{"ip": {"name-server": {"no": true, "address": "1.1.1.1", "domain": "", "interface": "Wireguard1"}}}

A successful delete answers with a status block that names what went, for example removed policy "Policy1". or interface "Wireguard1" removed.. No such block means nothing happened, whatever the HTTP code said.

References clean up on their own: removing Wireguard1 also dropped the no permit global Wireguard1 line that Policy0 still carried.

Confirmed on KeeneticOS 5.1.1.

Three traps

A wrong field name looks exactly like success. Send a field into a branch that does not have it and the router answers {} with no error and changes nothing. Always read the value back after a write and confirm it actually changed. The curated write tools do this for you; rci_call does not.

Errors arrive inside HTTP 200. A failure is reported as {"status":[{"status":"error","code":...,"message":...}]} in the body. The server raises those as errors for you, but if you see a status block with a level other than error, that is informational and not a failure: a successful write returns {"status":[{"status":"message","message":"rule \"permit\" applied..."}]}.

A config branch does not echo what you write. known/host returns only [{"mac":"..."}] and never includes the name, even straight after a successful rename. Verify a change against whichever view actually exposes the field, which for names is show/ip/hotspot.

Paths worth knowing

Confirmed on KeeneticOS 5.1. Smaller firmware has fewer of them; call get_system_info and read the component list before assuming a feature exists.

PathContents
show/versionmodel, firmware, installed components, hardware features
show/systemCPU, memory, uptime, conntrack usage
show/interfaceevery interface, about 32 KB
show/ip/hotspotevery known device with full telemetry
show/ip/routerouting table
show/associationsWi-Fi stations
show/internet/statusreachability checks
show/last-changewho changed the config, and whether it is saved
show/ip/dhcp/bindingsDHCP leases
show/ip/policy, ip/policyconnection policies
ip/hotspot/hostper-device access and policy configuration
known/hostdevice registration and names
ip/staticport forwarding

Responses that will blow up your context

The server caps every response, but a capped response is still a wasted call. Measured on a mid-range router:

PathSize
show/ip/natover 100 KB, hundreds of rows
show/processesabout 70 KB
show/netfilterabout 34 KB, and plain text, not JSON
show/interfaceabout 32 KB
show/running-configabout 15 KB, an array of CLI lines

Ask for a narrow path. show/interface/Bridge0 instead of show/interface.

Paths that do not exist

Do not assume a component implies a path of the same name. On 5.1 these are all 404, even with the corresponding component installed:

show/wireguard, show/log, show/ipsec, show/components/list, show/ntce, show/skydns, show/wlan

WireGuard state lives under show/interface/Wireguard3, not show/wireguard.

Interface names containing a slash

Every Wi-Fi access point is named like WifiMaster0/AccessPoint0. The slash is read as another path segment, so GET show/interface/WifiMaster0/AccessPoint0 is a 404. Ask by name instead:

rci_call { "method": "POST",
           "body": { "show": { "interface": { "name": "WifiMaster0/AccessPoint0" } } } }

The get_interface tool already does this.

Before you write anything

Read keenetic-safe-changes. Writes through rci_call skip the verification and the automatic backup that the curated tools provide, so prefer update_device and set_interface_state whenever they fit.

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

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

استخدم هذه المهارة عندما لا تغطي الأدوات المنسّقة سؤالًا عن Keenetic وتحتاج إلى rci_call. تشرح شجرة RCI والمسارات المتاحة والاستجابات التي ستُغرق السياق، والفخاخ التي تجعل الاستدعاء الخاطئ يبدو ناجحًا.

لماذا تستخدم Keenetic Rci على TypingMind؟

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

كيف أثبّت Keenetic Rci في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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