Cisco backup
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-backupAssembled 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 for Cisco device backup, inventory collection, and configuration management. Use when the user wants to back up configs, collect inventory, diff configurations, or track config changes.
SKILL.md
2.1 KB, 460 tokens by cl100k_base, as published. Nobody here has run it
Cisco Backup & Inventory Scripts
Write Python scripts for device backup and inventory management. Follow these standards:
Capabilities
Configuration Backup
- Pull running-config and startup-config via SSH
- Save configs with timestamped filenames
- Organize by device hostname and date
- Support incremental backups (skip if unchanged)
- Diff current vs previous backup and alert on changes
Inventory Collection
- Collect
show version,show inventory,show module - Parse hardware model, serial numbers, software version, uptime
- Build CSV/JSON inventory reports
- Track software versions across the network for compliance
Config Diff & Compliance
- Diff running vs startup config
- Diff running config vs golden template
- Flag non-compliant settings (e.g., missing NTP, wrong SNMP community)
- Generate remediation commands
Libraries to Use
netmikofor SSH connectionsnapalmforget_config()andget_facts()difflibfor config comparisonconcurrent.futuresfor parallel device connectionscsv/openpyxlfor inventory reportsos/pathlibfor file managementdatetimefor timestamps
Directory Structure for Backups
backups/
├── 2024-01-15/
│ ├── R1_running.cfg
│ ├── R1_startup.cfg
│ ├── SW1_running.cfg
│ └── ...
└── 2024-01-16/
└── ...
Device Inventory Format (YAML input)
devices:
- hostname: R1
host: 192.168.1.1
device_type: cisco_ios
username: admin
# password from env var or vault
- hostname: SW1
host: 192.168.1.2
device_type: cisco_ios
Security Requirements
- NEVER hardcode passwords in scripts
- Use environment variables,
.envfiles (gitignored), or vault integration - Support SSH key authentication
- Mask credentials in log output
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.