Agent skill

Pyats Junos Interfaces

by automateyournetwork in automateyournetwork/netclaw

JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics.

Apache-2.0Auto-check passed

Install Pyats Junos Interfaces

skills CLI
$ npx skills add automateyournetwork/netclaw --skill pyats-junos-interfaces -a claude-code

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

GitHub CLI
$ gh skill install automateyournetwork/netclaw pyats-junos-interfaces --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-junos-interfaces .claude/skills/pyats-junos-interfaces && 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-junos-interfaces
GitHub stars
676
Token cost
~2.1k tokens
SKILL.md length
486 words
Files
1
Skills in repo
120
Repo updated
First seen
Licence
Apache-2.0

At a glance

JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics.

  • Works in 4 steps: JunOS Interface Health Check → LACP Audit → Optics Fleet Scan → …
  • Checking Juniper interface status
  • SKILL.md covers How to Call, Commands, Workflows and Integration with Other Skills, plus 2 more sections
  • Calls python3

What it does

Pyats Junos Interfaces is an agent skill from automateyournetwork/netclaw. JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics. Use when checking Juniper interface status, auditing LACP members, inspecting optics power levels, or reviewing ARP and LLDP neighbors.

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

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 Juniper interface status
  • Auditing LACP members
  • Inspecting optics power levels
  • Reviewing ARP and LLDP neighbors

Example prompts

  • “Use the pyats-junos-interfaces skill to juno interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6…”
  • “/pyats-junos-interfaces”

Requirements

  • Python 3

Workflow steps

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

  1. JunOS Interface Health Check
  2. LACP Audit
  3. Optics Fleet Scan
  4. ARP/Neighbor Audit

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 Junos Interfaces loads about 2.1k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 486 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.1k

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). 486 words, ~2,145 tokens.

Download SKILL.mdSave it as .claude/skills/pyats-junos-interfaces/SKILL.md (or your agent's skills folder).
name
pyats-junos-interfaces
description
JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics. Use when checking Juniper interface status, auditing LACP members, inspecting optics power levels, or reviewing ARP and LLDP neighbors.
license
Apache-2.0
user-invocable
true

JunOS Interface Operations via pyATS

How to Call

bash
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"<command>"}'

Commands

Interface Status
All Interfaces — Summary
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces terse"}'

Compact table: interface name, admin/oper status, protocol, address. Fastest way to check up/down state across all interfaces.

All Interfaces — Full
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces"}'

Full interface details: physical properties, speed, MTU, MAC, traffic stats, error counters.

All Interfaces — Descriptions
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces descriptions"}'

Interface descriptions only — useful for verifying circuit IDs and peer identifiers. Also: show interfaces descriptions ge-0/0/0.

All Interfaces — Statistics
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces statistics"}'

Input/output bytes, packets, errors, drops across all interfaces. Also: show interfaces statistics ge-0/0/0.

All Interfaces — Extensive
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces extensive"}'

Maximum detail including MAC stats, filter stats, CoS queuing stats, logical interfaces. Also: show interfaces extensive no-forwarding.

Specific Interface
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces ge-0/0/0"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces ge-0/0/0 detail"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces ge-0/0/0 extensive"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces ge-0/0/0 terse"}'
Terse with Match (Filter)
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces terse | match ge-0/0"}'

Filter interface list to a specific FPC/PIC slot.

Interface Policers & Queues
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces policers ge-0/0/0"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces queue ge-0/0/0"}'
Optics Diagnostics
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces diagnostics optics"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show interfaces diagnostics optics ge-0/0/0"}'

SFP/XFP/QSFP optical power levels (tx/rx dBm), laser bias current, temperature, voltage. Critical for detecting failing optics — low rx power indicates fiber or SFP issue.

bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show lacp interfaces ae0"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show lacp statistics interfaces ae0"}'

LACP state, actor/partner system ID, port priority, key, member link status. Statistics show LACP PDU tx/rx counts and errors.

Class of Service
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show class-of-service interface ge-0/0/0"}'

CoS configuration and queue mapping for a specific interface — forwarding class, scheduler, transmit rate.

LLDP Neighbors
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show lldp"}'

LLDP neighbor table — remote system, port, chassis ID. Cross-reference with pyats-topology for neighbor discovery.

ARP Table
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show arp"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show arp no-resolve"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show arp | no-more"}'

ARP cache: MAC address, IP address, interface. no-resolve skips DNS lookups (faster). | no-more disables paging.

IPv6 Neighbors
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show ipv6 neighbors"}'

IPv6 NDP neighbor table — link-layer address, state (reachable/stale/incomplete), interface.

BFD Sessions
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show bfd session"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show bfd session address 10.1.1.2 detail"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show bfd session address 10.1.1.2 extensive"}'
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"show ppm transmissions protocol bfd detail"}'

BFD session state, interval, multiplier, neighbor. Use for fast-failover validation on OSPF/BGP/LDP sessions.

Traffic Monitoring
bash
pyats_run_show_command '{"device_name":"juniper-rtr-01","command":"monitor interface traffic"}'

Real-time interface traffic rates — bytes/sec, packets/sec per interface. Note: This is a streaming command; pyATS will capture a snapshot.


Workflows

1. JunOS Interface Health Check
show interfaces terse → identify down interfaces
→ show interfaces extensive {down_intf} → error counters, drops
→ show interfaces diagnostics optics {intf} → optical power levels
→ show lldp → verify expected neighbors
→ Severity-sort (down=CRITICAL, errors=WARNING, low optics=WARNING)
→ GAIT
2. LACP Audit
show interfaces terse | match ae → identify LAG interfaces
→ show lacp interfaces {ae_intf} → member status, actor/partner
→ show lacp statistics interfaces {ae_intf} → PDU counters, errors
→ show interfaces {ae_intf} extensive → aggregate stats
→ Flag: missing members, LACP mismatches, PDU errors
→ GAIT
3. Optics Fleet Scan
pyats_list_devices → identify JunOS devices (parallel)
→ show interfaces diagnostics optics per device
→ Flag: rx power < -20 dBm (WARNING), < -25 dBm (CRITICAL)
→ Cross-reference SFP serial numbers with NetBox
→ GAIT
4. ARP/Neighbor Audit
show arp no-resolve → collect ARP table
→ show ipv6 neighbors → collect NDP table
→ Cross-reference with NetBox/Nautobot IPAM → flag unknown MACs
→ show lldp → verify physical neighbors match expected topology
→ GAIT

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

Integration with Other Skills

SkillIntegration
pyats-junos-systemChassis/system context for interface issues (FPC/PIC status)
pyats-junos-routingRouting protocol status complements interface state
junos-networkJunOS MCP for config changes; pyATS for operational verification
pyats-topologyLLDP + ARP data feeds topology discovery
netbox-reconcileCross-reference interface IPs, MACs, optics serials with NetBox
pyats-parallel-opspCall pattern for fleet-wide interface audits
gait-session-trackingEvery command logged in GAIT

Guardrails

  • All commands are read-only — show and monitor commands only
  • No interface config changes — never use set interfaces via this skill
  • Cross-reference optics — always compare diagnostic values against vendor specifications
  • 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-junos-interfaces of automateyournetwork/netclaw.

Open the folder on GitHubat commit 95bb17e

Compare with similar skills

Pyats Junos Interfaces 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 Junos Interfaces compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pyats Junos Interfaces this skillautomateyournetwork/netclaw676—~2.1kAutomated safety check: PassApache-2.0
Network Interface Healthaffaan-m/ECC276k1 repos~1.4kAutomated safety check: PassMIT
Logical Propertiesthedaviddias/Front-End-Checklist74k—~526Automated safety check: PassMIT
Physical Addressthedaviddias/Front-End-Checklist74k—~574Automated safety check: PassMIT
Writing Kea LogicsPostHog/posthog40k—~2.3kAutomated safety check: PassCustom licence
Make Interfaces Feel Betteraffaan-m/ECC276k1 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Diagnose interface errors, drops, CRCs, duplex mismatches, flapping, speed negotiation issues, and counter trends on routers, switches, and Linux hosts.

    276k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Logical Properties

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use CSS logical properties for i18n and RTL support.

    74k GitHub stars~526 tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Physical Address

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing local business websites, e-commerce sites, or any site where a physical presence affects trust or local search visibility.

    74k GitHub stars~574 tokensUpdated 3 days ago
    Marketing & SEOAuto-check passed
  • Writing Kea Logics

    PostHog/posthog

    Official

    Guide for writing or reviewing PostHog kea logic files (Logic.ts / Logic.tsx).

    40k GitHub stars~2.3k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Apply concrete design-engineering details that make interfaces feel polished.

    276k GitHub starsUsed in 1 repo~1.2k tokens
    Frontend & DesignAuto-check passed
  • Logic Review

    sickn33/agentic-awesome-skills

    Find logic bugs in a single file or function via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy).

    47k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-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 4 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 4 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 4 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 4 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 4 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 4 days ago
    Auto-check passed

Questions about Pyats Junos Interfaces

What does Pyats Junos Interfaces do?

JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics. Pyats Junos Interfaces is an agent skill from automateyournetwork/netclaw. JunOS interface operations via pyATS — physical/logical interfaces, LACP, CoS, LLDP, ARP, BFD, IPv6 neighbors, traffic monitoring, optics diagnostics.

When should I use Pyats Junos Interfaces?

Pyats Junos Interfaces fits situations like: checking Juniper interface status; auditing LACP members; inspecting optics power levels; reviewing ARP and LLDP neighbors.

How do I install Pyats Junos Interfaces in Claude Code?

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

How do I install Pyats Junos Interfaces in Codex?

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

Can I use Pyats Junos Interfaces 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-junos-interfaces -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-junos-interfaces, .gemini/skills/pyats-junos-interfaces, .github/skills/pyats-junos-interfaces and .opencode/skills/pyats-junos-interfaces in your project.

What does Pyats Junos Interfaces need to run?

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

Does Pyats Junos Interfaces 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 Junos Interfaces 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 Junos Interfaces use?

Pyats Junos Interfaces 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 Junos Interfaces use?

About 2.1k tokens (SKILL.md is roughly 8.6k 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 Junos Interfaces?

Skills that share tags, products or a category with Pyats Junos Interfaces: Network Interface Health (affaan-m/ECC, 276k stars), Logical Properties (thedaviddias/Front-End-Checklist, 74k stars), Physical Address (thedaviddias/Front-End-Checklist, 74k stars) and Writing Kea Logics (PostHog/posthog, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pyats Junos Interfaces?

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.