You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SKILL.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ license: Apache-2.0
10
10
11
11
# Shotstack CLI
12
12
13
+
This skill loads in **terminal-based AI agents** (Claude Code, Cursor, Codex CLI, Gemini CLI, etc.). All operations here are shell commands. There is no embedded UI, no iframe, no inline canvas, no MCP tool surface — only `shotstack` invocations from a terminal. To hand off to a human, run `shotstack studio <file>`; this opens the user's default browser to a `shotstack.studio` URL. Tell the user to click Render *in the browser tab*, not in any UI inside the terminal.
14
+
13
15
Two commands for the Shotstack video rendering API. `render` submits an Edit JSON and returns a render ID; `status` polls a render until done.
14
16
15
17
## Authentication
@@ -70,15 +72,23 @@ Use `render` only when you're confident the JSON is final, or there's no human t
70
72
71
73
3.**Fetch the current schema and docs before generating Edit JSON.** The Shotstack API evolves; LLM training data is often stale. Pull <https://shotstack.io/docs/api/api.edit.json> and <https://shotstack.io/docs/guide/llms-full.txt> for the current schema and guides before composing an Edit from scratch.
72
74
73
-
4.**Hand off to a human via `studio` when uncertain.** Don't burn render credits iterating. Generate JSON → `shotstack studio` → human reviews/tweaks → render only when right.
74
-
75
-
## Authoring Edit JSON
75
+
4.**Hand off to a human via `shotstack studio <file>` when uncertain.** Don't burn render credits iterating. Generate JSON → `shotstack studio file.json` (opens browser) → human reviews/tweaks → render only when right.
76
76
77
-
The conventions agents most often get wrong (track order is reversed, asset type names, font allowlist, smart strings) live in the sharedagent-core guide:
77
+
## REQUIRED: Read `shared/agent-core.md` before composing any Edit JSON
78
78
79
-
**See [`shared/agent-core.md`](shared/agent-core.md)** before composing any Edit JSON.
79
+
The Shotstack schema does **not** match CSS or web conventions. Composing Edit JSON from training-data instinct will produce silently invalid renders. **Read [`shared/agent-core.md`](shared/agent-core.md) first**, every time. The most-failed conversions:
80
80
81
-
This file is also delivered to chat-based clients (Claude.ai, ChatGPT) via the Shotstack MCP server, so the conventions stay identical across surfaces.
|`transitions: [...]` (array) |`transition: { in, out }` (object) |
88
+
|`fit: "cover"` (CSS instinct) |`fit: "crop"`|
89
+
|`tracks[0]` is the bottom (z-index instinct) |`tracks[0]` is the **TOP** layer |
90
+
91
+
The full ruleset (asset types, fonts, smart-string clip values, top-5 mistakes) lives in `shared/agent-core.md`. The same file is also returned by the Shotstack MCP server's `get_shotstack_guide` tool, so the conventions are identical across surfaces.
0 commit comments