migrate-ingress-nginx

migrate-ingress-nginx is a skill for Claude Code, Codex from Phaedra-Solutions/cursor-rules. It costs 117 tokens per session (1,314 once invoked), scanned A, original, MIT.

A migration guide for moving Kubernetes traffic from the retired community ingress-nginx controller to Gateway API, a newer standard for routing traffic into clusters.

In plain words
What is it for?
Use it to inventory Ingress resources, choose a Gateway API implementation, convert configurations, and review settings that cannot be translated automatically.
Why use it?
It helps identify existing routes, annotations, certificates, authentication, and rate limits before converting them, reducing the risk of lost or changed traffic behaviour.

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 inventory Ingress resources, choose a Gateway API implementation, convert configurations, and review settings that cannot be translated automatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx
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 Phaedra-Solutions/cursor-rules --skill migrate-ingress-nginx
Clone the repo
git clone --depth 1 https://github.com/Phaedra-Solutions/cursor-rules

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 migrate-ingress-nginx

README.md
[![agentmods](https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx/github.svg)](https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx)
Your own site
<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx/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 migrate-ingress-nginx

Your own site · 80×15
<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-ingress-nginx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 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.00117 $0.01314
Opus 5.5 $0.00047 $0.00526
Sonnet 5.5 $0.00023 $0.00263
Haiku 4.5 $0.00012 $0.00131

Measured 3d ago against content hash 16ba7c57e744, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-ingress-nginx 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 3d 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 -sk --resolve app.example.com:443:<new-lb-ip> https://app.example.com/healthz -o /dev/null -w '%{http_code} %{redirect_url}\n'
skills/migrate-ingress-nginx/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.

Migrate ingress-nginx to Gateway API

When to use

  • The cluster runs the community ingress-nginx controller (retired March 2026; see legacy/ingress-nginx).
  • The user asks to adopt Gateway API.

Before you start

  • Inventory (write it to the PR or docs/ingress-inventory.md):

    kubectl get ingressclass
    kubectl get ingress -A -o json | jq -r '.items[] | [.metadata.namespace, .metadata.name, (.spec.ingressClassName // "-"), ([.spec.rules[]?.host] | join(","))] | @tsv'
    kubectl get ingress -A -o json | jq -r '.items[].metadata.annotations // {} | keys[]' | grep nginx.ingress | sort | uniq -c | sort -rn
    

    Also note TLS secrets and cert-manager issuers, ConfigMap-level settings (global timeouts, headers, use-forwarded-headers), external auth, rate limits, and any snippet annotations.

  • Ask the user:

    • which Gateway API implementation (Envoy Gateway, Istio, Cilium, NGINX Gateway Fabric, Traefik, Kong, or the cloud provider's controller); the default is whatever the platform team already runs;
    • how traffic reaches the cluster (cloud load balancer, external DNS) and the cut-over window;
    • whether installing ingress2gateway (v1.2.0, brew install ingress2gateway or go install github.com/kubernetes-sigs/[email protected]) and the controller is approved (core/supply-chain).
  • Work in Git (GitOps repo or Helm values); no ad hoc kubectl apply to production.

Steps

  1. Install the Gateway API CRDs (the version the implementation supports) and the implementation, with its own GatewayClass and load balancer, next to ingress-nginx.

  2. Convert:

    ingress2gateway print --providers=ingress-nginx -A > gateway-api.yaml
    # or from files: ingress2gateway print --providers=ingress-nginx --input-file k8s/ingress.yaml
    

    Read every warning. Annotations that need manual work include snippets (configuration-snippet, server-snippet), cookie-based canaries, capture-group rewrites ($1), custom headers ConfigMaps, auth-url external auth, and rate limits; map them to the implementation's policies (filters, BackendTLSPolicy, extension CRDs) or the application.

  3. Review the output: one Gateway per entry point with TLS listeners referencing the existing certificates; HTTPRoute/GRPCRoute per Ingress with parentRefs; ReferenceGrant where routes cross namespaces. Commit it to the repo.

  4. Parallel run: apply to the new Gateway, then compare each host through both entry points:

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. 3d ago First seen · 73 lines · 117 tokens per session scan A 16ba7c57e744

Subscribe to this mod's changes

migrate-ingress-nginx is a skill published in the GitHub repository Phaedra-Solutions/cursor-rules (4 stars, last pushed 2d ago), licensed MIT. It adds 117 tokens to every session and 1,314 once invoked, about $0.0005 per session on Opus 5.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-11-01.

Related

Other skills, from other repositories

open-forge

Automate self-hosting of open-source apps on cloud infrastructure the user owns. Use when the user asks to "self-host", "deploy to my own cloud", "install X on AWS / Lightsail / EC2 / Azure / Hetzner / DigitalOcean / GCP / Oracle Cloud / Hostinger / Raspberry Pi / Kubernetes / Fly.io / Render / Railway / Northflank /…

zhangqi444/open-forge · 969 tokens

fly-io

Use when deploying or operating an app on Fly.io — writing fly.toml, placing Machines in regions near users, attaching Volumes, managing secrets, or picking a scaling lever (autostop/autostart, scale count, fly-replay). NOT choosing which host to deploy on (that is deployment), NOT a git-push PaaS with no regions…

ericrisco/rsc-harness · 87 tokens

netlify

Use when deploying or operating a site on Netlify — writing or fixing netlify.toml, authoring Functions or Edge Functions, redirects, rewrites and headers, env vars per deploy context, and shipping via the Netlify CLI. NOT deploying to Vercel (that is vercel).

ericrisco/rsc-harness · 63 tokens

project-tooling

Standard CLI tools for project infrastructure management.

alinaqi/maggy · 18 tokens

memstack-deployment-domain-ssl

Use this skill when the user says 'setup domain', 'configure DNS', 'SSL certificate', 'domain-ssl', 'custom domain', 'HTTPS setup', or needs to configure DNS records, SSL certificates, and custom domains for any hosting provider. Do NOT use for full deployment workflows.

cwinvestments/memstack · 66 tokens

grok-cli

Delegate bounded tasks to Grok Build from a supervising agent such as Codex. Use when the user asks Grok to investigate, review, implement, or provide another perspective, or when a distinct coding agent would materially help. Includes a background ACP client for progress, follow-up prompts, permissions, and…

scarletkc/agents · 66 tokens