homelab-vlan-segmentation

homelab-vlan-segmentation is a skill for Claude Code, Codex from JunMystery/Agent-Guidance-Python. It costs 56 tokens per session (2,961 once invoked), scanned A, a copy of homelab-vlan-segmentation, MIT.

A guide to splitting a home network into VLANs, which are separate virtual network sections for trusted devices, guests, IoT devices, and servers. It covers switches, Wi-Fi networks, routing, and firewall rules.

In plain words
What is it for?
Use it to isolate IoT and guest networks, map Wi-Fi networks to VLANs, configure network ports, and troubleshoot traffic between sections.
Why use it?
It limits which devices can communicate, so a compromised smart device or guest device has less access to personal computers and servers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to isolate IoT and guest networks, map Wi-Fi networks to VLANs, configure network ports, and troubleshoot traffic between sections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/junmystery/agent-guidance-python/homelab-vlan-segmentation
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 JunMystery/Agent-Guidance-Python --skill homelab-vlan-segmentation
Clone the repo
git clone --depth 1 https://github.com/JunMystery/Agent-Guidance-Python

Made for: Claude Code, Codex.

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 homelab-vlan-segmentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation/github.svg)](https://agentmods.dev/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation)
Your own site
<a href="https://agentmods.dev/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation"><img src="https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation/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 homelab-vlan-segmentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation"><img src="https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/homelab-vlan-segmentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,961 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.
Origin 86% copy Near-identical to another mod 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.00056 $0.02961
Opus 5.5 $0.00022 $0.01184
Sonnet 5.5 $0.00011 $0.00592
Haiku 4.5 $0.00006 $0.00296

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

Security

Grade A, and why

homelab-vlan-segmentation 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

This is a copy

86% identical to homelab-vlan-segmentation — 28 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/homelab-vlan-segmentation/SKILL.md · 312 lines

How it starts

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

Homelab VLAN Segmentation

How to split a home network into isolated VLANs so IoT devices, guests, and your main PCs cannot talk to each other. The most impactful security upgrade for a home network.

All firewall rules shown here add isolation between segments — they do not remove existing protections. Apply changes in a maintenance window and verify connectivity between segments after each step before moving on.

When to Use

  • Setting up VLANs on a home network for the first time
  • Isolating IoT devices (smart bulbs, cameras, TVs) from trusted devices
  • Creating a guest Wi-Fi network that cannot reach home devices
  • Explaining how VLANs work to someone unfamiliar with the concept
  • Configuring trunk ports, access ports, and SSID-to-VLAN mapping
  • Troubleshooting inter-VLAN routing or firewall rule issues on pfSense/OPNsense/UniFi

How It Works

Without VLANs — flat network:
  All devices on 192.168.1.0/24
  Smart TV (potential malware) → can reach your NAS, PCs, everything

With VLANs:
  VLAN 10 — Trusted    192.168.10.0/24  (PCs, phones, laptops)
  VLAN 20 — IoT        192.168.20.0/24  (smart TV, bulbs, cameras)
  VLAN 30 — Servers    192.168.30.0/24  (NAS, Pi, VMs)
  VLAN 40 — Guest      192.168.40.0/24  (visitor Wi-Fi)
  VLAN 99 — Management 192.168.99.0/24  (switch/AP web UIs)

  Smart TV → blocked from reaching 192.168.10.0/24 and 192.168.30.0/24
  Guests → internet only, cannot see any home devices

VLAN Design Template

VLAN  Name        Subnet              Gateway         Purpose
10    trusted     192.168.10.0/24     192.168.10.1    PCs, phones, laptops
20    iot         192.168.20.0/24     192.168.20.1    Smart home devices
30    servers     192.168.30.0/24     192.168.30.1    NAS, Pi, self-hosted
40    guest       192.168.40.0/24     192.168.40.1    Visitor Wi-Fi
99    management  192.168.99.0/24     192.168.99.1    Network gear web UIs

Examples

Typical homelab with UniFi AP and managed switch:

Scenario: 3-bedroom house, UniFi Dream Machine + UniFi 8-port switch + 2 APs

VLAN 10 — Trusted    192.168.10.0/24   MacBook, iPhones, iPad
VLAN 20 — IoT        192.168.20.0/24   Nest thermostat, Philips Hue, Ring doorbell, smart TVs
VLAN 30 — Servers    192.168.30.0/24   Synology NAS (192.168.30.10), Pi-hole (192.168.30.2)
VLAN 40 — Guest      192.168.40.0/24   Visitor Wi-Fi — internet only

SSID → VLAN mapping:
  "Home"      → VLAN 10 (WPA2, strong password, trusted devices only)
  "IoT"       → VLAN 20 (WPA2, separate password, printed on router for setup)
  "Guest"     → VLAN 40 (WPA2, simple password you can share freely)

Switch port behavior:
  Port 1  → trunk to router (tagged VLANs 10,20,30,40,99)
  Port 2  → trunk to APs (tagged VLANs 10,20,40; AP handles per-SSID tagging)
  Port 3  → access VLAN 30 (NAS — untagged, no VLAN awareness needed)
  Port 4  → access VLAN 30 (Pi-hole — untagged)
  Port 5–8 → access VLAN 10 (wired workstations)

Firewall rules applied (all rules add isolation, none remove existing protections):
  IoT → Trusted: BLOCK
  IoT → Servers: BLOCK except 192.168.30.2:53 (Pi-hole DNS allowed)
  IoT → Internet: ALLOW
  Guest → Local networks: BLOCK
  Guest → Internet: ALLOW
  Trusted → everywhere: ALLOW

Read the full file on GitHub · 312 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 · 312 lines · 56 tokens per session scan A 190887b85b5a

Subscribe to this mod's changes

homelab-vlan-segmentation is a skill published in the GitHub repository JunMystery/Agent-Guidance-Python (2 stars, last pushed 14d ago), licensed MIT. It adds 56 tokens to every session and 2,961 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to homelab-vlan-segmentation, differing in 28 lines, and is treated as a copy.

Related

homelab-vlan-segmentation compared with skills from other repositories

homelab-vlan-segmentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
homelab-vlan-segmentationJunMystery/Agent-Guidance-PythonSkill214d agoMITA56Claude Code, Codex
unifi-accesssirkirby/unifi-mcpSkill1.1ktodayMITA70Claude Code
audit-erc-drc-and-safetyw1ne/labwired-coreSkill210todayMITA49Claude Code
streamdeck-designerverygoodplugins/streamdeck-mcpSkill556d agoMITA167Claude Code, Codex
embedded-systemsirahardianto/awesome-agvSkill1631mo agoMITA28Claude Code, Codex
fieldqkit-hardwarexi-zhao/OpenQuantumSkill75yesterdayMITA94Codex
qblox-schedulingxi-zhao/OpenQuantumSkill75yesterdayMITA57Claude Code, Codex