/ai-studio-builder:export-appfrom ai-studio-builder
Get the code of a Google AI Studio Build app into a local git repo, by ZIP download (Settings → Versions → download) or AI Studio's two-way GitHub sync, then add a README, .env.example and .gitignore. Use on "export my AI Studio app", "download the AI Studio code", "put this AI Studio app on GitHub", "sync AI Studio with my repo".
Ships in ai-studio-builder. 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.
None: SKILL.md is the whole skill.
Read references/builder-mechanics.md ("Export", "Reading code without downloading").
Two routes; pick one with the user:
| Route | Good for | Needs |
|---|---|---|
| GitHub sync | Ongoing work: edit locally or in AI Studio, push/pull both ways | One-time GitHub OAuth grant to AI Studio (the user approves it) |
| ZIP download | A snapshot, or hosting elsewhere | A browser download (ask the user first: name the app and that it's a ZIP from aistudio.google.com) |
/apps/<uuid>), Settings (gear) → GitHub.gh repo clone. From now on, after local commits are pushed,
pull them into AI Studio from the same GitHub tab; after AI Studio edits, push from there.
If AI Studio shows Resolve conflicts, show the user the diff before choosing a side.git init, commit the untouched export as the first commit ("Export from AI Studio,
"), so later changes diff cleanly against what AI Studio produced.gh repo create if the user wants one..env.example with GEMINI_API_KEY= (and any other secrets from Settings → Secrets,
names only). Make sure .env is in .gitignore. Never copy key values out of AI Studio.npm install, then npm run dev; production npm run build + npm start),
and that the server reads GEMINI_API_KEY from the environment.spec/prompt.md and spec/followups.md from create-app in the repo.To read a file in place, monaco.editor.getModels() in javascript_tool lists loaded files
and .getValue() returns contents. It misses files that haven't been opened, so it's not an
export.
Repo URL or local path, the route used, the commit, and anything not verified (for example, that the ZIP contained every file listed in the Code view).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danielrosehill/google-ai-studio-builder-claude-plugin --plugin ai-studio-builder4 skills in this plugin
/create-appCreate and iterate a Google AI Studio Build-mode app (aistudio.google.com/apps) by driving a signed-in browser with Claude in Chrome. Submits a spec prompt, waits for the build, sends one-change follow-ups, and verifies the live preview against acceptance checks. Use on "build this in AI Studio", "make an AI Studio app for X", "prototype this as a Gemini app in AI Studio", "iterate my AI Studio app"./deploy-appPublish a Google AI Studio Build app so others can use it: AI Studio's one-click Publish to Cloud Run (free Starter Tier slots, or a billed Cloud project), a restricted Share link, or deploying the exported code elsewhere (Cloud Run from source, Vercel, Cloudflare, a server). Checks cost before anything is spent. Use on "deploy my AI Studio app", "publish this to Cloud Run", "give me a public URL for the AI Studio app", "unpublish it"./