Skip to content
affaan-m avatar

Network Config Validation

Pre-deployment validator for router and switch configs that flags dangerous commands, duplicate IPs, and subnet overlaps.

CCM score
73 of 100
skills.sh installs
8.7K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers layered pre-flight checks in order: destructive commands, management-plane exposure, address conflicts, stale references, and operational hygiene
  • Includes Python detectors for dangerous IOS commands, duplicate interface addresses, overlapping subnets, and VTY line policies
  • Enforces fail-closed handling of dangerous commands and credentials, with warnings reserved for best-practice gaps outside the change scope
  • Designed for change-window reviews and as a blocking gate before Netmiko, NAPALM, Ansible, or API automation pushes generated config

Install

$ npx -y skills add affaan-m/ecc --skill network-config-validation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Network Config Validation

Use this skill to review network configuration before a change window or before an automation run touches production devices.

When to Use

  • Reviewing Cisco IOS or IOS-XE style snippets before deployment.
  • Auditing generated config from scripts or templates.
  • Looking for dangerous commands, duplicate IP addresses, or subnet overlaps.
  • Checking whether ACLs, route-maps, prefix-lists, or line policies are referenced but not defined.
  • Building lightweight pre-flight scripts for network automation.

How It Works

Treat config validation as layered evidence, not as a complete parser. Regex checks are useful for pre-flight warnings, but final approval still needs a network engineer to review intent, platform syntax, and rollback steps.

Validate in this order:

  1. Destructive commands.
  2. Credential and management-plane exposure.
  3. Duplicate addresses and overlapping subnets.
  4. Stale references to ACLs, route-maps, prefix-lists, and interfaces.
  5. Operational hygiene such as NTP, timestamps, remote logging, and banners.

Dangerous Command Detection

import re

Details

Repository
github.com/affaan-m/ecc
Categories
DevOps & Cloud, Security
First seen
Jul 14, 2026

Questions

What does the network-config-validation skill check before deployment?

It reviews router and switch configuration for dangerous commands, duplicate IP addresses, subnet overlaps, stale ACL, route-map and prefix-list references, and management-plane and IOS-style security hygiene. The skill is meant for a change window or automation run that touches production devices.

Who should use the network-config-validation skill?

It suits network engineers and teams that audit Cisco IOS or IOS-XE style snippets, or generated config from scripts and templates, before they are pushed. It is also useful for building lightweight pre-flight scripts for network automation.

How do I install network-config-validation?

Run npx -y skills add affaan-m/ecc --skill network-config-validation -y in your project. The skill then lets the agent run the pre-deployment checks on router and switch configuration.

Where does network-config-validation rank in the DevOps & Cloud category?

It is listed in the DevOps & Cloud category on Claude Marketplaces, alongside Azure skills such as azure-diagnostics, azure-deploy and azure-validate. Its focus is network device configuration rather than cloud deployment.

More from affaan-m/ecc

All 257

Similar to Network Config Validation

More DevOps & Cloud