routing-traefik-tcp-and-udp

routing-traefik-tcp-and-udp is a skill for Claude Code, Codex from talkops-ai/talkops-mcp. It costs 201 tokens per session (2,016 once invoked), scanned A, original, Apache-2.0.

A workflow for routing TCP and UDP connections through Traefik v3 on Kubernetes. It covers encrypted connection handling, client-address forwarding, and routes for services such as databases, message brokers, and telemetry endpoints.

In plain words
What is it for?
Use it to configure, diagnose, or remove TCP and UDP routes, including TLS pass-through or termination and PostgreSQL, Redis, Kafka, and OTLP connections.
Why use it?
It helps avoid misconfigured layer-four routes and catches missing static ports before a route is applied.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to configure, diagnose, or remove TCP and UDP routes, including TLS pass-through or termination and PostgreSQL, Redis, Kafka, and OTLP connections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp
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 talkops-ai/talkops-mcp --skill routing-traefik-tcp-and-udp
Clone the repo
git clone --depth 1 https://github.com/talkops-ai/talkops-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 routing-traefik-tcp-and-udp

README.md
[![agentmods](https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp/github.svg)](https://agentmods.dev/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp)
Your own site
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp/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 routing-traefik-tcp-and-udp

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/routing-traefik-tcp-and-udp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,016 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.00201 $0.02016
Opus 5.5 $0.00080 $0.00806
Sonnet 5.5 $0.00040 $0.00403
Haiku 4.5 $0.00020 $0.00202

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

Security

Grade A, and why

routing-traefik-tcp-and-udp 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 11d 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.

src/traefik-mcp-server/skills/routing-traefik-tcp-and-udp/SKILL.md · 55 lines

How it starts

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

Routing Traefik v3 TCP & UDP Workloads

This skill governs L4 TCP (IngressRouteTCP, MiddlewareTCP, ServersTransportTCP) and UDP (IngressRouteUDP) routing on Kubernetes (traefik.io/v1alpha1). Always use MCP resources and tools rather than raw kubectl.

Preconditions

  1. Read traefik://server/capabilities and traefik://cluster/contexts to verify cluster_connected, allow_write, active toolsets, and installed L4 CRDs (ingressroutetcps, ingressrouteudps, middlewaretcps, serverstransporttcps).
  2. Read traefik://instance/static-config to verify that target L4 entryPoints (e.g., websecure, valkey, postgres, otlp-tls, jaeger-udp, udp-otel) are statically declared.
    • Hard Prerequisite Blocker: Traefik CRDs cannot dynamically open new host/Service TCP or UDP ports! If the requested port/entryPoint (e.g., :9092 / kafka) is absent from traefik://instance/static-config, halt before creating IngressRouteTCP (ENTRYPOINT_UNKNOWN) and provide both options: (a) adding the static entryPoints.<name> + Kubernetes Service port in Traefik's Helm values, or (b) multiplexing TLS-wrapped HostSNI traffic over existing websecure (:443) if clients initiate TLS SNI.
  3. Read traefik://routes/{namespace} (and traefik://manifests/{kind}/{namespace}/{name} when inspecting an existing IngressRouteTCP/IngressRouteUDP), plus traefik://runtime/tcp or traefik://runtime/udp to inspect active L4 routers and port/SNI allocations.

Execution Checklist

  • Step 1 — Verify static L4 entryPoints & runtime routers: Read traefik://server/capabilities, traefik://instance/static-config, traefik://routes/{namespace}, and traefik://runtime/tcp (or traefik://runtime/udp).
  • Step 2 — Consult L4 reference guides & validate HostSNI/TLS/UDP rules: Read tcp-sni-and-tls-patterns.md or udp-routing-notes.md:
    • Specific HostSNI(\host.example.com`)rules **must** use backticks `` `` (never single quotes '...') with zero leading/trailing spaces inside backticks, and must include tls (passthrough=True or secret_name termination), otherwise TCP_SNI_WITHOUT_TLS breaks routing. Whenever diagnosing or correcting HostSNI(...) quote/whitespace syntax pitfalls, always also invoke traefik_trace_request(request={"protocol": "tcp", "sni": "<hostname>"}) to verify SNI router resolution!
    • Raw non-TLS TCP (e.g., Valkey :6379, raw PostgreSQL :5432) has no TLS ClientHello SNI and must use HostSNI(`*`) (tls=None) on a dedicated L4 entryPoint—never put HostSNI(`*`) without TLS on shared websecure (:443)!
    • IngressRouteUDP supports only entryPoints and routes[].services (name, port, weight, nativeLB)—strictly reject match, priority, middlewares, and tls on UDP routes, and always recommend Kubernetes NetworkPolicy in the target namespace (or cloud load-balancer ACLs) at the network layer if UDP source-IP filtering/ACLs are needed!
  • Step 3 — Preview L4 policies & routes (dry_run=True): Call traefik_configure_middleware(..., protocol="tcp"), traefik_configure_servers_transport(..., protocol="tcp"), or traefik_configure_tcp_udp_route with dry_run=True.
  • Step 4 — [GATE] Apply or hold safely:
    • If a prerequisite entryPoint is missing, if invalid UDP fields (match/middlewares/tls) or HostSNI without TLS were requested, or if preview-only/allow_write: false, stop and explain the fix.
    • When the operator explicitly requested creating or deleting a valid L4 route/policy live, proceed immediately in the same turn from dry_run=True to dry_run=False (and confirm=True for traefik_delete_resource).
  • Step 5 — Verify L4 runtime & trace: Run traefik_diagnose_route(kind="IngressRouteTCP"|"IngressRouteUDP", ...), traefik_trace_request(request={"protocol": "tcp", "sni": ...}) (for TCP), and inspect traefik://runtime/tcp or traefik://runtime/udp.

Read the full file on GitHub · 55 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. 11d ago First seen · 55 lines · 201 tokens per session scan A fa0ec015d15d

Subscribe to this mod's changes

routing-traefik-tcp-and-udp is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 201 tokens to every session and 2,016 once invoked, about $0.0008 per session on Opus 5.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-11-18.

Related

routing-traefik-tcp-and-udp compared with skills from other repositories

routing-traefik-tcp-and-udp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
routing-traefik-tcp-and-udptalkops-ai/talkops-mcpSkill412d agoApache-2.0A201Claude Code, Codex
huawei-cloud-apig-instance-managementhuaweicloud/huaweicloud-devkitSkill71todayApache-2.0A206Claude Code
huaweicloud-api-and-sdkhuaweicloud/huaweicloud-devkitSkill71todayApache-2.0A54Claude Code, Codex
orchardcore-configurationCrestApps/CrestApps.AgentSkillsSkill147d agoMITA192Claude Code
orchardcore-ai-documents-azure-storageCrestApps/CrestApps.AgentSkillsSkill147d agoMITA158Claude Code
orchardcore-omnichannel-event-gridCrestApps/CrestApps.AgentSkillsSkill147d agoMITA186Claude Code
orchardcore-health-checksCrestApps/CrestApps.AgentSkillsSkill147d agoMITA175Claude Code