makaron-cli 0.17.1 → 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 (145) hide show
  1. package/.claude-plugin/plugin.json +2 -2
  2. package/.codex-plugin/plugin.json +5 -4
  3. package/README.md +45 -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-native/SKILL.md +89 -0
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: threejs-materials
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's threejs-materials
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file studio_run prepare_visual_asset analyze_image analyze_video generate_image generate_audio 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: "threejs-materials"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "composition"
20
+ canonicalSkill: "motion-design-video"
21
+ tags: [openmontage, agent-skill, composition, native]
22
+ ---
23
+
24
+ # Threejs Materials
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/motion-design-video/SKILL.md` and use it as the execution contract.
34
+
35
+ ## Execution Contract
36
+
37
+ - Translate the source craft into deterministic frame-driven Remotion. Use injected React, Remotion, and THREE primitives; external animation APIs are guidance unless Makaron explicitly exposes them.
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 an editable composition, preview the hook/body/ending, then materialize once.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: threejs-shaders
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's threejs-shaders
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file studio_run prepare_visual_asset analyze_image analyze_video generate_image generate_audio 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: "threejs-shaders"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "composition"
20
+ canonicalSkill: "motion-design-video"
21
+ tags: [openmontage, agent-skill, composition, native]
22
+ ---
23
+
24
+ # Threejs Shaders
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/motion-design-video/SKILL.md` and use it as the execution contract.
34
+
35
+ ## Execution Contract
36
+
37
+ - Translate the source craft into deterministic frame-driven Remotion. Use injected React, Remotion, and THREE primitives; external animation APIs are guidance unless Makaron explicitly exposes them.
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 an editable composition, preview the hook/body/ending, then materialize once.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: threejs-textures
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's threejs-textures
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file studio_run prepare_visual_asset analyze_image analyze_video generate_image generate_audio 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: "threejs-textures"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "composition"
20
+ canonicalSkill: "motion-design-video"
21
+ tags: [openmontage, agent-skill, composition, native]
22
+ ---
23
+
24
+ # Threejs Textures
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/motion-design-video/SKILL.md` and use it as the execution contract.
34
+
35
+ ## Execution Contract
36
+
37
+ - Translate the source craft into deterministic frame-driven Remotion. Use injected React, Remotion, and THREE primitives; external animation APIs are guidance unless Makaron explicitly exposes them.
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 an editable composition, preview the hook/body/ending, then materialize once.
@@ -0,0 +1,188 @@
1
+ ---
2
+ name: tiktok-video
3
+ description: Package accepted source-led footage for TikTok/Douyin in editable Remotion; compose first with talking-head and video-translate for visible-speaker editing or translation.
4
+ 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
5
+ metadata:
6
+ makaron:
7
+ icon: "▯"
8
+ color: "#ff5c72"
9
+ tipsEnabled: false
10
+ builtIn: true
11
+ defaultAspectRatio: "9:16"
12
+ sourceMediaRequired: false
13
+ tags: [video, tiktok, vertical, social, captions, safe-zone, remotion]
14
+ ---
15
+
16
+ # TikTok Video
17
+ Use this Skill after the Agent has chosen a source-led or explicitly editable
18
+ Composition workflow for a TikTok/Douyin deliverable: organic edits,
19
+ creator-style cuts, process footage, talking heads, product demos, UGC
20
+ packaging, and deterministic platform variants. TikTok or Douyin is a delivery
21
+ destination, not a production engine. Do not enter this Skill merely because
22
+ the platform is named.
23
+
24
+ For visible-speaker cleanup, read `skills/talking-head/SKILL.md`; for a language
25
+ change, read `skills/video-translate/SKILL.md`. Together the order is
26
+ `talking-head` → `video-translate` → `tiktok-video`: clean A-roll, verified
27
+ translation, then captions, B-roll, platform layout, composition, and export in the same request. Intermediate edits, chunks, and provider results are not delivery.
28
+
29
+ ## Read The Conditional References
30
+
31
+ - Before laying out any text, read
32
+ `skills/tiktok-video/references/platform-layout.md`.
33
+ - If the final piece contains narration or useful source speech, read
34
+ `skills/_shared/spoken-caption.md`, then
35
+ `skills/tiktok-video/references/caption-direction.md` before writing the
36
+ Script and again before composing the caption track.
37
+ - For the default VO-plus-BGM soundtrack and its shared timing contract, read
38
+ `skills/tiktok-video/references/audio-sync.md` before writing the Script.
39
+ - Before choosing Composition dimensions or writing the Composition, read
40
+ `skills/tiktok-video/references/delivery-qa.md`; read it again before Review
41
+ or Delivery.
42
+ - For a substantial editable production, also read
43
+ `skills/motion-design-video/SKILL.md`,
44
+ `skills/_shared/studio-production/production-contract.md`, and
45
+ `skills/_shared/remotion-director-contract.md`.
46
+
47
+ ## Choose The Production Route
48
+
49
+ - A generated audiovisual clip keeps native sound during caption/platform packaging; follow `skills/_shared/native-audiovisual.md`. This overrides the source-footage mute/VO default below.
50
+ - Decide the visual carrier before platform packaging. When the user asks for
51
+ newly imagined scenes, subject performance, transformation, cinematic camera
52
+ action, or motion generated from text/image/video references within the
53
+ selected provider's single-generation limit, read `prompts/animate.md` first
54
+ and use `generate_animation`. Carry TikTok framing, pacing, safe placement,
55
+ sound, and requested text into that generation script.
56
+ - Exact on-screen copy does not by itself require Remotion. A detailed shot
57
+ list also remains one provider-generation script when it fits the model's
58
+ duration limit. Do not generate a still and then fake the requested cinematic
59
+ motion with pans, gradients, UI blocks, or code.
60
+ - Existing timeline or source footage normally calls for an editable Remotion
61
+ composition with a deliberate hook, sound strategy, and native close.
62
+ - When the finished piece depends on authored captions, semantic keyword
63
+ emphasis, or branded text motion, keep that packaging in the editable
64
+ Remotion Composition. FFmpeg may normalize or trim source media, but a
65
+ missing `drawtext` filter is not permission to downgrade the final captions
66
+ to generic ASS subtitles or another renderer-owned fallback.
67
+ - Use this editable route when the source itself is the evidence, when the user
68
+ asks to cut/package existing footage, or when deterministic post-production
69
+ and later editability are explicit requirements.
70
+ - Unless the user explicitly asks for source sound, silence, music-only, or
71
+ another audio treatment, a source-footage TikTok defaults to muted clip audio
72
+ plus one finished soundtrack containing VO and instrumental BGM. This does
73
+ not require wall-to-wall narration; keep useful BGM-led breathing room.
74
+
75
+ ## Direct The Footage
76
+ An underspecified TikTok request is an invitation to direct. Inspect the whole
77
+ source set, propose genuinely different creator-native concepts, choose one
78
+ emotional engine or point of view, and commit to it. The result may be playful,
79
+ tactile, surprising, premium, intimate, urgent, quiet, or something else the
80
+ material supports; the choice must be visible in the final frames.
81
+
82
+ - Search for the strongest proof, reveal, reaction, human gesture, or tactile
83
+ payoff before accepting source order as story order. A finished result may
84
+ open and close the piece as a bookend.
85
+ - Begin with meaningful action, a result, or a specific question. Make the
86
+ proposition clear in the first few seconds without spending the opening on a
87
+ logo or generic slate.
88
+ - Cut on action, contact, material change, tool impact, or spoken emphasis.
89
+ Reframes, freezes, speed changes, match cuts, or longer satisfying holds are
90
+ choices, not a mandatory checklist.
91
+ - Treat source clips as visual material by default and mute their embedded
92
+ audio. If the user explicitly wants real ambience or a source-sound moment,
93
+ preserve it as a deliberate exception rather than letting every clip leak
94
+ into the VO/BGM mix.
95
+ - Turn the selected proposal into a small set of signature moves and
96
+ scene-specific promises, then implement them. A rich Storyboard must not
97
+ collapse into one reusable caption plus one reusable step label.
98
+
99
+ ## Keep Text Roles Distinct
100
+
101
+ Use only the roles the chosen concept needs:
102
+
103
+ - **Hook:** one clear curiosity, payoff, or point of view.
104
+ - **Spoken captions:** the part of the final speech currently being said.
105
+ - **Beat labels:** optional short reactions, proof labels, or step markers.
106
+ - **Close:** a brief payoff, question, loop-back, or CTA.
107
+
108
+ Do not render every role as the same lower-third component. One primary text
109
+ idea per beat is usually stronger than stacked hook, caption, label, badge, and
110
+ progress decoration.
111
+
112
+ ## Write Less, Say Something
113
+
114
+ For process footage, write only the speech the pictures cannot communicate as
115
+ clearly. Before approving the Script, challenge every spoken
116
+ line with a silent-viewing test: if the action already says it, remove the line
117
+ or compress it to a sharper observation.
118
+
119
+ Unless the user explicitly asks for continuous narration, a sequence of full
120
+ sentences covering nearly every scene is an over-written cut. Intentional
121
+ speech-free beats are valid. When speech is used, follow the shared Spoken
122
+ Caption micro-cue contract; do not turn Script sections into transcript cards.
123
+
124
+ ## Give Each Video Its Own Text Voice
125
+
126
+ Typography and caption packaging belong to the current concept, not to the
127
+ Skill itself.
128
+
129
+ - There is no default font family, black subtitle rectangle, left vertical
130
+ rule, lower-left anchor, accent color, or pop animation.
131
+ - Bold condensed all-caps is one possible voice, not a synonym for TikTok.
132
+ Match the type character to the footage: human, playful, tactile, technical,
133
+ premium, quiet, or another defensible direction.
134
+ - Text-only type, a restrained outline, selective word blocks, an authored
135
+ shape, or no spoken-caption track at all can each be right.
136
+ - Repeating a successful video's dark plaque, colored rail, font combination,
137
+ placement, and entrance across unrelated footage is a failed art-direction
138
+ pass, even when every element remains readable.
139
+ - Derive motion from the action and verbal beat. A clean cut, held phrase, mask
140
+ reveal, tracking change, camera-attached label, word reaction, or brief settle
141
+ may fit. Repeating one entrance is valid only when the repetition is an
142
+ intentional part of the concept, not the easiest reusable implementation.
143
+
144
+ When speech is present, follow the shared semantic-emphasis contract. The Agent
145
+ still owns the visual method, which must fit this video's concept and remain
146
+ visible at phone size.
147
+
148
+ ## Compose And Deliver
149
+
150
+ - Deliver full-screen `1080 × 1920` for the standard high-resolution TikTok
151
+ composition. The `720 × 1280` placement references are not final canvas or
152
+ export dimensions. Keep footage full-bleed unless the concept says otherwise.
153
+ - Keep the result editable and preserve the shared Spoken Caption host,
154
+ micro-cue, safe-placement, and text-integrity contract.
155
+ - Use the final narration-containing audio master and its `transcribe_audio`
156
+ word timing. Do not invent caption intervals or reuse timestamps from an
157
+ earlier take.
158
+ - Persist the section evidence and its word-timed micro-cue partition as one
159
+ data source, then derive spoken-caption Sequences, word emphasis, and linked
160
+ visual ranges from it. Every measured word belongs to exactly one consecutive
161
+ micro-cue. Do not manually retype a second schedule in JSX, FFmpeg arguments,
162
+ or subtitle files.
163
+ - For generated narration, `explicit-audio-placement` and Script estimates are
164
+ not ASR fallbacks. If measured transcription remains unavailable after one
165
+ retry, preserve the work and stop before narrated Composition or Delivery.
166
+ - Inspect every measured cue rather than trusting only the aggregate pass flag.
167
+ A take with a dropped final meaningful word or clipped clause is not the final
168
+ master: shorten or clarify that VO line and regenerate it before Storyboard.
169
+ - Use that same measured cue sheet for captions, visual emphasis, and linked
170
+ scene ranges. Script estimates and BGM beats are not speech-sync evidence.
171
+ - Review the selected concept against the rendered contact sheet. If the frames
172
+ are more generic than the proposal, repair the Composition.
173
+ - Resolve any closing phrase or CTA before the timeline ends. Review both the
174
+ final visible frame and the preceding half-second; an unfinished close is not
175
+ an intentional loop unless the concept clearly completes it elsewhere.
176
+ - The settled-font Preview is the Agent's composition gate. Studio MP4 export
177
+ finishes asynchronously, so batch, CLI, or later-turn acceptance must inspect
178
+ the encoded result rather than pretending the same Agent turn reviewed bytes
179
+ that did not exist yet. A clean Player does not waive a later export-only
180
+ collision, rewrap, or overlap.
181
+ - Finish the same valid Studio workflow. Do not bypass a persistence or Review
182
+ failure by publishing a private draft from another run, and do not substitute
183
+ a `fast_720p` recovery export for the standard final.
184
+
185
+ Official source baseline: TikTok for Business, “TikTok Auction In-Feed Ads,”
186
+ In-Feed Standard Version LTR downloadable overlay (updated June 2026), plus the
187
+ 2026 Creative Starter Pack and Creative Center guidance on hook/body/close,
188
+ sound, safe zones, and platform-native creative.
@@ -0,0 +1,58 @@
1
+ # TikTok Audio And Synchronization
2
+
3
+ Read `skills/_shared/speech-clock.md` first. It owns the one-ASR-result rule,
4
+ measured cue timing, mapping, and synchronization review for every speech-led
5
+ video. This reference only defines TikTok's default generated-audio route.
6
+
7
+ ## Default Audio Contract
8
+
9
+ An already generated audiovisual clip keeps its native soundtrack during
10
+ caption/branding packaging. Transcribe that video and do not mute it or generate
11
+ a replacement mix. This takes precedence over the source-footage default below.
12
+
13
+ For an under-specified source-footage TikTok, the default finished soundtrack
14
+ contains natural VO plus continuous instrumental BGM, while every source video
15
+ clip is muted. User direction for source sound, silence, music-only, isolated VO,
16
+ or another audio treatment overrides this default.
17
+
18
+ 1. Finish the concise Script first. Preserve speech-free beats; VO does not need
19
+ to fill the runtime. Keep the last spoken line comfortably clear of the hard
20
+ soundtrack boundary and leave an intentional BGM-only tail.
21
+ 2. Read `prompts/audio.md`, then normally call
22
+ `generate_audio({ kind: "mixed", ... })` once. Put the approved VO lines
23
+ verbatim in the voice section and direct an audible instrumental music arc
24
+ underneath them. Return one finished soundtrack, not stems. Generate a new
25
+ take only when duration, intelligibility, or transcription validation rejects
26
+ the previous take; never keep more than one accepted master in the timeline.
27
+ 3. Call `transcribe_audio` on that returned mixed-master URL with every narrated
28
+ Script section in `expected_sections` and the Composition `fps`. Do this
29
+ before Storyboard or Composition work.
30
+ Inspect each returned cue, not only the aggregate `verification.passed`
31
+ value. Reject a take when a cue drops its final meaningful word, truncates a
32
+ clause, or aligns only a fragment of the expected line, even if fuzzy
33
+ matching produces a passing overall score. Shorten or clarify the affected
34
+ line before generating the replacement; do not repeat the same crowded read.
35
+ 4. Apply the Speech Clock generated-master route. Persist the cue sheet and use
36
+ its identity mapping for Storyboard scenes, Remotion Sequences, captions,
37
+ emphasis, and visual beats.
38
+ 5. In the Composition, every source `<Video>` or `<OffthreadVideo>` is explicitly
39
+ silent (`volume={0}` or an equivalent deterministic mute). The generated
40
+ mixed master is the only audible layer unless the user requested a deliberate
41
+ source-sound exception.
42
+
43
+ Do not create separate VO and music generations for this default route. If
44
+ transcription cannot align the expected VO, shorten or clarify the audio prompt
45
+ and regenerate before composing.
46
+
47
+ If the user explicitly requests source sound plus music and no narration, treat
48
+ on-screen copy as editorial beat text rather than speech subtitles. Tie it to the
49
+ visible action and music structure, but do not claim VO/caption synchronization
50
+ or fabricate `transcribe_audio` evidence for speech that does not exist.
51
+
52
+ `explicit-audio-placement` is valid only when speech was intentionally placed at
53
+ known fixed offsets by the production itself. It is not a fallback clock for a
54
+ generated mixed master whose actual spoken timing has not been measured.
55
+
56
+ In addition to the shared review, confirm speech-free intervals are intentional
57
+ BGM-led beats, source clips are muted, the one mixed master is audible, and no
58
+ source audio leaks into the materialized MP4.
@@ -0,0 +1,36 @@
1
+ # TikTok Speech And Caption Direction
2
+
3
+ Read `skills/_shared/spoken-caption.md` first. It owns micro-cues, semantic
4
+ emphasis, layout integrity, and final-MP4 caption review. This reference contains
5
+ only TikTok/Douyin speech and art-direction choices.
6
+
7
+ ## Shape The Speech First
8
+
9
+ - Listen to the audio and read the transcript together. Remove narration that
10
+ merely describes visible action; preserve speech-free room unless the brief
11
+ benefits from a continuous creator monologue.
12
+ - Read the resulting cue sequence aloud. Reconsider a boundary that sounds
13
+ unfinished, creates a mechanical chopping rhythm, or weakens the creator's
14
+ point of view. Tighten and regenerate crowded VO instead of asking captions
15
+ to rescue an over-written Script.
16
+
17
+ ## Keep The Visual Direction Autonomous
18
+
19
+ - Treat feed readability as part of the hook. Use confident hierarchy, immediate
20
+ entrances, and selective emphasis that survives phone-size viewing without
21
+ making every word shout.
22
+ - Keep hooks, spoken captions, beat labels, and the close visually distinct.
23
+ Do not stack them just because the lower safe zone has space.
24
+ - Derive position and motion from the footage and verbal beat. A tool impact,
25
+ material change, gesture, reveal, or camera movement can motivate the caption
26
+ response; identical entrances need a creative reason.
27
+ - Respect `platform-layout.md` exclusion zones. Move around important action and
28
+ UI instead of locking every cue to one lower-third anchor.
29
+ - A plain ASS or `drawtext` subtitle track is a technical fallback, not an
30
+ automatic TikTok art direction. When authored typography, semantic emphasis,
31
+ or editable delivery matters, keep captions in the Composition. A deliberately
32
+ minimal caption can still be right, but it must be a creative choice visible
33
+ in Preview rather than a renderer limitation.
34
+
35
+ Typography remains Composition-owned. There is no required condensed font,
36
+ black plaque, left rail, accent color, caption position, or pop animation.
@@ -0,0 +1,84 @@
1
+ # TikTok Review And Delivery QA
2
+
3
+ Run two separate gates. Settled-font Preview is the Agent's composition gate;
4
+ the encoded MP4 is the acceptance gate once the asynchronous export exists.
5
+ Passing one never implies the other.
6
+
7
+ ## Composition Gate
8
+
9
+ Before publishing or materializing the editable composition:
10
+
11
+ 1. Preview the hook, a stable midpoint from every scene and every spoken-caption
12
+ cue, the longest single-line cue, every multi-line cue, the largest animated
13
+ text state, the final visible frame, and the frame half a second before the
14
+ end at the final `9:16` dimensions. Any intended close or CTA must be fully
15
+ resolved in one of those last frames. Scene-boundary samples do not
16
+ substitute for caption-cue midpoints.
17
+ 2. Compare essential bounds with the selected platform layout profile.
18
+ 3. Confirm no visible `\\n`, clipped glyphs, duplicate caption hosts, touching
19
+ rows, or caption/logo/UI collisions.
20
+ 4. Audit the native feel: meaningful opening action, a clear proposition, text
21
+ roles that differ, and no unexplained reuse of a dark plaque, left rail,
22
+ font combination, fixed placement, or identical entrance.
23
+ 5. Compare rendered frames with the selected proposal and Storyboard. Patch the
24
+ Composition if the plan is more distinctive than the output.
25
+ 6. Check frames immediately before and after every scene boundary. Trim,
26
+ playback-rate, or frame-rounding errors must not expose accidental black or
27
+ empty frames.
28
+ 7. Treat an interactive Player frame as provisional until pinned fonts have
29
+ settled. Use `preview_frame` for composition QA.
30
+ 8. Inspect the Composition audio graph: source video layers are explicitly
31
+ muted, one generated mixed master is audible, and every narrated cue maps to
32
+ the measured `transcribe_audio` evidence used by its caption and scene.
33
+ Check each cue's actual transcript for a complete ending; an aggregate
34
+ passing score does not excuse a dropped final word or clipped clause.
35
+ A generated narration master with failed or unavailable ASR blocks this gate;
36
+ Script estimates and `explicit-audio-placement` cannot satisfy it.
37
+ 9. Confirm the published Composition still owns authored caption typography and
38
+ semantic emphasis. Do not accept a generic ASS/`drawtext` burn-in created
39
+ only because a media-preparation renderer lacked the intended text filter.
40
+ 10. For each `subtitleSyncEvidence` section, flatten its ordered rendered
41
+ spoken-caption hosts and concatenate their micro-cue texts. The result must
42
+ reproduce the complete measured section with no dropped, duplicated,
43
+ paraphrased, or reordered word. Keyword styling may add spans but may not
44
+ remove the selected substring. Reject a colored rail or background when the
45
+ actual emphasized word is absent.
46
+
47
+ ## Encoded MP4 Acceptance
48
+
49
+ Ordinary Studio export completes asynchronously after the Agent queues
50
+ `materialize_media`; successful export automatically completes the product's
51
+ Review and Delivery states. Do not claim the Agent inspected an MP4 that did
52
+ not exist during its turn. When a batch test, CLI workflow, human reviewer, or
53
+ later Agent turn has the final encoded file, run this acceptance:
54
+
55
+ 1. Extract frames directly from the encoded file at the stable midpoint of every
56
+ spoken-caption cue, including the longest single-line cue, every multi-line
57
+ cue, every backed caption, and every cue whose font or emphasis changes
58
+ wrapping. Include stable and maximum-animation states.
59
+ 2. Compare those frames with the corresponding settled-font Preview. The MP4
60
+ is authoritative for glyph metrics, wrapping, line spacing, padding, and
61
+ backing geometry. A clean Preview cannot waive an export-only overlap.
62
+ 3. Inspect the encoded frames at phone size. Keyword emphasis must remain
63
+ visible and ordinary words must remain readable. Read the complete visible
64
+ cue, including its emphasized word; a surviving accent shape does not excuse
65
+ a keyword deleted by caption assembly.
66
+ 4. Decode the complete video stream, verify `1080 × 1920`, duration, ending,
67
+ source contribution, audio presence, and scene-boundary coverage. A render
68
+ job reporting success is not delivery acceptance.
69
+ Extract the final visible frame and the frame half a second before it; reject
70
+ an unfinished closing phrase, CTA, or reveal that simply runs out of frames.
71
+ Listen for both VO and BGM and reject leaked source audio. Compare the spoken
72
+ line, visible caption, and linked picture at cue midpoints and boundaries;
73
+ the spoken caption follows the actual transcript rather than paraphrasing a
74
+ truncated take.
75
+ Compare the Composition cue data with the encoded frame changes; a second
76
+ manually retyped subtitle schedule is a synchronization failure even when a
77
+ few sampled midpoints happen to look close.
78
+ 5. If encoding introduces a rewrap, touching rows, duplicate glyphs, clipping,
79
+ black gap, or different text geometry, return to the same editable
80
+ Composition in a repair turn, fix the local issue, materialize again, and
81
+ repeat this acceptance.
82
+
83
+ Do not complete Delivery when visual review is unavailable. Preserve the
84
+ editable draft and report the block instead of publishing blind.
@@ -0,0 +1,62 @@
1
+ # TikTok Platform Layout
2
+
3
+ Read this before placing titles, captions, logos, prices, disclaimers, or calls
4
+ to action. Platform chrome is a set of independent exclusion zones, not one
5
+ centered safe rectangle.
6
+
7
+ ## Canvas
8
+
9
+ - Standard high-resolution composition: `1080 × 1920`.
10
+ - The `720 × 1280` coordinates below are placement references only. Never use
11
+ them as the final Composition or export dimensions.
12
+ - Background footage, color, and nonessential atmosphere may bleed to every
13
+ edge. Do not letterbox a vertical deliverable.
14
+ - Keep the primary face, hands, tool, or product readable while allowing
15
+ nonessential motion to cross exclusion zones.
16
+
17
+ ## Organic LTR Profile
18
+
19
+ At the `720 × 1280` reference size, avoid these independent UI holes:
20
+
21
+ - top app chrome: `x=0..720`, `y=0..80`;
22
+ - right interaction rail: `x=600..720`, `y=400..1040`;
23
+ - bottom-left metadata for a short post caption: `x=0..560`, `y=1100..1280`.
24
+
25
+ At `1080 × 1920`, those become:
26
+
27
+ - top app chrome: `y=0..120`;
28
+ - right interaction rail: `x=900..1080`, `y=600..1560`;
29
+ - bottom-left metadata: `x=0..840`, `y=1650..1920`.
30
+
31
+ If the post caption may occupy several lines or an interactive add-on is
32
+ present, use the more conservative bottom-left exclusion `x=0..840`,
33
+ `y=1560..1920` at 1080p. TikTok UI varies by device, locale, caption length,
34
+ and feature flags, so final platform preview remains authoritative.
35
+
36
+ ## Auction In-Feed Standard LTR Profile
37
+
38
+ TikTok's June 2026 `720 × 1280` template has a non-rectangular usable region:
39
+
40
+ - broad content bounds: `x=80..640`, `y=160..840`;
41
+ - lower-right interaction exclusion: `x=520..640`, `y=560..840`.
42
+
43
+ At `1080 × 1920`, those become:
44
+
45
+ - broad content bounds: `x=120..960`, `y=240..1260`;
46
+ - lower-right exclusion: `x=780..960`, `y=840..1260`.
47
+
48
+ An upper title may use the full broad width because the right interaction rail
49
+ starts lower. Do not shrink every element into the intersection of all zones.
50
+
51
+ ## Placement Review
52
+
53
+ 1. Compare each essential element's actual bounding box with the matching
54
+ profile and exclusion zones.
55
+ 2. Position text scene by scene around the focal action; lower-middle is an
56
+ option, not a fixed coordinate.
57
+ 3. Keep intended line breaks inside the available lane and never accept visible
58
+ `\\n` characters.
59
+ 4. Do not imitate TikTok interface controls or bake a TikTok watermark into the
60
+ creative.
61
+ 5. RTL, TopView, anchors, cards, and other interactive add-ons require their
62
+ own placement template; do not mirror this LTR profile by assumption.