tenant-network-isolation

tenant-network-isolation is a skill for Claude Code from lukasrepublic/agentic-foundry. It costs 0 tokens per session (1,128 once invoked), scanned A, original, MIT.

A Kubernetes network-isolation guide for running mutually untrusted applications in shared namespaces or clusters. It describes default-deny ingress and egress rules and the checks needed to prove that tenants cannot reach one another.

In plain words
What is it for?
Use it when designing or reviewing multi-tenant charts, adding tenants, debugging cross-tenant access, or enabling and testing Kubernetes NetworkPolicy enforcement.
Why use it?
A shared Kubernetes network can allow one application to contact another unless traffic is explicitly restricted. The guide emphasizes verifying the denial instead of assuming the policy works.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the foundry plugin — 81 skills, 8 agents, 8 hooks, 1 MCP server shipped together

Good fit Use it when designing or reviewing multi-tenant charts, adding tenants, debugging cross-tenant access, or enabling and testing Kubernetes NetworkPolicy enforcement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukasrepublic/agentic-foundry/tenant-network-isolation
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 lukasrepublic/agentic-foundry --skill tenant-network-isolation
Clone the repo
git clone --depth 1 https://github.com/lukasrepublic/agentic-foundry

Made for: Claude Code.

Or install foundry, the plugin that ships this one along with the rest of its 81 skills, 8 agents, 8 hooks, 1 MCP server.

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 tenant-network-isolation

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/tenant-network-isolation.svg)](https://agentmods.dev/skills/lukasrepublic/agentic-foundry/tenant-network-isolation)
Your own site
<a href="https://agentmods.dev/skills/lukasrepublic/agentic-foundry/tenant-network-isolation"><img src="https://agentmods.dev/badge/skills/lukasrepublic/agentic-foundry/tenant-network-isolation.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,128 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.
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.00000 $0.01128
Opus 5 $0.00000 $0.00564
Sonnet 5 $0.00000 $0.00226
Haiku 4.5 $0.00000 $0.00113

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

Security

Grade A, and why

tenant-network-isolation 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 7d 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.

packs/stack-profiles/aws-eks-karpenter/blueprints/tenant-network-isolation/SKILL.md · 73 lines

How it starts

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

When to trigger

  • Deploying multiple mutually-untrusted applications from ONE shared workload chart onto ONE shared cluster (the "template a chart per app, one namespace each" pattern).
  • Adding a new tenant to a shared multi-tenant chart, or reviewing tenant isolation.
  • Debugging cross-tenant reachability, or turning cluster NetworkPolicy enforcement on.

The fragment — a per-namespace default-deny pair (bake it in the chart, every tenant inherits)

A Kubernetes cluster is a flat L3 network absent an ENFORCED NetworkPolicy. Isolation on a shared chart is a CHART concern (baked once) plus a VERIFICATION concern (proven, not assumed). The chart fragment renders a default-deny NetworkPolicy PAIR (ingress + egress, podSelector: {}) per tenant namespace, parameterized by podCidr, serviceCidr, dnsNamespace/dnsServiceIP, dataTier: [{cidr, ports}], servingPort/ingressSource:

  • Egress-side denial is THE control — ingress-only does not stop initiation. An ingress-only default-deny still lets tenant A INITIATE connections to B. The enforcing rule is the egress default-deny whose allow-list is: DNS, same-namespace, the declared data tier, and the internet EXCEPT the cluster CIDRs.
  • Put BOTH podCidr AND serviceCidr in the egress ipBlock.except. Denying only the pod CIDR is insufficient: a pod can still reach a peer tenant via the peer's Service ClusterIP, because whether the CNI evaluates the rule pre- or post-DNAT is version-dependent — the ClusterIP DNAT bypass is closed only when the Service CIDR is excepted too.
  • Allow DNS REDUNDANTLY — a namespace selector for the DNS namespace AND an explicit ipBlock to the DNS Service IP on port 53 — so resolution works under EITHER DNAT behavior.
  • Declare the data tier explicitlydataTier: [{cidr, ports}] egress allowances for the app's DB/cache endpoints (a managed store inside the workload CIDR still needs this allow).
  • Same-namespace traffic is always permitted (intra-app ingress + egress).
  • The chart's load-balancer default is INTERNAL. An internet-facing L7 load balancer is a public-IP path that routes AROUND the pod-CIDR egress deny — expose publicly only as an explicit, reviewed exception.
  • Safe defaults: a tenant that declares nothing still gets a correct isolating policy — the fragment's defaults deny cross-tenant both ways and allow only DNS + same-namespace + internet- minus-cluster-CIDRs.

Read the full file on GitHub · 73 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. 7d ago First seen · 73 lines · 0 tokens per session scan A e93d585df11d

Subscribe to this mod's changes

tenant-network-isolation is a skill published in the GitHub repository lukasrepublic/agentic-foundry (1 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,128 tokens. 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-31.

Related

Other skills, from other repositories

scaffold

Bootstrap a new project with your stack, auth, database, and standards pre-configured.

vikisingh23/neuraforge-ai · 20 tokens

local-env-orchestration

Orchestrates local Kubernetes development environment management.

LiorCohen/sdd · 15 tokens

memstack-deployment-docker-setup

Use this skill when the user says 'Docker', 'Dockerfile', 'docker-compose', 'containerize', 'docker-setup', or needs to containerize an application with optimized Docker images and compose configurations. Do NOT use for serverless or static site deployments.

cwinvestments/memstack · 62 tokens

spawn-reviewers

Spawn and collect the reviewer fleet at stage20spawnreviewers. Consumes spawn.json.spec (the authoritative spawn spec from derive-spawn-spec / derive-static-spec), resolves GRAPHPROJECT, builds per-agent prompts from the per-agent template + role suffixes (Bug Hunter A/B, Unified Auditor, Domain Critics, Impact…

closedloop-ai/claude-plugins · 182 tokens

design-inventory

Use to run the Claude Design to ClosedLoop pipeline against the current web-ui. Stage A inventories a design export zip into schema-validated findings (typed design units - screens, regions like nav bars, standalone components like a chat dialog; UX and behavioral changes; Storybook component reuse mapping; token…

closedloop-ai/claude-plugins · 173 tokens

verify-findings

Dispatch and collect the finding-verifier fleet at stage23verifyfindings (PLN-722). Reads verifymanifest.json (written by stage22bverifyprepare), spawns one falsify-oriented verifier Task per toverify[] entry with mode-specific Task scheduling (GitHub mode dispatches verifiers synchronously; local mode uses parallel…

closedloop-ai/claude-plugins · 171 tokens