ingress-debug

ingress-debug is a skill for Claude Code, Codex from scitix/siclaw. It costs 49 tokens per session (1,796 once invoked), scanned A, original, Apache-2.0.

A diagnostic guide for Kubernetes Ingress, which routes outside web traffic to services inside a cluster. It checks routing rules, the IngressClass, backend services, TLS settings, and the health of the routing controller.

In plain words
What is it for?
Use it when traffic cannot reach a service through an Ingress, host or path rules do not match, a backend is unreachable, or HTTPS setup fails.
Why use it?
It helps find why an application returns 404 or 502 errors, has TLS problems, or receives no external address. It reports the cause without changing routes, services, or certificates.

Skill for Claude CodeCodex

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/scitix/siclaw/ingress-debug
Any agent
npx skills add scitix/siclaw --skill ingress-debug
Clone the repo
git clone --depth 1 https://github.com/scitix/siclaw

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 ingress-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/scitix/siclaw/ingress-debug.svg)](https://agentmods.dev/skills/scitix/siclaw/ingress-debug)
Your own site
<a href="https://agentmods.dev/skills/scitix/siclaw/ingress-debug"><img src="https://agentmods.dev/badge/skills/scitix/siclaw/ingress-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,796 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.00049 $0.01796
Opus 5 $0.00024 $0.00898
Sonnet 5 $0.00010 $0.00359
Haiku 4.5 $0.00005 $0.00180

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

Security

Grade A, and why

ingress-debug 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.

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.

skills/core/ingress-debug/SKILL.md · 195 lines

How it starts

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

Ingress Failure Diagnosis

When external traffic cannot reach a Service through an Ingress — 404, 502, TLS errors, or no address assigned — follow this flow to identify the root cause.

Scope: This skill is for diagnosis only. Once you identify the root cause, report it to the user and stop. Do NOT attempt to modify Ingress resources, Services, or TLS secrets — that should be left to the user.

Diagnostic Flow

1. Check Ingress status

kubectl get ingress <ingress-name> -n <ns>

Note:

  • CLASS — the IngressClass being used
  • HOSTS — configured hostnames
  • ADDRESS — the external IP/hostname assigned by the controller. If empty, the controller has not processed this Ingress.
  • PORTS — 80, 443 (if TLS is configured)

2. Describe the Ingress

kubectl describe ingress <ingress-name> -n <ns>

Focus on:

  • Rules — host and path routing rules with their backend services
  • TLS — configured TLS hosts and secret names
  • Default backend — the fallback backend if no rule matches
  • Events — errors from the Ingress controller (sync failures, configuration errors)
  • Annotations — controller-specific annotations that affect routing behavior

3. Verify backend Service and Endpoints

For each backend referenced by the Ingress rules:

kubectl get svc <backend-service> -n <ns>
kubectl get endpoints <backend-service> -n <ns>

If the backend Service has no endpoints, traffic will fail with 502/503. Use the service-debug skill for deeper diagnosis.

4. Check Ingress controller health

Find the Ingress controller pods (common labels):

kubectl get pods -n ingress-nginx -l app.kubernetes.io/name=ingress-nginx

If not using nginx-ingress, check other common namespaces:

kubectl get pods --all-namespaces -l app.kubernetes.io/component=controller | head -20

Verify controller pods are Running and Ready. Check controller logs for errors:

kubectl logs -n <controller-ns> <controller-pod> --tail=100

Read the full file on GitHub · 195 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. 4d ago First seen · 195 lines · 49 tokens per session scan A 70d0e62e5986

Subscribe to this mod's changes

ingress-debug is a skill published in the GitHub repository scitix/siclaw (230 stars, last pushed 5d ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,796 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

ariadne-kubernetes-graph

Use for Ariadne MCP-backed Kubernetes state questions: translate operational questions into Cypher, repair graphquery failures, and decide when graphschema or graphhealth is needed. Best for live or snapshot-backed graph data about resource relationships; do not use for codebase-only tasks or generic Kubernetes…

REASY/k8s-ariadne-rs · 65 tokens

k8s-service-connectivity

Service 连通性问题通常由 Endpoints 缺失、Selector 不匹配、[[networkpolicy|NetworkPolicy]] 阻断或 kube-proxy 异常引起。.

kudig-io/kudig-database · 0 tokens

k8s-dns-failure

DNS 解析问题诊断与修复:CoreDNS 是 Kubernetes 集群 DNS 的核心组件。DNS 问题会导致服务发现失败、外部依赖不可访问等连锁问题。.

kudig-io/kudig-database · 0 tokens

k8s-deployment-rollout

Kubernetes Deployment 发布失败、滚动更新卡住的完整诊断-修复-验证 Skill.

kudig-io/kudig-database · 21 tokens

k8s-pod-crashloop

Pod CrashLoopBackOff / OOMKilled 诊断与修复:Pod CrashLoopBackOff 和 OOMKilled 是 Kubernetes 工作负载中最常见的问题类型。本 Skill 覆盖从症状识别到修复验证的完整闭环。.

kudig-io/kudig-database · 0 tokens

k8s-aiops

Use this skill whenever the user needs to operate a Kubernetes cluster — list/inspect pods, deployments, statefulsets, daemonsets, replicasets, jobs, cronjobs, services, ingresses, endpoints, configmaps, secrets (names/keys only), PVCs/PVs/storageclasses, nodes, namespaces, and events; read pod logs; describe…

AIops-tools/K8s-AIops · 308 tokens