Logo di 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

Panoramica

Pubblicato dasalatmaster
Repositorykeenetic-mcp
Nome della skillkeenetic-rci
Stelle
31
Fork
5
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da salatmaster su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Keenetic Rci in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Keenetic Rci in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Keenetic Rci non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Keenetic Rci non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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

Perché usare Keenetic Rci su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Keenetic Rci è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Keenetic Rci in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/salatmaster/keenetic-mcp/tree/main/plugins/keenetic/skills/keenetic-rci. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Keenetic Rci?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Keenetic Rci?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Keenetic Rci: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Keenetic Rci è gratuita?

Sì. È pubblicata su GitHub da salatmaster con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇