Cisco config gen
Nine Claude Code skills for Cisco network automation: backup, config gen, discovery, QoS testing, security audit.
npx -y skills add bradmccloskey/claude-cisco-skills --skill cisco-config-genAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 16 days oldThe repository was created 16 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generate Python scripts that build Cisco device configurations. Use when the user wants to create, template, or generate IOS/IOS-XE/NX-OS/ASA configs programmatically.
SKILL.md
2.0 KB, 494 tokens by cl100k_base, as published. Nobody here has run it
Cisco Configuration Generator Scripts
Write Python scripts that generate Cisco device configurations. Follow these standards:
Structure
- Use Jinja2 templates for config generation
- Support YAML or JSON input for device variables
- Separate data (variables) from logic (templates)
- Output valid IOS/IOS-XE/NX-OS/ASA CLI configs
Supported Platforms
- IOS / IOS-XE (routers, switches)
- NX-OS (Nexus)
- ASA (firewalls)
- IOS-XR where applicable
Config Features to Support
- Routing: BGP, OSPF, EIGRP, static routes, route-maps, prefix-lists
- Switching: VLANs, trunks, access ports, STP, EtherChannel, VTP
- Security: ACLs (standard/extended/named), NAT (static/dynamic/PAT), VPN (site-to-site/remote-access), AAA, CoPP
- Interfaces: L2/L3 config, subinterfaces, loopbacks, SVIs, port-channels
- Services: DHCP, NTP, SNMP, syslog, DNS, TACACS+/RADIUS
- SDN/Automation: RESTCONF/NETCONF payloads, DNA Center templates
Libraries to Use
jinja2for templatingyamlorjsonfor variable inputipaddressfor IP/subnet calculationsnetaddrif advanced IP math is needed
Output Requirements
- Generate clean, paste-ready CLI config blocks
- Include
!comment separators between sections - Add descriptive comments using
! ---format - Validate IP addresses and subnet masks before output
- Support dry-run mode (print to stdout) and file output
Example Variable File Format (YAML)
hostname: R1
interfaces:
- name: GigabitEthernet0/1
ip: 10.0.1.1
mask: 255.255.255.0
description: Uplink to Core
routing:
ospf:
process_id: 1
router_id: 1.1.1.1
networks:
- network: 10.0.1.0
wildcard: 0.0.0.255
area: 0
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.