ip-blocklist

ip-blocklist is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 39 tokens per session (1,448 once invoked), scanned A, original, MIT.

A collection of examples for allowing or blocking network traffic by IP address. It covers Linux firewalls, Nginx, Cloudflare, and changing blocklists.

In plain words
What is it for?
Use it to block individual IPs or address ranges, allow trusted networks, log blocked requests, create expiring firewall entries, or configure proxy and Cloudflare rules.
Why use it?
It provides ready patterns for restricting unwanted traffic or limiting access to selected addresses and networks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to block individual IPs or address ranges, allow trusted networks, log blocked requests, create expiring firewall entries, or configure proxy and Cloudflare rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luuow/meridian-mcp/ip-blocklist
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 LuuOW/meridian-mcp --skill ip-blocklist
Clone the repo
git clone --depth 1 https://github.com/LuuOW/meridian-mcp

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 ip-blocklist

README.md
[![agentmods](https://agentmods.dev/badge/skills/luuow/meridian-mcp/ip-blocklist/github.svg)](https://agentmods.dev/skills/luuow/meridian-mcp/ip-blocklist)
Your own site
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/ip-blocklist"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/ip-blocklist/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 ip-blocklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/ip-blocklist"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/ip-blocklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,448 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00039 $0.01448
Opus 5 $0.00019 $0.00724
Sonnet 5 $0.00008 $0.00290
Haiku 4.5 $0.00004 $0.00145

Measured 8d ago against content hash 5c850584e852, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ip-blocklist scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST \
skills/ip-blocklist/SKILL.md · 173 lines

How it starts

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

ip-blocklist

Fragments for IP-based access control. Use these patterns to restrict or block traffic at the network or proxy layer. Composable with firewall and rate-limiting skills.

iptables — Static Block/Allow

# Block a single IP
iptables -A INPUT -s 203.0.113.42 -j DROP

# Block a CIDR range
iptables -A INPUT -s 198.51.100.0/24 -j DROP

# Allow only specific IPs to a port (allowlist pattern)
iptables -A INPUT -p tcp --dport 5432 -s 10.8.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 5432 -j DROP           # drop all others

# Log before dropping (for audit trail)
iptables -A INPUT -s 203.0.113.42 -j LOG --log-prefix "BLOCKED-IP: "
iptables -A INPUT -s 203.0.113.42 -j DROP

# Persist
iptables-save > /etc/iptables/rules.v4

nftables — Dynamic Set-Based Blocklist

# /etc/nftables.conf — define a set, populate it dynamically

table inet filter {
  set blocklist {
    type ipv4_addr
    flags interval, timeout      # timeout: entries auto-expire
    timeout 24h                  # auto-remove after 24h
  }

  set allowlist {
    type ipv4_addr
    flags interval
    elements = { 10.8.0.0/24, 203.0.113.0/24 }  # static admin ranges
  }

  chain input {
    type filter hook input priority 0; policy drop;
    ip saddr @blocklist drop
    ip saddr @allowlist accept
    # ... other rules
  }
}
# Add to blocklist at runtime (no reload needed)
nft add element inet filter blocklist { 198.51.100.42 }
nft add element inet filter blocklist { 192.0.2.0/24 }

# Remove from blocklist
nft delete element inet filter blocklist { 198.51.100.42 }

# Inspect current set contents
nft list set inet filter blocklist

nginx — Geo-Based Access Control

# nginx.conf — http block
http {
    # Allowlist: only listed IPs allowed
    geo $allowed_ip {
        default         0;             # deny by default
        10.8.0.0/24     1;             # VPN subnet
        203.0.113.0/24  1;             # office range
        127.0.0.1       1;             # localhost
    }

    # Blocklist: listed IPs denied
    geo $blocked_ip {
        default         0;
        198.51.100.0/24 1;             # known bad range
        192.0.2.42      1;
    }
}

# server block — enforce
server {
    location /admin/ {
        if ($allowed_ip = 0) { return 403; }
        proxy_pass http://127.0.0.1:9002;
    }

    location / {
        if ($blocked_ip = 1) { return 403; }
        proxy_pass http://127.0.0.1:8080;
    }
}

Read the full file on GitHub · 173 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. 8d ago First seen · 173 lines · 39 tokens per session scan A 5c850584e852

Subscribe to this mod's changes

ip-blocklist is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 39 tokens to every session and 1,448 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

geo-schema

Schema.org structured data audit and generation optimized for AI discoverability — detect, validate, and generate JSON-LD markup.

zubair-trabzada/geo-seo-claude · 26 tokens

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

narrative-drift-monitor

Use when the user asks to "check if our surfaces have drifted from the canon", "watch for competitor repositioning", or "define when we should reposition"; produces a drift report — self-drift per flagship surface vs the narrative-registry canon over time (via wayback.py, change history Measured with as-of dates)…

aaron-he-zhu/aaron-marketing-skills · 216 tokens

press-media-relations

Use when the user asks to "build a media list for my launch", "write a launch press release", or "pitch press under embargo"; produces a three-tier media and analyst list (Tier 1 exclusive candidates, Tier 2 vertical press, Tier 3 communities and newsletters), an embargo pitch timing skeleton keyed to the…

aaron-he-zhu/aaron-marketing-skills · 150 tokens

launch-monitor

Use when the user asks to "monitor my launch", "track our Product Hunt / Hacker News ranking", or "watch the launch window"; runs the T-0 to T+30 window watch — pre-launch instrumentation verification (UTM/event checks, the upstream of RAMP P1), HN rank/points/comments polling with a comments-over-points flamewar…

aaron-he-zhu/aaron-marketing-skills · 183 tokens

launch-tier-planner

Use when the user asks to "plan my launch tier", "how big should this launch be", or "build a launch risk register with kill criteria"; produces a tier decision (Tier 1 flagship all-channel / Tier 2 targeted / Tier 3 changelog-level), a launch-type declaration (new-product / feature / relaunch / partnership with…

aaron-he-zhu/aaron-marketing-skills · 181 tokens