start-dex-local

start-dex-local is a skill for Claude Code, Codex 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 CodeCodex

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

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/flyteorg/flyte-agent-plugins/start-dex-local
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, Codex.

Or install flyte, the plugin that ships this one along with the rest of its 21 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.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.svg" alt="Measured on agentmods" 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. 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.00075 $0.04016
Opus 5 $0.00037 $0.02008
Sonnet 5 $0.00015 $0.00803
Haiku 4.5 $0.00007 $0.00402

Measured 3d ago against content hash a157b2243656, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (2 stars, last pushed 6d ago), licensed Apache-2.0. It adds 75 tokens to every session and 4,016 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens

atmos-auth

Authentication and identity management: providers (SSO/SAML/OIDC/GCP/Atmos Pro), identities, keyring, identity chaining, login/exec/shell/console, and github/sts for private GitHub access.

cloudposse/atmos · 48 tokens

terraform-search-import

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

hashicorp/agent-skills · 39 tokens