/skills:network-device-ssh-clifrom skills
Use when a script or agent must drive a router or switch CLI over SSH and plain `ssh host cmd` fails — "no matching host key type found", "no matching key exchange method found", a device that opens a shell instead of running the command, in-band "User Name:" logins, --More-- pagers, enable mode, pexpect/expect drivers, pinned host keys, device passwords kept out of the repo.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Three things break naive automation against network gear: (1) old SSH crypto that modern OpenSSH refuses, (2) devices that ignore the exec channel and want an interactive terminal, (3) pagers and prompts. The fix is one small driver per device profile, not per device.
| Device family | ssh host 'cmd' works? | Login | Pager off | Prompt |
|---|---|---|---|---|
| MikroTik RouterOS 6/7 | yes — use it; add +ct to the user (admin+ct@host) | SSH auth (key or password) | not needed in exec mode | [user@host] > |
| Cisco IOS 15.x (ISR 900/800/G2) | no (opens a shell, ignores the command) | SSH auth → Password: for login local, then optional enable | terminal length 0 | host> / host# |
| Cisco Small Business Sx300/Sx500 1.x, Sx350/CBS 2.x/3.x | no | in-band User Name: + Password: after the SSH channel opens | terminal datadump | host> / host# |
| Cisco IOS-XE 17.x | mostly no | as IOS | terminal length 0 | as IOS |
| JunOS | yes | SSH auth | | no-more per command | user@host> |
| Linux-based (Proxmox, OPNsense, EdgeOS shell) | yes | SSH auth | n/a | shell |
| AVM FRITZ!Box | no SSH at all | web UI / TR-064 SOAP (fritzconnection) | — | — |
Exec-channel devices: run ssh -o … user@host 'command' per command and parse stdout. Everything else: use scripts/netcli.py (pexpect) with the matching --profile.
scripts/netcli.py --profile sx300 --host 172.16.0.99 --user ops --password-file ~/router.txt "show vlan" "show lldp neighbors"
scripts/netcli.py --profile ios --host 172.16.0.5 --user admin --password-file ~/.secrets/rtr-b --enable "show ip interface brief" "show run | section ^ip route"
scripts/netcli.py --profile routeros --host 172.16.0.8 --user ops --password-file ~/router.txt "/ip/route/print terse" "/interface/print"
scripts/netcli.py --profile ios … --json "show version" > version.json
--legacy (default on for ios/sx300) adds the SHA-1/CBC/ssh-rsa options; --no-legacy for modern devices. --prompt REGEX, --paging CMD, --timeout N override a profile. Passwords come from --password-file (first line) or NETCLI_PASSWORD_FILE; never from argv.
ssh -vv user@host 2>&1 | grep -E 'their offer|kex:|host key'. The "their offer:" line names the algorithms you must enable (see references/legacy-ssh.md).ssh-keyscan -t rsa host >> ~/.ssh/known_hosts or StrictHostKeyChecking=accept-new) so the driver never answers a yes/no prompt blindly on a changed key.~/.ssh/config (Host stanza) so interactive use and the driver agree.show commands first; keep write operations (configure terminal, copy run start) as explicit separate calls with their own prompt expectations.sw-cli.py that sets host/user/profile.[#>]) without anchoring to a line start → output lines that end in > terminate the read early. The driver anchors on \r?\n<prompt>$.--More--, the timeout fires, output is truncated. Send the paging-off command right after login.% Unrecognized command" as a driver bug — it usually means the user's privilege level (Sx300 level 1) or the IOS mode is wrong.sshpass + ssh host cmd against IOS/Sx300 and wondering why it hangs: the exec channel is ignored, the device is waiting for terminal input.~/.ssh/config (Host *) — scope them to the device hosts only.Hosts, users and password-file paths in the examples (172.16.0.99, ops, ~/router.txt) are illustrative; substitute your own.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (getty/skills) — no native marketplace selected
npx claudepluginhub p/getty-skills129 skills in this plugin
/ai-playable-gamesUse when building a game or simulation that bots or LLM agents must play — observation and order interface, agent API or MCP server, AI seats beside humans, fog of war, replays; or when an AI player cheats, stalls, misreads the state or follows text other players wrote./ai-web-scrapingUse when scraping, crawling or extracting structured data from websites, especially with an LLM — Crawl4AI, Firecrawl, Scrapy, Crawlee, Playwright, browser-use; building a dataset or RAG corpus, watching pages for changes, or a scraper that returns empty, duplicated or invented records./cedar-engineeringUse when writing, validating or debugging Cedar authorization policies — .cedar and .cedarschema files, permit/forbid, entities and hierarchies, RBAC/ABAC/ReBAC, templates, multi-tenant access, partial evaluation, Amazon Verified Permissions, migrating to or from Cedar.Other plugins' skills for the same job