Skip to content

Prompts

Prompts overview

Copy-ready prompts to set up Stuarty in your AI agent and to make a vertical video, a commercial, a silence cut and an export.

Last updated:

You will learn#

  • which page to open for your agent
  • how the prompts are built, so you can change them
  • the loop every good prompt follows

The idea#

An agent edits well when it is told the loop to follow and one outcome to reach. These pages give you both, ready to paste. Each agent has its own page with the real way to register the Stuarty MCP server, a setup prompt, and four task prompts.

Pick your agent#

AgentPageHow it registers the server
Claude CodeClaude Codethe command claude mcp add
OpenAI Codex CLIOpenAI Codex CLIthe command codex mcp add, or config.toml
OpenCodeOpenCodeopencode.jsonc
CursorCursor.cursor/mcp.json
Gemini CLIGemini CLIthe command gemini mcp add, or settings.json
Any other clientAny MCP clientstuarty mcp over stdio, or POST /mcp over HTTP

All of them start the same program, stuarty mcp, so install Stuarty first: see Installation.

The loop behind every prompt#

Read

The agent reads the project with project_get and notes its revision. It never edits from memory.

Edit

It sends one batch with edit, with that revision as base_revision. A batch is one undo step.

Check

It runs lint, which says what would block an export, and looks at a frame with view only when text cannot answer. A frame costs image tokens.

Deliver

It exports with job_start and waits with job_get. Nothing is exported before you have looked.

How to write your own#

  • One outcome per prompt. "Make a vertical video with captions from this clip" is one outcome. "Make my channel better" is not.
  • Give paths and names. Say where the files are and what the project is called. Paths are absolute and on the machine that runs the server.
  • Number the steps and say when to stop. "If lint has errors, list them and stop" saves a bad export.
  • Name the tools you expect. The agent can find them, but naming template, lint or job_start removes a guess.
  • Ask for the check before the export. Reading the result costs seconds; a wrong export costs a render.

Common mistakes#

  • Pasting a prompt before the server is registered and connected: the agent then invents commands. Run the check on the page of your agent first.
  • Asking the agent to "remember" ids between sessions: it does not. Give the project name, and it finds the id with project_list.
  • Expecting captions without a transcript: transcribe first, which needs the helper from stuarty tools:install whisper.

Next steps#