The CLI is a thin adapter over the same service as the editor, the MCP server and the HTTP API. Add --json to any command for one JSON document on standard output.
Global flags#
| Flag | Type | Default | Meaning |
|---|---|---|---|
--json | boolean | false | print one JSON document |
--project | string | project id (default $STUARTY_PROJECT) | |
--workspace | string | workspace directory (default $STUARTY_HOME, else ~/.stuarty) | |
--actor | string | cli | label of the actor local:<label> |
--key-file | string | file holding an API key for a remote server | |
--dry-run | boolean | false | validate and report, change nothing |
--wait | boolean | true | block until the job is final (--no-wait to return at once) |
--timeout | duration | 10m | longest --wait |
Exit codes#
| Code | Meaning |
|---|---|
| 0 | success |
| 1 | a failure that retrying will not fix, a failed file of media:import, a failed job, or lint --strict with an error finding |
| 2 | a retryable error (E_REVISION_CONFLICT, E_WORKSPACE_LOCKED, E_QUEUE_FULL, E_RATE_LIMITED, E_ASSET_NOT_READY) or a --wait that timed out |
project:list#
List the projects of the workspace
stuarty project:list [--state active|trashed|all] [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--state | string | active | active, trashed or all |
--cursor | string | continue a list from this cursor | |
--limit | integer | 20 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty project:list --jsonproject:create#
Create a project
stuarty project:create --name <n> --description <t> --specific|--measurable|--achievable|--relevant|--time-bound <t> --due <date> [--kind text|video|image]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | project name: 4 to 32 letters, digits and single spaces (required) | |
--description | string | what the project is, for whom, what it makes: 64 to 1024 characters (required) | |
--specific | string | goal: what exactly it will achieve, 16 to 280 characters (required) | |
--measurable | string | goal: how success is counted, 16 to 280 characters (required) | |
--achievable | string | goal: why it can be done with what you have, 16 to 280 characters (required) | |
--relevant | string | goal: why it matters, 16 to 280 characters (required) | |
--time-bound | string | goal: the schedule and the milestones, 16 to 280 characters (required) | |
--due | string | goal: the due date YYYY-MM-DD, today or later (required) | |
--preset | string | deprecated, creates nothing: the size is asked when a video is added | |
--fps | string | deprecated, creates nothing: the frame rate is asked when a video is added | |
--id | string | identifier for the project (omit it in network mode: the server chooses) | |
--kind | string | what the project is meant to become: text, video, image or undecided (default); it creates no timeline |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty project:create --name "Launch teaser" --description "A 30 second vertical teaser for the launch of my course, for people who follow me on short video, with captions and a thumbnail." --specific "Publish one teaser that explains the course in one sentence" --measurable "At least 1000 views and 50 sign-ups in the first week" --achievable "I already have the footage and edit one video a day" --relevant "The launch needs an audience before the doors open" --time-bound "Script on Monday, edit on Tuesday, publish on Wednesday" --due 2027-03-31 --jsonproject:update#
Change the name, the description or the goal of a project
stuarty project:update <id> [context flags of project:create]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | project name: 4 to 32 letters, digits and single spaces | |
--description | string | 64 to 1024 characters | |
--specific | string | goal: 16 to 280 characters (a goal is sent whole: give all six goal flags) | |
--measurable | string | goal: 16 to 280 characters | |
--achievable | string | goal: 16 to 280 characters | |
--relevant | string | goal: 16 to 280 characters | |
--time-bound | string | goal: 16 to 280 characters | |
--due | string | goal: the due date YYYY-MM-DD |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty project:update prj_7k2m9x4q1b --name "Launch teaser v2"project:show#
Show a project
stuarty project:show [<project id>] [--detail concise|full|document] [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--detail | string | concise | concise, full or document |
--cursor | string | continue a list from this cursor | |
--limit | integer | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty project:show --project prj_7k2m9x4q1bproject:trash#
Move a project to the trash
stuarty project:trash <project id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty project:trash prj_7k2m9x4q1bproject:restore#
Restore a trashed project
stuarty project:restore <project id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty project:restore prj_7k2m9x4q1bedit#
Apply a batch of operations to a project (its lint block is lint_scope fast: lint runs every rule)
stuarty edit --project <id> --ops <file|-> [--base n] [--key k]
stuarty edit --project <id> <op> [k=v | k:=json]...| Flag | Type | Default | Meaning |
|---|---|---|---|
--ops | string | a JSON file with the batch, or - for standard input: {"operations":[{"op":"item.move","args":{"item_id":"itm_m1n2p3q4r5","start":"2s"}}]}, or only the array of {op, args}; base_revision, idempotency_key and dry_run may sit beside operations | |
--base | integer | the revision the batch was planned against (default: the current one) | |
--key | string | idempotency key |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty edit --project prj_7k2m9x4q1b item.move item_id=itm_m1n2p3q4r5 start=2shistory#
List the steps of a project history
stuarty history --project <id> [--by a] [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--by | string | only the steps of this actor | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 20 | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty history --project prj_7k2m9x4q1b --jsonundo#
Undo the last step of the caller
stuarty undo --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty undo --project prj_7k2m9x4q1bredo#
Redo the last undone step of the caller
stuarty redo --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty redo --project prj_7k2m9x4q1blint#
Check a project against every lint rule (an edit result runs only the fast rules, lint_scope fast)
stuarty lint --project <id> [--severity error|warning] [--cursor c] [--limit n] [--strict]
stuarty lint --project <id> --preset <id> [--start t] [--end t]| Flag | Type | Default | Meaning |
|---|---|---|---|
--severity | string | warning | error lists only errors; warning lists everything |
--strict | boolean | false | exit 1 when there is at least one error finding |
--preset | string | the fit check of an export preset instead of the lint, as export:check | |
--start | string | with --preset: first time of the range to check | |
--end | string | with --preset: end of the range to check | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 25 | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty lint --project prj_7k2m9x4q1b --jsonversion#
Print the version of this binary
stuarty version [--json]Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty versionmcp#
Serve the MCP tools on standard input and output
stuarty mcp [--actor <label>]Global flags: --json, --workspace, --actor, --key-file.
Example:
claude mcp add stuarty -- stuarty mcprevert#
Go back to the document of an earlier revision, as a new step that undo takes back
stuarty revert --project <id> (--revision n | --checkpoint name) [--base n] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--revision | integer | the revision to go back to | |
--checkpoint | string | the name of a checkpoint to go back to | |
--base | integer | the revision you read (default the current one); an older one conflicts with other actors' changes |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty revert --project prj_7k2m9x4q1b --checkpoint "before the intro" --dry-rundiff#
List what changed between two revisions, most significant first
stuarty diff --project <id> (--from n | --from-checkpoint name) [--until n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--from | integer | the revision the diff starts from | |
--from-checkpoint | string | the name of a checkpoint the diff starts from | |
--until | integer | the revision the diff ends at (default the current one) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty diff --project prj_7k2m9x4q1b --from 12checkpoint:create#
Name a revision so that it can be gone back to
stuarty checkpoint:create --project <id> --name <name> [--note t] [--revision n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | 1 to 60 characters, no slash | |
--note | string | up to 300 characters | |
--revision | integer | the revision to name (default the current one) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty checkpoint:create --project prj_7k2m9x4q1b --name "before the intro"checkpoint:list#
List the checkpoints of a project, newest revision first
stuarty checkpoint:list --project <id>Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty checkpoint:list --project prj_7k2m9x4q1b --jsoncheckpoint:rename#
Rename a checkpoint, and change its note
stuarty checkpoint:rename --project <id> --name <name> --new-name <name> [--note t]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the checkpoint to rename | |
--new-name | string | the new name | |
--note | string | replaces the note when given |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty checkpoint:rename --project prj_7k2m9x4q1b --name draft --new-name "first cut"checkpoint:remove#
Remove a checkpoint; no revision is removed
stuarty checkpoint:remove --project <id> --name <name>| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the checkpoint to remove |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty checkpoint:remove --project prj_7k2m9x4q1b --name draftmedia:import#
Import media files into a project
stuarty media:import <path>... --project <id> [--asset-id ast_...] [--wait] [--timeout d]
stuarty media:import --hash sha256:... --project <id> (a file the library already holds: no copy)
origin and reuse: [--origin-kind k] [--origin-source s] [--provider p] [--model m] [--prompt t] [--rights-note t] [--engine e] [--engine-version v] [--render-key k] [--tag t] [--reusable] [--description t] [--sound-kind k]
formats: MP4, MOV, MKV, WebM, AVI, MP3, WAV, FLAC, OGG, PNG, JPEG, WebP, GIF and .cube; not SVG| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset-id | string, repeatable | id to give the asset, once per path, in order | |
--hash | string, repeatable | the hash of a file of the library to use in the project, in place of a path | |
--origin-kind | string | imported (default), generated, fetched_by_agent or rendered_externally | |
--origin-source | string | a path, a URL or a tool name, as plain text (required for fetched_by_agent and rendered_externally) | |
--provider | string | the provider that generated the files (required for generated) | |
--model | string | the model that generated the files (required for generated) | |
--prompt | string | the prompt that generated the files | |
--cost-micros | integer | what the files cost, in millionths of a US dollar | |
--engine | string | the motion engine that rendered the files (rendered_externally) | |
--engine-version | string | the version of that engine (rendered_externally) | |
--render-key | string | a stable name for the animation, the same each time it is rendered again (rendered_externally) | |
--rights-note | string | your own record of the licence or the permission (required for fetched_by_agent) | |
--tag | string, repeatable | a tag for the files; repeat it or give a comma list | |
--reusable | boolean | mark the files to be offered again | |
--description | string | what the files are, in your words | |
--sound-kind | string | music, voice or effect, for the audio files |
Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.
Example:
stuarty media:import clip.mov --project prj_7k2m9x4q1b --jsonmedia:inspect#
Show what is known about an asset
stuarty media:inspect <asset id> --project <id> [--sections probe,transcript,silences,loudness]| Flag | Type | Default | Meaning |
|---|---|---|---|
--sections | string | probe | probe, transcript, silences, loudness, beats, words, fillers, zooms |
--min-silence | string | 0.4s | shortest silence to report |
--cursor | string | continue a list from this cursor | |
--limit | integer | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty media:inspect ast_3c5v8n2w6d --project prj_7k2m9x4q1b --sections probe,silencesmedia:list#
List the assets of a project
stuarty media:list --project <id> [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty media:list --project prj_7k2m9x4q1b --jsonmedia:trash#
Move an asset to the trash
stuarty media:trash <asset id> --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty media:trash ast_3c5v8n2w6d --project prj_7k2m9x4q1bmedia:restore#
Restore a trashed asset
stuarty media:restore <asset id> --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty media:restore ast_3c5v8n2w6d --project prj_7k2m9x4q1bview#
Render a frame or a contact sheet of a project, or measure its sound
stuarty view --project <id> [--mode frame|sheet|audio] [--at t] [--times t1,t2,...]
[--from t --until t --count n] [--cols n] [--max-tokens n] [--width px] [--item id]| Flag | Type | Default | Meaning |
|---|---|---|---|
--mode | string | frame | frame (one image at --at), sheet (a grid) or audio (the loudness, true peak and noise floor with and without the audio processors) |
--item | string | audio: measure this clip or audio item alone | |
--at | string | frame: the time to show | |
--times | string | sheet: 2 to 16 times, comma separated | |
--from | string | sheet: first time (default 0s); audio: start of the range | |
--until | string | sheet: last time, included (default the last frame); audio: end of the range, excluded | |
--count | integer | 9 | sheet: frames evenly spaced from --from to --until |
--cols | integer | sheet: columns (default ceil(sqrt(count))) | |
--max-tokens | integer | image token budget (default 800, a sheet 1,500; at most 1,568) | |
--width | integer | image width in pixels, even; exclusive with --max-tokens |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty view --project prj_7k2m9x4q1b --at 1s --jsonexport#
Export a project to a file
stuarty export --project <id> [--start t] [--end t] [--format f] [--at t] [--preset p] [--codec c] [--wait] [--out f] [--force]| Flag | Type | Default | Meaning |
|---|---|---|---|
--start | string | first time to export (default: the start) | |
--end | string | end of the export (default: the end of the timeline) | |
--at | string | the time of the frame, only with --format png (default: the start) | |
--preset | string | a platform preset, as export:presets lists them (mp4 only) | |
--codec | string | h264 (default), hevc or av1 (mp4 only) | |
--format | string | mp4 (default), gif, wav, aac or png | |
--out | string | copy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy) | |
--force | boolean | false | replace the --out file when it exists |
Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.
Example:
stuarty export --project prj_7k2m9x4q1b --jsonexport:presets#
List the export presets of the platforms
stuarty export:presets [--codecs]| Flag | Type | Default | Meaning |
|---|---|---|---|
--codecs | boolean | false | also tell which codecs this machine can write (runs the test encodes the first time) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty export:presets --codecs --jsonexport:check#
Check that a project fits an export preset, before any encoding
stuarty export:check --project <id> --preset <id> [--start t] [--end t] [--codec c]| Flag | Type | Default | Meaning |
|---|---|---|---|
--preset | string | the preset id, as export:presets lists them | |
--start | string | first time to export (default: the start) | |
--end | string | end of the export (default: the end of the timeline) | |
--codec | string | h264, hevc or av1, for the estimate of the size (default: the preset's first) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty export:check --project prj_7k2m9x4q1b --preset tiktok --jsonexport:batch#
Export a project several times, one after the other, as one job
stuarty export:batch --project <id> --preset <id>... [--codec c] [--start t] [--end t] [--wait]
stuarty export:batch --project <id> --items '<json array of {preset, format, codec, start, end}>' [--wait]| Flag | Type | Default | Meaning |
|---|---|---|---|
--preset | string, repeatable | a preset id; give the flag once for each export | |
--items | string | the exports as a JSON array of {preset, format, codec, start, end}, instead of --preset | |
--format | string | the format of every --preset export that is not mp4 (default mp4) | |
--codec | string | h264, hevc or av1 for every --preset export (default: the choice of the preset) | |
--start | string | first time to export, for every --preset export (default: the start) | |
--end | string | end of the export, for every --preset export (default: the end of the timeline) |
Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.
Example:
stuarty export:batch --project prj_7k2m9x4q1b --preset tiktok --preset youtube-shorts --waitjob:show#
Show a job
stuarty job:show <job id> [--wait] [--timeout d]| Flag | Type | Default | Meaning |
|---|---|---|---|
--wait | boolean | false | block until the job is final (--no-wait to return at once) |
Global flags: --json, --workspace, --actor, --key-file, --timeout.
Example:
stuarty job:show job_4h8k2m6p9t --waitjob:cancel#
Cancel a queued or running job
stuarty job:cancel <job id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty job:cancel job_4h8k2m6p9tjob:list#
List the jobs of a project
stuarty job:list --project <id> [--state s] [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--state | string | queued, running, succeeded, failed, cancelled, active or all | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 20 | items per page |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty job:list --project prj_7k2m9x4q1b --state activeevents#
Print the events of a project as they arrive
stuarty events --project <id> [--from-id n] [--since n] [--count n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--from-id | string | resume after this event id (the Last-Event-ID) | |
--since | integer | replay the revisions after this one (without it only new events arrive, so --count waits for them) | |
--count | integer | 0 | stop after n events (past ones only with --since or --from-id; 0: until interrupted) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty events --project prj_7k2m9x4q1b --since 4 --count 3command:help#
List the editing commands and the domains, or describe one command
stuarty command:help [<name>]
stuarty command:help --domain <domain>| Flag | Type | Default | Meaning |
|---|---|---|---|
--domain | string | a domain of the product: its commands (without it, the video commands and the list of domains) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty command:help item.movetemplate:list#
List the templates of the library
stuarty template:list [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--cursor | string | continue a list from this cursor | |
--limit | integer | 20 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty template:list --jsontemplate:save#
Make a template from a project
stuarty template:save --project <id> --name <name> [--description d]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | template name (required) | |
--description | string | what the template is for |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty template:save --project prj_7k2m9x4q1b --name "Spring sale"template:new#
Create a project from a template
stuarty template:new <template id> --name <name> [--fill <file|->] [--id prj_...]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | project name (required) | |
--fill | string | a JSON object of slot name to value: a file, or - for standard input | |
--id | string | identifier for the project (omit it in network mode: the server chooses) | |
--brand-color | string, repeatable | a colour of the template that takes its value from the brand kit | |
--brand-font | string, repeatable | a family of the brand kit to add to the project's fonts |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty template:new tpl_5n8b2v6c1x --name "Spring sale" --fill fill.jsontemplate:export#
Write a template to a file the workspace keeps
stuarty template:export <template id> [--out f] [--force]| Flag | Type | Default | Meaning |
|---|---|---|---|
--out | string | copy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy) | |
--force | boolean | false | replace the --out file when it exists |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty template:export tpl_5n8b2v6c1x --out ~/spring-sale.stuarty-template.ziptemplate:import#
Add a template file to the library
stuarty template:import <path>Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty template:import spring-sale.stuarty-template.zipbundle:export#
Export a project as a .vvbundle to share or to back up
stuarty bundle:export --project <id> [--no-log] [--wait] [--out f] [--force]| Flag | Type | Default | Meaning |
|---|---|---|---|
--log | boolean | true | include the operation log (--no-log to share without history) |
--out | string | copy the file to this path when the job succeeds (implies --wait; the workspace keeps its own copy) | |
--force | boolean | false | replace the --out file when it exists |
Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.
Example:
stuarty bundle:export --project prj_7k2m9x4q1b --out ~/teaser.vvbundlebundle:import#
Create a project from a .vvbundle file
stuarty bundle:import <path> [--as-new]| Flag | Type | Default | Meaning |
|---|---|---|---|
--as-new | boolean | false | give the project a new id and leave the log out (required on a server with accounts) |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty bundle:import launch-teaser.vvbundle --as-newagent:docs#
Print or write the material for agents: the skill, the AGENTS.md snippet, the MCP instructions
stuarty agent:docs --print skill|agents|instructions
stuarty agent:docs --write <dir>
stuarty agent:docs --print guide:<domain>| Flag | Type | Default | Meaning |
|---|---|---|---|
--print | string | print one of skill, agents or instructions, or guide:<domain> for the page of a domain | |
--write | string | write the three files into this directory |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty agent:docs --write ~/.claude/skills/stuartytranscribe#
Transcribe the audio of an asset
stuarty transcribe --project <id> --asset <id> [--language auto] [--model <name>] [--wait] [--timeout d]| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset | string | asset to transcribe (required) | |
--language | string | auto | BCP 47 code, or auto |
--model | string | installed model name, such as base (default: the workspace default) |
Global flags: --json, --workspace, --actor, --key-file, --project, --wait, --timeout.
Example:
stuarty transcribe --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d --language endoctor#
Check the installation and the workspace
stuarty doctor [--full] [--verify] [--bundle] [--gc]| Flag | Type | Default | Meaning |
|---|---|---|---|
--full | boolean | false | run every check, not only the identity |
--verify | boolean | false | recompute the digests of FFmpeg and the helpers |
--bundle | boolean | false | write a diagnostic bundle inside the workspace |
--gc | boolean | false | remove what no project refers to any more |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty doctor --fullfonts#
List the bundled font families
stuarty fontsGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty fonts --jsonaudit#
List the audit table
stuarty audit [--project <id>] [--cursor c] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | only the entries of this project | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty audit --limit 20 --jsontools:install#
Download a helper such as the transcription program
stuarty tools:install <name> [--model <model>] [--force] [--yes] [--timeout d]| Flag | Type | Default | Meaning |
|---|---|---|---|
--model | string | the model to download, which then becomes the default of transcribe (default: small) | |
--force | boolean | false | download again what is installed and verified |
--yes | boolean | false | do not ask for confirmation |
Global flags: --json, --workspace, --actor, --key-file, --timeout.
Example:
stuarty tools:install whisper --model smalltoken:rotate#
Replace the local token; clients that hold the old one must be set up again
stuarty token:rotateGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty token:rotatefont:import#
Add a TrueType or OpenType font file to the font store
stuarty font:import <path>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty font:import Brand-Regular.ttfbrand:show#
Show the brand kit: logo, colours and fonts
stuarty brand:showGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty brand:show --jsonbrand:set#
Replace the brand kit
stuarty brand:set --kit <file|->| Flag | Type | Default | Meaning |
|---|---|---|---|
--kit | string | a JSON object with logo, colors and fonts, all optional: a file, or - for standard input (required) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty brand:set --kit brand.jsonotio:export#
Write the timeline of a project as an OpenTimelineIO file
stuarty otio:export --project <id> [--out f] [--force]| Flag | Type | Default | Meaning |
|---|---|---|---|
--out | string | the file to write (default: the name of the project, in the current directory) | |
--force | boolean | false | replace the file when it exists |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty otio:export --project prj_7k2m9x4q1b --out cut.otiootio:import#
Apply an OpenTimelineIO file to a project as one undo step
stuarty otio:import <path> --project <id> [--base-revision n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--base-revision | integer | the revision the file is applied to (default: the current one) | |
--allow-partial | boolean | false | import the rest when the file refers to media the project does not have (default: refuse) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty otio:import cut.otio --project prj_7k2m9x4q1b --dry-runproject:describe#
Describe a project as text: brief, items and state
stuarty project:describe <id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--max-tokens | integer | the budget of the text in tokens, 200 to 6000 (default 1500) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty project:describe prj_7k2m9x4q1bproject:duplicate#
Copy a project: its brief, texts and timelines
stuarty project:duplicate <id> [--name n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the name of the copy (default: the name and the word copy) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty project:duplicate prj_7k2m9x4q1b --name "Teaser, second cut"item:add#
Add a text, a timeline or an output to a project
stuarty item:add --project <id> --kind text|timeline|output --title <t>
stuarty item:add --project <id> --kind text --title <t> --text <file|-> [--text-kind script|copy|caption]
stuarty item:add --project <id> --kind output --title <t> --job <export job id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string | text, timeline or output (required) | |
--title | string | 1 to 120 characters (required) | |
--position | integer | where in the order of the items, from 0 (default: the end) | |
--text | string | a text item: a file with its Markdown, or - for standard input | |
--text-kind | string | a text item: script, copy (default), caption or post | |
--preset | string | a timeline: 9:16 (default), 1:1, 16:9 or 4:5 | |
--fps | string | a timeline: 30 (default), or n/1001 | |
--job | string | an output: a succeeded export job of this project |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty item:add --project prj_7k2m9x4q1b --kind timeline --title "Wide cut" --preset 16:9item:move#
Move an item to a position in the order of the project
stuarty item:move <item> --project <id> --position n| Flag | Type | Default | Meaning |
|---|---|---|---|
--position | integer | where in the order of the items, from 0 (required) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty item:move pit_3c5v8n2w6d --project prj_7k2m9x4q1b --position nitem:rename#
Change the title of an item
stuarty item:rename <item> --project <id> --title "..."| Flag | Type | Default | Meaning |
|---|---|---|---|
--title | string | the new title, 1 to 120 characters (required) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty item:rename pit_3c5v8n2w6d --project prj_7k2m9x4q1b --title "..."item:trash#
Move an item to the trash of its project
stuarty item:trash <item> --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty item:trash pit_3c5v8n2w6d --project prj_7k2m9x4q1bitem:restore#
Restore an item from the trash of its project
stuarty item:restore <item> --project <id>Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty item:restore pit_3c5v8n2w6d --project prj_7k2m9x4q1bproject:step#
Skip an optional step of the workflow of a project, or put it back
stuarty project:step <id> <step> [--restore]| Flag | Type | Default | Meaning |
|---|---|---|---|
--restore | boolean | put a skipped step back |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty project:step prj_7k2m9x4q1b recordingbrief:show#
Show the brief of a project
stuarty brief:show --project <id>Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty brief:show --project prj_7k2m9x4q1bbrief:set#
Write the brief of a project from a Markdown file
stuarty brief:set --project <id> --text <file|->| Flag | Type | Default | Meaning |
|---|---|---|---|
--text | string | the Markdown: a file, or - for standard input; an empty text clears the brief (required) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty brief:set --project prj_7k2m9x4q1b --text brief.mdbriefing:questions#
List the questions of the guided briefing; with --project, also what its brief already answers
stuarty briefing:questions [--project <id>] [--kind short|commercial|long|text|image]| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | a project: also the answers its brief holds | |
--kind | string | the set of questions: short, commercial, long, text or image (default: the kind of the project) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty briefing:questions --project prj_7k2m9x4q1bbriefing:answer#
Answer the guided briefing: the answers become the brief of a project
stuarty briefing:answer --project <id> [--kind short|commercial|long|text|image] --answer <question>=<text> [--answer ...] [--replace]
stuarty briefing:answer --project <id> [--kind short|commercial|long|text|image] --answers <file|-> [--replace]| Flag | Type | Default | Meaning |
|---|---|---|---|
--answer | string, repeatable | one answer as <question id>=<text>; repeat for each question | |
--answers | string | a JSON object of question id to answer: a file, or - for standard input | |
--kind | string | the set of questions: short, commercial, long, text or image (default: the kind of the project) | |
--replace | boolean | false | replace a brief that was written by hand |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty briefing:answer --project prj_7k2m9x4q1b --answer audience="indie developers" --answer goal="get sign-ups" --answer platform=youtube-shorts --answer format=vertical-9x16 --answer duration=30connection:list#
List the destinations Stuarty may reach
stuarty connection:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty connection:list --jsonconnection:show#
Show one connection: destinations, what it accepts and its last use
stuarty connection:show <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty connection:show con_0123456789connection:add#
Connect a destination; the secret is read from standard input or a file, never from an argument
stuarty connection:add --kind <k> --label <t> --endpoint <url> --accepts <list>| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string | the kind of connection (required) | |
--label | string | a name for the person, 1 to 60 characters (required) | |
--endpoint | string | the URL the connector calls first, https (required) | |
--accepts | string | what it may receive, a comma list of text, image, video, audio, metadata, document (required) | |
--hosts | string | further hosts it may reach, a comma list; the endpoint host is always allowed | |
--secret-file | string | a file that holds the secret; without it the secret is read from standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
echo $TOKEN | stuarty connection:add --kind test --label Blog --endpoint https://video.example.com --accepts textconnection:remove#
Remove a connection and its credential
stuarty connection:remove <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty connection:remove con_0123456789connection:test#
Make one request through a connection and show how the destination answered
stuarty connection:test <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty connection:test con_0123456789webhook:events#
List the events a webhook may choose and what each one carries
stuarty webhook:eventsGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:events --jsonwebhook:list#
List the outbound webhooks
stuarty webhook:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:list --jsonwebhook:show#
Show one webhook
stuarty webhook:show <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:show whk_0123456789webhook:add#
Register a webhook; the signing secret is printed once and cannot be shown again
stuarty webhook:add --name <t> --endpoint <url> --events <list> [--disable]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | a name for the person, 1 to 60 characters (required) | |
--endpoint | string | where the events are sent: https, or http for localhost (required) | |
--events | string | a comma list of the events to receive (required); see webhook:events | |
--disable | boolean | false | register it turned off |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:add --name n8n --endpoint https://stuarty.example.com/hooks --events export.ready,job.failedwebhook:update#
Change the name, the address, the events or the state of a webhook
stuarty webhook:update <id> [--name <t>] [--endpoint <url>] [--events <list>] [--enable|--disable]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the new name | |
--endpoint | string | the new address | |
--events | string | the new comma list of events | |
--enable | boolean | false | turn the webhook on |
--disable | boolean | false | turn the webhook off |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:update whk_0123456789 --disablewebhook:remove#
Remove a webhook, its deliveries and its secret
stuarty webhook:remove <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:remove whk_0123456789webhook:rotate-secret#
Make a new signing secret; it is printed once and the old one stops verifying
stuarty webhook:rotate-secret <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:rotate-secret whk_0123456789webhook:test#
Send a webhook.test event now, one attempt, and show how the receiver answered
stuarty webhook:test <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:test whk_0123456789webhook:deliveries#
List the deliveries of a webhook, newest first, with their attempts
stuarty webhook:deliveries <id> [--limit n] [--offset n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--limit | integer | 50 | deliveries in the page, 1 to 100 |
--offset | integer | 0 | deliveries to skip |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:deliveries whk_0123456789 --jsonwebhook:redeliver#
Send the stored body of a delivery again, with a fresh signature
stuarty webhook:redeliver <webhook id> <delivery id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty webhook:redeliver whk_0123456789 wdl_0123456789recording:sources#
List the displays and windows that can be captured
stuarty recording:sourcesGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:sources --jsonrecording:start#
Start recording a display or a window (for a person in the app; the local token is refused)
stuarty recording:start --project <id> --kind display|window --source <id> [--fps 24|30|60] [--microphone <id>|default] [--system-audio] [--camera <id>] [--events]
stuarty recording:start --recording <id of a prepared recording>| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | the project (default $STUARTY_PROJECT); not with --recording | |
--recording | string | a recording made with recording:prepare: its plan is the request | |
--kind | string | display or window (required) | |
--source | string | an id from recording:sources (required) | |
--name | string | the title of the source, for the record | |
--fps | integer | 24, 30 (the default) or 60 | |
--microphone | string | a microphone id from recording:sources, or default | |
--system-audio | boolean | record the sound the computer plays on its own track | |
--camera | string | a camera id from recording:sources | |
--events | boolean | save the pointer position and the clicks (never a key) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:start --project prj_7k2m9x4q1b --kind display --source d1recording:stop#
Stop a recording and keep what was written; anyone may stop a capture
stuarty recording:stop <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:stop rec_0123456789recording:pause#
Pause a recording: every source stops writing and the paused time is cut; anyone may pause
stuarty recording:pause <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:pause rec_0123456789recording:resume#
Resume a paused recording (for a person in the app; the local token is refused, as for a start)
stuarty recording:resume <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:resume rec_0123456789recording:events#
Read the pointer and click events of a finished recording (clicks by default)
stuarty recording:events <recording id> [--kind clicks|all] [--from-ms <n>] [--limit <n>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string | clicks (the default) or all | |
--from-ms | integer | only events from this time on, in milliseconds | |
--limit | integer | at most this many events, 1 to 5000 (default 1000) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:events rec_0123456789 --kind clicks --jsonrecording:cancel#
Discard a recording in progress; a person deletes a finished one
stuarty recording:cancel <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:cancel rec_0123456789recording:show#
Show one recording: its state, its length and whether a person added it
stuarty recording:show <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:show rec_0123456789recording:list#
List the recordings of a project that you may see, newest first
stuarty recording:list --project <id>Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty recording:list --project prj_7k2m9x4q1brecording:confirm#
Add a finished recording to the project (for a person in the app; the local token is refused)
stuarty recording:confirm <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:confirm rec_0123456789recording:dismiss#
Not now: keep a recording out of the project and out of sight of agents (for a person in the app)
stuarty recording:dismiss <recording id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:dismiss rec_0123456789recording:place#
Place a recording that a person added on the timeline, as one undoable batch
stuarty recording:place <recording id> [--timeline <id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--timeline | string | the timeline of the project, when it has several |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:place rec_0123456789recording:prepare#
Prepare a recording for a person: source, tracks, script and notes; starts nothing
stuarty recording:prepare --project <id> --kind display|window --source <id> [--fps 24|30|60] [--microphone <id>|default] [--system-audio] [--camera <id>] [--events] [--script <item id>] [--notes <text>|--notes-file <file|->]| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string | display or window (required) | |
--source | string | an id from recording:sources (required) | |
--name | string | the title of the source, for the record | |
--fps | integer | 24, 30 (the default) or 60 | |
--microphone | string | a microphone id from recording:sources, or default | |
--system-audio | boolean | record the sound the computer plays on its own track | |
--camera | string | a camera id from recording:sources | |
--events | boolean | save the pointer position and the clicks (never a key) | |
--script | string | the id of a script of the project the person will read | |
--notes | string | a note for the person who presses record | |
--notes-file | string | read the note from a file, or - for standard input |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty recording:prepare --project prj_7k2m9x4q1b --kind display --source d1 --notes "Say the hook first"recording:mark#
Mark a point or a stretch of a take as good, bad or a mistake
stuarty recording:mark <recording id> --kind good|bad|mistake --at-ms <n> [--end-ms <n>] [--note <text>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string | good, bad or mistake (required) | |
--at-ms | integer | where in the take, in milliseconds of recording time | |
--end-ms | integer | the end of a stretch; leave out for a point | |
--note | string | a short note, plain text |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:mark rec_0123456789 --kind mistake --at-ms 12500 --note "stumbled on the name"recording:propose#
Propose cuts of a ready take, each with a reason; changes no timeline until a person decides
stuarty recording:propose <recording id> --ranges <file|->| Flag | Type | Default | Meaning |
|---|---|---|---|
--ranges | string | a JSON list of {from_ms, to_ms, reason}, from a file or - for standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:propose rec_0123456789 --ranges cuts.jsonrecording:decide#
Decide a proposal of cuts, one yes or no per range (for a person in the app; the local token is refused)
stuarty recording:decide <recording id> <proposal id> --accept <yes|no,...> [--timeline <id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--accept | string | one yes or no for every range, in order, separated by commas | |
--timeline | string | the timeline the recording was placed on, when the project has several |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty recording:decide rec_0123456789 prp_0123456789 --accept yes,no,yesapproval:list#
List the approval queue: what waits for a person (pending by default)
stuarty approval:list| Flag | Type | Default | Meaning |
|---|---|---|---|
--state | string | pending (default), approved, rejected, expired or all | |
--project | string | only the requests of one project | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:list --state allapproval:show#
Show one approval request: what will be sent, where, the cost and its state
stuarty approval:show <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:show apr_0123456789approval:decide#
Approve or reject a request (for a person in the app; the local token is refused)
stuarty approval:decide <id> --approve|--reject| Flag | Type | Default | Meaning |
|---|---|---|---|
--approve | boolean | approve the request | |
--reject | boolean | reject the request | |
--reason | string | why a request is rejected |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:decide apr_0123456789 --reject --reason "wrong channel"approval:rule:list#
List the rules that approve without asking
stuarty approval:rule:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:rule:list --jsonapproval:rule:set#
Create or replace a rule that approves a kind of action (for a person in the app; the local token is refused)
stuarty approval:rule:set --kind <k>| Flag | Type | Default | Meaning |
|---|---|---|---|
--id | string | the rule to replace; leave out to create one | |
--kind | string | the kind of action: publish.upload, publish.scheduled, text.generate, ... (required) | |
--connection | string | only this destination | |
--project | string | only this project | |
--currency | string | three upper-case letters, needed with a limit | |
--per-item | string | the most one action may cost, in millionths of the currency unit | |
--per-day | string | the most the rule may approve in a UTC day, in millionths | |
--disabled | boolean | keep the rule but stop it |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:rule:set --kind publish.upload --connection con_0123456789approval:rule:remove#
Remove a rule (for a person in the app; the local token is refused)
stuarty approval:rule:remove <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty approval:rule:remove rul_0123456789cost:show#
Show the cost ceilings and what was spent today and over the last 30 days
stuarty cost:showGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty cost:show --jsoncost:ceiling#
Set or remove a cost ceiling (for a person in the app; the local token is refused)
stuarty cost:ceiling --currency USD [--project id] [--per-item n] [--per-day n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--currency | string | three upper-case letters (required) | |
--project | string | the project the ceiling is for; leave out for the whole workspace | |
--per-item | string | the most one action may cost, in millionths of the currency unit | |
--per-day | string | the most that may be spent in a UTC day, in millionths; with neither limit the ceiling is removed |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty cost:ceiling --currency USD --per-day 5000000provider:list#
List the AI providers, the connections of each and the price table
stuarty provider:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty provider:list --jsonprovider:models#
List the models a provider offers through a connection, read from the provider now, with their price
stuarty provider:models <connection id> [--refresh]| Flag | Type | Default | Meaning |
|---|---|---|---|
--refresh | boolean | false | read the list from the provider again |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty provider:models con_0123456789provider:price#
Set or remove the price of a model (for a person in the app; the local token is refused)
stuarty provider:price --provider <id> --model <id> --currency USD --price-in <micros> --price-out <micros>| Flag | Type | Default | Meaning |
|---|---|---|---|
--provider | string | the provider id (required) | |
--model | string | the model id (required) | |
--currency | string | three letters, such as USD; needed to set a price | |
--price-in | string | the price of a million input tokens, in millionths of the currency unit | |
--price-out | string | the price of a million output tokens; leave all prices out to remove the entry | |
--unit | string | image for the price of one image, mchar for the price of a million characters of speech, second for one second of video; leave out for tokens | |
--unit-micros | string | with --unit: the price of one image, of a million characters or of one second, in millionths of the currency unit |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty provider:price --provider openai --model a-model --currency USD --price-in 2500000 --price-out 10000000text:generate#
Generate text with the provider of a connection; the job shows its estimate and waits for approval
stuarty text:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--system <text>] [--max-tokens <n>] [--temperature <t>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--prompt | string | what to write; without it and without --prompt-file the prompt is read from standard input | |
--prompt-file | string | a file that holds the prompt | |
--system | string | instructions for the model | |
--max-tokens | integer | the most tokens the model may write (default 1024); the estimate counts all of them | |
--temperature | string | 0 to 2 |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty text:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "Write a caption"image:generate#
Generate images with the provider of a connection; the job shows its estimate, waits for approval and stores the images as assets
stuarty image:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--size <width>x<height>] [--count <n>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--prompt | string | what to draw; without it and without --prompt-file the prompt is read from standard input | |
--prompt-file | string | a file that holds the prompt | |
--size | string | width and height in pixels joined by x (default 1024x1024) | |
--count | integer | how many images, 1 to 10 (default 1); the estimate counts all of them |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty image:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "A red fox" --count 2voice:generate#
Generate speech with the provider of a connection; the job shows its estimate, waits for approval and stores the audio as an asset
stuarty voice:generate --project <id> --connection <id> --model <id> --voice <id> [--text <text> | --text-file <file>] [--language <tag>] [--format mp3|wav|flac|opus|aac] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--voice | string | the voice id, as voice:list names it (required) | |
--text | string | what to read out; without it and without --text-file the text is read from standard input | |
--text-file | string | a file that holds the text | |
--language | string | a language tag such as pt-BR | |
--format | string | mp3 (default), wav, flac, opus or aac |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty voice:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --voice alloy --text "Welcome"video:generate#
Generate a video clip with the provider of a connection; the job shows its estimate, always waits for a person unless a rule covers it, and stores the clip as an asset
stuarty video:generate --project <id> --connection <id> --model <id> [--prompt <text> | --prompt-file <file>] [--seconds <n>] [--aspect 16:9|9:16|1:1|4:3|3:4] [--first-frame <asset id>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--prompt | string | what the clip shows; without it and without --prompt-file the prompt is read from standard input | |
--prompt-file | string | a file that holds the prompt | |
--seconds | integer | the length of the clip, 1 to 60 (default 5); the model may make fewer lengths | |
--aspect | string | 16:9 (default), 9:16, 1:1, 4:3 or 3:4 | |
--first-frame | string | the id of an image asset of the project the clip starts from |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty video:generate --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --prompt "A red fox" --seconds 6 --aspect 9:16voice:list#
List the voices of the provider of a connection
stuarty voice:list <connection id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty voice:list con_0123456789image:model-edit#
Remove the background of a layer, or generate an image into a document, with the provider of a connection; the job says that the picture is sent, shows its estimate, waits for approval and puts the result in the document as one undoable step
stuarty image:model-edit --project <id> --image <id> --operation remove_background|generate --connection <id> --model <id> [--layer <id>] [--prompt <text> | --prompt-file <file>] [--size <width>x<height>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--image | string | the image document (required) | |
--operation | string | remove_background or generate (required) | |
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--layer | string | remove_background: the image layer (required); generate: a layer whose box the picture must cover | |
--prompt | string | generate only: what to draw; without it and without --prompt-file a generation reads it from standard input | |
--prompt-file | string | generate only: a file that holds the prompt | |
--size | string | generate only: width and height in pixels joined by x |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty image:model-edit --project prj_7k2m9x4q1b --image img_7k2m9x4q1b --operation remove_background --connection con_0123456789 --model a-model --layer lyr_7k2m9x4q1bimage:create#
Create an image document, blank or from a template
stuarty image:create --preset p| Flag | Type | Default | Meaning |
|---|---|---|---|
--preset | string | video_thumbnail (1280x720), square_post (1080x1080) or vertical_cover (1080x1920) | |
--width | integer | pixels, 1 to 4096, with --height | |
--height | integer | pixels, 1 to 4096, with --width | |
--name | string | name of the image | |
--background | string | a colour or transparent (default #FFFFFF) | |
--template | boolean | false | make a template whose text and image layers may be slots |
--from-template | string | make the image from this template | |
--values | string | a JSON object of slot name to {"text": "..."} or {"asset": "sha256:..."}: a file, or - for standard input | |
--id | string | identifier for the image (omit it in network mode: the server chooses) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:create --preset video_thumbnail --name "Episode 12" --background "#101820"image:list#
List the image documents and templates
stuarty image:list| Flag | Type | Default | Meaning |
|---|---|---|---|
--templates | string | only for the templates, none for the others | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 20 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:list --templates only --jsonimage:show#
Describe an image document: its layers, its findings and its revision
stuarty image:show <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:show img_7k2m9x4q1bimage:edit#
Apply a batch of image operations (stuarty command:help --domain image lists them)
stuarty image:edit <id> <op> k=v...| Flag | Type | Default | Meaning |
|---|---|---|---|
--ops | string | a JSON file with the batch, or - for standard input: {"operations":[{"op":"item.move","args":{"item_id":"itm_m1n2p3q4r5","start":"2s"}}]}, or only the array of {op, args}; base_revision, idempotency_key and dry_run may sit beside operations | |
--base | integer | the revision the batch was planned against (default: the current one) | |
--key | string | idempotency key |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty image:edit img_7k2m9x4q1b layer.add_text text="HOW IT WORKS" slot=titleimage:undo#
Undo the last step of the caller on an image
stuarty image:undo <id>Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty image:undo img_7k2m9x4q1bimage:redo#
Redo the last undone step of the caller on an image
stuarty image:redo <id>Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty image:redo img_7k2m9x4q1bimage:export#
Export an image document to a PNG, JPEG or WebP file
stuarty image:export <id> [--format f]| Flag | Type | Default | Meaning |
|---|---|---|---|
--format | string | png | png, jpeg or webp |
--quality | integer | 1 to 100, for jpeg and lossy webp | |
--preset | string | resample to video_thumbnail, square_post or vertical_cover | |
--width | integer | resample to this width (0 keeps the aspect) | |
--height | integer | resample to this height (0 keeps the aspect) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:export img_7k2m9x4q1b --format jpeg --quality 85image:import#
Bring an image file into a new image document, or into an existing one as a layer
stuarty image:import --path <file>
stuarty image:import --hash <sha256:...> [--id <image>] [--name n] [--preset p | --width w --height h]| Flag | Type | Default | Meaning |
|---|---|---|---|
--path | string | an absolute path to an image file on the machine of the server | |
--hash | string | an image already in the workspace (asset:list shows its hash) | |
--id | string | put the file in this image as a layer (default: a new image) | |
--name | string | the name of the new image, or of the layer with --id | |
--preset | string | the canvas of a new image: video_thumbnail, square_post or vertical_cover | |
--width | integer | the canvas of a new image, with --height (default: the size of the file, up to 4096) | |
--height | integer | the canvas of a new image, with --width | |
--wait-ms | integer | how long to wait for the file to be ingested, 0 to 25000 (default 10000) | |
--base | integer | with --id: the revision the layer was planned against (default: the current one) | |
--key | string | with --id: idempotency key |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty image:import --path /home/ana/photos/face.jpg --preset video_thumbnailimage:revert#
Go back to the document of an earlier revision of an image, as a new step that image:undo takes back
stuarty image:revert <id> (--revision n | --checkpoint name) [--base n] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--revision | integer | the revision to go back to | |
--checkpoint | string | the name of a checkpoint to go back to | |
--base | integer | the revision you read (default the current one); an older one conflicts with other actors' changes |
Global flags: --json, --workspace, --actor, --key-file, --dry-run.
Example:
stuarty image:revert img_7k2m9x4q1b --checkpoint "before the agent" --dry-runimage:diff#
List what changed between two revisions of an image, most significant first
stuarty image:diff <id> (--from n | --from-checkpoint name) [--until n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--from | integer | the revision the diff starts from | |
--from-checkpoint | string | the name of a checkpoint the diff starts from | |
--until | integer | the revision the diff ends at (default the current one) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:diff img_7k2m9x4q1b --from 12image:checkpoint:create#
Name a revision of an image so that it can be gone back to
stuarty image:checkpoint:create <id> --name <name> [--note t] [--revision n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | 1 to 60 characters, no slash | |
--note | string | up to 300 characters | |
--revision | integer | the revision to name (default the current one) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:checkpoint:create img_7k2m9x4q1b --name "before the agent"image:checkpoint:list#
List the checkpoints of an image, newest revision first
stuarty image:checkpoint:list <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:checkpoint:list img_7k2m9x4q1b --jsonimage:checkpoint:rename#
Rename a checkpoint of an image, and change its note
stuarty image:checkpoint:rename <id> --name <name> --new-name <name> [--note t]| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the checkpoint to rename | |
--new-name | string | the new name | |
--note | string | replaces the note when given |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:checkpoint:rename img_7k2m9x4q1b --name draft --new-name "first cut"image:checkpoint:remove#
Remove a checkpoint of an image; no revision is removed
stuarty image:checkpoint:remove <id> --name <name>| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the checkpoint to remove |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty image:checkpoint:remove img_7k2m9x4q1b --name draftasset:list#
List the files of the library, with origin, tags and reuse
stuarty asset:list| Flag | Type | Default | Meaning |
|---|---|---|---|
--section | string | visual (images and LUTs), video (clips) or audio (sounds) | |
--kind | string | image, video, audio or lut | |
--tag | string | only the files with this tag | |
--project | string | only the files this project, or one of its timelines, uses | |
--origin | string | imported, generated, fetched_by_agent or rendered_externally | |
--reusable | boolean | only the files marked reusable; --no-reusable keeps the others | |
--sound-kind | string | only the audio files of this kind: music, voice or effect | |
--text | string | a full-text query over name, tags, description and origin | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:list --tag logo --reusable --jsonasset:show#
Show a file of the library: its origin, its tags and the projects that use it
stuarty asset:show <hash>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:show sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --jsonasset:uses#
List the projects that use a file of the library
stuarty asset:uses <hash>| Flag | Type | Default | Meaning |
|---|---|---|---|
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:uses sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --jsonasset:set#
Set the description, the rights note, the reuse mark and the sound kind of a file of the library
stuarty asset:set <hash>| Flag | Type | Default | Meaning |
|---|---|---|---|
--description | string | what the file is, in your words; an empty value clears it | |
--rights-note | string | your own record of the licence or the permission; the product does not check it | |
--reusable | boolean | mark the file to be offered again; --no-reusable takes the mark off | |
--sound-kind | string | music, voice or effect, for an audio file; an empty value clears it |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:set sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --reusableasset:tag#
Add and remove the tags of a file of the library
stuarty asset:tag <hash>| Flag | Type | Default | Meaning |
|---|---|---|---|
--add | string, repeatable | tags to add; repeat it or give a comma list | |
--remove | string, repeatable | tags to take off |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:tag sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --add logo,brandasset:rename#
Rename a file of the library; the stored file keeps its hash
stuarty asset:rename <hash> --name <name>| Flag | Type | Default | Meaning |
|---|---|---|---|
--name | string | the new name, 1 to 120 characters, with no path separator; the extension is kept |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:rename sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b --name Beach-dayasset:path#
The stored path of a file: only a person in the app can read it, the CLI always refuses
stuarty asset:path <hash>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty asset:path sha256:3b4c0a1d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2bmotion:brief#
What a render by an external motion engine must fit: size, rate, length, safe area, brand kit, captions
stuarty motion:brief --project <id> [--from t] [--until t] [--track <trk_id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--from | string | start of the range, a time (default 0s) | |
--until | string | end of the range, exclusive (default the end of the timeline) | |
--track | string | the visual track the clip will go on: tells whether the render needs alpha |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty motion:brief --project prj_7k2m9x4q1b --from 2s --until 5s --track trk_f6g7h8j9k0motion:check#
Check a rendered asset against the brief: each mismatch of size, rate, length or alpha, with the value expected
stuarty motion:check --project <id> --asset <ast_id> [--from t] [--until t] [--track <trk_id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset | string | the asset to check: an asset of the project, ready (required) | |
--from | string | start of the range, a time (default 0s) | |
--until | string | end of the range, exclusive (default the end of the timeline) | |
--track | string | the visual track the clip will go on: tells whether the render needs alpha |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty motion:check --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6d --from 2s --until 5s --track trk_f6g7h8j9k0motion:replace#
Replace, in one undoable batch, every clip that reads an earlier render of an animation with a new render
stuarty motion:replace --project <id> --asset <ast_id> [--render-key <key>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset | string | the new render: an asset of the timeline, ready (required) | |
--render-key | string | the key of the animation (default the render key of the origin of the new asset) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty motion:replace --project prj_7k2m9x4q1b --asset ast_k8m2n4p6q9transcript:show#
The words of an asset with the timeline range of each, to cut by word range with transcript.delete_range
stuarty transcript:show --project <id> --asset <ast_id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset | string | the asset whose transcript to read, transcribed first (required) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty transcript:show --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6dtranscript:fillers#
The filler words and repetitions of an asset to review; it changes nothing
stuarty transcript:fillers --project <id> --asset <ast_id> [--repeat-window ms]| Flag | Type | Default | Meaning |
|---|---|---|---|
--asset | string | the asset whose transcript to check, transcribed first (required) | |
--repeat-window | integer | the longest gap between the two copies of a repetition, in milliseconds (default 700) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty transcript:fillers --project prj_7k2m9x4q1b --asset ast_3c5v8n2w6dagent:profiles#
List the agents the chat may host, with their full command, and the known agents found on this machine
stuarty agent:profilesGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty agent:profiles --jsonchat:sessions#
List the chat sessions of a project, newest first
stuarty chat:sessions --project <id>Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty chat:sessions --project prj_7k2m9x4q1bchat:session#
Show one chat session: its agent, its state and how many events it holds
stuarty chat:session <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty chat:session cht_7k2m9x4q1bchat:transcript#
Read the transcript of a chat session as events, or the whole of it as Markdown
stuarty chat:transcript <id> [--format json|markdown] [--after n] [--limit n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--format | string | json (the default: events after a number) or markdown | |
--after | integer | 0 | only the events with a number above this one |
--limit | integer | 0 | the most events in the page, at most 500 (0 is 500) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty chat:transcript cht_7k2m9x4q1b --format markdownchat:activity#
Show which skill a chat session loaded and which tool its agent is calling
stuarty chat:activity <id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty chat:activity cht_7k2m9x4q1binbox:list#
List what waits for a person: the permission requests of the chat and the approvals, and the last answered
stuarty inbox:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty inbox:list --jsonmemory:list#
List the memory notes
stuarty memory:list [--scope workspace|<project id>] [--tag t]... [--all]| Flag | Type | Default | Meaning |
|---|---|---|---|
--scope | string | workspace or a project id | |
--tag | string, repeatable | a tag; repeat it for several | |
--all | boolean | false | also what is not reviewed (skills) or not kept (notes): an agent is not offered those |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty memory:list --tag hooks --jsonmemory:show#
Show a memory note
stuarty memory:show <name>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty memory:show viewers-skip-introsmemory:write#
Write a memory note: one fact, with what was learned
stuarty memory:write [<name>] --description <one line> [--body <text>|--body-file <file|->] [--scope s] [--tag t]...
a note written here is pending until a person keeps it in the Memory section| Flag | Type | Default | Meaning |
|---|---|---|---|
--description | string | the fact, in one line (required) | |
--scope | string | workspace (default) or a project id | |
--tag | string, repeatable | a tag; repeat it for several | |
--body | string | the text of the entry | |
--body-file | string | read the text from a file, or - for standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty memory:write --description "Viewers skip long intros" --body "Cut the intro to two seconds."memory:remove#
Delete a memory note (a note a person kept stays)
stuarty memory:remove <name>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty memory:remove old-noteskill:list#
List the skills that are reviewed
stuarty skill:list [--origin built-in|user|imported] [--all] [--session ses_...]| Flag | Type | Default | Meaning |
|---|---|---|---|
--origin | string | built-in, user or imported | |
--all | boolean | false | also what is not reviewed (skills) or not kept (notes): an agent is not offered those |
--session | string | an agent session: the skills it has read are marked loaded |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:list --all --jsonskill:show#
Show a skill: its text, its files and the findings of the lint
stuarty skill:show <name>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:show hook-writerskill:write#
Write a skill; it stays unreviewed until a person reads it in the Skills section
stuarty skill:write <name> --description <text> [--body <text>|--body-file <file|->] [--license l]
[--file <path in the skill>=<local file>]...| Flag | Type | Default | Meaning |
|---|---|---|---|
--description | string | what the skill does and when to use it (required) | |
--license | string | the licence of the text | |
--file | string, repeatable | another file of the folder: <path in the skill>=<local file> | |
--body | string | the text of the entry | |
--body-file | string | read the text from a file, or - for standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:write hook-writer --description "Write the first three seconds." --body-file hook.mdskill:import#
Import a skill from a folder or an archive (.zip, .tar.gz) you already have; it starts unreviewed
stuarty skill:import <folder|archive> [--source <text>] [--replace]| Flag | Type | Default | Meaning |
|---|---|---|---|
--source | string | where it came from; the name of the folder or file if omitted | |
--replace | boolean | false | replace a skill of the same name |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:import ./downloads/hook-writer.zip --source "a friend"skill:lint#
Run the lint on a skill
stuarty skill:lint <name>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:lint hook-writer --jsonskill:export#
Write skills as folders in the Agent Skills layout, to install them in your own agent
stuarty skill:export [<name>...]
with no name, every reviewed skill; the folders are written under exports/library/ of the workspaceGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty skill:export hook-writerprompt:list#
List the prompts
stuarty prompt:list [--tag t]...| Flag | Type | Default | Meaning |
|---|---|---|---|
--tag | string, repeatable | a tag; repeat it for several |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty prompt:list --jsonprompt:show#
Show a prompt and its variables
stuarty prompt:show <name>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty prompt:show video-introprompt:write#
Write a prompt: a reusable text with {{variables}}
stuarty prompt:write <name> --description <text> [--body <text>|--body-file <file|->] [--default <variable>=<value>]... [--tag t]...| Flag | Type | Default | Meaning |
|---|---|---|---|
--description | string | what the prompt is for (required) | |
--default | string, repeatable | a default value: <variable>=<value> | |
--tag | string, repeatable | a tag; repeat it for several | |
--body | string | the text of the entry | |
--body-file | string | read the text from a file, or - for standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty prompt:write video-intro --description "An intro" --body "Write an intro about {{topic}}."prompt:render#
Replace the variables of a prompt and print the text; nothing is sent anywhere
stuarty prompt:render <name> [--value <variable>=<value>]...| Flag | Type | Default | Meaning |
|---|---|---|---|
--value | string, repeatable | a value: <variable>=<value> |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty prompt:render video-intro --value topic=catslibrary:search#
Search memory, skills and prompts with one query
stuarty library:search <word>... [--kind memory|skill|prompt]... [--scope s] [--tag t]... [--origin o] [--all]
[--limit n] [--budget characters]| Flag | Type | Default | Meaning |
|---|---|---|---|
--kind | string, repeatable | memory, skill or prompt; repeat it for several | |
--scope | string | memory: workspace or a project id | |
--tag | string, repeatable | a tag; repeat it for several | |
--origin | string | skills: built-in, user or imported | |
--all | boolean | false | also what is not reviewed (skills) or not kept (notes): an agent is not offered those |
--limit | integer | 20 | results, at most 50 |
--budget | integer | 4000 | characters of the answer, at most 16000 |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty library:search intro --kind prompt --jsonlibrary:reindex#
Rebuild the index of the library from its files
stuarty library:reindexGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty library:reindexsocial:network:list#
List the social networks this build can publish to, with their limits and where they were read
stuarty social:network:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty social:network:list --jsonsocial:connect#
Start the sign-in to a network with your own developer app; the client secret is read from standard input or a file, never from an argument
stuarty social:connect --network <n> --client-id <id> --redirect-uri <url> [--label <t>]
stuarty social:connect --network <n> --connection <id> --redirect-uri <url>| Flag | Type | Default | Meaning |
|---|---|---|---|
--network | string | the network, for example youtube (required) | |
--client-id | string | the client id of your developer project | |
--redirect-uri | string | the address of this app followed by /social/callback (required) | |
--label | string | a name for the connection | |
--connection | string | sign in again an existing connection instead of making one | |
--secret-file | string | a file that holds the client secret; without it it is read from standard input |
Global flags: --json, --workspace, --actor, --key-file.
Example:
echo $CLIENT_SECRET | stuarty social:connect --network youtube --client-id 123.apps.googleusercontent.com --redirect-uri http://127.0.0.1:7878/social/callbacksocial:account:list#
List the connected social accounts and whether each is signed in
stuarty social:account:listGlobal flags: --json, --workspace, --actor, --key-file.
Example:
stuarty social:account:listpublish:validate#
Check a post against the limits of its network and show what a person would approve; sends nothing
stuarty publish:validate --project <id> --connection <id> --export <job> --title <t> --made-for-kids yes|no| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection the video goes to (required) | |
--export | string | the id of a succeeded export job of the project: the video (required) | |
--thumbnail | string | the cover: the export job of a still, or the job_id of image:export | |
--title | string | the title (required) | |
--description | string | the description | |
--tags | string | the tags, a comma list | |
--visibility | string | private (the default), unlisted or public | |
--made-for-kids | string | yes or no: whether the video is made for kids (required) | |
--ai-disclosure | boolean | false | the video has realistic altered or synthetic content |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty publish:validate --project prj_7k2m9x4q1b --connection con_0123456789 --export job_0123456789 --title "My short" --made-for-kids nopublish:now#
Prepare the publication of an exported video: it waits for a person to approve it in the app, then it is sent; you cannot approve it
stuarty publish:now --project <id> --connection <id> --export <job> --title <t> --made-for-kids yes|no| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection the video goes to (required) | |
--export | string | the id of a succeeded export job of the project: the video (required) | |
--thumbnail | string | the cover: the export job of a still, or the job_id of image:export | |
--title | string | the title (required) | |
--description | string | the description | |
--tags | string | the tags, a comma list | |
--visibility | string | private (the default), unlisted or public | |
--made-for-kids | string | yes or no: whether the video is made for kids (required) | |
--ai-disclosure | boolean | false | the video has realistic altered or synthetic content |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty publish:now --project prj_7k2m9x4q1b --connection con_0123456789 --export job_0123456789 --title "My short" --made-for-kids no --visibility privatepublish:status#
Show the state of a publication: waiting_approval, uploading, processing, published, sent_as_draft or failed
stuarty publish:status <job id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publish:status job_0123456789publication:create#
Plan a publication: a video for one or more accounts, each with its own time; nothing is asked or sent until you schedule it
stuarty publication:create --project <id> --title <t> --export <job> --connection <id> --at <time> --zone <zone> --made-for-kids yes|no
stuarty publication:create --project <id> --title <t> --export <job> --targets <json>| Flag | Type | Default | Meaning |
|---|---|---|---|
--title | string | the title (required) | |
--text | string | the caption the accounts use unless they have their own | |
--export | string | the id of a succeeded export job of the project: the video (this or --post) | |
--thumbnail | string | the cover: the export job of a still, or the job_id of image:export | |
--post | string | the id of a text of the kind post: a blog post (this or --export) | |
--connection | string | the connection of the account the post goes to | |
--at | string | the time: 2026-11-20T09:00 read in --zone, or an instant such as 2026-11-20T12:00:00Z | |
--zone | string | the IANA zone the time is read in, for example America/Sao_Paulo (default UTC) | |
--late-window | string | minutes, 0 to 1440, a late post may still be sent without asking (default 0) | |
--target-title | string | a title for this account instead of the publication's | |
--target-description | string | a description for this account instead of the caption | |
--tags | string | the tags, a comma list | |
--visibility | string | private (the default), unlisted or public | |
--made-for-kids | string | yes or no: whether the video is made for kids | |
--ai-disclosure | boolean | false | the video has realistic altered or synthetic content |
--targets | string | a JSON list of targets, for several accounts at once |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty publication:create --project prj_7k2m9x4q1b --title "Week one" --export job_0123456789 --connection con_0123456789 --at 2026-11-20T09:00 --zone America/Sao_Paulo --made-for-kids nopublication:list#
List the publications of the calendar, by project, state, network or time range
stuarty publication:list [--project <id>] [--state <state>] [--from <time>] [--until <time>] [--zone <zone>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | only the publications of this project | |
--state | string | only those with a target in this state, for example waiting_approval or failed | |
--network | string | only those with a target on this network | |
--from | string | only those with a target at or after this time (RFC 3339) or date | |
--until | string | only those with a target before this time (RFC 3339) or date | |
--zone | string | the zone a date or local time of --from and --until is read in (default UTC) | |
--limit | integer | the page size, 1 to 500 (default 100) | |
--offset | integer | how many to skip |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:list --from 2026-11-16T00:00:00Z --until 2026-11-23T00:00:00Z --jsonpublication:show#
Show one publication with each target: its time, its state, its approval, its address or its error
stuarty publication:show <publication id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:show pub_0123456789publication:update#
Change a publication or its targets; a post that waited for approval or was approved goes back to waiting for approval
stuarty publication:update <publication id> [--title <t>] [--text <t>] [--export <job>] [--targets <json>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--title | string | the new title | |
--text | string | the new caption | |
--export | string | the new video: a succeeded export job of the project | |
--thumbnail | string | the new cover; an empty text removes it | |
--targets | string | a JSON list of targets to change (with an id), add (without) or remove ("remove":true) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:update pub_0123456789 --title "A better title"publication:schedule#
Give a target its time and ask for approval: it is sent at that time only after a person approves it in the app; you cannot approve it
stuarty publication:schedule <publication id> [--target <id>] [--at <time>] [--zone <zone>] [--late-window <min>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--target | string | the target; leave out for every draft target that has a time | |
--at | string | the time: 2026-11-20T09:00 read in --zone, or an instant such as 2026-11-20T12:00:00Z | |
--zone | string | the IANA zone the time is read in (default UTC) | |
--late-window | string | minutes, 0 to 1440, a late post may still be sent without asking (default 0) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:schedule pub_0123456789 --target tgt_0123456789 --at 2026-11-20T09:00 --zone America/Sao_Paulopublication:send-now#
Ask for approval to send a target as soon as it is approved; use it for a missed target too
stuarty publication:send-now <publication id> --target <id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--target | string | the target, tgt_ and 10 characters |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:send-now pub_0123456789 --target tgt_0123456789publication:retry#
Ask for approval to send a failed target again; read why it failed with publication:show
stuarty publication:retry <publication id> --target <id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--target | string | the target, tgt_ and 10 characters |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:retry pub_0123456789 --target tgt_0123456789publication:cancel#
Cancel a target, or every target that has not gone out when --target is left out
stuarty publication:cancel <publication id> --target <id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--target | string | the target, tgt_ and 10 characters |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:cancel pub_0123456789 --target tgt_0123456789calendar:plan#
Read a range of the calendar: its days with notes, themes and quiet marks, its recurring slots and the target that fills each one
stuarty calendar:plan --from <date> --until <date> [--zone <zone>] [--publications] [--project <id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--from | string | the start of the range: a date such as 2026-12-01, a local time or an instant | |
--until | string | the end of the range, exclusive, in the same forms | |
--zone | string | the zone dates and local times are read in (default UTC) | |
--publications | boolean | also list the publications of the range | |
--project | string | only the publications of this project | |
--limit | integer | the page size of the publications, 1 to 500 (default 100) | |
--offset | integer | how many publications to skip |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:plan --from 2026-12-01 --until 2026-12-02 --zone America/Sao_Paulo --publicationscalendar:day#
Write the note and the theme of a day (a flag you leave out stays; an empty one clears it); a person marks a day as quiet with calendar:quiet
stuarty calendar:day <date> [--note <text>] [--theme <name>] [--zone <zone>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--note | string | the note, at most 2000 characters; empty clears it | |
--theme | string | blue, green, amber, red, teal or gray; empty clears it | |
--zone | string | the zone the day is planned in (default: the one it has, or UTC) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:day 2026-12-01 --note "long video day" --theme amber --zone America/Sao_Paulocalendar:quiet#
Mark a day as quiet (no posts) or clear the mark; only a person in the app does, every other caller is refused
stuarty calendar:quiet <date> [--off] [--zone <zone>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--off | boolean | clear the mark instead of setting it | |
--zone | string | the zone the day is planned in (default: the one it has, or UTC) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:quiet 2026-12-25 --zone America/Sao_Paulocalendar:slot#
Create or change a recurring slot: a weekday and a local time on a network, shown as an empty slot to fill; it never sends anything
stuarty calendar:slot --network <n> --weekday mon..sun --time HH:MM [--zone <zone>] [--connection <id>] [--id <slot>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--id | string | the slot to change; leave out to make a new one | |
--network | string | the network, for example instagram (required) | |
--weekday | string | mon, tue, wed, thu, fri, sat or sun (required) | |
--time | string | the local time, 24 hours, such as 18:00 (required) | |
--zone | string | the zone of the time (default UTC) | |
--connection | string | only this account of the network (default any) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:slot --network instagram --weekday tue --time 18:00 --zone America/Sao_Paulocalendar:slot-remove#
Remove a recurring slot
stuarty calendar:slot-remove <slot id>Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:slot-remove slt_0123456789calendar:export#
Print the targets of a range as an .ics file (read only, times in UTC, no credential); redirect it to a file to open it in another calendar app
stuarty calendar:export --from <date> --until <date> [--zone <zone>] [--project <id>] > plan.ics| Flag | Type | Default | Meaning |
|---|---|---|---|
--from | string | the start of the range: a date such as 2026-12-01, a local time or an instant | |
--until | string | the end of the range, exclusive, in the same forms | |
--zone | string | the zone dates and local times are read in (default UTC) | |
--project | string | only the publications of this project |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty calendar:export --from 2026-12-01 --until 2027-01-01 > plan.icspublication:duplicate#
Copy a publication to another day or hour as a new draft; nothing is asked or sent until you schedule the copy
stuarty publication:duplicate <publication id> --at <time> [--zone <zone>] [--target <id>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--at | string | the new time: 2026-12-02T18:00 read in --zone, or an instant (required) | |
--zone | string | the zone the time is read in (default: the zone of each target) | |
--target | string | copy only this target (default: every target that is not cancelled) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty publication:duplicate pub_0123456789 --at 2026-12-02T18:00 --zone America/Sao_Paulotext:list#
List the scripts, copy and captions of a project, or of every project
stuarty text:list [--project <id>] [--kind script|copy|caption|post] [--state active|trashed]| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | only the texts of this project | |
--kind | string | script, copy, caption or post | |
--state | string | active (default) or trashed | |
--cursor | string | continue a list from this cursor | |
--limit | integer | 50 | items per page |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty text:list --kind caption --jsontext:show#
Show a text, or one of its revisions
stuarty text:show <item> --project <id> [--revision n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--revision | integer | a revision number from 1; default the latest |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty text:show pit_3c5v8n2w6d --project prj_7k2m9x4q1btext:write#
Make a text, or save a new revision of one, from a Markdown file
stuarty text:write --project <id> --title <t> [--kind script|copy|caption|post] --text <file|->
stuarty text:write <item> --project <id> --text <file|-> [--title <t>] [--base <revision>]| Flag | Type | Default | Meaning |
|---|---|---|---|
--text | string | the Markdown: a file, or - for standard input (required) | |
--title | string | the title: needed to make a text, a new title when saving one | |
--kind | string | making a text: script, copy (default), caption or post | |
--base | integer | the revision you read: a newer one is refused |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty text:write --project prj_7k2m9x4q1b --title Hook --kind script --text hook.mdtext:revisions#
List the revisions of a text, and compare two by paragraph
stuarty text:revisions <item> --project <id> [--from n [--until n]]| Flag | Type | Default | Meaning |
|---|---|---|---|
--before | integer | start under this revision (the next_before of the last page) | |
--limit | integer | revisions per page, 1 to 100 (default 50) | |
--from | integer | compare this revision with --until | |
--until | integer | the revision to compare with (default the latest) |
Global flags: --json, --workspace, --actor, --key-file, --project.
Example:
stuarty text:revisions pit_3c5v8n2w6d --project prj_7k2m9x4q1b --from 1text:revert#
Bring an older revision of a text back as a new revision
stuarty text:revert <item> --project <id> --revision n| Flag | Type | Default | Meaning |
|---|---|---|---|
--revision | integer | the revision whose text comes back (required) |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty text:revert pit_3c5v8n2w6d --project prj_7k2m9x4q1b --revision 2text:draft#
Ask a model for a draft of a text; the job shows its estimate and waits for approval
stuarty text:draft <item> --project <id> --connection <id> --model <id> --instruction <text> [--network <n>] [--max-tokens <n>] [--temperature <t>] [--dry-run]| Flag | Type | Default | Meaning |
|---|---|---|---|
--connection | string | the connection to the provider (required) | |
--model | string | the model id, as provider:models lists it (required) | |
--instruction | string | what to write, 1 to 4000 characters (required) | |
--network | string | a caption: draft the variant of this network only | |
--max-tokens | integer | the most tokens the model may write; the estimate counts all of them | |
--temperature | string | 0 to 2 |
Global flags: --json, --workspace, --actor, --key-file, --project, --dry-run.
Example:
stuarty text:draft pit_3c5v8n2w6d --project prj_7k2m9x4q1b --connection con_0123456789 --model a-model --instruction "A hook in 20 seconds"caption:validate#
Measure a caption against the limits of each network
stuarty caption:validate <item> --project <id> [--network <n>]
stuarty caption:validate --body <file|->
stuarty caption:validate --text <file|-> --network <n>| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | the project of the text (default $STUARTY_PROJECT) | |
--body | string | a whole caption, saved or not: a file, or - for standard input | |
--text | string | one variant: a file, or - for standard input (needs --network) | |
--network | string | youtube, instagram, facebook, x or tiktok |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty caption:validate pit_3c5v8n2w6d --project prj_7k2m9x4q1bscript:estimate#
Estimate how long a script takes when read aloud
stuarty script:estimate <item> --project <id> [--wpm n]
stuarty script:estimate --text <file|-> [--wpm n]| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | the project of the text (default $STUARTY_PROJECT) | |
--text | string | a script that is not saved: a file, or - for standard input | |
--wpm | integer | words per minute, 60 to 300 (default 150) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty script:estimate pit_3c5v8n2w6d --project prj_7k2m9x4q1b --wpm 130post:check#
Check a blog post (SDD-019 section 13): its front matter, its images and its sanitised HTML
stuarty post:check <item> --project <id>| Flag | Type | Default | Meaning |
|---|---|---|---|
--project | string | the project of the text (default $STUARTY_PROJECT) |
Global flags: --json, --workspace, --actor, --key-file.
Example:
stuarty post:check pit_3c5v8n2w6d --project prj_7k2m9x4q1bserve#
Run the server that owns the workspace, configured by environment variables (see the configuration reference)
stuarty serveExample:
STUARTY_ADDR=127.0.0.1:7878 stuarty serveopen#
Open the editor in the browser of the running server
stuarty openExample:
stuarty openuser:create#
Create a user of network mode (the password is asked, never an argument)
stuarty user:create <email> [--admin]Example:
stuarty user:create ana@example.com --adminuser:passwd#
Change the password of a user of network mode
stuarty user:passwd <email>Example:
stuarty user:passwd ana@example.comworkspace:backup#
Write a consistent backup of the workspace to a folder (never with the master key); a server may keep running
stuarty workspace:backup <folder>Example:
stuarty workspace:backup ~/stuarty-backup-2026-11-19workspace:restore#
Restore a backup folder into an empty workspace, checked against its manifest and the master key at hand
stuarty workspace:restore <folder> [--replace] [--without-vault]Example:
stuarty workspace:restore ~/stuarty-backup-2026-11-19