/network-ops:network-health-checkfrom network-ops
Read-only multi-vendor network health check that inspects hardware, redundancy, routing, links, errors, spanning tree, CPU, logs, and time across the whole network, a site, or a single device. Writes a report ranking findings worst-first with evidence.
Ships in network-ops. 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.
One question: is the network healthy right now? You collect with the network-snapshot engine,
read what it saved, run every check in checks.md (in this folder) using the files that
vendors.md names for each device's vendor, and write a report.
scripts/snapshot.py. Its setup (Python, inventory, passwords) is in that skill's SKILL.md.changes/), and only when the user asks.python <network-snapshot skill>/scripts/snapshot.py --health [--network NAME | --repo PATH] [--site SITE | --device NAME]
The snapshot repo is the one network-snapshot uses: with no --network or --repo, the one the
user chose on first use. The run prints Snapshot repo: <path> (network: <name>) on stderr and
repo in the report; name it in the report header. If it exits with
"error": "no_snapshot_repo", follow network-snapshot's first-time setup (ask where to keep
it, --set-repo PATH), then run again. A scheduled health check never prompts: it passes
--network NAME or --repo PATH explicitly, so a changed default can't move it.
No target means every device. Use the same Python that runs snapshots. The run also takes a
normal snapshot and commits it; that is expected. The JSON report (also in
<repo>/.snapshot/last-report.json) gives failures, reboots, up_less_than_24h,
unsupported_commands, command_errors, commit, and health. Per device, health gives
dir (raw output of this run), rejected (health commands the device refused) and previous
(the last run's raw output and when it was taken, or null on a first run). Read the previous
output for every counter check: growth between the two runs is what matters.
For each device read two places:
<repo>/.snapshot/health/<site>/<device>/*.txt<repo>/<site>/<device>/*.txt, including the running config.Every vendor profile has health commands. Profiles marked untested were written from vendor
docs: read their output with care, and if it does not match what the check expects, put the check
under Not checked with what you saw, never a guessed value.
Some checks need the other end: HSRP and spanning-tree root (both distribution switches), OSPF
and BGP neighbors, uplinks. For a device outside the run, read its latest committed snapshot
files and say how old they are ("hq-dist-sw-01 snapshot files, last changed in d521289,
2026-10-31 08:06": git -C <repo> log -1 --format="%h %ci" -- <site>/<device>/). Never log in
to it. Operational state on a peer (HSRP role, OSPF state) can have moved since: say so if a
finding depends on it.
Two baselines, two jobs. Counters and logs compare with the previous health run (previous in
the report). Findings compare with the newest *-health.md in the reviews folder for the same or
a wider scope: read it. Mark each finding new or unchanged, list what is fixed, and compare error
counters with the values recorded there (counters growing since then is what matters).
Save to the workspace's reviews folder (lab v2: reviews/YYYY-MM-DD-HHMM-health.md; read
reviews/AGENTS.md first), named from the report's taken time. If that name exists (two
runs in one minute), add the scope: ...-HHMM-health-<site or device>.md. Never overwrite or
edit an older report.
When the run's commit is null nothing changed: cite the current HEAD
(git -C <repo> log -1 --format="%h %ci") as the snapshot the files match.
# Health check: <scope>, <YYYY-MM-DD HH:MM>
Snapshot repo <repo> (network <network>) · commit <hash, or "<HEAD hash> (no change)" when commit is null> · <N> devices checked · <verdict: Healthy | N findings, worst: <one line>>
Compared with the previous run at <time> (<minutes> min) | First run: counters are totals only
## Findings
### 1. [Critical] <device>: <what is wrong> (new | unchanged)
- Evidence: `<command>` (<file path>): <the lines that show it, quoted>
- Fix: <what to check or change, in order>
## Healthy
- Reachable: 12/12 devices (snapshot report)
- OSPF: 9 neighbors FULL on 6 devices (show ip ospf neighbor)
- ...one line per check that passed
## Not checked
- <check> on <devices, grouped by vendor>: <why> (<what would make it checkable>)
e.g. "Hardware and optics on 11 virtual devices: not applicable (virtual)", or
"Environment on 8 IOS devices: rejected (not supported, or not permitted for claude-ro)".
## Known exceptions
- <item> (<where it is documented>)
## Compared with <previous report file>
- New: ... · Fixed: ... · Unchanged: ...
Severity order: Critical, High, Medium, Low. Within a level, the device closest to the core or the internet first. Several symptoms of one cause (an uplink down, its OSPF neighbor gone, its port-channel member down) are one finding with all the evidence, under the worst severity.
The report is read by someone who has to act on it. Every finding must be something they would want to be woken for at its severity. Never a finding: blocked ports on redundant links, history in counters that did not grow, user access ports going up and down, a device's own normal states (2WAY/DROTHER, Idle (Admin), Simplex), anything listed as a known exception. Put each of those in one Healthy or Known exceptions line at most. Healthy lines carry the numbers that prove it (neighbors FULL, counters unchanged since ), so a reader can trust a short report.
One line verdict, the worst finding if any, the report path. Say how many checks were not checked and why, in one line.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gtalkstech/netops-skills --plugin network-ops4 skills in this plugin
/network-diagramDraw an editable draw.io network diagram from the show output network-snapshot already saved (CDP, LLDP, interface addresses, VLANs, trunks, port-channels) and/or a spreadsheet of links. One file with a page per layer (physical L1, subnets L3 with OSPF/EIGRP/BGP adjacencies, VLANs L2 with spanning-tree roots and blocked ports), finds firewalls and tunnels that neighbor discovery can't see, and keeps the diagram in git next to the snapshots. Read-only. Use when the user asks for a network diagram, topology map, L1/L2/L3 drawing, "draw my network", or a diagram from a spreadsheet of links./network-pushUse when an approved change plan is ready to go onto network devices: pushing config to a switch, router or firewall, applying a change, or saving config after a post-check. Puts every switch command in the approval prompt itself, pushes one device at a time with the change account (descriptions can batch), stops on errors and records what was sent./network-snapshotTakes a read-only snapshot of every network device over SSH (configs, routing in every VRF, neighbors, ARP and MAC tables), commits the stable part to git, builds a host table of where each IP and MAC sits, and explains what changed. Multi-vendor (Cisco, FortiGate and others). Use when the user asks to snapshot, back up or document the network, asks what changed on the network, wants a before/after around a change, or asks where a host is connected.Other plugins' skills for the same job