makaron-cli 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/.codex-plugin/plugin.json +5 -4
  3. package/README.md +47 -1
  4. package/bin/makaron.mjs +22 -8
  5. package/craft/manifest.json +2877 -0
  6. package/craft/prompts/agent-coding.md +220 -0
  7. package/craft/prompts/agent.md +86 -0
  8. package/craft/prompts/animate.md +448 -0
  9. package/craft/prompts/audio.md +261 -0
  10. package/craft/prompts/captions.md +220 -0
  11. package/craft/prompts/coding-submission.md +31 -0
  12. package/craft/prompts/coding-workflow.md +26 -0
  13. package/craft/prompts/creative.md +108 -0
  14. package/craft/prompts/cutout.md +81 -0
  15. package/craft/prompts/enhance.md +123 -0
  16. package/craft/prompts/generate_image_tool.md +26 -0
  17. package/craft/prompts/image.md +222 -0
  18. package/craft/prompts/legacy/agent.md +123 -0
  19. package/craft/prompts/legacy/coding-tool.md +31 -0
  20. package/craft/prompts/legacy/video-tool.md +38 -0
  21. package/craft/prompts/legacy/workspace-authoring.md +13 -0
  22. package/craft/prompts/niji.md +117 -0
  23. package/craft/prompts/pony_translate.md +42 -0
  24. package/craft/prompts/remotion-composition.md +405 -0
  25. package/craft/prompts/video-reverse.md +170 -0
  26. package/craft/prompts/video-submission.md +44 -0
  27. package/craft/prompts/video-workflow.md +42 -0
  28. package/craft/prompts/wai_translate.md +28 -0
  29. package/craft/prompts/web-search.md +1 -0
  30. package/craft/prompts/wild.md +119 -0
  31. package/craft/prompts/workspace-authoring.md +13 -0
  32. package/craft/skills/SKILL_README.md +249 -0
  33. package/craft/skills/_shared/aesthetic-lens-contract.md +68 -0
  34. package/craft/skills/_shared/native-audiovisual.md +44 -0
  35. package/craft/skills/_shared/remotion-director-contract.md +133 -0
  36. package/craft/skills/_shared/remotion-video-director/README.md +140 -0
  37. package/craft/skills/_shared/remotion-video-director/SKILL.md +391 -0
  38. package/craft/skills/_shared/remotion-video-director/references/component-library.md +608 -0
  39. package/craft/skills/_shared/remotion-video-director/references/expert-definitions.md +214 -0
  40. package/craft/skills/_shared/remotion-video-director/references/music-and-audio.md +186 -0
  41. package/craft/skills/_shared/remotion-video-director/references/remotion-patterns.md +439 -0
  42. package/craft/skills/_shared/remotion-video-director/references/video-archetypes.md +395 -0
  43. package/craft/skills/_shared/speech-clock.md +63 -0
  44. package/craft/skills/_shared/spoken-caption.md +75 -0
  45. package/craft/skills/_shared/studio-production/audio-direction.md +60 -0
  46. package/craft/skills/_shared/studio-production/production-contract.md +188 -0
  47. package/craft/skills/_shared/studio-production/reference-analysis.md +37 -0
  48. package/craft/skills/_shared/studio-production/review-contract.md +77 -0
  49. package/craft/skills/_shared/studio-production/taste-direction.md +114 -0
  50. package/craft/skills/_shared/visual-asset-bridge/SKILL.md +57 -0
  51. package/craft/skills/_shared/visual-direction/SKILL.md +98 -0
  52. package/craft/skills/_shared/voice-translation.md +55 -0
  53. package/craft/skills/aesthetic-disney-character-motion/SKILL.md +66 -0
  54. package/craft/skills/aesthetic-lottiefiles-motion/SKILL.md +78 -0
  55. package/craft/skills/aesthetic-rampstack-direction/SKILL.md +68 -0
  56. package/craft/skills/ai-video-gen/SKILL.md +48 -0
  57. package/craft/skills/animated-explainer/SKILL.md +53 -0
  58. package/craft/skills/animation/SKILL.md +53 -0
  59. package/craft/skills/avatar-spokesperson/SKILL.md +66 -0
  60. package/craft/skills/canvas-procedural-animation/SKILL.md +48 -0
  61. package/craft/skills/character-animation/SKILL.md +57 -0
  62. package/craft/skills/character-animation-qa/SKILL.md +48 -0
  63. package/craft/skills/character-rigging/SKILL.md +48 -0
  64. package/craft/skills/cinematic/SKILL.md +53 -0
  65. package/craft/skills/cinematic-video/SKILL.md +65 -0
  66. package/craft/skills/clip-factory/SKILL.md +53 -0
  67. package/craft/skills/comfyui/SKILL.md +48 -0
  68. package/craft/skills/content-repurpose/SKILL.md +54 -0
  69. package/craft/skills/create-video/SKILL.md +48 -0
  70. package/craft/skills/documentary-montage/SKILL.md +53 -0
  71. package/craft/skills/doubao-tts/SKILL.md +51 -0
  72. package/craft/skills/explainer-aesthetic-disney/SKILL.md +33 -0
  73. package/craft/skills/explainer-aesthetic-lottiefiles/SKILL.md +33 -0
  74. package/craft/skills/explainer-aesthetic-rampstack/SKILL.md +33 -0
  75. package/craft/skills/explainer-video/SKILL.md +423 -0
  76. package/craft/skills/ffmpeg/SKILL.md +48 -0
  77. package/craft/skills/grok-media/SKILL.md +47 -0
  78. package/craft/skills/hybrid/SKILL.md +53 -0
  79. package/craft/skills/localization-dub/SKILL.md +59 -0
  80. package/craft/skills/long-video-anchor/SKILL.md +111 -0
  81. package/craft/skills/long-video-director/SKILL.md +217 -0
  82. package/craft/skills/long-video-storyboard/SKILL.md +102 -0
  83. package/craft/skills/makaron-mascot/SKILL.md +83 -0
  84. package/craft/skills/makaron-mascot/assets/character-sheet.jpg +0 -0
  85. package/craft/skills/makaron-mascot/assets/makaron-spark-pixel-wizard-concepts.png +0 -0
  86. package/craft/skills/media-use/SKILL.md +47 -0
  87. package/craft/skills/motion-design-video/SKILL.md +64 -0
  88. package/craft/skills/motion-graphics/SKILL.md +48 -0
  89. package/craft/skills/multi-angle-video/SKILL.md +533 -0
  90. package/craft/skills/music/SKILL.md +47 -0
  91. package/craft/skills/music-to-video/SKILL.md +60 -0
  92. package/craft/skills/photo-to-video/SKILL.md +60 -0
  93. package/craft/skills/podcast-repurpose/SKILL.md +53 -0
  94. package/craft/skills/pose-library-design/SKILL.md +48 -0
  95. package/craft/skills/reference-video-studio/SKILL.md +55 -0
  96. package/craft/skills/remotion/SKILL.md +48 -0
  97. package/craft/skills/remotion-best-practices/SKILL.md +48 -0
  98. package/craft/skills/screen-demo/SKILL.md +61 -0
  99. package/craft/skills/seedance-2-0/SKILL.md +48 -0
  100. package/craft/skills/seedance-2-5/SKILL.md +48 -0
  101. package/craft/skills/sound-effects/SKILL.md +47 -0
  102. package/craft/skills/source-video-studio/SKILL.md +68 -0
  103. package/craft/skills/speech-to-text/SKILL.md +47 -0
  104. package/craft/skills/sticker-maker/SKILL.md +178 -0
  105. package/craft/skills/svg-character-animation/SKILL.md +48 -0
  106. package/craft/skills/synthetic-screen-recording/SKILL.md +48 -0
  107. package/craft/skills/talking-head/SKILL.md +106 -0
  108. package/craft/skills/text-to-speech/SKILL.md +50 -0
  109. package/craft/skills/threejs-animation/SKILL.md +48 -0
  110. package/craft/skills/threejs-fundamentals/SKILL.md +48 -0
  111. package/craft/skills/threejs-geometry/SKILL.md +48 -0
  112. package/craft/skills/threejs-lighting/SKILL.md +48 -0
  113. package/craft/skills/threejs-materials/SKILL.md +48 -0
  114. package/craft/skills/threejs-shaders/SKILL.md +48 -0
  115. package/craft/skills/threejs-textures/SKILL.md +48 -0
  116. package/craft/skills/tiktok-video/SKILL.md +188 -0
  117. package/craft/skills/tiktok-video/references/audio-sync.md +58 -0
  118. package/craft/skills/tiktok-video/references/caption-direction.md +36 -0
  119. package/craft/skills/tiktok-video/references/delivery-qa.md +84 -0
  120. package/craft/skills/tiktok-video/references/platform-layout.md +62 -0
  121. package/craft/skills/video-edit/SKILL.md +144 -0
  122. package/craft/skills/video-edit/references/direct-reference-route.md +141 -0
  123. package/craft/skills/video-edit/references/editing-protocol.md +79 -0
  124. package/craft/skills/video-edit/references/frame-location.md +85 -0
  125. package/craft/skills/video-edit/references/replication-protocol.md +67 -0
  126. package/craft/skills/video-edit/references/shot-blueprint.md +116 -0
  127. package/craft/skills/video-edit/references/shot-blueprint.schema.json +143 -0
  128. package/craft/skills/video-edit/references/similarity-qa.md +47 -0
  129. package/craft/skills/video-edit/scripts/extract-shot-blueprint.mjs +313 -0
  130. package/craft/skills/video-ffmpeg-lab/SKILL.md +220 -0
  131. package/craft/skills/video-mature-themes/SKILL.md +175 -0
  132. package/craft/skills/video-segment-edit/SKILL.md +16 -0
  133. package/craft/skills/video-translate/SKILL.md +148 -0
  134. package/craft/skills/video-understand/SKILL.md +48 -0
  135. package/craft/skills/visual-style/SKILL.md +47 -0
  136. package/craft/skills/wan-3-0/SKILL.md +59 -0
  137. package/craft/skills/web-design-guidelines/SKILL.md +47 -0
  138. package/craft/skills/website-to-video/SKILL.md +61 -0
  139. package/craft-source.json +7 -0
  140. package/package.json +12 -5
  141. package/runtime/adapter.mjs +615 -0
  142. package/runtime/configure.mjs +28 -0
  143. package/runtime/tool-catalog.json +807 -0
  144. package/runtime/tool-cli.mjs +98 -0
  145. package/skills/makaron/SKILL.md +12 -0
  146. package/skills/makaron-native/SKILL.md +89 -0
@@ -0,0 +1,423 @@
1
+ ---
2
+ name: explainer-video
3
+ description: >
4
+ Create an explainer video about a topic, product, feature, company, or process. Prefer complete native
5
+ audiovisual generation for generated scenes within the selected model limit;
6
+ use Remotion for authored diagrams, source-led assembly or explicit editability.
7
+ allowed-tools: read_file studio_run prepare_visual_asset generate_animation run_code write_file publish_draft preview_frame materialize_media transcribe_audio generate_audio generate_image analyze_image analyze_video
8
+ metadata:
9
+ makaron:
10
+ icon: "🎙️"
11
+ color: "#8b5cf6"
12
+ tipsEnabled: false
13
+ builtIn: true
14
+ studioRunRecipe: "explainer-video"
15
+ studioRunProfile: "generated-explainer"
16
+ sourceMediaRequired: false
17
+ tags: [video, workflow, explainer, remotion, voiceover, subtitles, audio]
18
+ ---
19
+
20
+ # Explainer Video
21
+
22
+ Choose the visual carrier before the runtime. Read
23
+ `skills/_shared/native-audiovisual.md` first. Generated scenes within the selected
24
+ model's single-call limit use `prompts/animate.md` and one `generate_animation`
25
+ with native narration, music, effects and requested text. An explainer label or
26
+ duration above 15 seconds does not require Remotion. The composition guidance
27
+ below applies to authored diagrams, source-led assembly or explicit editability.
28
+ For that route, this is a local Remotion composition workflow,
29
+ not the Open Montage workflow runtime.
30
+
31
+ ## When To Use
32
+
33
+ Use this skill when the user asks for:
34
+
35
+ - "explainer video", "Explainer Video", "解释视频", "讲解视频"
36
+ - a 30-90 second topic, product, feature, company, or process explainer
37
+ - a narrated animated presentation with subtitles, diagrams, timelines, product
38
+ screenshots, generated visual inserts, sticker overlays, music beds, sound
39
+ effects, ambience, or mixed sound design
40
+
41
+ For generated motion within the model limit, return to the video path in
42
+ `prompts/animate.md`. Only continue below for the composition route. When it
43
+ includes generated footage, keep that footage's native sound and transcribe
44
+ the video; the local-animation soundtrack instructions do not replace it.
45
+
46
+ ## Shared Remotion Director Contract First
47
+
48
+ Before planning the video, inspect the shared Remotion Director and Visual
49
+ Invention guidance:
50
+
51
+ 1. Read `skills/_shared/remotion-director-contract.md`.
52
+ 2. Read `skills/_shared/visual-direction/SKILL.md`.
53
+ 3. Read `skills/_shared/studio-production/taste-direction.md`.
54
+ 4. Read an optional `remotion-video-director` archetype, pattern, or component
55
+ reference only when the chosen direction creates a concrete need for it.
56
+ 5. Choose a creative direction, scene archetype set, emotional arc, pacing model,
57
+ and layout contract before writing Remotion code.
58
+ 6. Apply the contract as video direction: shot flow, frame hierarchy, timing,
59
+ transition language, typography scale, audio attitude, and review criteria.
60
+ Do not reduce it to a color palette or website design system.
61
+
62
+ This shared contract is required for all Makaron Remotion compositions. Do not
63
+ skip it because the topic sounds simple.
64
+
65
+ ## Default Deliverable
66
+
67
+ - A published Remotion composition snapshot on the project timeline.
68
+ - Target duration: use the user's requested duration. If missing, make 60s.
69
+ - The requested duration is a hard contract. Do not extend the composition just
70
+ because generated voiceover or music is longer. Rewrite, regenerate, trim, or
71
+ fade audio to fit the requested duration.
72
+ - Aspect ratio: default 16:9 unless the user specifies mobile/social.
73
+ - Voiceover and an instrumental score are part of this skill by default.
74
+ Unless the user explicitly requests no audio, silent, muted, or text-only
75
+ output, generate narration, continuous music, ambience, and meaningful SFX
76
+ together once with Seed Audio `kind: "mixed"`. If the user requests no voice,
77
+ keep music and sound design but omit narration. Use isolated `voiceover` only
78
+ when the user explicitly requests voice-only or no music/supporting sound.
79
+ - Subtitles are part of this skill by default and are authored by the Agent as
80
+ part of each scene's Composition direction.
81
+ - Sound design is part of the default planning pass. Give the score a narrative
82
+ arc and include only ambience, UI sounds, transitions, and scene-specific
83
+ effects that clarify or strengthen the explanation.
84
+
85
+ ## Direct Execution Rule
86
+
87
+ Do not stop at a script approval gate when the user says to make or test the
88
+ video directly. Write a compact production plan internally, then build and
89
+ publish the composition. Ask only if missing information would make the result
90
+ wrong or expensive.
91
+
92
+ ## Production Flow
93
+
94
+ 1. Start a `studio_run` before producing the creative packet. Use the user's explicit
95
+ approval preference; when they preauthorize the full run, set
96
+ `approval_policy: "auto"`. Lock duration, resolution, FPS, runtime, editable
97
+ mode, narration, and subtitle promise in `delivery_promise`. Leave
98
+ `include_stage_schemas` false on the normal path.
99
+ 2. Read `prompts/remotion-composition.md` before the first `run_code` call.
100
+ 3. Read the shared Remotion Director contract, Visual Director, and
101
+ `skills/_shared/studio-production/taste-direction.md`. Use an optional
102
+ video-director reference only when the selected direction benefits from it.
103
+ 4. In one uninterrupted creative pass, write a compact brief, at least two
104
+ genuinely different concepts, select one direction, and write its complete
105
+ timed narration. Every narrated section must include authored
106
+ `onScreenText`; this is content direction, not a fixed caption renderer.
107
+ Persist the whole decision once with
108
+ `studio_run(operation: "put_creative_packet", creative_packet: ...)`.
109
+ The harness will project separate Brief, Proposal, and Script artifacts into
110
+ the eight-stage CUI. Do not recreate or resubmit those three JSON documents.
111
+ 5. Keep the narration human and paced:
112
+ about 120-145 English words per minute or 180-230 Chinese characters per
113
+ minute.
114
+ 6. Unless the user explicitly requested no audio, silent, muted, or text-only
115
+ output, read
116
+ `prompts/audio.md`, write a complete Voice Performance Brief, and lock the
117
+ final audio architecture before generation. A narrated explainer includes
118
+ continuous instrumental music and meaningful sound design by default: call
119
+ `generate_audio({ kind: "mixed", ... })` exactly once and direct the entire
120
+ synchronized soundtrack in that prompt. The mixed prompt must use the
121
+ canonical performance-score blocks from `audio.md`: `[MUSIC]` defines a
122
+ continuous audible backbone and its arc; `[VOICE]` gives every spoken line
123
+ its own emotional action, turn, emphasis, breath, pause, or restraint;
124
+ `[SFX]` places concrete effects in narrative order; `[MIX]` locks layer
125
+ priority and ending behavior. Call
126
+ `generate_audio({ kind: "voiceover", ... })` only when the user explicitly
127
+ requests an isolated voice master with no music or supporting sound. The
128
+ prompt must include the
129
+ approved Script narration verbatim, the speaker/listener relationship,
130
+ dramatic intent, emotional starting point, turning point, ending state,
131
+ pace, pauses, breaths, emphasis, restraint, and behaviors to avoid.
132
+ For `mixed`, keep speech intelligible while treating the score as a
133
+ co-leading layer: its melody, rhythm, bass, and harmonic changes must remain
134
+ identifiable under every spoken line, with no more than 1-2 dB of ducking
135
+ and immediate recovery between lines. Direct ambience, meaningful effects,
136
+ and the ending inside the same one-pass performance score. Avoid
137
+ attenuation-heavy wording such as background, faint, sparse, or barely
138
+ underneath. Never generate
139
+ narration and supporting audio as separate Seed Audio assets.
140
+ Keep the narration short enough for the requested duration. If the generated
141
+ voiceover is more than 10% longer than the requested video, regenerate a
142
+ shorter script or trim/fade it; never change the video duration to match an
143
+ overly long narration.
144
+ 7. After `generate_audio`, call
145
+ `transcribe_audio({ media_url: audioUrl, expected_sections:
146
+ Script.sections.filter(({ narration }) => narration.trim()).map(
147
+ ({ id, narration }) => ({ id, text: narration })), fps })`
148
+ when a single continuous voiceover is used. This returns and persists an
149
+ authoritative narration cue sheet with measured section seconds and frame
150
+ ranges. Use it to decide scene boundaries before Storyboard; planned Script
151
+ ranges are not proof that generated speech lands in those ranges. This is
152
+ timing data, not a caption renderer: subtitle wording, grouping, placement,
153
+ typography, and motion remain inside the Composition.
154
+ 8. Plan scenes with exact time ranges that sum to the target duration.
155
+ Each narrated section must fit inside its linked visual scene using the real
156
+ speech timing from step 7. Give every substantial scene a `visualPlan` with
157
+ one dominant technical carrier, subject relationship, shot scale,
158
+ depth/composition intent,
159
+ background, and motion intent.
160
+ For `cutout` and `edge-video`, set `primaryAssetId` to the exact semantic ID
161
+ that will be passed to `prepare_visual_asset` and stored in Assets.
162
+ Store one `narrationTimingEvidence` record per narrated Script section in
163
+ Storyboard. Studio Run rejects Storyboard before asset generation when real
164
+ narration starts before or ends after its linked scene.
165
+ 9. Create a layout contract before writing code: frame hierarchy, readable text
166
+ and subject-avoidance zones, transition pattern, and the component/archetype
167
+ used by each scene. Persist this as the storyboard artifact before generating
168
+ visual assets.
169
+ 10. Create a compact asset-and-audio cue sheet before generating remaining
170
+ media: for each scene, name the real narration range, sound cue, main visual
171
+ layer, and whether its carrier is native, a full plate, a prepared cutout,
172
+ or an edge-matched generated video. If cutout or edge-video is selected,
173
+ read the Visual Asset Bridge and call `prepare_visual_asset` during Assets.
174
+ 11. Do not add a second generated audio layer after step 6. The audio decision
175
+ is already locked:
176
+ - Isolated standalone narration -> one `voiceover` generation.
177
+ - Voice/dialogue plus any music, soundtrack, ambience, UI blip, riser,
178
+ impact, or SFX -> one `mixed` generation.
179
+ - A truly separate non-speech asset requested by the user -> the matching
180
+ `music` or `sound_design` generation.
181
+ 12. Generate only the sticker/image assets chosen in the cue sheet. If an asset
182
+ is an overlay, read `skills/sticker-maker/SKILL.md` first and make it a
183
+ transparent PNG sticker instead of a hard-to-place rectangular image.
184
+ 13. Persist the asset manifest only after every referenced asset is ready.
185
+ Unless the user explicitly opted out of audio, voiceover and music must be
186
+ present in this manifest; do not close Assets before generating them.
187
+ 14. Build the video with `run_code({ runtime: "composition" })`.
188
+ 15. Use the durable autosaved `design_path` returned by `run_code` or the
189
+ numbered composition workspace, and run the Composition draft gate before
190
+ publishing or exporting. Calculate
191
+ the exact expected frame count, confirm the scene timeline covers it, inspect
192
+ every scene boundary plus the final visible frame with batched
193
+ `preview_frame` calls, and confirm all required audio props contain real URLs.
194
+ For every narrated Script section, add exactly one `subtitleSyncEvidence`
195
+ record that reuses its Storyboard narration range and links the Script
196
+ section, Storyboard scene, real narration range,
197
+ visual range, representative speaking frame, timing source, and the exact
198
+ `subtitleText` authored in the Composition at that frame. It may preserve
199
+ the spoken line or use concise `onScreenText` authored for that same Script
200
+ section; do not force every scene to display a verbatim transcript. It must
201
+ not borrow unrelated copy from another beat. Patch the draft until
202
+ this gate has no unresolved issue, then persist the composition artifact
203
+ with its real design path and evidence. Studio Run cross-checks timing and
204
+ semantic links against the persisted Script and Storyboard. Do not duplicate
205
+ already-rendered subtitle strings into props or editables merely to satisfy
206
+ metadata inspection; actual subtitle visibility and picture alignment are
207
+ verified from the representative Composition preview frames before export.
208
+ 16. Review means fixing the Remotion source itself. Keep using `preview_frame`
209
+ and `run_code` patch mode on the exact draft until visual, timing, subtitle,
210
+ audio, transition, and ending issues are resolved. Do not author a separate
211
+ Review JSON artifact.
212
+ 17. Publish that exact gated draft once with
213
+ `publish_draft({ design_path: "<exact-gated-path>" })`. Do not publish an
214
+ older timeline snapshot or use its `source` as the export source.
215
+ 18. Materialize the exact gated `design_path` once with
216
+ `materialize_media({ design_path })`. Studio Run selects the locked source
217
+ resolution automatically and returns after durable queue submission. When
218
+ the final MP4 is ready, the worker projects both Review and Delivery UI
219
+ states. Do not call `studio_run` to persist Review or Delivery, and do not
220
+ start another preview/review loop after materialization is queued.
221
+ A failed Studio Run artifact write or materialization is a blocker, not a
222
+ warning.
223
+
224
+ ## Audio And Sound Design Contract
225
+
226
+ Explainers should feel authored, not silent slide decks with narration pasted
227
+ on top. Use a unified audio bed in every narrated video unless the user
228
+ explicitly asks for silent, text-only, or voice-only output.
229
+
230
+ - Keep voiceover intelligible while the instrumental score remains clearly
231
+ audible as a co-leading layer. Keep ambience lower and avoid busy vocals.
232
+ Duck music by no more than 1-2 dB under spoken sections; use absolute
233
+ narration timestamps for volume changes so drift cannot accumulate across
234
+ scenes.
235
+ - For every narrated explainer, put continuous instrumental music, transition
236
+ whooshes, notification ticks, ambience, and other meaningful supporting
237
+ sounds into the same one-pass `mixed` prompt unless the user explicitly opts
238
+ out of music or supporting sound.
239
+ - Use the V3 performance-score shape from `audio.md`: `[MUSIC]`, `[VOICE]`,
240
+ `[SFX]`, and `[MIX]`. Give each spoken line its own emotional direction,
241
+ rather than one generic mood for the narrator.
242
+ - Make music a co-leading score rather than background filler. Keep its motif,
243
+ beat, bass, and harmony perceptible under every line; duck no more than
244
+ 1-2 dB and shorten narration before sacrificing music.
245
+ - Prefer one cohesive 30-90s unified soundtrack. Do not create separate
246
+ voiceover/music/effect generations for one final audio track.
247
+ - When an intro, interlude, or outro matters, shorten the narration enough to
248
+ reserve real speech-free time. Prompt timestamps express order and intent,
249
+ not frame-accurate truth; only the measured ASR cue sheet may drive Remotion.
250
+ - Audio duration must fit the video duration. Fade or trim music/effects at the
251
+ ending rather than extending the video.
252
+ - Use the `kind` field rather than searching for separate voiceover or music
253
+ tools. All new standalone audio generation uses Seed Audio.
254
+ - supplied audio files markers such as the supplied audio file are labels, not playable URLs.
255
+ Use the returned public `audioUrl` directly in Remotion `<Audio src={...}>`
256
+ props/code. Never put the supplied audio file inside composition props or `<Audio>`.
257
+
258
+ ## Subtitles As Composition
259
+
260
+ Every explainer video must have subtitles unless the user explicitly declines.
261
+
262
+ - Write subtitle text, timing data, JSX, and animation in the same composition
263
+ as the scenes they support. There is no required prop name, cue shape,
264
+ placement, container, or shared overlay.
265
+ - Treat subtitles as part of the visual direction. A scene may use restrained
266
+ dialogue captions, kinetic typography, integrated labels, or another readable
267
+ treatment that fits its subject and composition.
268
+ - For ordinary spoken captions, default to the lower safe area, centered, with
269
+ a maximum width around 78-86% of the canvas. Depart from this baseline only
270
+ when an intentional kinetic or integrated treatment better serves the scene.
271
+ - The default spoken-caption treatment should be refined and readable: a
272
+ semi-transparent dark background, subtle border or shadow, comfortable
273
+ horizontal padding, and no more than 1-2 lines. Implement it directly in the
274
+ scene Composition; do not introduce a shared caption renderer.
275
+ - Bring captions in with a restrained fade, slight rise, or readable type-on.
276
+ Avoid noisy per-character effects that make narration harder to follow.
277
+ - Use the narration script and the persisted `transcribe_audio` narration cue
278
+ sheet as source material. For narrated work, its measured ranges are
279
+ authoritative, and scene timing plus subtitle cues must share the same
280
+ Remotion FPS/timebase. Do not copy raw ASR output blindly; decide phrase
281
+ boundaries and timing as an editor. Merge adjacent short cues when ASR splits
282
+ a sentence too finely, without breaking the original timing.
283
+ - The displayed phrase may be a faithful spoken caption or concise kinetic copy
284
+ authored in the active Script section. Keep it semantically local to that
285
+ picture and narration beat; visual freedom is not permission to show generic
286
+ or next-scene copy.
287
+ - At representative speaking frames, require a three-way semantic match between
288
+ the visible subtitle or kinetic phrase, the current picture/action, and the
289
+ narration actually sounding at that frame. A readable phrase that describes
290
+ the previous or next scene is still out of sync.
291
+ - Check representative speaking frames with `preview_frame` for readability,
292
+ synchronization, subject occlusion, and visual coherence before publishing.
293
+ Captions must not cover the primary subject, charts, timeline labels, or
294
+ lower-third UI; patch their placement or the scene layout when they collide.
295
+ - In the Composition review loop, inspect every `subtitleSyncEvidence`
296
+ representative frame and compare its authored phrase, visible non-text
297
+ subject/action, and active narration beat. Patch the Remotion source when the
298
+ three do not align; do not create a second subtitle evidence document.
299
+ - `subtitleSyncEvidence` records only editorial timing and cross-artifact links.
300
+ They do not choose subtitle text styling, placement, grouping, JSX, or motion.
301
+
302
+ ## Generated Media And Sticker Inserts
303
+
304
+ Use generated assets when they improve the explainer. Do not make the whole
305
+ video a plain code-only slide deck.
306
+
307
+ - Decide asset placement before calling generation tools. A useful cue sheet
308
+ looks like: `Scene -> narration beat -> sound beat -> base Remotion motion ->
309
+ generated asset -> role -> entry/exit animation`.
310
+ - Prefer stickers for foreground insertions. Rectangular generated images are
311
+ harder to compose cleanly unless they are meant to be full-screen hero art,
312
+ framed product screenshots, or background plates.
313
+ - Generated images can be hero visuals, scene backgrounds, product-style
314
+ illustrations, conceptual inserts, or visual examples. Use them when the image
315
+ itself is the scene, not as a random decoration.
316
+ - Generated videos can be short 4-10s hero clips when real motion matters. For
317
+ an inset clip, generate quiet edges close to the intended background and use
318
+ `prepare_visual_asset({ mode: "edge-video" })` before Composition. Otherwise
319
+ use it as a full-frame plate.
320
+ - Sticker overlays are useful for transparent decorative/explanatory elements:
321
+ icons, mascots, arrows, labels, spark effects, props, satellites, rockets, UI
322
+ pointers, and visual emphasis.
323
+ - To create transparent overlays, read and follow
324
+ `skills/sticker-maker/SKILL.md`, then place the resulting PNG URL in the
325
+ Remotion composition with `<Img>`.
326
+ - Make sticker prompts composition-friendly: centered complete subject, clean
327
+ edges, no text, no watermark, chroma-key background as required by the sticker
328
+ workflow, and enough padding so motion does not crop the asset.
329
+ - Use stickers where they carry the visual idea: hook reveal, concept transition,
330
+ proof moment, recurring character performance, recap, or CTA.
331
+ - Prefer a coherent recurring asset system over unrelated one-offs. There is no
332
+ fixed sticker quota; each asset must pass the Visual Director's job gate.
333
+ - Animate sticker overlays as part of the explanation: float in, orbit, point,
334
+ stamp, connect two diagram nodes, or react to an audio hit. Do not leave them
335
+ static unless the scene needs a calm anchor.
336
+ - For generated or uploaded conversation files, use the literal explicit file
337
+ `explicit file references in Remotion props/code. `run_code` resolves it before
338
+ validation and rendering; never map files supplied in the conversation N to the 0-based
339
+ - Generated assets must serve one of three roles: main subject, explanatory
340
+ support, or tasteful decoration. Skip assets that are merely filler.
341
+
342
+ ## Scene Cue Sheet Pattern
343
+
344
+ Before writing Remotion code, turn the plan into a short cue sheet:
345
+
346
+ - `Audio`: voiceover cue range, subtitle cue, music/SFX volume change or hit.
347
+ - `Base motion`: the Remotion-native diagram, timeline, chart, typography, or
348
+ UI movement that carries the explanation.
349
+ - `Generated asset`: none, sticker PNG, full generated image, or short generated
350
+ video insert.
351
+ - `Asset role`: main subject, explanatory support, or decoration.
352
+ - `Compositing`: where it enters, how it moves, how it avoids subtitles, and how
353
+ it exits.
354
+
355
+ This keeps generated images from becoming awkward rectangular inserts and makes
356
+ audio, subtitles, Remotion motion, and stickers feel intentionally directed.
357
+
358
+ ## Remotion Creative Direction
359
+
360
+ The composition should feel like a real explainer, not a static slide deck.
361
+
362
+ - Start from the shared Remotion Director contract and selected
363
+ `remotion-video-director` creative direction: purpose,
364
+ audience, core message, emotional arc, scene archetypes, pacing, audio attitude,
365
+ and frame hierarchy.
366
+ - Use animated diagrams, timelines, callout labels, progress bars, map paths,
367
+ chart reveals, zooms, parallax, and clean scene transitions.
368
+ - Do not default to webpage structures: hero sections, card grids, pricing-like
369
+ panels, dense dashboard widgets, many pills, or static side-by-side blocks.
370
+ - Use time to stage, transform, and reveal the composition instead of flattening
371
+ every element into one static layout.
372
+ - In `run_code`, keep JavaScript/TypeScript syntax strict. All Chinese,
373
+ Japanese, Korean, emoji, and display copy must be inside quoted strings.
374
+ Use ASCII variable names and object keys unless they are quoted. Never leave
375
+ raw display words in code, because that causes parser errors such as
376
+ `Unexpected identifier`.
377
+ - Keep on-screen text intentional. Spoken captions may carry narration, while
378
+ concise kinetic or integrated text may carry the active scene beat.
379
+ - Design the frame hierarchy and visual density for the chosen subject and
380
+ creative direction.
381
+ - If user media exists, reference it with `references` and place it as footage,
382
+ screenshots, still panels, or masked inserts.
383
+ - For factual topics, avoid pretending to have live research. Use stable,
384
+ widely known facts or phrase uncertain details generically.
385
+
386
+ ## 60s Structure Template
387
+
388
+ - 0-6s: Hook: define the topic and why it matters.
389
+ - 6-16s: Context: show the before/after or key problem.
390
+ - 16-28s: Mechanism: explain the core system in simple visual layers.
391
+ - 28-40s: Proof: timeline, metrics, comparison, or real-world example.
392
+ - 40-52s: Implication: what changes for users, industry, or the future.
393
+ - 52-60s: Recap: three takeaways and a clean ending.
394
+
395
+ ## Completion Checklist
396
+
397
+ Before saying it is done:
398
+
399
+ - The Visual Invention Pass was available during Storyboard and Composition;
400
+ optional reference files were used only when relevant to the selected direction.
401
+ - The creative brief, scene plan, layout contract, and cue sheet were internally
402
+ created before code.
403
+ - `animation.durationInSeconds` matches the requested duration.
404
+ - Voiceover and generated audio fit within that duration, or are trimmed/faded
405
+ to fit.
406
+ - The composition is saved and published to the timeline.
407
+ - Unless the user explicitly opted out, the explainer contains one generated
408
+ unified soundtrack with voiceover, continuous instrumental music, ambience,
409
+ and meaningful effects.
410
+ - Subtitles are present, readable, synchronized to the narration, and composed
411
+ by the Agent in a treatment appropriate to each scene. Ordinary spoken
412
+ captions use the polished lower-safe-area baseline; intentional kinetic or
413
+ integrated text may depart from it. No fixed cue schema or shared caption
414
+ renderer is required.
415
+ - At least three `preview_frame` checks returned usable frames.
416
+ - Generated images/videos/stickers were used only when they made the
417
+ explanation clearer or more memorable.
418
+ - The final reply states what was created and where to view it, concisely.
419
+ - A Studio Run exists with schema-valid Agent-authored artifacts through
420
+ Composition; Review and Delivery are system-projected from materialization.
421
+ - The Studio Run reaches `completed`; no stage remains invalidated, pending, or
422
+ awaiting approval.
423
+ - The final MP4 is materialized from the exact reviewed Composition design path.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: ffmpeg
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's ffmpeg
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file analyze_video transcribe_audio run_code write_file preview_frame materialize_media
7
+ metadata:
8
+ makaron:
9
+ icon: "⌁"
10
+ color: "#d946ef"
11
+ tipsEnabled: false
12
+ builtIn: true
13
+ userSelectable: false
14
+ manifestVisible: false
15
+ sourceProject: "openmontage"
16
+ sourceSkill: "ffmpeg"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "media"
20
+ canonicalSkill: "video-ffmpeg-lab"
21
+ tags: [openmontage, agent-skill, media, native]
22
+ ---
23
+
24
+ # Ffmpeg
25
+
26
+ This is a Makaron-native adaptation of the OpenMontage capability. Preserve the
27
+ production intent, but use Makaron's existing tools and workspace contract. Do
28
+ not invoke OpenMontage Python tools, HyperFrames, or unexposed provider APIs.
29
+
30
+ ## Required Reading
31
+
32
+ 1. Follow this adapter before using tools.
33
+ 2. Read `skills/video-ffmpeg-lab/SKILL.md` and use it as the execution contract.
34
+
35
+ ## Execution Contract
36
+
37
+ - Use the Node media runtime and FFmpeg/FFprobe for exact file operations. Probe once, transform once, publish existing workspace output instead of re-running work.
38
+ - Keep provider and runtime claims honest. An adapted skill preserves the goal,
39
+ not an unavailable vendor implementation.
40
+ - Use project conversation files and workspace files as the source of truth.
41
+ - For auto-approved Studio Runs, batch adjacent text stages when possible,
42
+ preview hook/body/end in one contact sheet, publish once, and materialize once.
43
+ - If the exact capability is unavailable, stop with the concrete gap instead of
44
+ silently producing a different class of result.
45
+
46
+ ## Completion
47
+
48
+ Deliver a real probed file with the requested duration, dimensions, streams, and timeline publication.
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: grok-media
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's grok-media
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file analyze_image analyze_video generate_image generate_animation transcribe_audio run_code write_file
7
+ metadata:
8
+ makaron:
9
+ icon: "▶"
10
+ color: "#d946ef"
11
+ tipsEnabled: false
12
+ builtIn: true
13
+ userSelectable: false
14
+ manifestVisible: false
15
+ sourceProject: "openmontage"
16
+ sourceSkill: "grok-media"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "video-generation"
20
+ canonicalSkill: "photo-to-video"
21
+ tags: [openmontage, agent-skill, video-generation, native]
22
+ ---
23
+
24
+ # Grok Media
25
+
26
+ This is a Makaron-native adaptation of the OpenMontage capability. Preserve the
27
+ production intent, but use Makaron's existing tools and workspace contract. Do
28
+ not invoke OpenMontage Python tools, HyperFrames, or unexposed provider APIs.
29
+
30
+ ## Required Reading
31
+
32
+ 1. Follow this adapter before using tools.
33
+
34
+ ## Execution Contract
35
+
36
+ - Use Makaron video models and their real reference limits. With no source, call generate_animation as native text-to-video; with images, use image/reference-to-video; with a video, use the supported video-edit route. Submit once. Preserve the requested provider when supported; otherwise disclose the mapped native model and do not silently substitute.
37
+ - Keep provider and runtime claims honest. An adapted skill preserves the goal,
38
+ not an unavailable vendor implementation.
39
+ - Use project conversation files and workspace files as the source of truth.
40
+ - For auto-approved Studio Runs, batch adjacent text stages when possible,
41
+ preview hook/body/end in one contact sheet, publish once, and materialize once.
42
+ - If the exact capability is unavailable, stop with the concrete gap instead of
43
+ silently producing a different class of result.
44
+
45
+ ## Completion
46
+
47
+ Return a submitted or completed video with the selected model, duration, references, and next action made explicit.
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: hybrid
3
+ description: >
4
+ Makaron adapter with adapted support for OpenMontage's hybrid
5
+ production pipeline, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file studio_run prepare_visual_asset analyze_video analyze_image transcribe_audio generate_image generate_animation generate_audio run_code write_file preview_frame materialize_media
7
+ metadata:
8
+ makaron:
9
+ icon: "◫"
10
+ color: "#d946ef"
11
+ tipsEnabled: false
12
+ builtIn: true
13
+ userSelectable: false
14
+ manifestVisible: false
15
+ sourceProject: "openmontage"
16
+ sourceSkill: "hybrid"
17
+ sourceKind: "pipeline"
18
+ supportLevel: "adapted"
19
+ adapterFamily: "video-workflow"
20
+ canonicalSkill: "source-video-studio"
21
+ studioRunRecipe: "hybrid"
22
+ studioRunProfile: "source-led"
23
+ sourceMediaRequired: true
24
+ tags: [openmontage, pipeline, video-workflow, adapted, video, workflow, studio-run, remotion]
25
+ ---
26
+
27
+ # Hybrid
28
+
29
+ This is a Makaron-native adaptation of the OpenMontage capability. Preserve the
30
+ production intent, but use Makaron's existing tools and workspace contract. Do
31
+ not invoke OpenMontage Python tools, HyperFrames, or unexposed provider APIs.
32
+
33
+ ## Required Reading
34
+
35
+ 1. Follow this adapter before using tools.
36
+ 2. Read `skills/source-video-studio/SKILL.md` and use it as the execution contract.
37
+ 3. Read `skills/_shared/studio-production/production-contract.md` before starting substantial production.
38
+
39
+ ## Execution Contract
40
+
41
+ - Run the full Studio Run contract for substantial work. Preserve source evidence, make production choices explicit, and use the canonical Makaron workflow for execution.
42
+ - Start recipe `hybrid` and keep that recipe id through delivery.
43
+ - Keep provider and runtime claims honest. An adapted skill preserves the goal,
44
+ not an unavailable vendor implementation.
45
+ - Use project conversation files and workspace files as the source of truth.
46
+ - For auto-approved Studio Runs, batch adjacent text stages when possible,
47
+ preview hook/body/end in one contact sheet, publish once, and materialize once.
48
+ - If the exact capability is unavailable, stop with the concrete gap instead of
49
+ silently producing a different class of result.
50
+
51
+ ## Completion
52
+
53
+ Complete all applicable stages with an editable source, reviewed MP4, and delivery artifact.
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: localization-dub
3
+ description: >
4
+ Produce multi-locale subtitle, dub, or subtitle-plus-dub variants from one
5
+ accepted source; use video-translate for the single-video translation route.
6
+ allowed-tools: read_file studio_run prepare_visual_asset analyze_video transcribe_audio generate_audio run_code write_file preview_frame materialize_media
7
+ metadata:
8
+ makaron:
9
+ icon: "文"
10
+ color: "#f0abfc"
11
+ tipsEnabled: false
12
+ builtIn: true
13
+ userSelectable: true
14
+ manifestVisible: true
15
+ defaultAspectRatio: "16:9"
16
+ studioRunRecipe: "localization-dub"
17
+ studioRunProfile: "source-led-variant"
18
+ sourceMediaRequired: true
19
+ sourceProject: "openmontage"
20
+ sourceSkill: "localization-dub"
21
+ sourceKind: "pipeline"
22
+ supportLevel: "native"
23
+ adapterFamily: "video-workflow"
24
+ canonicalSkill: "localization-dub"
25
+ tags: [video, workflow, studio-run, localization, subtitles, dubbing, remotion]
26
+ ---
27
+
28
+ # Localization Dub
29
+
30
+ Use for campaign-style locale variants, subtitle-only variants, or multiple
31
+ language deliverables from one accepted source. For one translated video,
32
+ including Talking Head or VO replacement, read and follow
33
+ `skills/video-translate/SKILL.md` as the provider and timing contract.
34
+
35
+ ## Workflow
36
+
37
+ 1. Read `skills/_shared/studio-production/production-contract.md`, the shared
38
+ audio and review contracts, then `skills/video-translate/SKILL.md`.
39
+ 2. Start recipe `localization-dub`; lock source language, target locale(s),
40
+ subtitle/dub mode, voice expectation, and source runtime.
41
+ 3. Analyze and transcribe the source. The brief lists protected product names,
42
+ people, numbers, prices, legal text, and calls to action.
43
+ 4. Proposal concepts may vary voice, subtitle design, and localization tone, but
44
+ must preserve claims and source structure.
45
+ 5. The script artifact contains timed translated cues. Favor natural spoken
46
+ language over literal syntax without changing meaning.
47
+ 6. Follow `video-translate` independently for each locale: off-screen VO uses
48
+ Seed Audio, while a visible talking head uses SeeDance 2.0 after the source
49
+ edit. Fit phrasing to source timing; rewrite cues that drift more than 10%
50
+ instead of extending the video.
51
+ 7. Storyboard dense subtitle frames and final legal/CTA frames. Account for
52
+ longer target-language lines and safe areas.
53
+ 8. Compose locale variants in Remotion, preview dense text and closing copy,
54
+ materialize, and review timing, protected terms, readability, and audio sync.
55
+
56
+ ## Quality Bar
57
+
58
+ The localized version should feel written for the target audience while making
59
+ the same promises as the source. Dubbed audio is not described as lip-synced.