Agent skill

Pyats Linux Network

by automateyournetwork in automateyournetwork/netclaw

Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts.

Apache-2.0Auto-check passed

Install Pyats Linux Network

skills CLI
$ npx skills add automateyournetwork/netclaw --skill pyats-linux-network -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install automateyournetwork/netclaw pyats-linux-network --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/automateyournetwork/netclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/workspace/skills/pyats-linux-network .claude/skills/pyats-linux-network && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pyats-linux-network
GitHub stars
676
Token cost
~2.3k tokens
SKILL.md length
639 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts.

  • Works in 5 steps: Linux Network Health Check → Linux Network Audit → Multi-Host Routing Comparison → …
  • Checking Linux interface status
  • SKILL.md covers Testbed Requirements, How to Call, Commands and Workflows, plus 4 more sections
  • Calls python3

What it does

Pyats Linux Network is an agent skill from automateyournetwork/netclaw. Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts. Use when checking Linux interface status, viewing routing tables, auditing host network config, or comparing routes across hosts.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Linux. The repository describes itself as: An AI agent that claws through your network. The licence is Apache-2.0.

When your agent uses it

  • Checking Linux interface status
  • Viewing routing tables
  • Auditing host network config
  • Comparing routes across hosts

Example prompts

  • “/pyats-linux-network”

Requirements

  • Python 3
  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Linux Network Health Check
  2. Linux Network Audit
  3. Multi-Host Routing Comparison
  4. Interface Error Investigation
  5. Post-Change Network Verification

What it can do on your machine

Read from SKILL.md and the folder at commit 95bb17e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pyats Linux Network loads about 2.3k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 639 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from automateyournetwork/netclaw at commit 95bb17e, republished under its Apache-2.0 licence (© automateyournetwork). 639 words, ~2,268 tokens.

Download SKILL.mdSave it as .claude/skills/pyats-linux-network/SKILL.md (or your agent's skills folder).
name
pyats-linux-network
description
Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts. Use when checking Linux interface status, viewing routing tables, auditing host network config, or comparing routes across hosts.
license
Apache-2.0
user-invocable
true

Linux Host Network Operations

Testbed Requirements

Linux hosts must be defined in the pyATS testbed with os: linux. See pyats-linux-system for the testbed YAML format.

How to Call

All commands use pyats_run_linux_command:

bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"<command>"}'

Commands

Interface Configuration
All Interfaces
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ifconfig"}'

Returns all interfaces with: IP address, netmask, broadcast, MAC address, MTU, RX/TX packets, RX/TX errors, RX/TX bytes, flags (UP/RUNNING/MULTICAST).

What to check:

  • Interface UP/DOWN state — is the expected interface active?
  • IP address correctness — does it match NetBox/Nautobot records?
  • RX/TX errors — non-zero errors indicate physical or driver issues
  • MTU — verify jumbo frames (9000) or standard (1500) as expected
  • Dropped packets — may indicate buffer or rate-limit issues
Specific Interface
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ifconfig eth0"}'

Common interfaces to inspect:

  • eth0 / ens192 — Primary management interface
  • docker0 — Docker bridge network
  • lo — Loopback (verify 127.0.0.1)
  • bond0 — NIC bonding/teaming
  • vlan100 — VLAN sub-interface
  • tun0 / wg0 — VPN tunnel interfaces
  • br-* — Docker/bridge networks
Routing Tables
Full Routing Table (All Tables)
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ip route show table all"}'

Returns routes from ALL routing tables — main, local, custom policy tables. This is the most comprehensive route view on a Linux host.

What to check:

  • Default gateway present and correct
  • Expected subnets reachable via correct interfaces
  • Policy routing tables (table 100, table 200, etc.) configured correctly
  • No blackhole or unreachable routes (unless intentional)
  • Metric values — lower metric = preferred path
Legacy Route Command
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"route"}'

Legacy route command — shows the kernel IP routing table (main table only). Prefer ip route show table all for complete view.

Route with Flags
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"route -n"}'

The -n flag shows numeric addresses (no DNS resolution). Other useful flags:

  • route -n — Numeric output (faster, no DNS dependency)
  • route -e — Extended information (like netstat -r)
Network Connections
Routing Table via netstat
bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"netstat -rn"}'

netstat -rn shows the kernel routing table in numeric format. Equivalent to route -n but with netstat-style output columns: Destination, Gateway, Genmask, Flags, MSS, Window, irtt, Iface.

Route flags:

  • U — Route is up
  • G — Route uses a gateway
  • H — Target is a host (not a network)
  • D — Created by ICMP redirect
  • M — Modified by ICMP redirect

Workflows

1. Linux Network Health Check
pyats_list_devices → identify Linux hosts in testbed
→ pyats_run_linux_command(host, "ifconfig") → check interface states
→ pyats_run_linux_command(host, "ip route show table all") → verify routing
→ pyats_run_linux_command(host, "netstat -rn") → cross-reference routes
→ Flag: interfaces down, missing routes, error counters > 0
→ Severity-sort → GAIT
2. Linux Network Audit
pyats_list_devices → identify all Linux hosts
→ pyats_run_linux_command per host ("ifconfig") → collect interface data
→ Cross-reference IPs with NetBox/Nautobot IPAM → flag drift
→ pyats_run_linux_command per host ("ip route show table all") → collect routes
→ Verify default gateways match expected values
→ GAIT
3. Multi-Host Routing Comparison
pyats_run_linux_command(host-1, "ip route show table all") → host 1 routes
→ pyats_run_linux_command(host-2, "ip route show table all") → host 2 routes
→ Compare: same subnets, same gateways, same metrics?
→ Flag asymmetric routing or missing routes
→ GAIT
4. Interface Error Investigation
pyats_run_linux_command(host, "ifconfig") → check all interfaces
→ Identify interfaces with non-zero RX/TX errors or drops
→ pyats_run_linux_command(host, "ifconfig eth0") → deep dive on problem interface
→ Correlate with network device interfaces (pyats-network show commands)
→ GAIT
5. Post-Change Network Verification
ServiceNow CR must be in Implement state
→ pyats_run_linux_command(host, "ifconfig") → verify interface state post-change
→ pyats_run_linux_command(host, "ip route show table all") → verify routes post-change
→ pyats_run_linux_command(host, "netstat -rn") → confirm routing table
→ Compare against pre-change baseline
→ GAIT

Parallel Operations

Run network checks across multiple Linux hosts concurrently:

bash
# Host 1
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-01","command":"ifconfig"}'

# Host 2
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-02","command":"ifconfig"}'

# Host 3
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"linux-host-03","command":"ifconfig"}'

Show full SKILL.md (290 more words)Show less

Integration with Other Skills

SkillIntegration
pyats-networkCorrelate Linux host interfaces with network device interfaces — verify end-to-end connectivity
pyats-routingCompare Linux host routes with network device routing tables (OSPF, BGP, EIGRP)
pyats-linux-systemSystem-level commands (ps, docker, ls) complement network-level inspection
pyats-linux-vmwareVMware ESXi host networking (vSwitch, vmkernel) via vim-cmd
pyats-parallel-opspCall pattern for fleet-wide Linux network audits
pyats-troubleshootLinux host network data feeds into OSI-layer troubleshooting
netbox-reconcileCross-reference ifconfig IP/MAC data against NetBox IPAM and DCIM records
nautobot-sotSame as NetBox — validate Linux host IP addresses against Nautobot
subnet-calculatorVerify subnet masks and CIDR notation from ifconfig output
gait-session-trackingEvery Linux network command logged in GAIT

Guardrails

  • Always call pyats_list_devices first — verify Linux hosts exist in the testbed
  • Read-only commands only — ifconfig, ip route show, netstat, route are all read-only
  • No configuration changes — never use ip addr add, ip route add, ifconfig up/down, or iptables via this skill
  • Gate network changes behind ServiceNow — if extending to write operations, require a Change Request
  • Cross-reference with SoT — always compare discovered IPs and routes against NetBox/Nautobot
  • Record in GAIT — every command execution must be logged

Failure Behavior

  • If a tool call fails with an authentication or connection error, check that PYATS_MCP_SCRIPT, PYATS_TESTBED_PATH are set and valid before assuming a data or device problem.
  • On a tool error (timeout, unreachable host, malformed response), report the failure and its error message directly to the user rather than fabricating or guessing at results.
  • For a confirmed read-only call, check connectivity and retry once if appropriate. For any call that changes state or sends a message, a timeout does not prove the action failed: inspect current state or delivery status before retrying, preserve the required approval/change gates, and do not repeat an action whose outcome is unknown.

© automateyournetwork, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in workspace/skills/pyats-linux-network of automateyournetwork/netclaw.

Open the folder on GitHubat commit 95bb17e

Compare with similar skills

Pyats Linux Network next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pyats Linux Network compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pyats Linux Network this skillautomateyournetwork/netclaw676—~2.3kAutomated safety check: PassApache-2.0
Configuring Horizoncoollabsio/coolify63k4 repos~898Automated safety check: PassMIT
Model Usageopenclaw/openclaw392k1 repos~637Automated safety check: PassMIT
Engine Whats Newflutter/flutter179k—~978Automated safety check: PassBSD-3-Clause
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT
Upgrade Browserflutter/flutter179k—~1.1kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Configuring Horizon

    coollabsio/coolify

    A skill your agent uses whenever the user mentions Horizon by name in a Laravel context.

    63k GitHub starsUsed in 4 repos~898 tokens
    Backend & APIsAuto-check passed
  • Model Usage

    openclaw/openclaw

    Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns.

    392k GitHub starsUsed in 1 repo~637 tokens
    Auto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Upgrade Browser

    flutter/flutter

    Upgrade browser versions (Chrome or Firefox) in the Flutter Web Engine and/or Framework tests.

    179k GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • K8s Security Policies

    Cybereason-Public/owLSM

    Comprehensive guide for implementing NetworkPolicy, PodSecurityPolicy, RBAC, and Pod Security Standards in Kubernetes.

    280 GitHub starsUsed in 12 repos~2k tokens
    Backend & APIsAuto-check passed

More from automateyournetwork/netclaw

All 120 skills in this repo
  • EVE-NG Lab Topology Design

    automateyournetwork/netclaw

    Entry point for designing EVE-NG network labs: classifies the request, gathers missing requirements, proposes options and validates the resulting topology.

    676 GitHub stars~612 tokensUpdated 3 days ago
    Auto-check passed
  • ACI Policy Change Deployment

    automateyournetwork/netclaw

    Deploys Cisco ACI policy changes only behind an approved ServiceNow Change Request, capturing pre and post-change fault baselines and rolling back automatically on a fault delta.

    676 GitHub stars~4.2k tokensUpdated 3 days ago
    Auto-check passed
  • Cisco ACI Fabric Health Audit

    automateyournetwork/netclaw

    Runs a phased health audit of a Cisco ACI fabric through MCP tools: node status, links, tenant and policy review, faults and endpoint learning.

    676 GitHub stars~2.9k tokensUpdated 3 days ago
    Auto-check passed
  • Anta Validation

    automateyournetwork/netclaw

    Validate Arista EOS network state against ANTA's pre-built 208-test catalogue, with structured pass/fail verdicts.

    676 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Arista Cvp

    automateyournetwork/netclaw

    Arista CloudVision Portal (CVP) automation via REST API — device inventory, events, connectivity monitoring, tag management (4 tools).

    676 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check: notes
  • AWS Cloud Monitoring

    automateyournetwork/netclaw

    AWS CloudWatch monitoring — metrics, alarms, log queries, VPC flow log analysis, network performance.

    676 GitHub stars~1k tokensUpdated 3 days ago
    Auto-check passed

Works with

Questions about Pyats Linux Network

What does Pyats Linux Network do?

Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts. Pyats Linux Network is an agent skill from automateyournetwork/netclaw. Linux host network operations via pyATS — interface configuration, routing tables, network connections, and multi-table route inspection across fleet hosts.

When should I use Pyats Linux Network?

Pyats Linux Network fits situations like: checking Linux interface status; viewing routing tables; auditing host network config; comparing routes across hosts.

How do I install Pyats Linux Network in Claude Code?

Run `npx skills add automateyournetwork/netclaw --skill pyats-linux-network -a claude-code`. Or copy the skill folder (workspace/skills/pyats-linux-network in automateyournetwork/netclaw) into .claude/skills/pyats-linux-network in your project. Claude Code loads it when a task matches its description.

How do I install Pyats Linux Network in Codex?

Run `npx skills add automateyournetwork/netclaw --skill pyats-linux-network -a codex`. Or copy the skill folder (workspace/skills/pyats-linux-network in automateyournetwork/netclaw) into .agents/skills/pyats-linux-network in your project. Codex loads it when a task matches its description.

Can I use Pyats Linux Network in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add automateyournetwork/netclaw --skill pyats-linux-network -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pyats-linux-network, .gemini/skills/pyats-linux-network, .github/skills/pyats-linux-network and .opencode/skills/pyats-linux-network in your project.

What does Pyats Linux Network need to run?

Going by SKILL.md and its folder, Pyats Linux Network needs the command-line tools its instructions call (python3). Our summary lists: Python 3; Docker.

Does Pyats Linux Network access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pyats Linux Network safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pyats Linux Network use?

Pyats Linux Network is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pyats Linux Network use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Pyats Linux Network?

Skills that share tags, products or a category with Pyats Linux Network: Configuring Horizon (coollabsio/coolify, 63k stars), Model Usage (openclaw/openclaw, 392k stars), Engine Whats New (flutter/flutter, 179k stars) and Openclaw Live Updater (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pyats Linux Network?

automateyournetwork (a GitHub user) maintains it in automateyournetwork/netclaw, which has 676 GitHub stars. The repository holds 120 skills in this directory. The repository was last updated on October 5, 2026.

Source: automateyournetwork/netclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.