pyats-security

pyats-security is a skill for Claude Code from automateyournetwork/netclaw. It costs 58 tokens per session (2,751 once invoked), scanned A, original, Apache-2.0.

A network-security audit skill for reviewing router and switch configurations against security practices and compliance benchmarks.

In plain words
What is it for?
Use it to audit ACLs, AAA, control-plane policing, encryption, port security, management-plane hardening, and CIS, NIST, SOC 2, or PCI-DSS checks.
Why use it?
It helps expose weak management access, unsafe settings, missing controls, and signs of unauthorized access before they become larger problems.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it to audit ACLs, AAA, control-plane policing, encryption, port security, management-plane hardening, and CIS, NIST, SOC 2, or PCI-DSS checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/pyats-security
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add automateyournetwork/netclaw --skill pyats-security
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pyats-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/pyats-security/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/pyats-security)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/pyats-security"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/pyats-security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pyats-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/pyats-security"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/pyats-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.02751
Opus 5.5 $0.00023 $0.01100
Sonnet 5.5 $0.00012 $0.00550
Haiku 4.5 $0.00006 $0.00275

Measured 2mo ago against content hash da449f304d6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pyats-security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

workspace/skills/pyats-security/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Network Security Audit

When to Use

  • Security posture assessment for compliance (SOC2, PCI-DSS, NIST, CIS)
  • Pre-deployment security review
  • Incident response — checking for unauthorized access or configuration
  • Hardening audit for new devices
  • Periodic security validation

Security Audit Procedure

Step 1: Pull Running Configuration

Always start by capturing the full running config for analysis:

PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_show_running_config '{"device_name":"R1"}'

Scan the full config for the checks below.

Step 2: Management Plane Hardening

Check these items in the running config:

Check What to Look For Finding If Missing
SSH version ip ssh version 2 CRITICAL: SSHv1 vulnerable to MITM
Telnet disabled No transport input telnet on VTY lines CRITICAL: Telnet sends cleartext credentials
VTY ACL access-class on VTY lines HIGH: Unrestricted management access
Console timeout exec-timeout on console (not 0 0) MEDIUM: Unattended console sessions
VTY timeout exec-timeout on VTY lines (not 0 0) MEDIUM: Stale management sessions
Password encryption service password-encryption MEDIUM: Type 0 passwords visible
Enable secret enable secret (not enable password) HIGH: Enable password uses weak hash
Login banner banner login or banner motd LOW: Legal/compliance requirement
HTTP server disabled no ip http server MEDIUM: Unnecessary attack surface
HTTPS server ip http secure-server if web management needed MEDIUM: Use HTTPS not HTTP
Aux port disabled no exec on aux line LOW: Unused port open

Step 3: AAA Configuration

PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_show_command '{"device_name":"R1","command":"show aaa servers"}'

Read the full file on GitHub · 244 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +5 lines da449f304d6a
  2. 2mo ago Changed · +6 lines d96dfb1b48ed
  3. 3mo ago First seen · 233 lines · 58 tokens per session scan A 376e254549e1

Subscribe to this mod's changes

pyats-security is a skill published in the GitHub repository automateyournetwork/netclaw (740 stars, last pushed 3d ago), licensed Apache-2.0. It adds 58 tokens to every session and 2,751 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

pyats-security compared with skills from other repositories

pyats-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pyats-securityautomateyournetwork/netclawSkill7403d agoApache-2.0A58Claude Code
gke-compute-classesgoogle/skillsSkill26kyesterdayApache-2.0A100Claude Code, Codex
jetson-diagnosticNVIDIA/skillsSkill4.3kyesterdayApache-2.0A30Claude Code, Codex
holoscan-install-wheelNVIDIA/skillsSkill4.3kyesterdayApache-2.0A34Claude Code, Codex
offensive-z-waveSnailSploit/Claude-RedSkill12k17d agoMITA113Claude Code, Codex
hsb-flashNVIDIA/skillsSkill4.3kyesterdayApache-2.0B94Claude Code
jetson-validate-imageNVIDIA/skillsSkill4.3kyesterdayApache-2.0B50Claude Code, Codex