network-segmentation
Skill1 starsChanged 33 days agoMITView on GitHub
Design and review network segmentation and firewall rules — zones, allowed flows, management access, east-west traffic, Kubernetes network policies, VPN and zero-trust access — with verification from outside and inside. Use when planning network layout, reviewing firewall or security-group rules, or containing lateral movement after an incident.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- rhaist/marqtheir own version, first seen Nov 22, 2026
- cvsz/zomegatheir own version, first seen Sep 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- rhaist/marq★ 7same name
- cvsz/zomega★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- instructions/AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- agent-evaluationSkill
- agent-guardrailsSkill
- agenthub-routerSkill
- ai-red-teamingSkill
- ansible-reviewSkill
- api-designSkill
- api-integrationSkill
- architecture-decisionSkill
- backup-restoreSkill
- caching-strategySkill
- chaos-engineeringSkill
- ci-cd-pipeline-designSkill
- cloud-cost-optimizationSkill
- cloud-iam-least-privilegeSkill
- code-reviewSkill
- container-image-optimizationSkill
- cyber-resilience-actSkill
- database-migrationsSkill
- data-pipeline-reviewSkill
- data-privacySkill
- data-quality-checksSkill
- debugging-root-causeSkill
- dependency-auditSkill
- dependency-upgradeSkill
- disaster-recovery-drillSkill
- docker-hardeningSkill
- documentationSkill
- dora-readinessSkill
- dpiaSkill
- email-deliverabilitySkill
- embedding-model-selectionSkill
- error-handling-reviewSkill
- eu-ai-act-readinessSkill
- eu-data-sovereigntySkill
- european-accessibility-actSkill
- event-driven-architectureSkill
- feature-flagsSkill
- frontend-reviewSkill
- gdpr-dsar-handlingSkill
- github-actionsSkill
- gitlab-ciSkill
- git-workflowSkill
- go-developmentSkill
- graphql-api-reviewSkill
- helm-chart-reviewSkill
- i18n-localizationSkill
- incident-responseSkill
- java-spring-reviewSkill
- kubernetes-reviewSkill
- linux-server-hardeningSkill
- llm-cost-analysisSkill
- llm-gateway-routingSkill
- llm-observabilitySkill
- llm-output-evaluationSkill
- llm-structured-extractionSkill
- load-testingSkill
- local-llm-servingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Only intended flows are possible between zones, administrative interfaces are reachable only through controlled paths, and a compromised …
- Distinctive: line 19
East-west control: default-deny between application services where feasible (Kubernetes NetworkPolicies, security groups referencing groups …
- Very specific: line 22
Review rules: remove any/any, duplicate and shadowed rules.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Network Segmentation
Goal
Only intended flows are possible between zones, administrative interfaces are reachable only through controlled paths, and a compromised host cannot reach everything else.
Inputs
- Network diagram, zones and subnets, firewall rules and security groups, VPN or zero-trust access, Kubernetes network policies, inventory of services and their ports.
Procedure
- Define zones by trust and function: internet edge, DMZ or ingress, application, data, management, CI/runners, office or user networks.
- Write the flow matrix: source zone → destination zone → port/protocol → purpose → owner. Everything not in the matrix is denied.
- Management plane: SSH, RDP, hypervisor, database and admin UIs reachable only from a bastion, VPN or zero-trust proxy with MFA; never from the internet.
- East-west control: default-deny between application services where feasible (Kubernetes NetworkPolicies, security groups referencing groups instead of CIDRs).
- Egress control: restrict outbound internet from servers and CI to required destinations or through a proxy — this limits data exfiltration and malware callbacks.
- Container hosts: remember that Docker-published ports bypass host firewalls; filter in the
DOCKER-USERchain or bind to private addresses (seelinux-server-hardening). - Review rules: remove
any/any, duplicate and shadowed rules; each rule has an owner and a ticket; review annually. - Verify from outside (authorized port scan of public IPs) and from inside each zone (attempt forbidden connections); compare with the matrix.
Example fixture
Rule 14: allow 0.0.0.0/0 → 10.0.2.0/24 tcp/5432 "temporary for migration" (created 2024-02).Expected finding: database open to the internet via an expired temporary rule; remove and restrict to the application zone.
Acceptance checks
- A flow matrix exists and every firewall rule maps to a line in it.
- External scan shows only intended public ports; internal tests show forbidden zone-to-zone connections fail.
- Negative case: from a test host in the application zone, management ports of other zones are unreachable.
Output
Zone diagram, flow matrix, rule changes with owners, verification results.
Safety
Firewall changes can cut off access, including your own: keep an out-of-band console, apply in maintenance windows with approval, and stage changes. Scan only networks you are authorized to test.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

