Skip to content

πŸŽ₯ Make videos programmatically with React

ChatGPT Codex plugin: Update plugin (#10004)

Jonny Burgerbc3a5332558c
diff --git a/packages/codex-plugin/.codex-plugin/plugin.json b/packages/codex-plugin/.codex-plugin/plugin.json
index 5638f03130..9c15c53850 100644
--- a/packages/codex-plugin/.codex-plugin/plugin.json
+++ b/packages/codex-plugin/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "remotion",
- "version": "1.0.0",
+ "version": "1.0.6",
"description": "Remotion video creation skills β€” best practices, animations, audio, captions, 3D, and more for building programmatic videos with React.",
"author": {
"name": "Remotion",
@@ -24,10 +24,10 @@
"skills": "./skills/",
"interface": {
"displayName": "Remotion",
- "shortDescription": "Create motion graphics from prompts",
+ "shortDescription": "Make videos agentically",
"longDescription": "Build videos programmatically with Remotion and React. Covers animations, timing, audio, captions, 3D, transitions, charts, text effects, and more.",
"developerName": "Remotion",
- "category": "Design",
+ "category": "Creativity",
"capabilities": ["Read", "Write"],
"websiteURL": "https://remotion.dev",
"privacyPolicyURL": "https://www.remotion.dev/docs/license/privacy",
@@ -38,7 +38,8 @@
"Use Remotion to add captions and audio to a video composition."
],
"brandColor": "#0B84F3",
- "composerIcon": "./assets/icon.png",
- "logo": "./assets/logo.png"
+ "composerIcon": "./assets/composer-icon.svg",
+ "logo": "./assets/logo.png",
+ "logoDark": "./assets/logo-dark.png"
}
}
diff --git a/packages/codex-plugin/assets/composer-icon.svg b/packages/codex-plugin/assets/composer-icon.svg
new file mode 100644
index 0000000000..4ca8b61c1f
--- /dev/null
+++ b/packages/codex-plugin/assets/composer-icon.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="26 33 358 358">
+ <style>
+ @media (prefers-color-scheme: dark) {
+ path {
+ fill: #fff;
+ }
+ }
+ </style>
+ <path fill="#0B84F3" d="M141.332 92.4681C136.307 92.7408 132.259 93.5379 128.179 95.0902C126.144 95.8559 122.809 97.5236 120.973 98.6774C113.295 103.492 107.443 110.729 104.391 119.151C103.782 120.819 102.136 126.137 101.076 129.797C94.0174 154.267 90.0107 181.023 89.1506 209.343C89.0143 213.853 89.0143 224.593 89.1506 229.03C89.7275 247.804 91.5211 264.754 94.7725 282.039C96.0941 289.035 98.2128 298.433 99.44 302.702C101.947 311.376 107.065 318.76 114.344 324.172C119.221 327.801 124.759 330.235 130.895 331.43C133.853 332.007 137.755 332.269 140.629 332.081C144.604 331.818 152.491 330.759 158.9 329.616C187.786 324.466 214.469 315.246 238.666 302.052C253.99 293.692 267.09 284.641 279.729 273.659C292.326 262.73 303.066 250.972 312.516 237.777C314.708 234.725 315.81 232.942 316.911 230.698C319.743 224.908 321.075 219.15 321.064 212.71C321.064 206.71 319.932 201.382 317.488 195.928C316.313 193.295 315.191 191.407 312.674 187.82C303.402 174.615 293.112 163.109 280.568 151.928C261.122 134.601 238.026 120.389 212.235 109.869C206.644 107.593 201.138 105.589 194.509 103.418C180.475 98.8347 163.106 94.8595 148.411 92.8771C146.104 92.5625 142.968 92.3842 141.332 92.4681Z" />
+</svg>
diff --git a/packages/codex-plugin/assets/logo-dark.png b/packages/codex-plugin/assets/logo-dark.png
new file mode 100644
index 0000000000..ebab07503b
Binary files /dev/null and b/packages/codex-plugin/assets/logo-dark.png differ
diff --git a/packages/codex-plugin/build.mts b/packages/codex-plugin/build.mts
index 3362d71057..4bccdbbcfc 100644
--- a/packages/codex-plugin/build.mts
+++ b/packages/codex-plugin/build.mts
@@ -49,10 +49,10 @@ const addCodexOnlyInstructions = () => {
## Codex troubleshooting
-When running inside Codex, first try starting the Remotion Studio normally:
+When running inside Codex, first try starting the Remotion Studio without opening the system browser:
\`\`\`bash
-npx remotion studio
+npx remotion studio --no-open
\`\`\`
Only if that fails with file watcher limits such as \`EMFILE: too many open files, watch\`, retry with polling and without opening a browser from Codex:
diff --git a/packages/codex-plugin/test/plugin.test.ts b/packages/codex-plugin/test/plugin.test.ts
index 7f0e260274..eef9cd7182 100644
--- a/packages/codex-plugin/test/plugin.test.ts
+++ b/packages/codex-plugin/test/plugin.test.ts
@@ -96,3 +96,13 @@ test('remotion-create opens the preview in the Codex in-app browser by default',
'consider starting the preview server',
);
});
+
+test('Codex troubleshooting does not open the system browser', () => {
+ const remotionSkill = readFileSync(
+ path.join(generatedSkillsRoot, 'remotion-best-practices', 'SKILL.md'),
+ 'utf-8',
+ );
+
+ expect(remotionSkill).toContain('npx remotion studio --no-open');
+ expect(remotionSkill).not.toMatch(/^npx remotion studio$/m);
+});
diff --git a/packages/skills/skills/remotion-best-practices/SKILL.md b/packages/skills/skills/remotion-best-practices/SKILL.md
index 4b27647df5..b5a4052eb7 100644
--- a/packages/skills/skills/remotion-best-practices/SKILL.md
+++ b/packages/skills/skills/remotion-best-practices/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-best-practices
description: Router for all Remotion skills
version: 4.0.503
-metadata:
- tags: remotion, video, react, animation, composition
---
## New project setup
diff --git a/packages/skills/skills/remotion-best-practices/agents/openai.yaml b/packages/skills/skills/remotion-best-practices/agents/openai.yaml
new file mode 100644
index 0000000000..120b230ff2
--- /dev/null
+++ b/packages/skills/skills/remotion-best-practices/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Remotion'
+ short_description: 'Route Remotion tasks to the right workflow'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-best-practices: Make a promo video for my product'
diff --git a/packages/skills/skills/remotion-best-practices/assets/remotion-icon.png b/packages/skills/skills/remotion-best-practices/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-best-practices/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-captions/SKILL.md b/packages/skills/skills/remotion-captions/SKILL.md
index de0e83bf89..5b9b738635 100644
--- a/packages/skills/skills/remotion-captions/SKILL.md
+++ b/packages/skills/skills/remotion-captions/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-captions
description: Transcribing, displaying and animating captions
version: 4.0.503
-metadata:
- tags: subtitles, captions, remotion, json
---
All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:
diff --git a/packages/skills/skills/remotion-captions/agents/openai.yaml b/packages/skills/skills/remotion-captions/agents/openai.yaml
new file mode 100644
index 0000000000..86e0dd9e28
--- /dev/null
+++ b/packages/skills/skills/remotion-captions/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Captions'
+ short_description: 'Transcribe, display, and animate captions'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-captions: Transcribe my video and display captions'
diff --git a/packages/skills/skills/remotion-captions/assets/remotion-icon.png b/packages/skills/skills/remotion-captions/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-captions/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-create/SKILL.md b/packages/skills/skills/remotion-create/SKILL.md
index 00b7c2d326..587622f628 100644
--- a/packages/skills/skills/remotion-create/SKILL.md
+++ b/packages/skills/skills/remotion-create/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-create
description: Create a new Remotion video
version: 4.0.503
-metadata:
- tags: remotion
---
These are instructions for making a new Remotion project and composition.
diff --git a/packages/skills/skills/remotion-create/agents/openai.yaml b/packages/skills/skills/remotion-create/agents/openai.yaml
new file mode 100644
index 0000000000..6757f3723a
--- /dev/null
+++ b/packages/skills/skills/remotion-create/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Create'
+ short_description: 'Create a new Remotion video project'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-create: Create a Remotion video and make a promo for my product'
diff --git a/packages/skills/skills/remotion-create/assets/remotion-icon.png b/packages/skills/skills/remotion-create/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-create/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-docs/SKILL.md b/packages/skills/skills/remotion-docs/SKILL.md
index f4080d9d71..361d4278a1 100644
--- a/packages/skills/skills/remotion-docs/SKILL.md
+++ b/packages/skills/skills/remotion-docs/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-docs
description: Search Remotion documentation
version: 4.0.503
-metadata:
- tags: remotion, docs, documentation, search
---
This skill teaches you how to discover and read current Remotion documentation.
diff --git a/packages/skills/skills/remotion-docs/agents/openai.yaml b/packages/skills/skills/remotion-docs/agents/openai.yaml
new file mode 100644
index 0000000000..8eddba1683
--- /dev/null
+++ b/packages/skills/skills/remotion-docs/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Docs'
+ short_description: 'Search current Remotion documentation'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-docs: What server-side rendering options does Remotion have?'
diff --git a/packages/skills/skills/remotion-docs/assets/remotion-icon.png b/packages/skills/skills/remotion-docs/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-docs/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-interactivity/SKILL.md b/packages/skills/skills/remotion-interactivity/SKILL.md
index d7de52b152..b564bbfaa2 100644
--- a/packages/skills/skills/remotion-interactivity/SKILL.md
+++ b/packages/skills/skills/remotion-interactivity/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-interactivity
description: Structure Remotion markup for interactivity
version: 4.0.503
-metadata:
- tags: remotion, interactivity, studio, visual mode
---
By writing Remotion markup in a specific way, the Remotion Studio is able to recognize the structure of the code and makes it interactive:
diff --git a/packages/skills/skills/remotion-interactivity/agents/openai.yaml b/packages/skills/skills/remotion-interactivity/agents/openai.yaml
new file mode 100644
index 0000000000..a5f856ec8f
--- /dev/null
+++ b/packages/skills/skills/remotion-interactivity/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Interactivity'
+ short_description: 'Make compositions editable in Remotion Studio'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-interactivity: Make the markup in MyComp.tsx interactive'
diff --git a/packages/skills/skills/remotion-interactivity/assets/remotion-icon.png b/packages/skills/skills/remotion-interactivity/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-interactivity/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-maps/agents/openai.yaml b/packages/skills/skills/remotion-maps/agents/openai.yaml
new file mode 100644
index 0000000000..dee9d1e7bd
--- /dev/null
+++ b/packages/skills/skills/remotion-maps/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Maps'
+ short_description: 'Create animated maps in Remotion videos'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-maps: Animate a dot from Zurich to New York.'
diff --git a/packages/skills/skills/remotion-maps/assets/remotion-icon.png b/packages/skills/skills/remotion-maps/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-maps/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-markup/SKILL.md b/packages/skills/skills/remotion-markup/SKILL.md
index 56f6fc2ddc..4a77a2c8f2 100644
--- a/packages/skills/skills/remotion-markup/SKILL.md
+++ b/packages/skills/skills/remotion-markup/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-markup
description: Content, animation and effects best practices
version: 4.0.503
-metadata:
- tags: remotion, react, markup
---
This is guidance for writing Remotion React Markup.
diff --git a/packages/skills/skills/remotion-markup/agents/openai.yaml b/packages/skills/skills/remotion-markup/agents/openai.yaml
new file mode 100644
index 0000000000..fcb7b7eb9f
--- /dev/null
+++ b/packages/skills/skills/remotion-markup/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Markup'
+ short_description: 'Apply Remotion animation and effects practices'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-markup: Apply best Remotion Practices to MyComp.tsx.'
diff --git a/packages/skills/skills/remotion-markup/assets/remotion-icon.png b/packages/skills/skills/remotion-markup/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-markup/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-multimedia/SKILL.md b/packages/skills/skills/remotion-multimedia/SKILL.md
index 0fd38c0260..c0f9f640b8 100644
--- a/packages/skills/skills/remotion-multimedia/SKILL.md
+++ b/packages/skills/skills/remotion-multimedia/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-multimedia
description: Interacting with Mediabunny
version: 4.0.503
-metadata:
- tags: remotion, mediabunny, multimedia, video, audio
---
Mediabunny is a multimedia library for dealing with audio and video in the browser.
diff --git a/packages/skills/skills/remotion-multimedia/agents/openai.yaml b/packages/skills/skills/remotion-multimedia/agents/openai.yaml
new file mode 100644
index 0000000000..48a032ef20
--- /dev/null
+++ b/packages/skills/skills/remotion-multimedia/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Multimedia'
+ short_description: 'Inspect browser-based audio and video media'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-multimedia: Make my video the same duration as the footage'
diff --git a/packages/skills/skills/remotion-multimedia/assets/remotion-icon.png b/packages/skills/skills/remotion-multimedia/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-multimedia/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-render/SKILL.md b/packages/skills/skills/remotion-render/SKILL.md
index 2083fbb0ba..0defe4405b 100644
--- a/packages/skills/skills/remotion-render/SKILL.md
+++ b/packages/skills/skills/remotion-render/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-render
description: Export a Remotion video
version: 4.0.503
-metadata:
- tags: remotion, render
---
## General rendering strategy
diff --git a/packages/skills/skills/remotion-render/agents/openai.yaml b/packages/skills/skills/remotion-render/agents/openai.yaml
new file mode 100644
index 0000000000..e7a9e1216b
--- /dev/null
+++ b/packages/skills/skills/remotion-render/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Render'
+ short_description: 'Export Remotion videos and stills'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-render: Render this as transparent ProRes'
diff --git a/packages/skills/skills/remotion-render/assets/remotion-icon.png b/packages/skills/skills/remotion-render/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-render/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-saas/SKILL.md b/packages/skills/skills/remotion-saas/SKILL.md
index 94202af430..0e33171a93 100644
--- a/packages/skills/skills/remotion-saas/SKILL.md
+++ b/packages/skills/skills/remotion-saas/SKILL.md
@@ -2,8 +2,6 @@
name: remotion-saas
description: Build an app with Remotion
version: 4.0.503
-metadata:
- tags: remotion, saas, player, rendering, templates, lambda
---
One can build apps with Remotion.
@@ -12,7 +10,7 @@ It is possible to have a simple form and hook it up to a render, or have a compl
## Choosing a template or a framework
We have several templates for SaaS which can be cloned or used as a reference.
-See [Choosing a framework](framework.md) for help choosing a template or framework.
+See [Choosing a framework](framework.md) for help choosing a template or framework.
## The `<Player>`
diff --git a/packages/skills/skills/remotion-saas/agents/openai.yaml b/packages/skills/skills/remotion-saas/agents/openai.yaml
new file mode 100644
index 0000000000..61fc8c02ce
--- /dev/null
+++ b/packages/skills/skills/remotion-saas/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'SaaS'
+ short_description: 'Build apps that preview and render videos'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-saas: Turn my video into an app.'
diff --git a/packages/skills/skills/remotion-saas/assets/remotion-icon.png b/packages/skills/skills/remotion-saas/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-saas/assets/remotion-icon.png differ
diff --git a/packages/skills/skills/remotion-upgrade/agents/openai.yaml b/packages/skills/skills/remotion-upgrade/agents/openai.yaml
new file mode 100644
index 0000000000..c4d13ed391
--- /dev/null
+++ b/packages/skills/skills/remotion-upgrade/agents/openai.yaml
@@ -0,0 +1,7 @@
+interface:
+ display_name: 'Upgrade'
+ short_description: 'Upgrade Remotion and related dependencies'
+ icon_small: './assets/remotion-icon.png'
+ icon_large: './assets/remotion-icon.png'
+ brand_color: '#0B84F3'
+ default_prompt: '$remotion-upgrade: Upgrade my project.'
diff --git a/packages/skills/skills/remotion-upgrade/assets/remotion-icon.png b/packages/skills/skills/remotion-upgrade/assets/remotion-icon.png
new file mode 100644
index 0000000000..c17ab6e838
Binary files /dev/null and b/packages/skills/skills/remotion-upgrade/assets/remotion-icon.png differ