Logo van Keenetic Rci

Keenetic Rci

Community
salatmaster
keenetic-rci

Use when a Keenetic question is not covered by the curated tools and you need rci_call - explains the RCI tree, the paths that exist, the responses that will blow up your context, and the traps that make a wrong call look like success

Overzicht

Uitgeversalatmaster
Repositorykeenetic-mcp
Skillnaamkeenetic-rci
Sterren
31
Forks
5
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door salatmaster op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Keenetic Rci in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Keenetic Rci in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Keenetic Rci automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Keenetic Rci niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill Keenetic Rci?

Use when a Keenetic question is not covered by the curated tools and you need rci_call - explains the RCI tree, the paths that exist, the responses that will blow up your context, and the traps that make a wrong call look like success

Waarom Keenetic Rci gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Keenetic Rci bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Keenetic Rci in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Keenetic Rci gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Keenetic Rci gebruiken?

Zoveel als je wilt. Je kunt Keenetic Rci gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Keenetic Rci gratis?

Ja. Deze skill is door salatmaster op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇