Logo: Keenetic Rci

Keenetic Rci

Communautéit
salatmaster
keenetic-rci

Benotzt dëse Skill, wann eng Fro zu Keenetic net vun de virdefinéierten Tools ofgedeckt gëtt an Dir rci_call braucht. Erkläert de RCI-Bam, déi verfügbar Weeër, d’Äntwerten, déi Äre Kontext iwwerfëllen, an d’Fallen, bei deenen en Opruff, deen net richteg ass, wéi en Erfolleg ausgesäit.

Iwwersiicht

Editeursalatmaster
Repositorykeenetic-mcp
Skill-Nummkeenetic-rci
Stären
31
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    salatmaster huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Keenetic Rci an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Keenetic Rci an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Keenetic Rci automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Keenetic Rci net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill Keenetic Rci?

Benotzt dëse Skill, wann eng Fro zu Keenetic net vun de virdefinéierten Tools ofgedeckt gëtt an Dir rci_call braucht. Erkläert de RCI-Bam, déi verfügbar Weeër, d’Äntwerten, déi Äre Kontext iwwerfëllen, an d’Fallen, bei deenen en Opruff, deen net richteg ass, wéi en Erfolleg ausgesäit.

Firwat Keenetic Rci op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Keenetic Rci besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Keenetic Rci an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Keenetic Rci benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Keenetic Rci benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Keenetic Rci domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Keenetic Rci gratis?

Jo. salatmaster huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇