agentleFS
gg1igg1i/agenticnet/skills/ios-configuration-review/SKILL.md

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.

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
  1. Very specific:

    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).

    line 18
  2. Very specific:

    Trunk encapsulation rule: Never send switchport trunk encapsulation dot1q to 2960-24TT.

    line 22
  3. Very specific:

    Do not mix exec show commands bare inside (config)#.

    line 26
  4. Very specific:

    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 …

    line 27
  5. Very specific:

    Always capture a pre-change config snapshot via configuration_backup(device_name=..., fetch_live=True) when modifying an existing device.

    line 33
  6. Very specific:

    Use console_execute(..., dry_run=True) to preview mode preparation when uncertain, and keep stop_on_error=True for critical configs so …

    line 34
  7. Very specific:

    After execution, take a post-change snapshot (configuration_backup), compare (configuration_compare in advanced or lab_diff), and persist …

    line 35
  8. Very specific:

    Never echo plaintext passwords, enable secrets, or bridge tokens in engineering reports.

    line 39

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. 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-PT do not—use host_configure or GUI).
    • 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).
  2. Validate Platform-Specific IOS Rules (command_validate in advanced, or manual check matching validators.py):
    • No ip routing, router ospf/eigrp/rip/bgp, ip nat, or encapsulation dot1q on Layer 2 switches (2960-24TT, Switch-PT).
    • No switchport commands on routers (2911, 1941, 2811, 4321, Router-PT).
    • Trunk encapsulation rule: Never send switchport trunk encapsulation dot1q to 2960-24TT; always send switchport trunk encapsulation dot1q before switchport mode trunk on 3560-24PS and 3650-24PS.
    • L3 switch routed port: Send no switchport before ip address on 3560-24PS / 3650-24PS physical ports.
    • Valid IP/Mask: Confirm contiguous subnet masks and non-overlapping interface subnets (subnet_calculate).
  3. CLI Mode & Prompt Safety:
    • Do not mix exec show commands bare inside (config)#; prefix with do show ... or exit back to # (end), or use verification_commands on console_execute.
    • 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 slow DNS lookup unless no ip domain-lookup is active.
    • Include no ip domain-lookup on routers/switches to prevent typo hangs.
    • Explicitly add no shutdown on every configured router/SVI/switch interface.

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 keep stop_on_error=True for 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_compare in advanced or lab_diff), and persist running config with copy running-config startup-config (or write memory) before lab_save when 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_backup and SQLite audit logs (redact_cli_text).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.