troubleshooting-traefik-routing

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

A troubleshooting workflow for Traefik v3, a Kubernetes traffic router and proxy. It investigates routing errors, TLS problems, middleware restrictions, endpoint issues, configuration drift, and Gateway API status errors.

In plain words
What is it for?
Use it to diagnose HTTP 404–504 errors, certificate handshakes, shadowed routes, failed canaries, cross-namespace restrictions, and GitOps-related routing problems.
Why use it?
It gives incidents a structured path through live routes, certificates, endpoints, metrics, and logs instead of relying on one configuration file.

Skill for Claude CodeCodex

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

Good fit Use it to diagnose HTTP 404–504 errors, certificate handshakes, shadowed routes, failed canaries, cross-namespace restrictions, and GitOps-related routing problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/talkops-ai/talkops-mcp/troubleshooting-traefik-routing
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 troubleshooting-traefik-routing
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 troubleshooting-traefik-routing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/troubleshooting-traefik-routing"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/troubleshooting-traefik-routing.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,046 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.02046
Opus 5.5 $0.00080 $0.00818
Sonnet 5.5 $0.00040 $0.00409
Haiku 4.5 $0.00020 $0.00205

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

Security

Grade A, and why

troubleshooting-traefik-routing 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/parse_access_log.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.

src/traefik-mcp-server/skills/troubleshooting-traefik-routing/SKILL.md · 50 lines

How it starts

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

Troubleshooting Traefik v3 Routing & Gateway API

This skill provides a deterministic, symptom-driven triage workflow across Kubernetes CRDs, Traefik's live runtime API, EndpointSlices, X.509 certificates, Prometheus metrics, and access/controller logs. Always use MCP resources and tools rather than raw kubectl.

Preconditions

  1. Read traefik://server/capabilities, traefik://cluster/contexts, and traefik://runtime/health to inspect cluster_connected, runtime_api_reachable, prometheus.reachable, allow_write, active kubeconfig context, and router/service/middleware runtime errors.
  2. Read traefik://instance/static-config when checking provider flags (allowCrossNamespace, allowExternalNameServices, ingressClass) or static entryPoints.
  3. Read traefik://routes/{namespace} and traefik://manifests/{kind}/{namespace}/{name} (or traefik://gateway/{namespace} for Gateway API Gateway/HTTPRoute resources) to inspect manifests and ownership metadata (ARGO_ROLLOUT_MANAGED, GITOPS_MANAGED) without running kubectl get ... -o yaml.

Execution Checklist

  • Step 1 — Check runtime health, context & route inventory: Read traefik://server/capabilities, traefik://cluster/contexts, traefik://runtime/health, and traefik://routes/{namespace} (or traefik://gateway/{namespace}), plus traefik://manifests/{kind}/{namespace}/{name} for the failing route.
  • Step 2 — Run deep N-to-1 route diagnosis (traefik_diagnose_route): Call traefik_diagnose_route(name=..., kind=..., namespace=..., include=["runtime", "endpoints", "tls", "metrics", "events"], detail="full") and consult traefik-error-catalog.md and symptom-decision-trees.md.
  • Step 3 — Trace request matching & correlate logs/metrics:
    • Call traefik_trace_request on the failing URL/Host/Path to detect PRIORITY_SHADOWED or rule mismatches.
    • Call traefik_analyze_logs(source="access"|"controller", ...) AND always call traefik_compare_traffic_metrics(..., scope="service", include_backend_split=True) (plus traefik://metrics/{namespace}/{service}/summary) whenever troubleshooting 503 / 5xx error rates or weighted TraefikService backend splits!
    • When given exported JSON/CLF access log lines to aggregate and redact, execute parse_access_log.py (--log-file or --lines):
      python3 .agents/skills/troubleshooting-traefik-routing/scripts/parse_access_log.py --group-by router --lines '<jsonl>'
      
  • Step 4 — Check ownership & boundary guardrails before remediating:
    • Gateway API Read-Only Boundary: Consult gateway-api-diagnostics.md. Gateway API (Gateway, HTTPRoute, GRPCRoute, ReferenceGrant) is strictly read-and-diagnose only in Traefik MCP—never attempt to mutate Gateway API CRDs via traefik_* write tools; output declarative gateway.networking.k8s.io YAML for GitOps instead.
    • GitOps Drift Warning (GITOPS_MANAGED): When argocd.argoproj.io/tracking-id (or Flux metadata) is present, warn explicitly that ArgoCD selfHeal: true will revert imperative traefik_update_route hotfixes within seconds unless committed to Git (or selfHeal is temporarily paused); provide both the dry_run=True preview and the Git YAML diff.
    • Argo Rollouts & GitOps Ownership Check (ARGO_ROLLOUT_MANAGED / GITOPS_MANAGED): Before shifting weights on any TraefikService (such as mitigating WEIGHT_TO_EMPTY_BACKEND 503s to 100/0), always inspect traefik_diagnose_route(kind="TraefikService", ...) and traefik://manifests/TraefikService/{namespace}/{name} and explicitly state in your response whether ARGO_ROLLOUT_MANAGED or GITOPS_MANAGED ownership is present—if ARGO_ROLLOUT_MANAGED, delegate to argo_manage_rollout_lifecycle(action="abort"); if standalone, shift weights via traefik_set_traffic_weights(..., dry_run=True -> False).
  • Step 5 — [GATE] Always generate a dry_run=True remediation preview & apply when requested:
    • Mandatory Remediation Preview: For every non-Gateway-API CRD defect diagnosed (PRIORITY_SHADOWED, MIDDLEWARE_MISSING / MIDDLEWARE_RUNTIME_ERROR, BACKEND_PORT_MISMATCH, WEIGHT_TO_EMPTY_BACKEND, ROUTE_IGNORED_BY_PROVIDER, 504 timeout), always execute a dry_run=True tool call (traefik_update_route, traefik_set_traffic_weights, traefik_configure_middleware, traefik_configure_servers_transport, or traefik_configure_http_route) even when the operator only asked "why" it is failing, so your root-cause report includes a server-validated diff!
    • If the operator explicitly asked to fix or mitigate a non-GitOps/non-Rollout route live, proceed immediately in the same turn from dry_run=True to dry_run=False and re-run traefik_diagnose_route to verify recovery; format incident notes per incident-summary-template.md.

Read the full file on GitHub · 50 lines

Files

What ships with it

5 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 · 50 lines · 201 tokens per session scan A 04b0a262d07f

Subscribe to this mod's changes

troubleshooting-traefik-routing 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,046 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

troubleshooting-traefik-routing compared with skills from other repositories

troubleshooting-traefik-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
troubleshooting-traefik-routingtalkops-ai/talkops-mcpSkill412d agoApache-2.0A201Claude Code, Codex
agentcore-investigationawslabs/mcpSkill10.0k2d agoApache-2.0A52Claude Code, Codex
gcp-triagenirholas/three.wsSkill287yesterdayApache-2.0A93Claude Code
ssh-incidentbvisible/mcp-ssh-managerSkill554yesterdayMITA46Claude Code, Codex
incident-response-skillagentfront/frontmcpSkill154todayApache-2.0A24Claude Code, Codex
self-unblock-playbooknirholas/three.wsSkill287yesterdayApache-2.0A42Claude Code
zdx-investigate-multi-app-outagezscaler/zscaler-mcp-serverSkill5614d agoMITA155Claude Code