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,220 @@
1
+ ---
2
+ name: video-ffmpeg-lab
3
+ description: Real MP4 editing mindset for Makaron Agent using run_code runtime=node, FFmpeg, FFprobe, and workspace outputs.
4
+ allowed-tools: run_code generate_animation analyze_video transcribe_audio write_file
5
+ ---
6
+
7
+ # Video FFmpeg Lab
8
+
9
+ Use `run_code` with `runtime: "node"` whenever the user asks for real file-level MP4 operations: split, exact trim/export, transcode, resize, crop, extract frames, preserve audio, replace audio, or prepare long videos for Seedance/Kling.
10
+
11
+ Use this skill for file truth, not design truth:
12
+
13
+ - Choose FFmpeg when the user cares about an existing MP4 as a file: exact duration, codecs, chunking, audio, export format, model-sized chunks, or final file-level deliverables.
14
+ - Choose Remotion/composition runtime when the user wants editable timelines, two existing conversation files cut together, typography systems, reusable title cards, overlays, transitions, subtitles, or patchable code.
15
+ - A common long-video generation pipeline is FFmpeg first, model generation second, file-level assembly last. Remotion is separate and optional unless the user wants an editable timeline layer.
16
+ - Do not use Remotion to fake a source-video split/export task. Do not use FFmpeg when the request is really "put these conversation files together in an editable sequence."
17
+
18
+ This is intentionally a recipe skill, not a narrow tool. You have a full Node backend:
19
+
20
+ - `require('fs')`, `require('path')`, `require('child_process')`
21
+ - `ffmpegPath`
22
+ - `ffprobePath` may be empty in deployment. Prefer `probeVideo(path)` instead of calling ffprobe directly.
23
+ - `workspaceDir`
24
+ - `inputFiles` from `references` and `workspace_paths`, already resolved to local files
25
+ - `outputDir` for generated files
26
+ - `saveOutput(localPath, workspacePath?, contentType?)`
27
+ - `probeVideo(path)`
28
+
29
+ Use explicit source/reference files in the tool call. For remote composition code and props, use the confirmed URL returned by importing that exact file. For the Node media runtime, use the resulting inputFiles paths.
30
+
31
+ Transcript rule: when the requested cut point depends on spoken words, subtitles, dialogue, or "the part where they say ...", call `transcribe_audio` before `run_code`. Use the returned utterance/word timestamps as the segment plan; do not guess speech timing from `analyze_video`.
32
+
33
+ Publish rule: if FFmpeg produces user-facing MP4 deliverables, publish them to the timeline immediately with `write_file({ fromWorkspaceOutputs: true, mediaType: "video", limit: N })` or exact `workspacePaths` before saying the task is complete. Examples: "split this video into 3 parts", "cut the first 10 seconds", "trim/export this clip", "transcode this MP4". If FFmpeg already exported workspace images/videos and the user later says "publish/send them to timeline", publish existing outputs; do not re-run the FFmpeg cut just to publish.
34
+
35
+ Probe rule: do not spend a separate `run_code` call only to probe before a simple split. In one node run, call `probeVideo(input)` and fall back to `inputFiles[0].duration`, `ctx.media[0].duration`, or explicit user-stated cut points. If the user says "30s into 3 x 10s", cut those ranges directly in the same run.
36
+
37
+ ## Think in FFmpeg primitives
38
+
39
+ Do not memorize one tool per request. Translate the user's intent into a small graph:
40
+
41
+ - Inspect: `probeVideo(input)` for duration, size, fps, codecs.
42
+ - Select time: trim, split into equal parts, split by max duration, or cut around highlights.
43
+ - Transform image: scale, crop, pad, rotate, stabilize-ish crop, color grade, overlay text/image.
44
+ - Transform sound: keep audio, mute, normalize, replace BGM, delay, fade in/out.
45
+ - Assemble file deliverables: stitch generated chunks, mux audio, make proxy/preview, export mobile MP4.
46
+ - Verify: probe every MP4 and return useful descriptions.
47
+
48
+ For Makaron UX, prefer H.264/AAC/yuv420p with `-movflags +faststart` unless the user asks for another format.
49
+
50
+ ## Model capability mindset
51
+
52
+ Do not hardcode one workflow per model. Treat model limits as capabilities:
53
+
54
+ - `maxReferenceVideoDuration`: longest source/reference clip the model can accept.
55
+ - `referenceVideoSize`: provider input size constraints such as file size, width/height, aspect ratio, and frame pixels.
56
+ - `maxOutputDuration`: longest generated output duration per task.
57
+ - `longVideoChunkSeconds`: target FFmpeg chunk length for long-video pipelines.
58
+ - `supportsBaseVideoEdit`: whether direct base video editing is supported.
59
+
60
+ Current known defaults:
61
+
62
+ | Model | Chunk target | Reference duration | Reference size | Notes |
63
+ | --- | ---: | ---: | --- | --- |
64
+ | SeeDance | 15s | 15.5s | <=50MB; width/height 300-6000px; aspect ratio 0.4-2.5; frame pixels 409,600-2,086,876 | Default video model, higher quality, feature/reference mode preferred. The lower frame-pixel bound matters: tiny videos must be resized/padded before submission. |
65
+ | Kling | 15s | 10.5s | <=200MB; resolution <=2K; no documented video resolution lower bound | Cheaper option, supports base video edit when capability allows it. |
66
+
67
+ If a new model appears, follow its capability/tool error messages instead of inventing a new case. The long-video generation workflow stays the same: probe → segment to accepted duration → generate per segment → assemble generated outputs.
68
+
69
+ When the user asks to make the run cheaper, prefer Kling only when the requested source duration, reference-video mode, text/audio needs, and tool errors indicate Kling can support it. If Kling cannot handle the requested operation, say so briefly and continue with SeeDance.
70
+
71
+ ## Segment planner pattern
72
+
73
+ Use this one pattern for "split into two", "make <=15s chunks", "cut first 5s", or "prepare for Seedance". Change only `segments`.
74
+
75
+ ```js
76
+ const { execFile } = require('child_process');
77
+ const { promisify } = require('util');
78
+ const path = require('path');
79
+ const exec = promisify(execFile);
80
+
81
+ if (!inputFiles.length) throw new Error('Missing references. Call run_code again with references: [{ path: "inputs/reference.jpg", role: "reference" }] for the supplied source.');
82
+ const input = inputFiles[0].inputPath;
83
+ const info = await probeVideo(input).catch(() => ({}));
84
+ const duration = info.duration || inputFiles[0].duration || ctx.media?.[0]?.duration || 0;
85
+
86
+ // Pick ONE segment plan:
87
+ const parts = [
88
+ // If the user explicitly requested 30s split into 3 equal videos:
89
+ { start: 0, len: 10, label: 'Part 1' },
90
+ { start: 10, len: 10, label: 'Part 2' },
91
+ { start: 20, len: 10, label: 'Part 3' },
92
+
93
+ // Exactly two videos:
94
+ // { start: 0, len: duration / 2, label: 'Part 1' },
95
+ // { start: duration / 2, len: duration / 2, label: 'Part 2' },
96
+
97
+ // Or <=15s chunks:
98
+ // ...Array.from({ length: Math.ceil(duration / 15) }, (_, i) => ({
99
+ // start: i * 15,
100
+ // len: Math.min(15, duration - i * 15),
101
+ // label: `Part ${i + 1}`,
102
+ // })),
103
+ ];
104
+
105
+ const outputs = [];
106
+ for (const [i, part] of parts.entries()) {
107
+ const out = path.join(outputDir, `part-${String(i + 1).padStart(2, '0')}.mp4`);
108
+ await exec(ffmpegPath, [
109
+ '-ss', String(part.start),
110
+ '-i', input,
111
+ '-t', String(part.len),
112
+ '-c:v', 'libx264',
113
+ '-pix_fmt', 'yuv420p',
114
+ '-c:a', 'aac',
115
+ '-movflags', '+faststart',
116
+ out,
117
+ ]);
118
+ const probe = await probeVideo(out);
119
+ outputs.push({ path: out, contentType: 'video/mp4', description: `${part.label}: ${probe.duration?.toFixed(2)}s` });
120
+ }
121
+
122
+ return { type: 'files', outputs };
123
+ ```
124
+
125
+ After a split run, treat the returned files as a manifest. Do not run the same split again unless the source video, model limit, or requested cut points changed.
126
+
127
+ For direct split/trim/export requests, `type: "files"` contains the MP4 deliverables. Do not stop at workspace paths: immediately publish those exported MP4s to the timeline with one `write_file({ fromWorkspaceOutputs: true, mediaType: "video", limit: N })` call so the user can see them. Do not start a second `run_code` just to re-open a file from the previous temp directory; reuse workspace paths with `workspace_paths` when more assembly is needed.
128
+
129
+ ## Final file assembly pattern
130
+
131
+ Use this only after a workflow has produced file-level chunks that need one exported MP4, such as generated long-video segments. Do not use this as the default for "put two existing conversation files together"; that is Remotion composition work.
132
+
133
+ ```js
134
+ const { execFile } = require('child_process');
135
+ const { promisify } = require('util');
136
+ const fs = require('fs/promises');
137
+ const path = require('path');
138
+ const exec = promisify(execFile);
139
+
140
+ if (inputFiles.length < 2) throw new Error('Missing references. Call run_code again with references for every clip, e.g. [1, 2].');
141
+ const listPath = path.join(outputDir, 'concat.txt');
142
+ await fs.writeFile(
143
+ listPath,
144
+ inputFiles.map(f => `file '${f.inputPath.replace(/'/g, "'\\''")}'`).join('\n')
145
+ );
146
+
147
+ const out = path.join(outputDir, 'final.mp4');
148
+ await exec(ffmpegPath, [
149
+ '-f', 'concat',
150
+ '-safe', '0',
151
+ '-i', listPath,
152
+ '-c:v', 'libx264',
153
+ '-pix_fmt', 'yuv420p',
154
+ '-c:a', 'aac',
155
+ '-movflags', '+faststart',
156
+ out,
157
+ ]);
158
+
159
+ const probe = await probeVideo(out);
160
+ return {
161
+ type: 'video',
162
+ path: out,
163
+ contentType: 'video/mp4',
164
+ description: 'Final stitched MP4',
165
+ duration: probe.duration,
166
+ width: probe.width,
167
+ height: probe.height,
168
+ };
169
+ ```
170
+
171
+ ## Useful command shapes
172
+
173
+ Use these as building blocks inside the segment planner or assembly pattern:
174
+
175
+ ```js
176
+ // Trim without re-encoding when speed matters and keyframe precision is acceptable:
177
+ ['-ss', '10', '-i', input, '-t', '5', '-c', 'copy', out]
178
+
179
+ // Precise trim / mobile-safe transcode:
180
+ ['-ss', '10', '-i', input, '-t', '5', '-c:v', 'libx264', '-pix_fmt', 'yuv420p', '-c:a', 'aac', '-movflags', '+faststart', out]
181
+
182
+ // Resize/crop for platform formats:
183
+ ['-i', input, '-vf', 'scale=1080:-2,crop=1080:1350', '-c:v', 'libx264', '-pix_fmt', 'yuv420p', '-c:a', 'aac', out]
184
+
185
+ // Extract analysis frames:
186
+ ['-i', input, '-vf', 'fps=1,scale=720:-1', '-q:v', '3', path.join(outputDir, 'frame-%03d.jpg')]
187
+
188
+ // Replace audio with a generated or uploaded BGM:
189
+ ['-i', input, '-i', bgm, '-map', '0:v:0', '-map', '1:a:0', '-shortest', '-c:v', 'copy', '-c:a', 'aac', out]
190
+
191
+ // Mute:
192
+ ['-i', input, '-an', '-c:v', 'libx264', '-pix_fmt', 'yuv420p', out]
193
+ ```
194
+
195
+ ## Long-video style transfer through video models
196
+
197
+ 1. Analyze/probe the source video.
198
+ 2. Choose model capability: SeeDance is default; Kling is cheaper when it supports the request.
199
+ 3. Use the segment planner once to create model-sized chunks: Kling `<=15s`, SeeDance `<=15s`.
200
+ 4. Save chunks to workspace and keep the returned manifest in the conversation.
201
+ 5. Call `generate_animation` for each chunk with the user's requested model and the same style direction.
202
+ 6. Use the assembly pattern to stitch generated chunks.
203
+ 7. Publish only the final MP4 with `write_file({ fromLastRunCode: true, name: "..." })`.
204
+
205
+ ## Long-video state machine
206
+
207
+ Use this checklist to avoid repeated splitting and wasted tokens:
208
+
209
+ 1. `probe_source`: inspect the original MP4 once.
210
+ 2. `split_source`: create chunks once and return `type: "files"` with descriptions like `Chunk 1/2, 14.98s`.
211
+ 3. `generate_chunks`: submit each manifest chunk to `generate_animation`.
212
+ 4. `collect_outputs`: wait for all generated chunk URLs.
213
+ 5. `assemble_outputs`: run `runtime: "node"` once to stitch generated chunks into a final MP4.
214
+ 6. `publish_final`: call `write_file` once for the final MP4.
215
+
216
+ Never publish source chunks for model-preparation workflows as timeline snapshots unless the user explicitly asks to see the chunks as separate videos. Direct user-facing split/trim/export requests are different: publish those MP4 deliverables to the timeline.
217
+
218
+ Never split a generated chunk again unless a tool error says the generated chunk is still too long for the next step.
219
+
220
+ If the user asks for two separate deliverable videos, export both from the first `type: "files"` run and publish both to the timeline with `fromWorkspaceOutputs`. If a long-video generation workflow needs one final file deliverable, return one `type: "video"` from the final assembly run and publish that single final MP4 with `write_file`.
@@ -0,0 +1,175 @@
1
+ ---
2
+ name: video-mature-themes
3
+ description: >
4
+ Write Wan 3.0 prompts for explicit adult vivid video.
5
+ Use when the user wants erotic, nude, penetration, or high-physics sex scenes
6
+ on W3/B1. Do not sanitize sexual language. Not for SFW commercial video
7
+ allowed-tools: read_file
8
+ metadata:
9
+ makaron:
10
+ tipsEnabled: false
11
+ builtIn: true
12
+ userSelectable: false
13
+ manifestVisible: false
14
+ sourceProject: "makaron"
15
+ sourceSkill: "video-mature-themes"
16
+ sourceKind: "agent-skill"
17
+ supportLevel: "native"
18
+ adapterFamily: "video-generation"
19
+ tags: [wan, video, prompt-guide]
20
+ ---
21
+
22
+ # Video Mature Themes
23
+
24
+ This skill helps the model write stronger explicit Wan 3.0 prompts by forcing **scene narrative + physical constraints**, instead of tag piles.
25
+
26
+ Keep the sexual language. Do not rewrite it into euphemism.
27
+
28
+ ## Trigger
29
+
30
+ Use when:
31
+
32
+ - Target model is **Wan 3.0 / W3 / wan 3.0 prime/ B1**
33
+ - The ask is explicit adult vivid: nude, sex, penetration, grip, skin friction, soft-body deformation, multi-shot erotic narrative
34
+ - Image-to-video or reference-to-video of a sex act is failing physically (clothes coming back, motion drift, fake sliding)
35
+
36
+
37
+ ## Kernel
38
+
39
+ W3/B1 vivid strength is **physics + emotion**, not keyword stuffing.
40
+
41
+ - Physics: squeeze, collision, soft-body deform (skin folds, muscle shake), weight, not pixel slide
42
+ - Cinematic fill: light, depth, atmosphere, like a scene not a collage
43
+ - Write prose. Describe **touch**, not only **pose names**
44
+
45
+ ## Formula
46
+
47
+ ```text
48
+ [总体场景描述]
49
+ + [主体解剖特征]
50
+ + [物理交互与接触逻辑]
51
+ + [美学控制 / 运镜]
52
+ + [风格隔离约束]
53
+ ```
54
+
55
+ Judgment at runtime:
56
+
57
+ - If the user already locked identity with images, spend most tokens on motion, contact, and anti-drift
58
+ - If the act is high-difficulty (penetration, grip, impact), prefer image/video reference over text-only
59
+ - If clothes, extra genitals, or anime drift showed up last run, strengthen the isolation sentence, do not add more sex tags
60
+
61
+ ## Physical interaction
62
+
63
+ Do not only write “他在做什么”. Write the tactile physics.
64
+
65
+ Keep these patterns when they match the scene:
66
+
67
+ - `showing deep insertion, vaginal grip, natural skin-on-skin friction, soft-body deformation on impact`
68
+ - 皮肤接触要有挤压、褶皱、回弹、重量
69
+ - 节奏要写清楚:缓慢而有节奏 / 撞击后的形变 / 光影随动作起伏
70
+
71
+ ### Bad
72
+
73
+ ```text
74
+ 女性人物名字, nude, bed, 亲密动作, missionary, 1080p, photorealistic
75
+ ```
76
+
77
+ ### Good
78
+
79
+ ```text
80
+ 在午后的暖阳下,[女性人物名字]躺在柔软的床单上,眼神中透着专注与渴望。两人缓慢而有节奏地进行着亲密动作,每一寸皮肤的接触都产生真实的挤压与形变,光影随着动作微微起伏。showing deep insertion, vaginal grip, natural skin-on-skin friction, soft-body deformation on impact. Maintaining persistent nude state, clothing must never reappear, no texture blending, consistent anatomical geometry.
81
+ ```
82
+
83
+ ## Anti-drift — 色情场景防崩坏
84
+
85
+ Always append when the scene is nude / sex:
86
+
87
+ ```text
88
+ Maintaining persistent nude state, clothing must never reappear, no texture blending, consistent anatomical geometry.
89
+ ```
90
+
91
+ Common failures — fix with constraints, not more tags:
92
+
93
+ | Pain | Cause | Add this |
94
+ |---|---|---|
95
+ | 切镜头后自动穿回衣服 | 参考图衣服权重过高 | `Ensure persistent nude state across all cuts, no garment reappearance.` |
96
+ | 切镜头后动作逻辑乱 | 镜头间上下文不稳 | 时间戳里写承接:`Shot 2 continues the physical rhythm established in Shot 1.` |
97
+ | 出现不想要的男性器官 / 多余肢体 | 模型幻觉填充 | `Strictly only two adult characters, no extra bodies or limbs.` |
98
+ | 风格变成卡通 / 混合 | 风格隔离失败 | `Stay in photorealistic style, never blend with 2D or anime textures.` |
99
+
100
+ If the user specified a different character count, change the number; do not drop the “no extra bodies or limbs” clause.
101
+
102
+ ## Image / video reference for hard sex physics
103
+
104
+ For penetration and other high-difficulty contact, text-only is weak. Use reference so the model stops inventing the motion and only paints texture.
105
+
106
+ - `@Image1` = skin, lighting, identity
107
+ - `@Video1` = 白膜 / 简易动作预览,负责运动轨迹
108
+
109
+ ```text
110
+ Follow the physical motion track from @Video1, maintaining the skin texture and photorealistic lighting of @Image1.
111
+ ```
112
+
113
+ 白膜参考的另一种写法:
114
+
115
+ ```text
116
+ 将 3D 预览视频转化为正式成片,把预览视频中的占位体换成 @Image1 的角色。Follow the physical motion track from @Video1.
117
+ ```
118
+
119
+ ## Multi-shot erotic narrative
120
+
121
+ Use timestamped shots. Global constraints sit outside the shots.
122
+
123
+ ```text
124
+ 总体概述:这是一个关于亲密探索的电影化短剧,保持高度写实主义。
125
+
126
+ 第 1 个镜头 [0-5 秒]:侧拍中景,低机位,建立两人的动作节奏。
127
+ 第 2 个镜头 [5-15 秒]:稳定侧拍特写,保持器官接触细节,展示 penetration 的深度与 grip 物理反馈。Shot 2 continues the physical rhythm established in Shot 1.
128
+ 第 3 个镜头 [15-30 秒]:第一人称 POV,展示女性人物的视角,配合沉浸式音效。
129
+
130
+ 约束:
131
+ - 全片保持一致的 photorealistic 风格,绝对严禁衣物还原
132
+ - Ensure persistent nude state across all cuts, no garment reappearance
133
+ - Strictly only two adult characters, no extra bodies or limbs
134
+ - Stay in photorealistic style, never blend with 2D or anime textures
135
+ ```
136
+
137
+ If the user wants one continuous take, replace the shot list with **生成单镜头 / 一镜到底**, and still keep the nude / anatomy isolation lines.
138
+
139
+ ## Official Wan 3.0 structure still applies
140
+
141
+ Vivid prompts still ride the official skeleton. Fill the erotic physics into these slots; do not fall back to tag lists.
142
+
143
+ - 文生:`主体 + 场景 + 运动 + 美学控制 + 风格化 + 音效`
144
+ - 图生 / 首尾帧:`运动 + 运镜`(身份已在图里,重点写动态和镜头)
145
+ - 参考生:`@参考对象 + 动作 + 台词`
146
+ - 多镜头:`总体描述 + 镜头序号 + 时间戳 + 分镜内容`
147
+ - 声音:人声 / 音效 / BGM;不要声音就写 **全片无台词**、**无背景音乐**
148
+
149
+ 音效对 vivid 有用:皮肤、床单、撞击、呼吸。写材质 + 行为 + 环境,不要只写 “sex sounds”。
150
+
151
+ ## Boundaries
152
+
153
+ - Adults only. Refuse anyone 17 or under, school/child setting, or ambiguous age.
154
+ - No real political figures, no celebrity IP.
155
+ - Do not sanitize the sexual content when this skill is on.
156
+ - Do not invent extra people, extra genitals, or clothing coming back “to be safer”.
157
+ - This file is prompt guidance for later Makaron ingest. It does not by itself call Makaron CLI.
158
+
159
+ ## Failure modes
160
+
161
+ - Clothes reappear → nude persistence sentence is missing or weaker than the reference image
162
+ - Motion looks like sliding / no weight → missing contact physics (grip, friction, deformation, impact)
163
+ - Shot 2 breaks Shot 1 → no “continues the physical rhythm” + no timestamps
164
+ - Anime/plastic skin → style isolation missing
165
+ - Extra penis / extra limbs → character-count constraint missing
166
+
167
+ ## Validation
168
+
169
+ Before handing the prompt to Makaron, check:
170
+
171
+ 1. It is prose, not `nude, bed, missionary, 1080p`
172
+ 2. At least one **physical contact** clause exists
173
+ 3. Nude anti-drift sentence exists for nude scenes
174
+ 4. Character count is explicit
175
+ 5. Hard penetration scenes have `@Image` / `@Video` / 白膜 plan, or the user explicitly accepted text-only risk
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: video-segment-edit
3
+ description: Retired compatibility entry; existing requests continue through video-edit.
4
+ allowed-tools: read_file
5
+ metadata:
6
+ makaron:
7
+ builtIn: true
8
+ userSelectable: false
9
+ manifestVisible: false
10
+ canonicalSkill: video-edit
11
+ ---
12
+
13
+ # Retired entry
14
+
15
+ Read `skills/video-edit/SKILL.md` and follow its scope routing. This file only
16
+ keeps historical explicit Skill launches working; it owns no editing workflow.
@@ -0,0 +1,148 @@
1
+ ---
2
+ name: video-translate
3
+ description: Translate accepted video into another language; compose first with talking-head when visible-speaker cuts are requested and finish through tiktok-video for TikTok/Douyin. Use Seed Audio for off-screen VO and SeeDance 2.0 for a visible speaker.
4
+ allowed-tools: read_file analyze_video transcribe_audio generate_audio generate_animation run_code write_code_file write_file preview_frame publish_draft materialize_media generate_image
5
+ metadata:
6
+ makaron:
7
+ icon: "译"
8
+ color: "#d946ef"
9
+ tipsEnabled: false
10
+ builtIn: true
11
+ userSelectable: true
12
+ manifestVisible: true
13
+ sourceProject: "openmontage"
14
+ sourceSkill: "video-translate"
15
+ sourceKind: "agent-skill"
16
+ supportLevel: "native"
17
+ adapterFamily: "video-workflow"
18
+ canonicalSkill: "video-translate"
19
+ sourceMediaRequired: true
20
+ tags: [video, translation, dubbing, talking-head, voiceover, captions, seed-audio, seedance]
21
+ ---
22
+
23
+ # Video Translation
24
+
25
+ Translate only the accepted content. Translation does not choose new cuts.
26
+ Captions and B-roll come after the translated speech is accepted.
27
+
28
+ This Skill can be the middle of one request. If a visible talking-head request
29
+ also asks to clean up, shorten, or edit the take and no accepted clean A-roll
30
+ exists yet, read `skills/talking-head/SKILL.md` and finish the Talking Head
31
+ keep-range edit first. If the deliverable is for TikTok/Douyin, also read
32
+ `skills/tiktok-video/SKILL.md`
33
+ now and continue there after translation is verified. Reading another Skill is
34
+ a same-request handoff, not a reason to stop or ask the user to repeat the task.
35
+
36
+ Before acting, read `skills/_shared/speech-clock.md`,
37
+ `skills/_shared/spoken-caption.md`, and
38
+ `skills/_shared/voice-translation.md`. Reuse the accepted source transcript;
39
+ do not transcribe the same source again.
40
+
41
+ ## Choose by visual carrier
42
+
43
+ ### Non-talking-head or off-screen VO: Seed Audio
44
+
45
+ Use this route when no visible mouth must match the translated speech: process
46
+ footage, product footage, documentary B-roll, motion graphics, screen footage,
47
+ or any video led by off-screen narration.
48
+
49
+ - Call `generate_audio` once with `kind: "translation"`, the target language,
50
+ and exactly one source voice. Send only an audio derivative to Seed Audio.
51
+ - Preserve claims, names, numbers, product terms, calls to action, and meaning.
52
+ Use `translated_script` when that wording must be deterministic.
53
+ - Mute the old VO and make the translated master the only audible speech.
54
+ - Transcribe the accepted translated audio once. Its target-language word
55
+ timestamps become the only clock for captions, emphasis, scene beats, and
56
+ B-roll. Never reuse source-language caption timing.
57
+
58
+ ### Visible talking head: SeeDance 2.0
59
+
60
+ Use this route when the speaker is visibly delivering the translated words.
61
+ The upstream Talking Head Skill owns cuts; this Skill owns translation. Do not
62
+ call Seed Audio anywhere in this route.
63
+
64
+ 1. Materialize the accepted clean A-roll before captions or B-roll. Each
65
+ SeeDance 2.0 request must be 4-15 seconds; split longer edits at sentence
66
+ boundaries and preserve order.
67
+ 2. Read `skills/video-ffmpeg-lab/SKILL.md`, then use one Node/FFmpeg preparation
68
+ run to create two model inputs from each accepted chunk:
69
+ - a visually identical MP4 with its audio removed;
70
+ - a clean MP3/WAV of the original speaker for voice identity only.
71
+ Keep these as intermediate workspace outputs rather than timeline deliverables.
72
+ 3. Translate the retained argument, then shape it into short natural spoken
73
+ beats. Preserve protected wording and meaning. Estimate the target-language
74
+ reading time and set the generated duration from that target speech, not
75
+ from the source chunk. Use the shortest integer duration that allows a
76
+ natural delivery plus a small head/tail breath; the dialogue should occupy
77
+ most of the generated clip. If it will not fit within 15 seconds, split at
78
+ another sentence boundary. If it is shorter than the 4-second minimum, join
79
+ it to an adjacent complete beat. Excess empty duration invites SeeDance to
80
+ improvise, repeat, or fall back toward the source-language audio.
81
+ 4. Read `prompts/animate.md`. Call `generate_animation` with the default
82
+ `seedance-fast` model, the silent MP4 as `video_ref_url`, and the extracted
83
+ voice URL as the single `audio_refs` item. Pass `video_ref_type: "feature"`:
84
+ this is reference regeneration, not a base video edit. If a call is rejected
85
+ because base editing is unsupported, correct that argument to `feature` and
86
+ keep `seedance-fast`; do not switch to Seedance 2.5. Use standard `seedance`
87
+ only when the user explicitly requests standard/full/1080p SeeDance. Before
88
+ submitting, read the final `story_prompt` once: it must contain literal
89
+ the supplied video file and `explicit file references, the dialogue lock, and no `...`
90
+ or `…` inside any quoted line.
91
+ 5. Because SeeDance completes asynchronously, every generated chunk is an
92
+ intermediate artifact. Add one `completion_actions` entry whose prompt says
93
+ to resume `skills/video-translate/SKILL.md` for the same request, wait for all
94
+ planned chunks, transcribe and verify each actual result, retry only a failed
95
+ chunk, assemble them in order, and then continue to
96
+ `skills/tiktok-video/SKILL.md` when platform delivery was requested. Use
97
+ `policy: "auto"` only when the current request explicitly authorizes the
98
+ complete end-to-end flow; otherwise use `policy: "confirm"`. Never end with only a prose promise to continue.
99
+
100
+ The first request should already use the same exact dialogue lock that a good
101
+ retry would use. Keep the entire control prompt compact and in English; only
102
+ the quoted dialogue changes language. Put the dialogue before secondary visual
103
+ instructions. Do not add a long Style block or repeat negative constraints.
104
+ Use this form:
105
+
106
+ ```text
107
+ Target-Language Talking Head
108
+ the supplied video file Same speaker and same shot. the supplied audio file Use only this speaker's voice, tone, accent, and cadence; ignore its source-language words.
109
+ The speaker says in Target Language exactly once: "First complete translated sentence. Second complete translated sentence."
110
+ No other speech. No subtitles. Keep the same face, clothing, background, framing, and natural mouth motion.
111
+ ```
112
+
113
+ This compact translation prompt overrides the ordinary generated-video `Shot`
114
+ template in `prompts/animate.md`; a single talking-head performance does not
115
+ need shot choreography. Put the target-language dialogue directly in
116
+ `story_prompt` as quoted speech; an instruction such as “translate this video”
117
+ is not dialogue. For one speaker, prefer one quotation containing the complete
118
+ short performance in natural sentence order; use multiple quotations only when
119
+ another speaker or a real pause must be distinguished. Never send an ellipsis,
120
+ dangling clause, or unfinished thought to SeeDance. If the retained source
121
+ itself ends mid-sentence, stop at its last complete semantic beat; the
122
+ incomplete tail carries no additional claim to preserve. Never include a known
123
+ wrong word merely to negate it; the dialogue lock already excludes every
124
+ unquoted word. To retain the speaker's personal
125
+ delivery, ask for their natural cadence and light non-native accent without
126
+ naming the source language as the desired accent; naming it can cause the model
127
+ to repeat the source-language audio.
128
+
129
+ Poll every actual chunk MP4 and transcribe its audio. Reject omitted, added,
130
+ garbled, or source-language words. Retry only the failed chunk once with shorter
131
+ quoted phrases when wording drifts; do not switch to Seed Audio inside this
132
+ route. Do not assemble or package while any chunk is unverified. Review
133
+ identity, background, mouth motion, and unwanted performance drift. SeeDance
134
+ may regenerate head or body motion, so do not describe it as pixel-preserving
135
+ lip sync.
136
+
137
+ ## Package after translation
138
+
139
+ Use the accepted target-language ASR as the Speech Clock. Add target-language
140
+ captions with the shared Spoken Caption contract, then add only B-roll or
141
+ graphics that explain the translated beat or cover a necessary join. Keep the
142
+ translated speech audible and incidental B-roll audio muted.
143
+
144
+ For TikTok/Douyin, continue through `skills/tiktok-video/SKILL.md`; otherwise
145
+ package here. Publish the editable composition and export a playable MP4 in the
146
+ same project. Review the encoded file with sound, including the first phrase,
147
+ final word, caption boundaries, and any B-roll transition. Provider completion
148
+ alone is not delivery.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: video-understand
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's video-understand
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: "video-understand"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "media"
20
+ canonicalSkill: "source-video-studio"
21
+ tags: [openmontage, agent-skill, media, native]
22
+ ---
23
+
24
+ # Video Understand
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/source-video-studio/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: visual-style
3
+ description: >
4
+ Makaron adapter with native support for OpenMontage's visual-style
5
+ craft skill, using existing Makaron tools and durable project outputs.
6
+ allowed-tools: read_file analyze_image analyze_video generate_image run_code write_file preview_frame
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: "visual-style"
17
+ sourceKind: "agent-skill"
18
+ supportLevel: "native"
19
+ adapterFamily: "quality"
20
+ canonicalSkill: "motion-design-video"
21
+ tags: [openmontage, agent-skill, quality, native]
22
+ ---
23
+
24
+ # Visual Style
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
+ - Treat the source skill as a review and art-direction lens. Turn findings into concrete corrections for hierarchy, distinctness, readability, motion, accessibility, or performance.
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 prioritized findings or apply and verify the requested corrections.