ios-configuration-review
Skill1 starsChanged 17 days agoMITView on GitHub
Pre-execution and post-execution Cisco IOS auditing using AgenticNet capability profiles, static validators, mode safety, configuration backups/diffs, and secret redaction.
In this repository8 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Check interface naming conventions (Gi0/0 on 2911/1941, Fa0/0 on 2811, Gi0/0/0 on 4321, Gi1/0/1 on 3650-24PS, Se2/0 on Router-PT).
- Very specific: line 22
Trunk encapsulation rule: Never send switchport trunk encapsulation dot1q to 2960-24TT.
- Very specific: line 26
Do not mix exec show commands bare inside (config)#.
- Very specific: line 27
Never send a bare "no" command to Catalyst switches (2960-24TT, 3560-24PS, 3650-24PS)—switches have no setup dialog and a bare no triggers …
- Very specific: line 33
Always capture a pre-change config snapshot via configuration_backup(device_name=..., fetch_live=True) when modifying an existing device.
- Very specific: line 34
Use console_execute(..., dry_run=True) to preview mode preparation when uncertain, and keep stop_on_error=True for critical configs so …
- Very specific: line 35
After execution, take a post-change snapshot (configuration_backup), compare (configuration_compare in advanced or lab_diff), and persist …
- Very specific: line 39
Never echo plaintext passwords, enable secrets, or bridge tokens in engineering reports.
≈ “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
IOS Configuration Review
Audit every CLI sequence against the target Packet Tracer device model before pushing it live, and verify changes with redacted config snapshots.
1. Pre-Execution Audit Checklist
Before calling console_execute:
- Verify Target Model Support (
device_capabilities):- Confirm the target supports
ios_cli(PC-PT,Laptop-PT,Server-PT,Printer-PT,WRT300N,AccessPoint-PT,7960,Home-VOIP-PTdo not—usehost_configureor GUI). - Check interface naming conventions (
Gi0/0on2911/1941,Fa0/0on2811,Gi0/0/0on4321,Gi1/0/1on3650-24PS,Se2/0onRouter-PT).
- Confirm the target supports
- Validate Platform-Specific IOS Rules (
command_validateinadvanced, or manual check matchingvalidators.py):- No
ip routing,router ospf/eigrp/rip/bgp,ip nat, orencapsulation dot1qon Layer 2 switches (2960-24TT,Switch-PT). - No
switchportcommands on routers (2911,1941,2811,4321,Router-PT). - Trunk encapsulation rule: Never send
switchport trunk encapsulation dot1qto2960-24TT; always sendswitchport trunk encapsulation dot1qbeforeswitchport mode trunkon3560-24PSand3650-24PS. - L3 switch routed port: Send
no switchportbeforeip addresson3560-24PS/3650-24PSphysical ports. - Valid IP/Mask: Confirm contiguous subnet masks and non-overlapping interface subnets (
subnet_calculate).
- No
- CLI Mode & Prompt Safety:
- Do not mix exec
showcommands bare inside(config)#; prefix withdo show ...or exit back to#(end), or useverification_commandsonconsole_execute. - Never send a bare
"no"command to Catalyst switches (2960-24TT,3560-24PS,3650-24PS)—switches have no setup dialog and a barenotriggers slow DNS lookup unlessno ip domain-lookupis active. - Include
no ip domain-lookupon routers/switches to prevent typo hangs. - Explicitly add
no shutdownon every configured router/SVI/switch interface.
- Do not mix exec
2. Execution & Diff Hygiene
- Always capture a pre-change config snapshot via
configuration_backup(device_name=..., fetch_live=True)when modifying an existing device. - Use
console_execute(..., dry_run=True)to preview mode preparation when uncertain, and keepstop_on_error=Truefor critical configs so syntax failures (% Invalid input,% Incomplete command,% overlaps with,% Bad mask) halt immediately. - After execution, take a post-change snapshot (
configuration_backup), compare (configuration_compareinadvancedorlab_diff), and persist running config withcopy running-config startup-config(orwrite memory) beforelab_savewhen NVRAM persistence is graded.
3. Secret Redaction
- Never echo plaintext passwords, enable secrets, or bridge tokens in engineering reports; AgenticNet automatically scrubs secrets in
configuration_backupand SQLite audit logs (redact_cli_text).
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.

