{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "nomadamas-cozyclay--script-live-studio-from-terminal",
 "repo": "NomaDamas/CozyClay",
 "repo_url": "https://github.com/NomaDamas/CozyClay",
 "repo_slug": "nomadamas-cozyclay",
 "title": "Let a coding agent drive a running studio from the terminal",
 "page_title": "How to let a coding agent drive a running studio from the terminal with Cozy Clay",
 "summary": "Use cclay live commands so a coding agent can read and change a studio session with JSON in and out.",
 "who": "A developer who wants a scripted or coding agent to inspect and edit a scene while the studio is open in the browser.",
 "problem": "Scripting scene edits by hand in the browser is repetitive, and an agent needs a way to check the live state before it acts.",
 "outcome": "A coding agent that reads the status of a running studio and sends JSON commands to change the scene.",
 "steps": [
  "Run `npx cozyclay` and open http://127.0.0.1:5180/app/.",
  "Run `cclay live status --wait` to check that the studio is running and ready for commands.",
  "Send the agent's JSON edits through the terminal interface described in docs/agent-cli.md.",
  "Read the returned JSON to confirm the scene state after each edit."
 ],
 "agent_prompt": "Using the NomaDamas/CozyClay repo, run `cclay live status --wait` against the open studio and then apply <scene change> through the live terminal interface. Expected output is JSON that shows the updated scene state. Verify that the status reports a ready studio before any edit is sent.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README gives only the status command example, so the exact edit commands must be read from docs/agent-cli.md before scripting them.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "javascript",
 "requirements": [
  "Node.js 22.19 or newer",
  "A Chromium browser",
  "An AI video model of your choice for the final render"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nomadamas-cozyclay/script-live-studio-from-terminal/",
 "md": "https://dedupedai.com/use-cases/nomadamas-cozyclay/script-live-studio-from-terminal/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nomadamas-cozyclay--script-live-studio-from-terminal.json",
 "api_version": "v1"
}
