Skip to content
affaan-m avatar

Netmiko Ssh Automation

Safe Python Netmiko patterns for read-only collection, bounded batch SSH, and guarded config changes.

CCM score
75 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 read-only show collection, batch SSH with bounded concurrency, TextFSM parsing, and guarded config pushes
  • Includes connection and batch examples with timeouts, error handling for auth, timeout, and read failures, and a dry-run guard
  • Enforces explicit inventory, credentials kept out of source, and save_config() held until changes are verified
  • Designed for network engineers automating device audits or reviewing scripts before they touch production routers and switches

Install

$ npx -y skills add affaan-m/ecc --skill netmiko-ssh-automation -y

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

Files

Netmiko SSH Automation

Use this skill when writing or reviewing Python automation that connects to network devices with Netmiko. Keep the default path read-only; config changes need a separate change window, peer review, and rollback plan.

When to Use

  • Collecting show command output across routers, switches, or firewalls.
  • Building a small audit script for interface, routing, or config evidence.
  • Adding timeouts and exception handling to network SSH scripts.
  • Parsing command output with TextFSM when a template exists.
  • Reviewing automation before it touches production devices.

Safety Defaults

  • Start with read-only send_command() collection.
  • Keep inventory small and explicit; do not sweep whole address ranges.
  • Use environment variables, a vault, or getpass; never hardcode credentials.
  • Set connection and read timeouts.
  • Limit concurrency so older devices are not overloaded.
  • Require an explicit operator flag before send_config_set().
  • Do not call save_config() until the change has been verified and approved.

Read-Only Connection Pattern

Details

Repository
github.com/affaan-m/ecc
Categories
Workflow Automation, Python
First seen
Jul 14, 2026

Questions

What does the netmiko-ssh-automation skill do?

It gives Claude safe Python Netmiko patterns for network device automation, covering read-only show command collection, bounded batch SSH, TextFSM parsing, guarded config changes, timeouts and error handling. It keeps the default path read-only and requires an explicit operator flag before any config is pushed.

How do I install the netmiko-ssh-automation skill?

Run npx -y skills add affaan-m/ecc --skill netmiko-ssh-automation -y in your project. After installing, the agent can write and review Netmiko scripts that connect to routers, switches and firewalls.

Which category is netmiko-ssh-automation in and where does it rank?

It sits in the Workflow Automation category and ranks in the top 25 on that category page. Other skills in the category include computer-use and python-executor, but this one focuses on network device SSH automation with Netmiko.

More from affaan-m/ecc

All 257

Similar to Netmiko Ssh Automation

More Workflow Automation