start-dex-local

start-dex-local is a skill for Claude Code from flyteorg/flyte-agent-plugins. It costs 75 tokens per session (4,016 once invoked), scanned B, original, Apache-2.0.

A setup guide for running Dex as a local identity provider inside a kind Kubernetes cluster for testing Flyte authentication. An identity provider is a service that logs users in and issues tokens to other services.

In plain words
What is it for?
Use it to connect Dex, oauth2-proxy, and Flyte in a local cluster and test login and token validation through an OpenID Connect flow.
Why use it?
It allows authentication flows to be tested without a cloud account or real users. The setup uses temporary in-memory data and test passwords, so it is not suitable for a real deployment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the flyte plugin — 25 skills, 2 MCP servers shipped together

Good fit Use it to connect Dex, oauth2-proxy, and Flyte in a local cluster and test login and token validation through an OpenID Connect flow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flyteorg/flyte-agent-plugins/start-dex-local
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 flyteorg/flyte-agent-plugins --skill start-dex-local
Clone the repo
git clone --depth 1 https://github.com/flyteorg/flyte-agent-plugins

Made for: Claude Code.

Or install flyte, the plugin that ships this one along with the rest of its 25 skills, 2 MCP servers.

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 start-dex-local

README.md
[![agentmods](https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/start-dex-local/github.svg)](https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/start-dex-local)
Your own site
<a href="https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/start-dex-local"><img src="https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/start-dex-local/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 start-dex-local

Your own site · 80×15
<a href="https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/start-dex-local"><img src="https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/start-dex-local.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,016 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00075 $0.04016
Opus 5.5 $0.00030 $0.01606
Sonnet 5.5 $0.00015 $0.00803
Haiku 4.5 $0.00007 $0.00402

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

Security

Grade B, and why

start-dex-local scanned grade B with 2 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

echo "127.0.0.1 flyte.local" | sudo tee -a /etc/hosts

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://flyte.local/dex/.well-known/openid-configuration | head
plugins/flyte/skills/start-dex-local/SKILL.md · 344 lines

How it starts

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

Start a local IdP with Dex (for testing)

Replace the external OIDC provider (Okta, Google, …) that oauth2-proxy expects with Dex running inside the same kind cluster, so you can test the whole Flyte auth flow with no cloud account and no real users.

This assumes a kind cluster with Flyte and Traefik already up (steps 1–6 of the kind deployment / the deploy-flyte-kind skill's OIDC section), about to wire oauth2-proxy. Deploy Dex first, then point oauth2-proxy at it.

For local testing only. Dex here uses in-memory storage and a static test password baked into its config. Never use this configuration anywhere real.

The issuer-URL constraint (why the setup looks the way it does)

OIDC requires the issuer URL to be identical everywhere it's seen:

  • oauth2-proxy (in-cluster) reaches Dex over a Kubernetes service name.
  • The browser reaches Dex to log in, and must land on the same issuer the token was minted for, or validation fails.

A service name (dex.flyte.svc.cluster.local) isn't resolvable from the browser; a localhost URL isn't resolvable from inside the cluster. The fix: serve Dex under the same host as Flyte (flyte.local) at a sub-path (/dex), routed through Traefik. One URL — http://flyte.local/dex — works from both sides.

Step 0: Prerequisites

for t in kubectl helm; do command -v $t >/dev/null || echo "MISSING: $t"; done
kubectl --context kind-flyte -n traefik get deploy traefik >/dev/null 2>&1 || echo "MISSING: traefik"
kubectl --context kind-flyte -n flyte get svc flyte-http >/dev/null 2>&1 || echo "MISSING: flyte"
docker ps --filter name=flyte-control-plane --format '{{.Ports}}' | grep -q '80->30080' \
  || echo "MISSING: hostPort 80->30080 mapping (recreate the cluster — see deploy-flyte-kind Step 1)"

If anything is MISSING, stop. Flyte + Traefik must already be deployed, and the cluster must have been created with the hostPort: 80 → 30080 mapping — Dex's issuer (http://flyte.local/dex) is unreachable from the browser without it, and the mapping can't be added to an existing cluster. Also confirm 127.0.0.1 flyte.local is in /etc/hosts.

Read the full file on GitHub · 344 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. 3mo ago First seen · 344 lines · 75 tokens per session scan B a157b2243656

Subscribe to this mod's changes

start-dex-local is a skill published in the GitHub repository flyteorg/flyte-agent-plugins (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 4,016 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

start-dex-local compared with skills from other repositories

start-dex-local next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
start-dex-localflyteorg/flyte-agent-pluginsSkill61mo agoApache-2.0B75Claude Code
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code