keenetic-segments

keenetic-segments is a skill for Claude Code from salatmaster/keenetic-mcp. It costs 55 tokens per session (2,505 once invoked), scanned A, original, MIT.

A guide to creating VLAN-backed network segments on Keenetic routers, such as guest, IoT, or VPN networks. It explains why a network can work but remain missing from the router's web interface.

In plain words
What is it for?
Use it when setting up an isolated Keenetic network and making sure the router lists it correctly.
Why use it?
It prevents the common mistake of creating only a bridge, which leaves the network usable but invisible and hard to manage.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the keenetic plugin — 4 skills, 1 command, 1 MCP server shipped together

Good fit Use it when setting up an isolated Keenetic network and making sure the router lists it correctly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salatmaster/keenetic-mcp/keenetic-segments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add salatmaster/keenetic-mcp --skill keenetic-segments
Clone the repo
git clone --depth 1 https://github.com/salatmaster/keenetic-mcp

Made for: Claude Code.

Or install keenetic, the plugin that ships this one along with the rest of its 4 skills, 1 command, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for keenetic-segments

README.md
[![agentmods](https://agentmods.dev/badge/skills/salatmaster/keenetic-mcp/keenetic-segments/github.svg)](https://agentmods.dev/skills/salatmaster/keenetic-mcp/keenetic-segments)
Your own site
<a href="https://agentmods.dev/skills/salatmaster/keenetic-mcp/keenetic-segments"><img src="https://agentmods.dev/badge/skills/salatmaster/keenetic-mcp/keenetic-segments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for keenetic-segments

Your own site · 80×15
<a href="https://agentmods.dev/skills/salatmaster/keenetic-mcp/keenetic-segments"><img src="https://agentmods.dev/badge/skills/salatmaster/keenetic-mcp/keenetic-segments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.02505
Opus 5.5 $0.00022 $0.01002
Sonnet 5.5 $0.00011 $0.00501
Haiku 4.5 $0.00006 $0.00250

Measured 2mo ago against content hash dde5227c2576, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

keenetic-segments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/keenetic/skills/keenetic-segments/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Creating a segment the router will admit exists

The trap

The obvious way to build an isolated network is a bridge with an address, NAT, and a Wi-Fi network bound to it:

interface Bridge2
interface Bridge2 ip address 192.168.3.1 255.255.255.0
interface Bridge2 up
ip nat Bridge2

This works. Clients associate, get addresses, reach the internet, and stay off the home network. It is also invisible: nothing appears under /access-points, nothing appears in the segment list, and the user cannot manage from the web interface the thing they just asked you to create.

Reported as "it works but I can't see it", which is a much harder bug to find after the fact than before.

What the web interface means by a segment

A segment is VLAN-backed. The bridge is only half of it. Three things are missing from the sequence above:

  1. a VLAN subinterface, GigabitEthernet0/VlanN
  2. that VLAN trunked over every port of the switch
  3. the subinterface bridged into the segment

Do those and the router fills in the rest itself. iseg - the block the web interface reads - is computed, not written:

"iseg": { "vlan": "2", "port": "1,2,3,4,5", "vlan-port": "1,2,3,4,5",
          "free-port": "", "busy-vlan": "1" }

You never set those fields. If they are empty, the VLAN is missing.

Use the tool

create_segment does all of it, picks free identifiers, verifies the result against iseg, and rolls the whole thing back if any step fails:

create_segment { "name": "iot", "ssid": "…", "psk": "…" }
create_segment { "name": "vpn", "permit_interfaces": ["Wireguard1"] }
create_segment { "name": "wired-lab", "subnet": 40 }

list_segments shows what exists and, per bridge, whether uiVisible is true. Run it first: a bridge that is already there but not visible has the same missing VLAN, and is worth mentioning to the user.

Everything below is for doing it by hand through rci_call, which is worth reading anyway, because it is what the tool is doing.

Read the full file on GitHub · 260 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 260 lines · 55 tokens per session scan A dde5227c2576

Subscribe to this mod's changes

keenetic-segments is a skill published in the GitHub repository salatmaster/keenetic-mcp (31 stars, last pushed 5d ago), licensed MIT. It adds 55 tokens to every session and 2,505 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

keenetic-segments compared with skills from other repositories

keenetic-segments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
keenetic-segmentssalatmaster/keenetic-mcpSkill315d agoMITA55Claude Code
keenetic-segmentselihucredible450/keenetic-mcpSkill025d agoMITA55Claude Code
keenetic-rcielihucredible450/keenetic-mcpSkill025d agoMITA56Claude Code
keenetic-safe-changeselihucredible450/keenetic-mcpSkill025d agoMITA46Claude Code
keenetic-troubleshootelihucredible450/keenetic-mcpSkill025d agoMITA48Claude Code
telephony-and-conferencingcbrock84/headcountSkill2.6k19d agoMITA85Claude Code
endpoint-managementcbrock84/headcountSkill2.6k19d agoMITA61Claude Code