new-nebari-app
Skill1 starsChanged 25 days agoMITView on GitHub
Scaffold a static web app (plain HTML/CSS/JS, no build step) in the layout the Nebari Apps Pack expects, with a nebari-app.yaml launch manifest, and launch it on the cluster through the nebari-apps MCP server. Use when the user wants a static page or prototype deployed to a Nebari cluster ("scaffold a static Nebari app", "make a page and deploy it to Nebari"), or says "launch it" about an app directory containing nebari-app.yaml. Not for React/FastAPI codebases — use new-project for those.
In this repository12 other files it gives its agents.
- a11y-auditSkill
- backend-conventionsSkill
- decision-deckSkill
- frontend-conventionsSkill
- github-issueSkill
- k8s-conventionsSkill
- new-projectSkill
- pr-reviewSkill
- start-devSkill
- talk-deckSkill
- tool-evalSkill
- web-app-auditSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Every app is a directory with a nebari-app.yaml next to the content:
- Very specific: line 46
When the user asks to launch an app directory, read its nebari-app.yaml and drive the nebari-apps MCP tools:
- Very specific: line 50
If a tool returns an auth error, call authenticate and follow its instructions (show the user the verification URL + code, then retry).
- Very specific: line 54
source.type: files: read every text file under files.path (relative to the manifest) and pass them as inline_files ({relative/path: … - Very specific: line 69
Keep nebari-app.yaml in version control — it is also the GitOps artifact: piped through App metadata, kubectl apply works on the rendered …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scaffold and launch Nebari apps
Apps on a Nebari cluster are launched from one declarative contract. This skill scaffolds
static app directories in that contract's layout — content plus a nebari-app.yaml
manifest — and maps the manifest onto the nebari-apps MCP server's launch_app tool so
"generate, then launch it" is one smooth flow.
The layout
Every app is a directory with a nebari-app.yaml next to the content:
docs-site/
nebari-app.yaml
index.html
styles.cssThe manifest maps 1:1 onto the pack's App resource — see
references/manifest.md for the full schema.
Scaffolding
- Pick names. Directory and app name: lowercase letters, digits, hyphens (max 53
chars). Default the
subdomainto the app name — the app's URL becomeshttp(s)://<subdomain>.<appsDomain>. - Scaffold from the template in assets/static/: a real
index.html(+styles.css), manifest withsource.type: files. Author actual files; never hand-write inline YAML content. - Write
nebari-app.yamlwith real values, not placeholders. Ask about access (public vs group-restricted) if the user hasn't said. - Tell the user how to launch, verbatim:
Say "launch it" and I'll deploy it to the cluster via the nebari-apps MCP server (
https://apps.<cluster-domain>/mcp).
Launching ("launch it")
When the user asks to launch an app directory, read its nebari-app.yaml and drive the
nebari-apps MCP tools:
describe_cluster— confirm the targetnamespaceis available and getappsDomain. If a tool returns an auth error, callauthenticateand follow its instructions (show the user the verification URL + code, then retry).- Map the manifest to a
launch_appcall — the full mapping table is in references/manifest.md. The common case:source.type: files: read every text file underfiles.path(relative to the manifest) and pass them asinline_files({relative/path: content}). Must includeindex.html; text assets only; keep the total under ~900KB — if larger, push the directory to git and use agitsource instead.
launch_appis idempotent on (namespace, name) — re-launching an existing app updates it, so retrying or iterating is safe.- Poll
get_app_statusuntilphaseisRunning(typically seconds). If it lands inFailed, readget_app_logsand the status message, fix, re-launch. - Report the app's
urlback to the user.
Conventions (do not deviate)
- The platform serves content with nginx on port 8080. The gateway terminates TLS and, for non-public apps, enforces Keycloak SSO — never add auth code to the app itself.
- Keep
nebari-app.yamlin version control — it is also the GitOps artifact: piped throughAppmetadata,kubectl applyworks on the rendered form.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

