fwrule-analyzer

fwrule-analyzer is a skill for Claude Code, Codex from automateyournetwork/netclaw. It costs 90 tokens per session (1,823 once invoked), scanned A, original, Apache-2.0.

A standalone analyzer that compares firewall rules from several vendors after converting them into a common format. It detects when rules overlap, hide one another, conflict, or duplicate existing behavior.

In plain words
What is it for?
Use it to parse firewall configurations, inspect normalized rules, compare a proposed rule with an existing ruleset, and check supported firewall vendors and input formats.
Why use it?
It helps find policy problems before a rule change is deployed, even when the rules come from different firewall products. It also shows how vendor-specific configurations were parsed and expanded.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to parse firewall configurations, inspect normalized rules, compare a proposed rule with an existing ruleset, and check supported firewall vendors and input formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/automateyournetwork/netclaw/fwrule-analyzer
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 fwrule-analyzer
Clone the repo
git clone --depth 1 https://github.com/automateyournetwork/netclaw

Made for: Claude Code, Codex.

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 fwrule-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/automateyournetwork/netclaw/fwrule-analyzer/github.svg)](https://agentmods.dev/skills/automateyournetwork/netclaw/fwrule-analyzer)
Your own site
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/fwrule-analyzer"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/fwrule-analyzer/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 fwrule-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/automateyournetwork/netclaw/fwrule-analyzer"><img src="https://agentmods.dev/badge/skills/automateyournetwork/netclaw/fwrule-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,823 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 44
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
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.00090 $0.01823
Opus 5 $0.00045 $0.00911
Sonnet 5 $0.00018 $0.00365
Haiku 4.5 $0.00009 $0.00182

Measured 9d ago against content hash 61db7901b65b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

fwrule-analyzer 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 9d 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/fwrule-analyzer/SKILL.md · 120 lines

How it starts

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

Firewall Rule Analyzer

MCP Server

  • Repository: AutomateIP/fwrule-mcp
  • Transport: stdio (Python via uv run fwrule-mcp)
  • Install: git clone + uv sync (or pip install -e .)
  • Requires: No environment variables — standalone analysis engine
  • Dependencies: fastmcp>=2.0, pydantic>=2.0, Python 3.11+

Available Tools (3)

Tool What It Does
analyze_firewall_rule_overlap Compare a candidate rule against an existing ruleset using 6-dimensional set intersection (zones, addresses, ports, protocols, actions, applications). Detects overlaps, shadowing, conflicts, and duplicates. Supports two input modes: vendor-native config via built-in parsers, or pre-normalized JSON.
parse_policy Convert vendor-native firewall configurations into a standardized JSON schema. Enables inspection of parser output — rule counts, object resolution, address expansion — before running overlap analysis.
list_supported_vendors Enumerate all supported firewall vendors, their aliases, configuration formats, and explain how to use normalized JSON input to bypass vendor-specific parsers.

Supported Vendors (10)

Vendor Config Format Versions Identifiers
Palo Alto PAN-OS XML export 9.x–11.x panos, paloalto, panorama
Cisco ASA show running-config 9.x+ asa, cisco-asa
Cisco FTD FMC JSON 6.x–7.x ftd, firepower, fmc
Cisco IOS/IOS-XE show running-config 12.x–17.x ios, iosxe, cisco-ios
Cisco IOS-XR show running-config 6.x+ iosxr, ios-xr, xr
Check Point JSON rulebase R80.x–R82.x checkpoint, cp, check-point
Juniper SRX display set 19.x+ juniper, srx
Juniper Junos display set 18.x+ junos, mx, ptx, qfx
Nokia SR OS MD-CLI format 20.x+ sros, nokia, sr-os
Fortinet FortiOS Full backup config 5.x–7.x fortios, fortigate, fortinet, forti, fgt, fmg

Read the full file on GitHub · 120 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. 9d ago First seen · 120 lines · 90 tokens per session scan A 61db7901b65b

Subscribe to this mod's changes

fwrule-analyzer is a skill published in the GitHub repository automateyournetwork/netclaw (657 stars, last pushed 6d ago), licensed Apache-2.0. It adds 90 tokens to every session and 1,823 once invoked, about $0.0005 per session on Opus 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.