Command line

Welles CLI docs

The native Mac installer includes the compiled welles binary. Use it to let local agents inspect UI, drive screen recording, run AI video editor workflows, export, and create hosted shares. Agents can use the single record verb for the full demo loop, or call each planning, editing, and sharing step directly.

LLM context

Copy for LLMs

Command, install, scope, and workflow context formatted for Claude, Cursor, or another coding agent.

Welles CLI quick context for LLM agents:

Welles is a macOS screen recorder and AI video editor. The native app bundles a compiled "welles" CLI for agent-driven recording, editing, exporting, and sharing.

Authentication:
- Run "welles login --all-scopes" once for trusted local automation.
- Tokens are scoped by the backend and stored in macOS Keychain.
- Use "welles whoami" to inspect active token, project, expiry, and scopes.
- Use "welles revoke" to invalidate local access.

Core read-only planning commands:
- "welles sources" lists macOS displays, apps, and windows.
- "welles inspect" dumps accessible UI controls for an app/window.
- "welles storyboard" builds a semantic JSON action plan from window, Accessibility, and repo context.
- "welles projects" lists projects visible to the token.
- "welles info" fetches project state and edit metadata.

Recording commands:
- "welles record" is the end-to-end demo verb: source-aware narration, native recorder control, export, upload, and hosted share.
- "welles agent-browser" launches a clean Chrome window for website demos.
- "welles demo" plans and renders a multi-scene narrated product video.
- "welles slides" generates, renders, and attaches motion-graphics slides.

Editing/output commands:
- "welles set-edit" patches mutes, trims, zooms, captions, and other edit fields.
- "welles script" generates a project voiceover script.
- "welles voiceover" synthesizes ElevenLabs voiceover audio.
- "welles export" queues a project export.
- "welles share" creates a hosted share link.
- "welles upload-share" uploads a local MP4 and creates a hosted share.
- "welles command" posts raw backend project commands.

Useful scopes:
- project:read, project:edit, project:export, project:share
- ai:included, ai:premium
- billing:read

Recommended end-to-end recipe:
welles login --all-scopes
welles sources
welles inspect --app-name Welles --query "New Recording"
welles storyboard --window Welles --repo-context ./app > storyboard.json
welles record --project PROJECT_UUID --plan storyboard.json
welles share PROJECT_UUID

Auth, one time

welles login

Device-flow auth. Stores scoped tokens in macOS Keychain.

welles whoami

Show the active token, project, expiry, and granted scopes.

welles revoke

Invalidate the current token and remove local access.

welles accessibility

Check or request macOS Accessibility access for real virtual clicks.

welles keychain-reset

Remove this channel's local CLI token after signing changes.

Reconnaissance, read-only

welles sources

List macOS displays, apps, and windows the agent can target.

welles inspect

Dump accessible UI controls for an app or window so the agent can plan clicks.

welles storyboard

Build a semantic JSON action plan from window, Accessibility, and repo context.

welles projects

List projects visible to this token.

welles project

Create a project shell for CLI-led recordings (sub-command: project create).

welles info

Fetch project state and edit metadata.

Recording

welles record

The end-to-end verb: source-aware narration, native recorder control, export, upload, and share.

welles agent-browser

Launch a clean Chrome window for website demos, separate from the recorder.

welles demo

Plan and render a multi-scene narrated product video from a story prompt.

welles slides

Generate, render, and attach motion-graphics slides.

welles act

Press accessible controls locally — internal staging/dev verb for agent-driven scripts.

Editing and output

welles set-edit

Patch supported edit fields, including mutes, trims, zooms, captions, and related metadata.

welles script

Generate a voiceover script for a project.

welles voiceover

Synthesize ElevenLabs voiceover audio.

welles export

Queue a project export.

welles share

Create a hosted share link.

welles update-share

Replace media behind an existing hosted share link (keeps the same URL).

welles upload-share

Upload a locally rendered MP4 and create a hosted share.

welles command

Escape hatch for posting raw project commands to the backend.