studio-setup
Set up a Homie studio (one repository with games/, apps/, music/, videos/ and posts/, and a site with public game rooms on the studio's own Cloudflare) with the AI handling setup and defaults: setup status first (accounts and tools, what each unlocks, the exact fix), choose editable defaults, plan the requested game or app, build it with progress the person can watch, playtest, put it online and list it in the homie.rocks directory. Use when someone asks to set up, create or start a studio or a game studio, asks what they need or whether they are set up, or says "set up a game studio called X" (with or without "and make a multiplayer game").
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- studio-setup
- metadata
- { "providers": "cloudflare github elevenlabs fal stripe ollama" }
- description
- Set up a Homie studio (one repository with games/, apps/, music/, videos/ and posts/, and a site with public game rooms on the studio's own Cloudflare) with the AI handling setup and defaults: setup status first (accounts and tools, what each unlocks, the exact fix), choose editable defaults, plan the requested game or app, build it with progress the person can watch, playtest, put it online and list it in the homie.rocks directory. Use when someone asks to set up, create or start a studio or a game studio, asks what they need or whether they are set up, or says "set up a game studio called X" (with or without "and make a multiplayer game").
- compatibility
- Node 22. Reads, and offers only when a feature needs them, each provider's own tools (Wrangler (Cloudflare, pinned in the studio), the GitHub CLI, official fal and ElevenLabs MCP connections, Cloudflare's official plugin, Stripe for the optional shop, and Ollama for Clef on this computer). The plugin's providers.json lists them.
02 资源文件 1
- 参考文档references/OFFICIAL-MEDIA.md5.0 KB
03 SKILL.md 正文
Apps: For a business, venue, cause or customer app, follow the app skill: apps/<id>/app.json, one morphing screen, roles and parts. Reuse these engines and workflows; do not impose game rounds, scores, bots, a game demo or page navigation. The app check proves shared actions and reconnect; app stores use the same standalone command.
Set up a studio
A Homie studio is ONE folder the person can see and open: AGENTS.md (+ CLAUDE.md
importing it), games/, apps/, music/, videos/, posts/, and a site: a Cloudflare Worker with a
D1 database and the Table/Lobby Durable Objects that serve the studio's pages and its public
game rooms from the studio's own Cloudflare account, on Cloudflare. The
code comes from @homie-rocks/studio, pinned in the studio's package.json. The person never
types a command: you run everything, and they approve what matters (Cloudflare, once, in their
browser). Homie for studios is in beta.
The new-studio checklist
Carry the request through without waiting between setup, planning, building and checking. Show brief progress, not a form. Choose the name from the request, otherwise "My Studio". The demo and small-change lesson below are optional, only for someone who asks for a tutorial. Plan from the premise with sensible engineering and design defaults; the person changes them later by asking. A business or non-profit may need an app or site: do not force a game or game interview. Use phone and computer controls, a small first version, local sound and CC0 art. New games use rules plus view with the server as host; read the game skill and RULES.md before coding. Build with one agent unless parallel work was requested. Keep provider approvals, paid budgets and required host holds. An existing request to go live or list is authorization; do not ask again outside those holds.
An app first: For an app request, run app new <id> in the empty studio, build the requested roles and shared action, and run its app check. Give the /<id>/open link as soon as it passes; continue to the requested publish flow without a game demo or interview. The same keyless shop is optional, with its visible Shop control when something is for sale.
A Play link first. Build the game to the point where it plays, run the two-browser check, and the moment
it passes tell the person, with the link they can open now (http://127.0.0.1:8787/<id>/play, two tabs for two
players): a first run should have someone playing in minutes, not after an hour of polish. Only then go on
to sound, art, the playtest's fixes and the landing page, saying in a line what you are doing next.
0. Setup status, first
Before anything is made, and whenever the person asks what they need, whether they are set up, or is waiting (a usage limit resetting is a good time), run the setup status. It only reads, takes a few seconds, and never prints a key:
-
With the Homie connector (the Homie MCP tool
studio_scaffoldis in your tool list), call it with the studio's name (if they have not named it yet, use "My Studio" for now; it only reads). It returns the exact pinned command, likenpx -y @homie-rocks/studio@<version> new "<folder>" --name "<Name>" --homie https://homie.rocks, and a numbered list of next steps: this checklist decides the order, not that list. Without the connector, go on ("Without the connector" below): the toolkit is@homie-rocks/studioon npm, and@latestis its version here. -
Run that same package with
setup statusinstead ofnew ...:npx -y @homie-rocks/studio@<version> setup status --connector yes --json(inside a studio:npx --no-install homie-studio setup status --connector yes --json). If it does not knowsetup status(a toolkit older than 0.11.0 calls it unknown, or asks for a studio first), runnpx -y @homie-rocks/studio@latest setup status --connector yes --jsonfor the status only (it only reads).--connector yesbecause the Homie tools are in your tool list; ifstudio_scaffoldis not there, say--connector noand run it from@latest. In Codex add--client codex, in Grok Build--client grok: the status then says whether Homie's holds are on (item 6), and when another MCP server has taken the connector's name. -
Use the status internally. Report the current work in plain words and only the single next action that actually needs the person. You run
fix.run; a provider sign-in is their browser approval. Do not make them understand runtimes, connectors, ids or optional providers. -
Never block on an optional row. Say what it unlocks and that it can wait until that feature is wanted; the skill that needs it (
music,art,video) offers it then. A "do this now" row you can do (fix.run, likenpx wrangler loginorbrew install ffmpeg): run it yourself as part of setup. A row the person does on their own (fix.open) can be done any time, even while they wait for something else: give them the link. The optional "Clef on this computer" row is a large download: run it when they want Clef, saying its size in the same line (ollama pull clef-flash, about 11 GB). -
Run it again whenever they say they did something, and tick the row.
-
Homie's holds (Codex, Grok Build). With
--clientthe status has aholdsrow: whether Homie's hooks ran just now in this app ("on": true). When it is off, say so in one sentence in this first reply, with the row's fix. In Codex: "Homie's holds are off in this session: open/hooksand trust Homie's three hooks. Until then I'll ask you before a deploy you didn't ask for, a Cloudflare change or a paid call." In Grok Build: "Homie's holds are off in this session: install the Homie plugin again with--trustand start a new session. Until then I'll ask you before a deploy you didn't ask for, a Cloudflare change or a paid call." Then do ask, also when the app approves commands for you; a deploy the person asked for is already approved. When it is on, say nothing about it and change nothing: the hooks hold what they hold. A status with noholdsrow in Codex or Grok (a toolkit before 0.30.2) cannot tell: say the sentence anyway.
Without the connector, with a shell: go on. A studio is made, checked, put online and listed with the studio's own commands; the connector is not needed for any of it. When the Homie tools are not in your tool list and you can run commands:
- Say it once, in one line: "The Homie connector is not connected in this app, so I'm making the studio with its own commands. Connected, it adds the homie.rocks directory search, the cards where an app draws them, and notes to Homie."
- The status is
npx -y @homie-rocks/studio@latest setup status --connector no --json. Its connector row says why when it can tell: another MCP server namedhomieis set up in this app and has taken the name the plugin's connector uses. Itsfix.runadds Homie's connector under its own name: run it yourself and never wait for it. - The studio is
npx -y @homie-rocks/studio@latest new <folder> --name "<Name>"(step 1), and from then onnpx --no-install homie-studio …inside it. - Where a step names a Homie MCP tool, run the command the same step names beside it (
game new,deploy,publish,stats). Tell Homie is the connector'shomie_feedback(in Claude Code also/feedback): where neither is here, make no offer.
Stop only when there is neither the Homie tools nor a way to run a command. Then say exactly how to add
the connector in that app, and stop: Claude Code, /plugin, install or enable "homie" (marketplace
homie-rocks/homie), and /mcp shows it connected; Codex, codex plugin marketplace add homie-rocks/homie
then codex plugin add homie@homie and a new session; Grok Build, grok plugin install homie-rocks/homie#plugins/homie and a new session; the Claude app, Grok chat or another app with connectors,
a custom connector at https://homie.rocks/mcp.
Each provider's own tools, lazily. Homie works through each provider's own CLI, plugin or MCP
server (Wrangler for Cloudflare, the GitHub CLI, ElevenLabs' CLI, fal's MCP server), never a copy of
their code: the plugin's providers.json lists them, with what stays Homie's (budgets and receipts,
the kids rules, the owner's one-tap asks, secrets never in the chat, the rights notes). Offer one only
when the person wants what it unlocks, in the skill that needs it; you install required tools and they sign in on the provider's own page.
The status line (Claude Code only). When requested: npx --no-install homie-studio statusline --install (--remove takes it away). Claude Code
reads the setting from the folder it was started in: if that is the folder above the studio (you made the
studio as a subfolder), add --project <that folder>. It never replaces a status line they already have;
if it says so, leave theirs. Never turn it on unasked. In Claude Code 2.1.287 or later the Homie mod (part
of this plugin) already draws the studio's band above the prompt and the Studio pane (/studio), so offer
the status line only to someone who wants the line under the prompt as well.
Homie's holds in Codex. In Codex, Homie's hooks hold what the mod holds in Claude Code: an edit to a
file studio.json "protect" lists, a production deploy, a change to the studio's Cloudflare account
outside its deploy, and a paid call past the budget or whose cost cannot be read first (a big file
into git and a Clef model download only get a one-line warning); they refuse what the mod refuses, and take secrets out of what you read. Codex runs a plugin's
hooks only after the person trusts them once: after installing Homie, tell them to open /hooks and
trust Homie's three (until then nothing is held, so ask before each of those yourself). Never assume they
are on: the setup status says which it is (item 6 above). A held call comes
back refused with a code, and the person sees what it holds: say in a sentence what it would do and ask.
They answer in their own message, proceed <code> (that exact call goes through once) or cancel <code>; then run exactly the same call again, or not at all. Never write that answer yourself, in a
command or a file: only the person's own message counts. node <this plugin's folder>/hooks/codex.mjs check -- <command> (the folder above skills/) says what Homie would do with a command, and runs nothing.
Homie's holds in Grok. In Grok Build, Homie's hooks (hooks/grok.json, deciding with the module the mod
and the Codex hooks ask, hooks/lib/holds.mjs) hold and refuse the same calls as in Codex, and take secrets out
of what you read. Grok runs a plugin's hooks only once the person has trusted the plugin (grok plugin install homie-rocks/homie#plugins/homie --trust, then a new session; /hooks lists them). Never assume they are on:
the setup status with --client grok says which it is (item 6 above), and while it says off, before a
production deploy, a Cloudflare change outside that deploy, a paid call or an edit to a file
studio.json "protect" lists, say what it would do in one sentence and wait for the person's yes, also when
Grok approves commands by itself; and never repeat a key or a token you read. A held call comes back denied
with a code, and the person answers proceed <code> or cancel <code> in their own message, as in Codex; then
run exactly the same call again, or not at all. Never write that answer yourself. In Grok chat (the connector
only, no plugin) there are no hooks: ask, every time. node <this plugin's folder>/hooks/grok.mjs check -- <command> says what Homie would hold, and runs nothing.
Grok and Grok Bot
In Grok Build the Homie plugin brings the connector (its tools read homie__studio_scaffold and the like);
its hooks hold once the plugin is trusted (above). Say --client grok to the setup status. In Grok chat the connector is
https://homie.rocks/mcp, once the person has added it. Use the one that is here; with neither, and a shell,
go on without it (step 0). Do not send the person to Claude's GitHub app, to claude.ai/code, or to a button
that only says "Connect to Claude". The studio's first-run band says Connect this chat.
- Cloudflare stays one tap on Cloudflare's own page. Grok has no Cloudflare connector and must never
ask for a token. On a phone, the setup card's "Make the studio on Cloudflare" is that tap. On a computer,
npx wrangler loginopens the same approval. - This computer is a Grok Bot, or Grok Build with a folder. Run the checklist here. When the chat has a
setup id
hs_…, check in once from the studio's own repository:npx --no-install homie-studio setup attach <hs_…> --client grok. That tells the directory Grok works in this repository. It does not need Claude's GitHub app. GitHub, when this chat already has it, is enough to push the branch and open the pull request. - A build the chat opened (
hb_…):npx --no-install homie-studio handoff <hb_…> --client grok. The session fetches the brief itself. There is no Claude Code window to open, and no second session to start.
1. The studio
Use the requested name, their business name, or "My Studio"; it can change later. Then say in two or three lines what will happen, and go on: you make the studio folder here (no game in it yet: its home page says "First game coming soon" until the first one is made); later, when it goes online, Cloudflare opens in their browser once to approve (a free account); on their account you will create one Worker, one D1 database and two Durable Objects, all free on the Workers Free plan; the homie.rocks directory lists the games (only the site's address, the studio's name, each game's name, blurb and Play link).
- Call
studio_scaffoldwith the name (and a folder if the person named one) and run the command it returns; without the connector, runnpx -y @homie-rocks/studio@latest new <folder> --name "<Name>". Either lists every file it writes and installs the pinned toolkit andwrangler(about 20 s). - Folder: the one the person named; otherwise a NEW folder named after the studio's slug inside the
current directory (e.g.
./night-owls). Never in a folder that already holds other files, never in the home folder, never outside the current directory. Other studios in the same folder (a folder beside this one with its ownstudio.json) are other people's work: never read them or copy from them, not even as a model for this studio or its game, unless the person asks. An earlier attempt: if a folder of this name already exists and is not a studio (notes, a plan, a charter from before), say so and ASK whether to fold its premise in: with a yes, copy its notes into the studio'snotes/earlier/<folder>/and use them in the plan; remove the old folder only with a second yes (to the Trash, so it can come back). Never delete or overwrite it unasked. - From here on run the studio's own copy:
npm run <script>ornpx --no-install homie-studio <command>(--no-installnever fetches a package by that bare name). - Continue with the requested build.
A missing connector is no reason to stop: with a shell, make the studio with the command above and say in
one line that the connector is not connected ("Without the connector", step 0). Never invent the package
address: it is @homie-rocks/studio, and this skill is where it is written down.
2. See a working game (optional tutorial)
Show a live one; copy nothing. A new studio has no game, and it gets none it did not ask for.
npx --no-install homie-studio demo names a live multiplayer game on Homie Arcade (made with this same
toolkit) with its Play link: give them the link and say to open it in two browser tabs, or on a phone and
a computer, and they are two players in the same public room, with bots in the empty seats. Then ask:
"Want a copy of a working starter in your own studio to change, or shall we go straight to planning your
game?"
It always names one. Where your commands have no network (Codex runs them that way by default), it cannot
read the arcade and answers "reached": false with the arcade's standing first pick, Asteroids Arena:
https://arcade.homie.rocks/asteroids-arena/play. That link opens in the person's own browser, not in your
session, so give it as the live game it is and say nothing about the lookup. The same address serves when
the command cannot be run at all.
Only when they ask for a copy (now, or in their first message): the Gem Rush starter (grab gems, knock
rivals away; bots fill the empty seats), or Ember Vale (--from ember-vale: a hero who lasts for days, with
cloud saves) when they want a persistent game. Another studio's whole game cannot be copied; pieces
of one that its studio shared can (the parts skill).
npx --no-install homie-studio game new <id> --from gem-rush --name "<Name>"
npm run dev # in the background: http://127.0.0.1:8787/<id>/play
npx --no-install homie-studio check <id> --url http://127.0.0.1:8787 --shots ./.checks
check proves it first: two fresh browsers press Play, share a room and see a round finish (about 70 s).
Show one of its pictures. Start npm run dev as a background task your app keeps alive (Claude Code: the
Bash tool's run_in_background); stop it with npx --no-install homie-studio dev --stop, which stops
exactly this studio's dev server and nothing else. Never pkill, killall or lsof ... | xargs kill: other
projects on this machine may run their own wrangler dev. Without a game, npm run dev shows the studio's
own home page ("First game coming soon") at http://127.0.0.1:8787/.
3. One small change (optional tutorial)
"Now tell me one thing to change, in your own words." With a copied starter, it is the game: a colour, the
speed, what you collect, the name (in games/<id>/). Without one, it is the studio's own home page: its
colours (site/theme.json), a tagline (studio.json "tagline"), or a first post ("we're making our first
game"; posts/README.md). Make exactly that, npm run build, and tell them to reload. If they say "you
pick", make one visible change (the colours, or the name and its colours) and say what it was. This is the
whole loop in a minute: they say it, they see it. Keep the change small; the big ideas go into the plan.
4. Plan your game: the Game Codex
Follow the plan skill: record your defaults in CODEX.md, show it and continue. No interview
unless requested. Engineering and design choices are yours; the person can steer at any time.
5. Build it
Use one agent by default and the game skill for a game. Give the Play link when checks pass.
Open a progress feed for every build so they can watch it:
npx --no-install homie-studio progress start <id> --title "<this milestone, from the codex>"
npx --no-install homie-studio progress stage plan done --note "<the plan in one line>"
build, check and deploy report into it. The codex page's Build status tab shows it (a
percentage, each step and check going green, how to try it, what was spent) and redraws itself; the
status line shows one line of it in Claude Code, and the Homie mod's Studio pane (Claude Code 2.1.287 or
later) shows all of it with the latest check frame and opens by itself. In the Claude app, add --share and call
build_progress with the build id it prints: the card follows the build. In Codex and Grok Build Homie
draws no status line, pane or card, so there the codex page is the progress view (npx --no-install homie-studio codex <id> --open).
6. Playtest it, then put it online
Playtest with the playtest skill; fix what it ranks first. If it is slow on a phone, the perf skill
measures why and keeps only the changes that make it faster beyond the noise. If a move feels weak (the jump, the
hit), the lab skill tunes it with the person, New beside Today.
The site is made from the studio (node_modules/@homie-rocks/studio/site/SITE.md): Home, Games,
Music, Videos, Rooms and Posts, each once the studio has something in it, in the studio's own look, with
"Made with Homie" at the foot of every page (keep it). Before going online:
- Its look.
site/theme.json: colours that belong to the studio's name and its first game (bg,fg,accent,glow, or apalette); the codex's palette is a good start. A one-line"tagline"instudio.json. - The game's landing (
/<id>/): "Its landing page" in thegameskill. At least the words (game.jsonlanding) and a cover from a real frame (theartskill's freeframeandcover). - A first post:
posts/<today>-<game id>-is-live.mdwithtitle:,summary:andgame: <id>(posts/README.mdhas the format). - Look at it:
npm run build,npm run dev, thennpx --no-install homie-studio look --url http://127.0.0.1:8787, open the pictures, fix, again.
Cloudflare, checked only now (a studio that never deploys never needs it):
npx wrangler whoamiin the studio folder. Not signed in: runnpx wrangler loginand tell the person in one line that Cloudflare opened in their browser and they should approve it (their own account). That is their only step. Never ask for or write an API key.- Before the first deploy,
npx --no-install homie-studio deploy --plan, and tell them its gist in two or three lines: the resources (one Worker with its Durable Objects and two Queues, one D1 database; no R2), the cost (on your account), and what the directory stores. Then go on. npm run deploy. It creates the Worker and the D1 database named instudio.json, applies migrations, deploys, and reads the live site once, which makes the site claim itself in the directory. It refuses to touch anything of the same name it did not create (rename instudio.jsonandwrangler.jsonc; never delete or overwrite the other resource). If it answers with aneedsstep, say it in one line and wait:cloudflare-verify-email(the account verifies its email address first: the email Cloudflare sent, one tap),workers-dev-subdomain(the AI registers the workers.dev address once, on the link it gives).setup statusremembers which.npx --no-install homie-studio check <id> --url <the live site>: the same two-browser proof, live.
Tell Homie, once. At the end of a first setup (the game is online, or the person stops for the day), and at
any point the person is stuck, confused or frustrated, or after an error you could not fix, you may offer, once in
the session, to send the people who make Homie a short note about how it went: "Want me to tell Homie that the
subdomain step was confusing? This is what I'd send:". Draft it with homie_feedback (offered: true; a draft
sends nothing), in plain words from what happened, with the step it was about (step: "studio-setup: put it online"). Show it exactly as it would go (in the Claude app its card has Send, Edit and Don't send) and send it
only after they say yes; in Claude Code, Claude Code itself asks them with the exact note, and in Codex
Homie's hooks hold the send for their proceed <code>. A no is final for the
session: say nothing was sent and carry on. Never make help wait on it, never offer twice, never put a key, a log,
a file, code or anyone's name in it, and a reply address only if they typed it. When they ask to tell Homie
something themselves, draft it with offered: false.
Official provider connections
Read official integrations. The AI discovers the
client's official fal, ElevenLabs and Cloudflare tools and verifies an authenticated
read. Pass integrations: {fal: "connected", elevenlabs: "unavailable", cloudflare: "unknown"} to setup_status using actual session evidence. Omit unknown providers;
never infer a connection from a local executable or credentials. The card shows the
shortest browser connection flow for each. Optional media connections never block setup.
Wrangler login remains the deployment connection. Do not provision provider credentials
through Stripe Projects; its old Homie setup wrapper has been removed.
The live address deploy prints is on workers.dev, which names the person's Cloudflare account;
deploy keeps it in .studio/local.json (git-ignored). Never write it into a committed file. A custom
domain is set with studio_domain (Desktop), or by the AI adding cloudflare.domain and
{ "pattern": "<hostname>", "custom_domain": true } to the Wrangler routes. Deploy uses the
existing Cloudflare sign-in to create DNS and TLS. Never ask the person for a zone id or DNS record. Never touch a route the studio does not own: a catch-all
or wildcard route already on that domain belongs to another site there, and the deploy's warning gives the
one line to add instead (the publish skill has the rest).
The directory, only when asked. A deploy never opts a studio in by itself: listing in the homie.rocks directory
is its own step, it is public, and it is the person's to ask for. When they asked to be listed (in their first
message or now), or say yes when you offer it once the site is live, call the Homie MCP tool studio_publish
with the live site address (without the connector, npx --no-install homie-studio publish). It lists the
games with their Play links (at most 12 per studio in the beta; its owner can unlist a listing that
breaks its rules).
Tell the person, three to five lines: the studio folder, the live site, each game's landing
(/<id>/) and Play link, the directory link when it was listed (and that it is not, when it was not), that two browsers finished a round on the live site, what
runs on their Cloudflare and what it costs (free). The codex is on the site for them alone:
npx --no-install homie-studio codex link <id> gives a one-time link for their own browser (a phone
works). The studio keeps its own stats for them (npx --no-install homie-studio stats, or stats link).
Add: Homie for studios is in beta; bugs, port requests and questions go to
https://github.com/homie-rocks/homie/issues/new/choose. Commit the studio (git add -A && git commit -m "..." inside the studio folder: it is the studio's own repository).
An existing studio that is behind: what's new
A studio pins one @homie-rocks/studio version in its package.json. When you open a studio, or the person asks
"what's new" or to update or upgrade it, compare that pin with the newest (npm view @homie-rocks/studio version; in
Claude Desktop the studio card says so itself). When the studio is behind:
- Tell the person, in a few plain lines, what's new since their version: run
npx -y @homie-rocks/studio@latest upgradein the studio (it changes nothing). It starts with "What's new since <their version>", one line per version from the new version's own CHANGELOG.md, then the upgrade notes: anything they have to do themselves. Pass those on in your own words, the upgrade notes first; never paste the whole list. (In Claude Desktop:studio_runwith["upgrade"].) - Say what the upgrade would change in the studio (the plan under "The changes"), and that nothing they wrote themselves is touched.
- Only with their yes: the
--applycommand the plan names, thennpm install(studio_install),npm run build, a look at the site, and one commit for the upgrade on its own.
Every version's notes are also at https://github.com/homie-rocks/homie/blob/main/CHANGELOG.md.
Another computer or collaborator
A private GitHub backup is optional, not a first-run requirement. If requested, install gh yourself, start its browser/device sign-in, create a private repository and push. Discover the account and repository names; never ask for an id, token or command. In a browser-capable host you enter the device code on https://github.com/login/device; the owner signs in and approves. In Desktop without browser control, explain that GitHub's device code is the remaining host limitation.
On another computer, install Homie in the host, then studio_open with the repository clones and
installs it. Use the existing name, plan and version. Reauthorize Cloudflare or Stripe only when
needed; never copy credentials or local owner state. For an explicitly requested collaborator,
resolve the named GitHub user, invite them to the repository with the requested role, and let them
accept GitHub's link. Repository access does not require Cloudflare billing or Stripe access.
Storage, later and only when asked
Songs, videos and other large media go to the studio's storage (an R2 bucket), not git. A studio that
makes games never needs it. When the person wants it: npx --no-install homie-studio storage add.
Cloudflare asks for a payment method on the account before R2 works (its first 10 GB a month are free),
so say that first and let the person decide; if R2 is not turned on, the command gives the dashboard
link and creates nothing. Then every npm run deploy binds it and moves the big songs and videos
there (checked by SHA-256, at the same addresses); homie-studio media move --dry-run says which.
Never
- Never copy a starter or another studio's game into the studio unless the person asked for it.
- Never read or copy from another studio in the same folder unless the person asks: it is somebody else's work.
- Never stop for a missing connector while you can run a command, and never tell the person the connector is needed to make a studio.
- Never put a key, token or password in the studio or in chat.
- Never touch Cloudflare resources the studio did not create.
- Never add a payment method, buy anything or turn on a paid plan for the person (in Stripe Projects too: no
--confirm-paid-service, nostripe projects billing, noupgrade). - Never use
~/.homie; the studio needs no Homie box. - Never ask the person to type a command.
- Never send a note to Homie (
homie_feedback) the person has not seen word for word and said yes to, and never offer one more than once in a session.
Connect an AI to this studio
Every studio serves its own MCP at <site>/mcp. Use the tools skill for studio-defined business actions, signed integrations and staff AI access. Reuse office and app-record built-ins first. After an authorized deploy, hand over the MCP address and <site>/_studio/office/connections: the person approves with the studio account they already have, with no key to copy. Staff connect their own account and retain only their app grants. Client connector setup is separate from the studio approval. Never deploy merely to set up a local tool test.
For a business or cause, use studio_scaffold {name, kind:"business"} or homie-studio new <folder> --kind cause. Continue directly with the app skill and the appropriate app new --from starter; no game demo or planning interview unless requested.
Resuming setup (0.51.1)
If homie-studio new was interrupted, rerun it in the same folder with the same name
and slug. It fills missing generated files and retries installation, preserving files
already there. A different studio or unrelated nonempty folder is still refused.
New studios do not request a directory listing by default; set homie.directory: true
or a directory URL only when the person chooses listing.
Cloudflare's official MCP request interface cannot authorize new static-asset uploads with an upload JWT; deploy with Wrangler, Cloudflare's own CLI using browser OAuth.
An owner's existing Wrangler login can connect another studio without a new browser approval: in that studio run homie-studio connector --tools <exact-tool-names> --out <private-config.json>, then load the file directly into the AI client's connector configuration. Never print the bearer or paste the file in chat. Revoke with homie-studio connector --revoke <id>. See the installed docs/toolkit-place-patterns.md for scope and expiry.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.