/auplc:configure-aup-learning-cloud-authfrom auplc
Configures authentication for AUP Learning Cloud JupyterHub: custom.auth flags for auto-login, dummy, native, GitHub, or both. Covers GitHub App OAuth, team sync, native accounts, password policy, and admin bootstrap.
Ships in auplc. 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.
Choose and wire the Hub's providers with custom.auth, set up the GitHub App
and/or native accounts, and optionally bootstrap the first administrator. Then
re-apply with the installer or Helm.
Edit a supported, manually managed values overlay and never hardcode secrets
into tracked files. Don't manually edit installer-generated
runtime/values.local.yaml: it is operational output, receives no preservation
guarantee, and may be silently overwritten by upgrade or reinstall. Use
installer flags for that profile or maintain a separate Helm overlay. The full
GitHub App walkthrough, value blocks, and troubleshooting are in
reference.md.
aup-learning-cloud; a running (or about-to-deploy) Hub.helm + kubectl against the cluster, or ./auplc-installer on a
single-node box.custom.auth flags | When to use | Notes |
|---|---|---|
autoLogin: true | Shared demo session | No credentials. |
dummy: true | Throwaway testing only | Accepts any user/password; not for real use. |
native: true | Managed native accounts | No GitHub setup required. |
github: true | Org-backed SSO | GitHub App and team sync. |
native: true, github: true | Both login methods | Combined login page. |
Exactly one row is valid. Confirm the provider combination before changing a
live Hub. Set custom.runtimeLimitEnabled and custom.quota.enabled explicitly;
neither is inferred from the providers.
custom.auth, custom.adminUser.enabled,
custom.githubOrgName, and hub.config.GitHubOAuthenticator in the active
overlay.Members: Read-only + Contents: Read-only
permissions, then fill hub.config.GitHubOAuthenticator (app_id,
client_id, client_secret, private_key_file, allowed_organizations,
scope: []) and custom.githubOrgName. Step-by-step in
reference.md.
…/hub/github/oauth_callback; GitHub-only uses …/hub/oauth_callback.custom.teams.mapping. Mapping which resource a
group sees stays in the configure-courses skill — this skill only makes the
groups exist. All provider combinations use this mapping and the existing
fallback groups for resource visibility.create_users = False, so accounts must be created by an admin before login
(see manage-users skill). Password policy: ≥8 chars with upper, lower, digit,
and special; users can be forced to change on first login.custom.adminUser.enabled: true with a canonical custom.adminUser.username.
Leave existingSecret empty to have the chart generate
jupyterhub-admin-credentials, or name an external Secret with
admin-password and optional api-token keys. The admin-password seeds
only a missing password row. An existing database hash is authoritative, so
changing the Secret doesn't rotate or reconcile the password. The separate
api-token key supplies API access for scripts and isn't password bootstrap.helm template jupyterhub ./runtime/chart -f runtime/values.yaml -f <overlay> must succeed../auplc-installer rt upgrade. For a direct Helm
deployment with an external Secret, create the configured Secret, then run
helm upgrade --install jupyterhub ./runtime/chart -n jupyterhub -f runtime/values.yaml -f <overlay>. Native-enabled deployments can use
chart-generated credentials when no existing Secret is configured.If a Helm install/upgrade fails, inspect helm status jupyterhub -n jupyterhub
before retrying. On a single-node install, ./auplc-installer rt upgrade or
./auplc-installer rt reinstall reuses jupyterhub-admin-credentials. This
doesn't change an existing database password.
client_secret, the App private key,
and jupyterhub-admin-credentials must come from a mounted K8s secret or an
untracked overlay. Never commit them.dummy outside isolated testing — it accepts any credentials.helm upgrade / rt upgrade restarts the Hub pod (brief auth blip).AGENTS.md).GitHub App creation walkthrough, every GitHubOAuthenticator field, the
OAuth-App→GitHub-App migration, native-account/password details, admin Secret
retrieval, and the troubleshooting table: reference.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub amdresearch/aup-learning-cloud --plugin auplc13 skills in this plugin
/build-aup-learning-cloud-imagesGroup: Plan & deploy AUP Learning Cloud. Builds and publishes the AUP Learning Cloud Docker images — the Hub image and the CPU/GPU notebook and course images — with ./auplc-installer img build. Use when the user wants to build, rebuild, tag, or push AUPLC images, mentions img build / img pull, the dockerfiles/ directory, auplc-hub / auplc-base / auplc-default / auplc-cv / auplc-dl / auplc-llm / auplc-physim / code-cpu / code-gpu, a gfx-specific image tag, the GHCR registry, code-server VS Code extensions, or preparing images for an offline/registry deployment. Covers GPU-target tagging and pushing to a registry. Do not use to install or deploy a cluster (install-/deploy-aup-learning-cloud) or to edit the course catalog in values.yaml (configure-aup-learning-cloud-courses)./configure-aup-learning-cloud-coursesGroup: Course & other editor. Edits the AUP Learning Cloud course catalog and access control in the JupyterHub values.yaml: course images, resource requirements, spawn-UI metadata, group ordering, GPU accelerator selectors, team-to-course mappings, and the quota knobs. Use when the user wants to add/remove a course or notebook environment, show/hide an option in the spawn picker, map a GitHub team or group to courses, set per-course CPU/memory/amd.com/gpu requirements, add or retune an accelerator (custom.accelerators), or configure quota (cpuRate, quotaRate, minimumToStart, refresh rules). Triggers include values.yaml, custom.resources.images, custom.teams.mapping, custom.accelerators, custom.quota, acceleratorKeys, launchMode. Do not use to build the images themselves (build-aup-learning-cloud-images) or to install a cluster (install-/deploy-aup-learning-cloud)./configure-aup-learning-cloud-reposGroup: Course & other editor. Configures per-user Git repository cloning: the custom.gitClone block (githubAppName repo picker, defaultAccessToken for private repos, allowedProviders, maxCloneTimeout, defaultPersistence, allowPersistenceChoice) and the per-resource metadata.allowGitClone gate that clones a repo into a user's workspace at spawn time. Use when the user wants to let learners clone a Git repo on startup, enable the spawn-form repo URL/branch field or GitHub repo picker, give access to a private repo (bot PAT or GitHub App token), choose whether cloned repos persist, allow GitLab/Bitbucket, or debug "Repository URL ignored" or a failed clone init container. Triggers include custom.gitClone, allowGitClone, githubAppName, defaultAccessToken, allowedProviders, init-clone-repo. Do not use to set up GitHub login itself (configure-aup-learning-cloud-auth), to publish a course to the catalog (configure-/develop-aup-learning-cloud-courses), or to build images (build-aup-learning-cloud-images)./deploy-aup-learning-cloudGroup: Plan and deploy AUP Learning Cloud. Use when the user wants to install the multi-node JupyterHub-on-k3s platform on physical hardware through either PXE-diskless or SSH-preinstalled nodes. Do not use for the single-node ./auplc-installer flow, notebook image builds, or unrelated JupyterHub and k3s installations./develop-aup-learning-cloud-coursesGroup: Course & other editor. Authors a new learning toolkit for AUP Learning Cloud end to end: write the course notebooks under projects/<NAME>/, package them into a course Docker image (dockerfiles/Courses/<NAME>/ + a Makefile target on the ROCm GPU base), register the course in auplc_installer/catalog.py (COURSE_CATALOG + team mapping), then hand off to build + values wiring. Use when an educator wants to add a new course or lab set, create a toolkit like CV/DL/LLM/PhySim, turn a notebook folder into a spawnable course, add a Dockerfile/build.sh for a course, or add a course key to the catalog. Triggers include projects/CV, projects/DL, projects/LLM, projects/PhySim, dockerfiles/Courses, COURSE_CATALOG, "add a course", "new toolkit". Do not use to only build an existing image (build-aup-learning-cloud-images), to only edit the values catalog for an existing image (configure-aup-learning-cloud-courses), or to clone a user's repo at runtime (configure-aup-learning-cloud-repos)./expose-aup-learning-cloudGroup: Maintain AUP Learning Cloud. Configures how AUP Learning Cloud is exposed and stored for a real deployment: the proxy service type (NodePort vs LoadBalancer/ingress), ingress hostname and TLS, external-TLS handling (custom.security.publicScheme), CORS origins (custom.hub/notebook.allowedOrigins), and the shared NFS storage class for the Hub DB and user PVCs. Use when the user wants to put the Hub behind a domain, enable HTTPS/TLS/certificates, set up ingress, change the NodePort, move storage from local-path to NFS (nfs-client / nfs-subdir-external-provisioner), fix mixed-content / _xsrf cookie issues behind a reverse proxy, or allow embedding/CORS. Triggers include ingress.enabled, proxy.service.type, nodePorts.http, publicScheme, allowedOrigins, storageClassName, nfs-client, TLS, cert-manager. Do not use for the first cluster build (deploy-/install-aup-learning-cloud), the GitHub OAuth callback URL (configure-aup-learning-cloud-auth), or course/quota config (configure-aup-learning-cloud-courses).Other plugins' skills for the same job