@mmerterden/multi-agent-pipeline 20.43.1 → 20.44.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.
- package/CHANGELOG.md +22 -0
- package/README.md +19 -3
- package/README.tr.md +19 -4
- package/docs/ecosystem.md +7 -7
- package/docs/facts.json +8 -8
- package/docs/features.md +1 -1
- package/manifest.json +57 -47
- package/package.json +1 -1
- package/pipeline/commands/multi-agent/review-priority/SKILL.md +10 -5
- package/pipeline/commands/multi-agent/setup/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/update/SKILL.md +10 -12
- package/pipeline/contract/CHANGELOG.md +43 -3
- package/pipeline/contract/README.md +65 -63
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/fixtures/error-unsigned.json +1 -1
- package/pipeline/contract/manifest.json +41 -4
- package/pipeline/contract/types/index.d.ts +112 -3
- package/pipeline/multi-agent-refs/features/office-remote-protocol.md +4 -2
- package/pipeline/multi-agent-refs/features/office-threat-model.md +3 -1
- package/pipeline/multi-agent-refs/features/usage-reporting.md +13 -12
- package/pipeline/multi-agent-refs/help/en.md +1 -1
- package/pipeline/multi-agent-refs/help/tr.md +1 -1
- package/pipeline/office/index.html +434 -28
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/rules/outside-the-pipeline.md +1 -1
- package/pipeline/schemas/contract-error.schema.json +2 -1
- package/pipeline/schemas/disk-clean-request.schema.json +66 -0
- package/pipeline/schemas/disk-clean.schema.json +243 -0
- package/pipeline/schemas/office-jobs.json +25 -0
- package/pipeline/schemas/office-jobs.schema.json +19 -0
- package/pipeline/schemas/skill-catalog.schema.json +91 -0
- package/pipeline/schemas/toolkit-path-params.json +23 -1
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/_contract-routes-catalog.mjs +31 -3
- package/pipeline/scripts/_contract-routes-ops.mjs +11 -1
- package/pipeline/scripts/_stack-routing.mjs +2 -0
- package/pipeline/scripts/contract-server.mjs +4 -0
- package/pipeline/scripts/job-launch.mjs +50 -9
- package/pipeline/scripts/office-disk.mjs +262 -0
- package/pipeline/scripts/skill-catalog.mjs +302 -0
- package/pipeline/scripts/stack-toggle.mjs +104 -41
- package/pipeline/skills/.skill-manifest.json +13 -5
- package/pipeline/skills/.skills-index.json +23 -1
- package/pipeline/skills/shared/README.md +5 -3
- package/pipeline/skills/shared/core/multi-agent-review-priority/SKILL.md +3 -2
- package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +7 -7
- package/pipeline/skills/shared/external/release-video/SKILL.md +147 -0
- package/pipeline/skills/shared/external/release-video/evals/evals.json +45 -0
- package/pipeline/skills/shared/external/short-video-craft/SKILL.md +177 -0
- package/pipeline/skills/shared/external/short-video-craft/evals/evals.json +43 -0
- package/pipeline/skills/shared/external/short-video-craft/references/generated-defaults.md +24 -0
- package/pipeline/skills/skills-index.md +3 -1
|
@@ -46,13 +46,13 @@ Update the pipeline with a single command. Preferences are preserved; only skill
|
|
|
46
46
|
blocked by `usageLog.optOut: true`. Offline or endpoint down leaves reporting
|
|
47
47
|
off with one line, never an error. Contract:
|
|
48
48
|
`$HOME/.claude/multi-agent-refs/features/usage-reporting.md`.
|
|
49
|
-
Ask only when the JSON line
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
`node "$HOME/.copilot/scripts/usage-register.mjs" --login <name> --json
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
Ask only when the JSON line carries `"needsPersonalAccount":true` (false
|
|
50
|
+
whenever the account is already known), and nothing else. Then ask once for
|
|
51
|
+
the GitHub username (Skip leaves reporting off) and run
|
|
52
|
+
`node "$HOME/.copilot/scripts/usage-register.mjs" --login <name> --json`. A
|
|
53
|
+
`refusal` (`not_collaborator` or `proof_required`) only prints its status
|
|
54
|
+
line: the site answers a declared name the same way whether or not it is a
|
|
55
|
+
collaborator.
|
|
56
56
|
6. Show the new version + changelog
|
|
57
57
|
7. Smoke test (schema + cross-cli)
|
|
58
58
|
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: release-video
|
|
3
|
+
description: "Builds a short narrated Turkish 9:16 release or sprint video from simulator or emulator recordings: clips, a contact sheet, a script from merged pull requests or the CHANGELOG, then plan, render and upload-spec check. Use when a release or sprint demo should become a short video."
|
|
4
|
+
metadata:
|
|
5
|
+
source: multi-agent-pipeline
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Release video
|
|
10
|
+
|
|
11
|
+
Turns what shipped into a 20 to 60 second narrated portrait video, built
|
|
12
|
+
from real screens of the app. Every step runs on this machine through the
|
|
13
|
+
toolkit's media tools. The skill ends with a checked file on disk; it never
|
|
14
|
+
uploads, posts or shares anything.
|
|
15
|
+
|
|
16
|
+
## Contents
|
|
17
|
+
|
|
18
|
+
- Before you start
|
|
19
|
+
- 1. Clips
|
|
20
|
+
- 2. Contact sheet
|
|
21
|
+
- 3. The Turkish script
|
|
22
|
+
- 4. Plan
|
|
23
|
+
- 5. Render
|
|
24
|
+
- 6. Check
|
|
25
|
+
- Report
|
|
26
|
+
- What it never does
|
|
27
|
+
|
|
28
|
+
## Before you start
|
|
29
|
+
|
|
30
|
+
- `ffmpeg` and `ffprobe` on PATH. Narration uses piper with a Turkish model
|
|
31
|
+
(`tr_TR-dfki-medium`) when installed, else macOS `say`; a missing binary
|
|
32
|
+
answers `NEED_SETUP` with the install hint, which you pass on.
|
|
33
|
+
- One working folder per video, for example `~/Movies/release-<version>/`,
|
|
34
|
+
with a `clips/` folder inside. Every path given to a tool is absolute.
|
|
35
|
+
- The craft rules behind the parameter choices below (safe area, hook,
|
|
36
|
+
pacing, mix) are in the `short-video-craft` skill. Read it before the
|
|
37
|
+
first render of a new kind of video.
|
|
38
|
+
|
|
39
|
+
## 1. Clips
|
|
40
|
+
|
|
41
|
+
Pick the source the user has:
|
|
42
|
+
|
|
43
|
+
- **Record on the iOS simulator.** For each feature, in the order the video
|
|
44
|
+
will show them: `multi-agent-toolkit:ios_record_video` with `action: start`
|
|
45
|
+
and `filename: <work>/clips/01-<feature>.mp4`, drive the flow (the
|
|
46
|
+
`multi-agent-toolkit:ios_tap_element`, `multi-agent-toolkit:ios_type_element`
|
|
47
|
+
and `multi-agent-toolkit:ios_swipe` tools), then `action: stop`.
|
|
48
|
+
- **Record on the Android emulator.** `multi-agent-toolkit:android_record_screen`
|
|
49
|
+
with `action: start`, `path: <work>/clips/01-<feature>.mp4` and a
|
|
50
|
+
`duration` under 180, drive the flow, then `action: stop`.
|
|
51
|
+
- **A folder the user gives.** Copy the clips into `clips/` and rename them
|
|
52
|
+
`01-`, `02-` and so on: the renderer reads footage in name order, and that
|
|
53
|
+
order is the order of the sentences.
|
|
54
|
+
|
|
55
|
+
Keep each clip to the one moment it shows, 3 to 8 seconds. A clip that is
|
|
56
|
+
too long, has dead time or is landscape goes through
|
|
57
|
+
`multi-agent-toolkit:media_video_reframe` with `format: "9:16"`,
|
|
58
|
+
`mode: "blur"` and `segments` for the stretches to keep; write the result
|
|
59
|
+
back into `clips/` under the same number.
|
|
60
|
+
|
|
61
|
+
## 2. Contact sheet
|
|
62
|
+
|
|
63
|
+
For each clip, `multi-agent-toolkit:media_frames` with `path` set to the
|
|
64
|
+
clip, `sheet: true`, `width: 360` and `cols: 4`. Open `sheet.png` and note,
|
|
65
|
+
per clip, the second where the feature is clearest. Drop a clip that shows
|
|
66
|
+
nothing a viewer would notice. Use `at` or `range` with `step` to look closer
|
|
67
|
+
at a stretch before trimming it in step 1.
|
|
68
|
+
|
|
69
|
+
## 3. The Turkish script
|
|
70
|
+
|
|
71
|
+
Draft it yourself from what shipped:
|
|
72
|
+
|
|
73
|
+
- A release: the CHANGELOG section for the version, or the pull requests
|
|
74
|
+
merged since the previous tag (`git log <prev-tag>..HEAD --merges`, or
|
|
75
|
+
`gh pr list --state merged --search "merged:>=<date>"`).
|
|
76
|
+
- A sprint: the pull requests merged in the sprint window.
|
|
77
|
+
|
|
78
|
+
Rules for the draft:
|
|
79
|
+
|
|
80
|
+
- One sentence per clip, in clip order. The first sentence names the change
|
|
81
|
+
a user will notice most and works on its own as the hook.
|
|
82
|
+
- Plain spoken Turkish, short sentences, one idea each. About 2 words per
|
|
83
|
+
second of target length: 60 to 70 words for 30 seconds.
|
|
84
|
+
- User-facing words only: no ticket keys, pull request numbers, branch or
|
|
85
|
+
module names, people's names or internal jargon.
|
|
86
|
+
- The last sentence closes the loop back to the first, so a replay reads
|
|
87
|
+
naturally. No "thanks for watching".
|
|
88
|
+
|
|
89
|
+
Show the draft and ask once whether to use it as is. Unattended, render the
|
|
90
|
+
draft and say in the report that the script was not reviewed.
|
|
91
|
+
|
|
92
|
+
## 4. Plan
|
|
93
|
+
|
|
94
|
+
`multi-agent-toolkit:media_video_plan` with `script` (the approved draft),
|
|
95
|
+
`topic` (the release or sprint name), `language: "tr"`,
|
|
96
|
+
`aspect: "portrait"`, `resolution: "1080p"` and `target_seconds`. When the
|
|
97
|
+
answer's `est_seconds` runs more than 15% over the target, shorten the script
|
|
98
|
+
and plan again. The number of `sentences` should equal the number of clips.
|
|
99
|
+
|
|
100
|
+
## 5. Render
|
|
101
|
+
|
|
102
|
+
`multi-agent-toolkit:media_video_render` with:
|
|
103
|
+
|
|
104
|
+
| Parameter | Value | Why |
|
|
105
|
+
|---|---|---|
|
|
106
|
+
| `plan` | the step 4 result | sentences, aspect, resolution |
|
|
107
|
+
| `out_dir`, `name` | the working folder, `release-<version>` | outputs side by side |
|
|
108
|
+
| `visual`, `footage_dir` | `"footage"`, `<work>/clips` | real screens, in name order |
|
|
109
|
+
| `fit` | `"blur"` | a phone recording keeps all of its screen |
|
|
110
|
+
| `music`, `builtin_mood` | `"builtin"`, `"bright"` | a royalty-free bed, nothing to license |
|
|
111
|
+
| `cut` | `"beat"` | cuts land on the music's beats |
|
|
112
|
+
| `language` | `"tr"` | the Turkish voice and syllable count |
|
|
113
|
+
| `opening`, `cover_text` | `"hook"`, three to five words | the first frame is never empty |
|
|
114
|
+
| `max_pace` | `6.5` | slows a sentence spoken too fast |
|
|
115
|
+
|
|
116
|
+
Leave `music_volume` unset so the music is levelled under the voice. Never
|
|
117
|
+
pass `overwrite: true` unattended; for a second render use a new `name`
|
|
118
|
+
(`release-<version>-2`).
|
|
119
|
+
|
|
120
|
+
## 6. Check
|
|
121
|
+
|
|
122
|
+
`multi-agent-toolkit:media_video_check` with `path` set to the `.mp4`,
|
|
123
|
+
`manifest` set to the `.json` beside it and
|
|
124
|
+
`expect: { "width": 1080, "height": 1920, "fps": 30, "max_seconds": 60 }`.
|
|
125
|
+
|
|
126
|
+
- Every check `pass` or `skip`: done.
|
|
127
|
+
- A `fail` or `warn`: read its `measured` and `expected`, change the one
|
|
128
|
+
input that causes it (script length, a clip, `max_pace`), render under a
|
|
129
|
+
new name and check again. At most three rounds; then report what is left.
|
|
130
|
+
|
|
131
|
+
Finish with a contact sheet of the rendered video (`multi-agent-toolkit:media_frames` on the
|
|
132
|
+
`.mp4` with `range` over the whole length, `step: 2`, `sheet: true`) and
|
|
133
|
+
look at it once more for empty frames, repeated shots and text near the
|
|
134
|
+
edges.
|
|
135
|
+
|
|
136
|
+
## Report
|
|
137
|
+
|
|
138
|
+
The `.mp4` path, its length, the final script, the check results, the
|
|
139
|
+
contact sheet path, and anything the user should look at before using it.
|
|
140
|
+
|
|
141
|
+
## What it never does
|
|
142
|
+
|
|
143
|
+
- Upload, post, schedule or send the video anywhere, or open a sharing
|
|
144
|
+
service. Publishing is the user's call, outside this skill.
|
|
145
|
+
- Fetch stock footage or send the script to a remote voice; the clips are the
|
|
146
|
+
app's own screens and the voice is local.
|
|
147
|
+
- Replace an earlier render without being asked.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "release-video",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "We just tagged 4.2.0. Make a short Turkish video of what's new for the team channel. The simulator is booted with the app installed.",
|
|
7
|
+
"expected_output": "Records one clip per user-facing change with ios_record_video into a numbered clips folder, reviews them with a media_frames contact sheet, drafts a Turkish script from the 4.2.0 CHANGELOG section with one sentence per clip and shows it once, plans with language tr, renders with footage_dir, fit blur, music builtin and cut beat, checks the result with media_video_check and the manifest, and reports the file path without posting it anywhere.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Records with multi-agent-toolkit:ios_record_video start and stop, naming clips 01-, 02- in sentence order",
|
|
11
|
+
"Builds a contact sheet with multi-agent-toolkit:media_frames sheet: true before writing the script",
|
|
12
|
+
"Drafts the narration in Turkish from the CHANGELOG or merged pull requests, without ticket keys or PR numbers",
|
|
13
|
+
"Calls multi-agent-toolkit:media_video_plan with language tr and portrait aspect",
|
|
14
|
+
"Calls multi-agent-toolkit:media_video_render with fit blur, music builtin and cut beat, leaving music_volume unset",
|
|
15
|
+
"Runs multi-agent-toolkit:media_video_check with expect and the render's manifest",
|
|
16
|
+
"Does not upload, post or share the video"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": 1,
|
|
21
|
+
"prompt": "Here are the sprint 31 demo recordings: ~/Desktop/sprint31/*.mov, some are landscape and too long. Turn them into a vertical recap video with narration.",
|
|
22
|
+
"expected_output": "Copies the recordings into a clips folder renamed in order, reframes the landscape and long ones with media_video_reframe format 9:16, mode blur and segments for the useful stretches, reviews them on a contact sheet, drafts a Turkish script from the pull requests merged in the sprint, then plans, renders and checks the video.",
|
|
23
|
+
"files": [],
|
|
24
|
+
"expectations": [
|
|
25
|
+
"Renames the clips with a numeric prefix so footage_dir reads them in sentence order",
|
|
26
|
+
"Uses multi-agent-toolkit:media_video_reframe with format 9:16 and mode blur for landscape clips",
|
|
27
|
+
"Trims long clips with the segments parameter instead of keeping dead time",
|
|
28
|
+
"Writes one sentence per clip, with the most visible change first",
|
|
29
|
+
"Ends with multi-agent-toolkit:media_video_check and a contact sheet of the rendered file"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": 2,
|
|
34
|
+
"prompt": "Render the release video again with a better script and then post it to our company social accounts automatically.",
|
|
35
|
+
"expected_output": "Renders the new version under a new name instead of overwriting the earlier one, checks it with media_video_check, and explains that publishing is outside this skill: it never uploads, posts or schedules, and leaves posting to the user.",
|
|
36
|
+
"files": [],
|
|
37
|
+
"expectations": [
|
|
38
|
+
"Uses a new name such as release-<version>-2 rather than overwrite: true",
|
|
39
|
+
"Runs multi-agent-toolkit:media_video_check on the new render",
|
|
40
|
+
"Declines to post or upload the video and says publishing is the user's step",
|
|
41
|
+
"Does not open or script any sharing service"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: short-video-craft
|
|
3
|
+
description: "Maps the craft of short vertical videos to the toolkit media tool parameters: safe area, first-frame hook, pacing, loop seam, b-roll sync, caption timing, contact-sheet review, voice and music mix, Turkish narration, generated-looking defaults. Use when planning, rendering or reviewing a short."
|
|
4
|
+
metadata:
|
|
5
|
+
source: multi-agent-pipeline
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Short-video craft
|
|
10
|
+
|
|
11
|
+
The rules a short has to follow to be watched to the end, each tied to the
|
|
12
|
+
parameter that enforces it. The tools are the toolkit's media family:
|
|
13
|
+
`multi-agent-toolkit:media_video_plan`, `multi-agent-toolkit:media_video_render`,
|
|
14
|
+
`multi-agent-toolkit:media_video_reframe`, `multi-agent-toolkit:media_video_check`,
|
|
15
|
+
`multi-agent-toolkit:media_frames` and `multi-agent-toolkit:media_music_beats`.
|
|
16
|
+
For a whole release video built from app recordings, follow the
|
|
17
|
+
`release-video` skill; this one says why its settings are what they are.
|
|
18
|
+
|
|
19
|
+
## Contents
|
|
20
|
+
|
|
21
|
+
- 1. The frame and its safe area
|
|
22
|
+
- 2. Frame one is the hook
|
|
23
|
+
- 3. Something changes every 2 to 4 seconds
|
|
24
|
+
- 4. The loop seam
|
|
25
|
+
- 5. Pictures land with their words
|
|
26
|
+
- 6. Timing by reading, not by feel
|
|
27
|
+
- 7. Review with contact sheets
|
|
28
|
+
- 8. The mix
|
|
29
|
+
- 9. Turkish narration
|
|
30
|
+
- 10. Defaults that look generated
|
|
31
|
+
- Rule to parameter map
|
|
32
|
+
|
|
33
|
+
## 1. The frame and its safe area
|
|
34
|
+
|
|
35
|
+
A short is 1080x1920 at 30 fps. The apps cover parts of it: the status bar
|
|
36
|
+
and handle at the top, the caption, the account line and the buttons at the
|
|
37
|
+
bottom, the like and share rail on the right. What stays visible on every
|
|
38
|
+
app is the box from x 90 to 960 and y 260 to 1600: 260 px clear at the top,
|
|
39
|
+
320 px at the bottom, 90 px on the left and 120 px on the right.
|
|
40
|
+
|
|
41
|
+
- Render with `aspect: "portrait"` and `resolution: "1080p"`; the kinetic
|
|
42
|
+
cards and burned captions are placed inside that box.
|
|
43
|
+
- Landscape or square sources go through `multi-agent-toolkit:media_video_reframe` with
|
|
44
|
+
`format: "9:16"`; `mode: "blur"` keeps the whole picture, `mode: "cover"`
|
|
45
|
+
with `focus` crops to the part that matters.
|
|
46
|
+
- Pass the render's manifest to `multi-agent-toolkit:media_video_check` (`manifest`); it fails a
|
|
47
|
+
caption or card rectangle that leaves the box.
|
|
48
|
+
|
|
49
|
+
## 2. Frame one is the hook
|
|
50
|
+
|
|
51
|
+
The first frame is the thumbnail and the moment a viewer decides to stay.
|
|
52
|
+
Open on the result, never on a logo, a title card or a blank screen. The
|
|
53
|
+
opening words promise what the viewer gets, in three to six words.
|
|
54
|
+
|
|
55
|
+
- `opening: "hook"` (the portrait default) has the first card at rest on
|
|
56
|
+
frame 0 instead of animating in.
|
|
57
|
+
- `cover_text` sets those opening words, on the first kinetic card or over
|
|
58
|
+
the first footage shot until the first cut.
|
|
59
|
+
- The first sentence of the script carries the hook on its own; the rest
|
|
60
|
+
can be cut and it still says something.
|
|
61
|
+
- `multi-agent-toolkit:media_video_check` fails a first frame that is a flat field.
|
|
62
|
+
|
|
63
|
+
## 3. Something changes every 2 to 4 seconds
|
|
64
|
+
|
|
65
|
+
Attention drops when nothing moves. Every 2 to 4 seconds the viewer needs a
|
|
66
|
+
new shot, a zoom, a new caption line or a sound.
|
|
67
|
+
|
|
68
|
+
- `clip_seconds: 3` caps a shot at 3 seconds; long shots are split.
|
|
69
|
+
- `cut: "beat"` changes shots on the music's beats and splits long shots on
|
|
70
|
+
bar lines; `multi-agent-toolkit:media_music_beats` shows the grid first.
|
|
71
|
+
- `motion: "kenburns"` keeps a still shot moving; `transition: "cut"` hits
|
|
72
|
+
harder than `"fade"` for a fast edit.
|
|
73
|
+
- `sfx` with `at: { "beat": n }` marks a turn in the story; a few, not one
|
|
74
|
+
on every beat.
|
|
75
|
+
|
|
76
|
+
## 4. The loop seam
|
|
77
|
+
|
|
78
|
+
A short replays on its own. When the last frame matches the first, the
|
|
79
|
+
replay reads as one piece and counts as a second view.
|
|
80
|
+
|
|
81
|
+
- `loop: true` ends on the first scene's first frame, held 0.8 s.
|
|
82
|
+
- Write the last sentence so it leads back into the first one.
|
|
83
|
+
|
|
84
|
+
## 5. Pictures land with their words
|
|
85
|
+
|
|
86
|
+
The shot that shows a thing should be on screen as its word is spoken, or
|
|
87
|
+
slightly before: a picture that arrives late reads as a mistake.
|
|
88
|
+
|
|
89
|
+
- One sentence per shot, and footage files named in sentence order
|
|
90
|
+
(`01-`, `02-`); `footage_dir` reads them in name order.
|
|
91
|
+
- `cut: "beat"` with `beat_window` (default 0.35 s) lets a cut land a beat
|
|
92
|
+
ahead of the next sentence instead of after it.
|
|
93
|
+
- `word_timing: "energy"` or `"whisper"` times the highlighted caption word
|
|
94
|
+
to the real audio.
|
|
95
|
+
- `sfx` with `at: { "word": "...", "nth": 1 }` puts a sound on the word that
|
|
96
|
+
names the change.
|
|
97
|
+
|
|
98
|
+
## 6. Timing by reading, not by feel
|
|
99
|
+
|
|
100
|
+
On-screen text must be readable twice in the time it is shown: about 0.3 s
|
|
101
|
+
per word plus half a second. Speech that runs fast loses viewers who read
|
|
102
|
+
the captions.
|
|
103
|
+
|
|
104
|
+
- Keep a card headline to five words or fewer; `style: "flat"` shows up to
|
|
105
|
+
five big words with one in the accent colour.
|
|
106
|
+
- `captions: "highlight"` lights the spoken word, which keeps the eye moving
|
|
107
|
+
with the voice.
|
|
108
|
+
- `max_pace` caps syllables per second; the manifest records each
|
|
109
|
+
sentence's words per minute and syllables per second. 6 to 7 suits most
|
|
110
|
+
narration.
|
|
111
|
+
- `multi-agent-toolkit:media_video_plan` returns `est_seconds` per sentence; trim the script
|
|
112
|
+
until the total fits `target_seconds`.
|
|
113
|
+
|
|
114
|
+
## 7. Review with contact sheets
|
|
115
|
+
|
|
116
|
+
Never judge a render from the first seconds. After every render:
|
|
117
|
+
|
|
118
|
+
1. `multi-agent-toolkit:media_frames` on the `.mp4` with `range` over the whole length,
|
|
119
|
+
`step: 1` or `2`, `sheet: true`, and look at `sheet.png`.
|
|
120
|
+
2. Look for: an empty or dark frame, text near an edge, the same shot
|
|
121
|
+
twice, a caption covering the subject, a frame where nothing changed for
|
|
122
|
+
longer than 4 seconds.
|
|
123
|
+
3. `multi-agent-toolkit:media_video_check` with `expect` and `manifest`; treat every `warn` as
|
|
124
|
+
a question to answer.
|
|
125
|
+
4. Change one input, render under a new `name`, and compare the two sheets.
|
|
126
|
+
|
|
127
|
+
Three rounds is enough; report what is left after that.
|
|
128
|
+
|
|
129
|
+
## 8. The mix
|
|
130
|
+
|
|
131
|
+
The voice leads. Music sits about 5 dB under the voice while it speaks,
|
|
132
|
+
rises a little between sentences, and the whole mix lands at -14 LUFS with
|
|
133
|
+
peaks at or under -1 dBTP.
|
|
134
|
+
|
|
135
|
+
- Leave `music_volume` unset: the renderer measures a first mix and levels
|
|
136
|
+
the music to that gap. Set it only to override on purpose.
|
|
137
|
+
- `duck: "normal"` (ratio 5) suits narration; `"strong"` for dense music,
|
|
138
|
+
`"light"` for sparse.
|
|
139
|
+
- The manifest's `audio.balance` warns when the music sits more than 9 dB
|
|
140
|
+
or less than 3 dB under the voice.
|
|
141
|
+
- `music: "builtin"` with `builtin_mood` (`calm`, `bright`, `drive`)
|
|
142
|
+
composes a bed matched to the length, so nothing needs a licence.
|
|
143
|
+
- `multi-agent-toolkit:media_video_check` measures loudness and true peak.
|
|
144
|
+
|
|
145
|
+
## 9. Turkish narration
|
|
146
|
+
|
|
147
|
+
- `language: "tr"` picks the Turkish voice (piper `tr_TR-dfki-medium` when
|
|
148
|
+
installed) and counts syllables per vowel for `max_pace`.
|
|
149
|
+
- Short sentences with one verb read better than long suffix chains; split
|
|
150
|
+
a sentence at "ve" when it carries two ideas.
|
|
151
|
+
- Write what should be said: numbers and abbreviations as words when the
|
|
152
|
+
reading matters, product names in the spelling the voice gets right.
|
|
153
|
+
Listen once and respell a name it mangles.
|
|
154
|
+
- Punctuation sets the pauses: a comma is a breath, a full stop a longer
|
|
155
|
+
stop. `word_timing: "energy"` anchors a pause after punctuation.
|
|
156
|
+
- Keep the Turkish characters in the script; captions show them as written.
|
|
157
|
+
|
|
158
|
+
## 10. Defaults that look generated
|
|
159
|
+
|
|
160
|
+
A render on all defaults is recognisable. The checklist of tells and the
|
|
161
|
+
parameter that fixes each is in
|
|
162
|
+
[references/generated-defaults.md](references/generated-defaults.md). Run
|
|
163
|
+
it before calling a video finished.
|
|
164
|
+
|
|
165
|
+
## Rule to parameter map
|
|
166
|
+
|
|
167
|
+
| Rule | Tool | Parameters |
|
|
168
|
+
|---|---|---|
|
|
169
|
+
| 9:16 safe area | `multi-agent-toolkit:media_video_render`, `multi-agent-toolkit:media_video_reframe`, `multi-agent-toolkit:media_video_check` | `aspect`, `resolution`, `format`, `mode`, `focus`, `manifest` |
|
|
170
|
+
| Frame-one hook | `multi-agent-toolkit:media_video_render` | `opening`, `cover_text`, `style` |
|
|
171
|
+
| Change every 2 to 4 s | `multi-agent-toolkit:media_video_render`, `multi-agent-toolkit:media_music_beats` | `clip_seconds`, `cut`, `motion`, `transition`, `sfx` |
|
|
172
|
+
| Loop seam | `multi-agent-toolkit:media_video_render` | `loop` |
|
|
173
|
+
| Pictures with words | `multi-agent-toolkit:media_video_render` | `footage_dir`, `cut`, `beat_window`, `word_timing`, `sfx` |
|
|
174
|
+
| Reading time | `multi-agent-toolkit:media_video_plan`, `multi-agent-toolkit:media_video_render` | `target_seconds`, `max_pace`, `captions`, `style` |
|
|
175
|
+
| Review loop | `multi-agent-toolkit:media_frames`, `multi-agent-toolkit:media_video_check` | `range`, `step`, `sheet`, `expect` |
|
|
176
|
+
| Mix balance | `multi-agent-toolkit:media_video_render`, `multi-agent-toolkit:media_video_check` | `music`, `builtin_mood`, `music_volume`, `duck` |
|
|
177
|
+
| Turkish narration | `multi-agent-toolkit:media_video_plan`, `multi-agent-toolkit:media_video_render` | `language`, `voice`, `max_pace`, `word_timing` |
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skill_name": "short-video-craft",
|
|
3
|
+
"evals": [
|
|
4
|
+
{
|
|
5
|
+
"id": 0,
|
|
6
|
+
"prompt": "My rendered short looks like every AI video out there: black first frame, slow zoom on every shot, fades everywhere and the music is loud. What should I change in media_video_render?",
|
|
7
|
+
"expected_output": "Walks the generated-defaults checklist and names the parameters: opening hook with cover_text for the first frame, transition cut and beat cuts instead of a fade on every join, varied motion, music_volume left unset so the music is levelled about 5 dB under the voice, duck normal, and a contact-sheet review of the new render.",
|
|
8
|
+
"files": [],
|
|
9
|
+
"expectations": [
|
|
10
|
+
"Sets opening: hook and a short cover_text so frame 0 is not empty",
|
|
11
|
+
"Recommends transition: cut and cut: beat over a fade on every shot",
|
|
12
|
+
"Says to leave music_volume unset so the music sits about 5 dB under the voice",
|
|
13
|
+
"Mentions duck and the audio.balance warning range of 3 to 9 dB",
|
|
14
|
+
"Ends with a multi-agent-toolkit:media_frames contact sheet and multi-agent-toolkit:media_video_check"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": 1,
|
|
19
|
+
"prompt": "Captions keep getting covered by the TikTok buttons on my 1080x1920 video. Where exactly is the safe area and how do I check it?",
|
|
20
|
+
"expected_output": "Gives the safe box at 1080x1920 as x 90 to 960 and y 260 to 1600 (260 px top, 320 px bottom, 120 px right clear), says portrait 1080p renders keep captions and cards inside it, and checks it with media_video_check passing the render's manifest.",
|
|
21
|
+
"files": [],
|
|
22
|
+
"expectations": [
|
|
23
|
+
"States the box as x 90 to 960 and y 260 to 1600 at 1080x1920",
|
|
24
|
+
"Explains what the top, bottom and right margins are kept clear for",
|
|
25
|
+
"Uses multi-agent-toolkit:media_video_check with the manifest parameter",
|
|
26
|
+
"Suggests multi-agent-toolkit:media_video_reframe with format 9:16 for a non-portrait source"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"id": 2,
|
|
31
|
+
"prompt": "The Turkish narration in my short sounds rushed and the captions are hard to read. The script is one long paragraph.",
|
|
32
|
+
"expected_output": "Splits the script into short one-idea sentences, sets language tr and max_pace around 6.5 syllables per second, keeps headlines to five words or fewer, uses captions highlight and energy word timing, checks est_seconds from media_video_plan against target_seconds, and respells names the voice mispronounces.",
|
|
33
|
+
"files": [],
|
|
34
|
+
"expectations": [
|
|
35
|
+
"Splits the paragraph into short sentences with one idea each",
|
|
36
|
+
"Sets language: tr and a max_pace around 6 to 7",
|
|
37
|
+
"Uses the plan's est_seconds against target_seconds to trim the script",
|
|
38
|
+
"Mentions reading time of about 0.3 s per word plus half a second for on-screen text",
|
|
39
|
+
"Uses captions: highlight or word_timing: energy so captions follow the voice"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Defaults that look generated
|
|
2
|
+
|
|
3
|
+
Each row is a tell a viewer notices in the first seconds, and the change in
|
|
4
|
+
`multi-agent-toolkit:media_video_render` (or the script) that removes it.
|
|
5
|
+
Go through the list with the contact sheet of the render open.
|
|
6
|
+
|
|
7
|
+
| Tell | What to change |
|
|
8
|
+
|---|---|
|
|
9
|
+
| The first frame is black, a logo or a title card | `opening: "hook"` with `cover_text` naming the result; open on the strongest shot |
|
|
10
|
+
| An intro line such as "in this video" or "today we look at" | Start the script on the change itself; the first sentence is the hook |
|
|
11
|
+
| Every shot pushes in at the same speed | Mix `motion: "kenburns"` shots with real movement in the footage; let screen recordings carry their own motion |
|
|
12
|
+
| A soft fade between every pair of shots | `transition: "cut"` for a fast edit; keep fades for a change of topic |
|
|
13
|
+
| Shots change on a fixed clock, not with the speech or the music | `cut: "beat"`, and one sentence per shot |
|
|
14
|
+
| Footage that does not show what the words say | One clip per sentence, named in order; drop a clip the sentence does not need |
|
|
15
|
+
| Every sentence the same length and rhythm | Vary them: a short line after a long one; read the draft aloud once |
|
|
16
|
+
| Music at one level under the voice and in the gaps | Leave `music_volume` unset and keep `duck` on, so the music dips under speech and rises between sentences |
|
|
17
|
+
| A stock-sounding bed with no relation to the pace | `music: "builtin"` with the `builtin_mood` that matches the edit: `calm`, `bright` or `drive` |
|
|
18
|
+
| Captions sitting over the buttons or the account line | Portrait render at 1080p; check with `multi-agent-toolkit:media_video_check` and the manifest |
|
|
19
|
+
| Every caption the same colour, the whole line lit at once | `captions: "highlight"` so the spoken word leads |
|
|
20
|
+
| The same gradient card for every topic | Pick a `palette`, or `style: "flat"` for bold text-led scenes |
|
|
21
|
+
| A voice that rushes the long sentences | `max_pace` around 6.5, or split the sentence |
|
|
22
|
+
| A product name the voice mispronounces | Respell it in the script the way it should sound |
|
|
23
|
+
| An ending that says "thanks for watching" or asks to subscribe | End on a line that leads back to the start, with `loop: true` |
|
|
24
|
+
| A jump on replay | `loop: true`, and a last sentence that flows into the first |
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Auto-generated by `pipeline/scripts/build-skills-index.mjs` - do not hand-edit.
|
|
4
4
|
> Regenerate with `node pipeline/scripts/build-skills-index.mjs`.
|
|
5
5
|
|
|
6
|
-
**
|
|
6
|
+
**246 skills** across 2 groups.
|
|
7
7
|
|
|
8
8
|
| Group | Name | Platform | Description |
|
|
9
9
|
|-------|------|----------|-------------|
|
|
@@ -196,6 +196,7 @@
|
|
|
196
196
|
| external | `python-patterns` | - | Modern Python 3.12+: type hints, dataclasses, Pydantic v2, async/await, context managers, generators, pattern matching. Use when writing or |
|
|
197
197
|
| external | `react-best-practices` | - | React 19+ best practices: Server Components, use() hook, Actions, hooks patterns, state management, and performance optimization. Use when b |
|
|
198
198
|
| external | `realitykit-ar` | - | RealityKit and ARKit on iOS: RealityView camera content, AR camera availability and permission, entities and components, USDZ loading, plane |
|
|
199
|
+
| external | `release-video` | - | Builds a short narrated Turkish 9:16 release or sprint video from simulator or emulator recordings: clips, a contact sheet, a script from me |
|
|
199
200
|
| external | `rest-api-design` | - | REST API design: HTTP methods, status codes, pagination, versioning, rate limiting, caching headers, OpenAPI documentation. Use when a REST |
|
|
200
201
|
| external | `retrofit-networking` | - | Builds networking layers on Android with Retrofit, OkHttp, and Kotlin Coroutines. Covers suspend functions in API interfaces, OkHttp interce |
|
|
201
202
|
| external | `room-database` | - | Implements Room database persistence on Android with @Entity, @Dao, @Database, Flow-based reactive queries, TypeConverters for complex types |
|
|
@@ -203,6 +204,7 @@
|
|
|
203
204
|
| external | `search-first` | - | Research-before-coding workflow: checks repo utilities, installed libraries, packages and internal components, then decides adopt / extend / |
|
|
204
205
|
| external | `security-review` | - | Defensive static security review of a diff or repo: threat model, OWASP and CWE findings with CVSS and evidence, before/after fixes. Use whe |
|
|
205
206
|
| external | `shareplay-activities` | - | GroupActivities and SharePlay on iOS, macOS, tvOS and visionOS: GroupActivity, GroupSession lifecycle, messengers, playback sync, file trans |
|
|
207
|
+
| external | `short-video-craft` | - | Maps the craft of short vertical videos to the toolkit media tool parameters: safe area, first-frame hook, pacing, loop seam, b-roll sync, c |
|
|
206
208
|
| external | `signal-community` | - | Checks whether other people hit the same problem, via Stack Overflow, Hacker News and GitHub (keyless) plus opt-in Reddit and X. Use when a |
|
|
207
209
|
| external | `skill-creator` | - | House guide for authoring plugin skills: creating one, trimming or splitting a bloated one, sharpening a description, and choosing between a |
|
|
208
210
|
| external | `spec-persona-walk` | - | Walks a spec as up to four personas drawn from it and reports missing states, unhandled errors, accessibility gaps and conflicting rules, ea |
|