cloud-network-security

cloud-network-security is a skill for Claude Code, Codex from elastic/agent-skills. It costs 39 tokens per session (2,766 once invoked), scanned A, original, Apache-2.0.

A tool for controlling which network connections can reach Elastic Cloud Serverless projects. It uses IP address lists and AWS PrivateLink VPC endpoint rules.

In plain words
What is it for?
Use it to create, change, or remove IP allowlists and AWS VPC endpoint filters for Elastic Cloud Serverless projects.
Why use it?
It helps prevent unwanted network access and keeps private connectivity limited to approved locations.

Skill for Claude CodeCodex

Part of the cloud plugin — 5 skills shipped together

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.

agentmods
npx agentmods add skills/elastic/agent-skills/network-security
Any agent
npx skills add elastic/agent-skills --skill network-security
Clone the repo
git clone --depth 1 https://github.com/elastic/agent-skills

Made for: Claude Code, Codex.

Or install cloud, the plugin that ships this one along with the rest of its 5 skills.

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 cloud-network-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/elastic/agent-skills/network-security.svg)](https://agentmods.dev/skills/elastic/agent-skills/network-security)
Your own site
<a href="https://agentmods.dev/skills/elastic/agent-skills/network-security"><img src="https://agentmods.dev/badge/skills/elastic/agent-skills/network-security.svg" alt="Measured on agentmods" 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 2,766 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.02766
Opus 5 $0.00019 $0.01383
Sonnet 5 $0.00008 $0.00553
Haiku 4.5 $0.00004 $0.00277

Measured 4d ago against content hash 6d82b7ab808b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cloud-network-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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/cloud_network_security.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/cloud/skills/network-security/SKILL.md · 257 lines

How it starts

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

Cloud Network Security

Manage network security policies for Elastic Cloud Serverless projects: IP filters to allowlist specific IPs or CIDRs, and VPC filters (AWS PrivateLink) to restrict traffic to specific VPC endpoints.

Prerequisite: This skill assumes the cloud-setup skill has already run — EC_API_KEY is set in the environment and the organization context is established. If EC_API_KEY is missing, instruct the agent to invoke cloud-setup first. Do NOT prompt the user for an API key directly.

For project creation and day-2 operations (including associating filters with projects), see cloud-create-project and cloud-manage-project. For identity and access management (users, roles, API keys), see cloud-access-management.

For detailed API endpoints and request schemas, see references/api-reference.md.

Terminology

This skill uses network security as the umbrella term, aligned with the Elastic Cloud UI direction. The underlying API uses traffic filters — you will see traffic-filters in endpoint paths and traffic_filters in JSON fields. When a user or agent says "traffic filter," they mean the same thing as "network security policy." The two filter types are IP filters (type ip) and VPC filters (type vpce).

Jobs to Be Done

  • Create an IP filter to restrict ingress to specific IPs or CIDR blocks
  • Create a VPC filter (AWS PrivateLink) to restrict traffic to specific VPC endpoint IDs
  • List, inspect, update, and delete network security policies
  • Look up PrivateLink region metadata (service names, domain names, availability zones)
  • Associate or disassociate filters with Serverless projects (delegates to cloud-manage-project)
  • Audit the current network security posture for an organization

Prerequisites and permissions

Item Description
EC_API_KEY Cloud API key (set by cloud-setup). Required for all operations.
Region Filters are region-scoped. The user must specify the target region when creating filters.
Project IDs Required only when associating filters with projects (handled by cloud-manage-project).

Read the full file on GitHub · 257 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 257 lines · 39 tokens per session scan A 6d82b7ab808b

Subscribe to this mod's changes

cloud-network-security is a skill published in the GitHub repository elastic/agent-skills (564 stars, last pushed 7d ago), licensed Apache-2.0. It adds 39 tokens to every session and 2,766 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

yandex-cloud

Read Yandex Cloud through its REST API. Applies to any question about VMs, metrics, logs, audit events, Kubernetes, managed databases, serverless, networking or any other Yandex Cloud resource. Never shell out to the yc CLI — it is not how this agent reaches Yandex Cloud and is usually not installed.

Tracer-Cloud/opensre · 71 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

scaffold

Generate deployment-ready infrastructure code from an architecture plan, verify it with adversarial self-review, and bridge to validation — all without deploying.

microsoft/azure-skills · 0 tokens