configuring-traefik-middlewares

configuring-traefik-middlewares is a skill for Claude Code, Codex from talkops-ai/talkops-mcp. It costs 180 tokens per session (2,291 once invoked), scanned A, original, Apache-2.0.

A workflow for configuring Traefik v3 middleware on Kubernetes. Middleware changes requests or connections before they reach a service, for example by applying retries, rate limits, authentication, headers, or path rewrites.

In plain words
What is it for?
Use it to create, check, and combine HTTP or TCP middleware, backend transport policies, authentication, CORS, retries, circuit breakers, filtering, and gRPC-Web handling.
Why use it?
It helps prevent invalid or unsafe middleware configurations, including unsupported fields, unregistered plugins, and incorrect cross-namespace references.

Skill for Claude CodeCodex

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

Good fit Use it to create, check, and combine HTTP or TCP middleware, backend transport policies, authentication, CORS, retries, circuit breakers, filtering, and gRPC-Web handling.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/talkops-ai/talkops-mcp/configuring-traefik-middlewares"><img src="https://agentmods.dev/badge/skills/talkops-ai/talkops-mcp/configuring-traefik-middlewares.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 180 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,291 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.00180 $0.02291
Opus 5.5 $0.00072 $0.00916
Sonnet 5.5 $0.00036 $0.00458
Haiku 4.5 $0.00018 $0.00229

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

Security

Grade A, and why

configuring-traefik-middlewares 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 2 executable files (scripts/lint_middleware_spec.py, scripts/render_middleware_manifest.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/configuring-traefik-middlewares/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.

Configuring Traefik v3 Middlewares & Transports

This skill governs HTTP Middleware CRDs, TCP MiddlewareTCP CRDs, ordered middleware chains, and ServersTransport / ServersTransportTCP backend transport policies on Kubernetes (traefik.io/v1alpha1). Never use raw kubectl when MCP resources or tools cover the operation.

Preconditions

  1. Read traefik://server/capabilities to check cluster_connected, allow_write, active toolsets, and crds_installed.traefik.io.
  2. Read traefik://schema/Middleware (and traefik://schema/MiddlewareTCP for TCP) to inspect installed CRD spec_properties before using schema-gated fields (for example, ipDenyList is not a native field in upstream Traefik v3 OSS middlewares.traefik.io CRDs!).
  3. Read traefik://instance/static-config to verify:
    • entryPoints.*.forwardedHeaders.trustedIPs when configuring ip_allow_list or rate_limit behind a cloud load balancer (AWS ALB/NLB).
    • plugins registration before creating any type="plugin" Middleware (referencing an unregistered plugin key causes MIDDLEWARE_RUNTIME_ERROR and disables attached routers!).
    • providers.kubernetesCRD.allowCrossNamespace before referencing cross-namespace middlewares.
  4. Read traefik://policies/{namespace} and traefik://manifests/{kind}/{namespace}/{name} (instead of kubectl get middleware -o yaml) to inspect existing policies, chains, and route references, and read traefik://runtime/http (or traefik://runtime/tcp) when checking per-pod backend health/middleware runtime status.

Execution Checklist

  • Step 1 — Inspect capabilities, CRD schema, static config & existing policies: Read traefik://server/capabilities, traefik://schema/Middleware, traefik://instance/static-config, and traefik://policies/{namespace} (plus traefik://manifests/{kind}/{namespace}/{name} when modifying an existing route or policy).
  • Step 2 — Consult reference guides & run deterministic scripts: Read the matching reference doc under references/ and run lint_middleware_spec.py / render_middleware_manifest.py when validating specs/chains or generating GitOps YAML.
  • Step 3 — Enforce zero-secret & chain-ordering guardrails: Reject inline basicAuth.users / digestAuth.users credentials outright (always reference a Kubernetes Secret via secret), reject circular chain references (MIDDLEWARE_CHAIN_CYCLE), and enforce canonical middleware ordering.
  • Step 4 — Preview middleware or transport (dry_run=True): Never skip dry_run=True, even if pressured by an operator. Call traefik_configure_middleware or traefik_configure_servers_transport with dry_run=True.
  • Step 5 — [GATE] Apply or hold safely:
    • If the operator asked for a preview/lint only, if allow_write: false, or if an unsafe shortcut was requested (inline users password hashes, skipping dry_run, insecure_skip_verify: true, unregistered plugin key, or unsupported ipDenyList CRD field), stop and provide the hardened configuration/fallback.
    • When the operator explicitly requested creating, updating, attaching, or detaching a valid policy live, proceed immediately in the same turn from dry_run=True to dry_run=False.
  • Step 6 — Attach/detach on route & verify: Preview and apply via traefik_update_route(..., dry_run=True -> False) and confirm runtime status via traefik_diagnose_route and traefik://runtime/http.

Read the full file on GitHub · 73 lines

Files

What ships with it

6 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 · 73 lines · 180 tokens per session scan A 416a40d202e2

Subscribe to this mod's changes

configuring-traefik-middlewares is a skill published in the GitHub repository talkops-ai/talkops-mcp (4 stars, last pushed 12d ago), licensed Apache-2.0. It adds 180 tokens to every session and 2,291 once invoked, about $0.0007 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

configuring-traefik-middlewares compared with skills from other repositories

configuring-traefik-middlewares next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
configuring-traefik-middlewarestalkops-ai/talkops-mcpSkill412d agoApache-2.0A180Claude Code, Codex
agentcore-investigationawslabs/mcpSkill10.0k2d agoApache-2.0A52Claude Code, Codex
auditing-terraform-infrastructure-for-securityxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A59Claude Code, Codex
gcp-triagenirholas/three.wsSkill287yesterdayApache-2.0A93Claude Code
ssh-incidentbvisible/mcp-ssh-managerSkill554yesterdayMITA46Claude Code, Codex
deploy-runbooknirholas/three.wsSkill287yesterdayApache-2.0A38Claude Code
huawei-cloud-waf-aad-rule-managementhuaweicloud/huaweicloud-devkitSkill71todayApache-2.0A338Claude Code