Self-hosted Coder cloud dev environments. Use for Helm/Kubernetes deploys, OIDC/Authentik SSO, IdP group-role sync, RBAC, Terraform workspace templates, provisioners, prebuilds, or workspace proxies.
Ships in coder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Self-hosted platform provisioning developer workspaces from Terraform templates. A coderd control plane
authenticates users and schedules builds; a coder_agent inside each workspace tunnels SSH, IDEs, and apps back.
coderd (Helm release) ──► PostgreSQL (required, external in prod)
│ ──► provisioner daemons (built-in or external) ──► terraform apply
│ │
└── OIDC (Authentik) ── users/groups/roles ▼
workspace pod/VM + coder_agent
└─ coder_app (code-server, JetBrains…)
Three things must agree or nothing works: CODER_ACCESS_URL (what agents dial home to),
CODER_WILDCARD_ACCESS_URL (per-app subdomains), and the TLS cert covering both.
kubectl create namespace coder
kubectl create secret generic coder-db-url -n coder \
--from-literal=url="postgres://coder:[email protected]:5432/coder?sslmode=disable"
helm repo add coder-v2 https://helm.coder.com/v2 && helm repo update
helm install coder coder-v2/coder -n coder -f values.yaml --version 2.34.0
Minimum values.yaml:
coder:
env:
- name: CODER_PG_CONNECTION_URL
valueFrom: { secretKeyRef: { name: coder-db-url, key: url } }
- name: CODER_ACCESS_URL
value: "https://coder.example.com"
- name: CODER_WILDCARD_ACCESS_URL
value: "*.coder.example.com"
- name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE
value: "false"
Stable channel via OCI: helm install coder oci://ghcr.io/coder/chart/coder --version 2.33.6.
coder-provisioner chartCODER_OIDC_* variable, claim mapping, troubleshootingregistry.coder.com modules for IDEs, git, dotfiles, agentscoder_parameter arguments, validation, ephemeral, list typescoder_ai_task, coder_external_agent, running OpenHandsNever let the built-in provisioner touch production infra. It runs inside the coderd pod with the chart's
service account. Use external provisioners with scoped keys so template Terraform can't reach the control plane's
credentials. → references/provisioners.md
Templates are Terraform, but not ordinary Terraform. Every resource that should disappear when a workspace
stops needs count = data.coder_workspace.me.start_count. Persistent volumes must NOT have that count, or
you delete user data on every stop.
The agent needs two injected values: coder_agent.main.init_script as the container command and
CODER_AGENT_TOKEN=coder_agent.main.token as an env var. Omitting either produces a workspace that builds
successfully and then never connects.
Groups/roles sync only on login. Changing an Authentik group does nothing until the user re-authenticates.
Pin the chart version. helm upgrade without --version jumps to mainline. Coder ships mainline and stable
channels; run stable unless you need a specific new feature.
| Channel | Chart | Use |
|---|---|---|
| Stable | oci://ghcr.io/coder/chart/coder (2.33.6) | Production |
| Mainline | coder-v2/coder (2.34.0) | New features, monthly cadence |
Premium-licensed features: HA (replicaCount > 1), prebuilds, organizations, custom roles, workspace proxies,
role sync, audit log. OSS covers OIDC login, group sync, templates, external provisioners.
| Symptom | Cause |
|---|---|
| Workspace builds, agent never connects | CODER_ACCESS_URL unreachable from workspace network, or missing CODER_AGENT_TOKEN |
| Apps 404 on subdomain | CODER_WILDCARD_ACCESS_URL unset or wildcard DNS/TLS cert missing |
| OIDC login creates duplicate users | CODER_OIDC_USERNAME_FIELD claim not stable; use preferred_username or sub |
template push fails to provision | No provisioner matching the template's tags |
| Groups empty after login | CODER_OIDC_GROUP_FIELD unset, or claim not in ID token — check CODER_LOG_FILTER=".*got oidc claims.*" |
| PVC deleted on workspace stop | count = start_count wrongly applied to the PVC resource |
config.yaml (opens in a new tab)references/ai-tasks.md (opens in a new tab)references/authentik-oidc.md (opens in a new tab)references/cli-ops.md (opens in a new tab)references/external-auth.md (opens in a new tab)references/helm-deploy.md (opens in a new tab)references/idp-sync-rbac.md (opens in a new tab)references/modules.md (opens in a new tab)references/networking.md (opens in a new tab)references/oidc-auth.md (opens in a new tab)references/parameters.md (opens in a new tab)references/presets-prebuilds.md (opens in a new tab)references/provisioners.md (opens in a new tab)references/scheduling-quotas.md (opens in a new tab)references/template-kubernetes.md (opens in a new tab)references/templates-terraform.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/coder:coderfrom coder
npx claudepluginhub kettleofketchup/kettleofskills --plugin coder