Génère avecModèles appelés par cette compétence pour produire le résultat. Vous devez fournir votre propre accès.
LLM de l’agent hôte
Prérequis
Node.js 22+Google Chrome, Chromium ou Microsoft EdgeFFmpeg
Aperçu du prompt
# Swiss Type Slam
A clean International Typographic Style title shot. On a paper background a solid accent square pops in and a letter zooms into it, a thin rule sweeps across the frame, then four heavy uppercase lines slide in from the right, one per beat, the last one in the accent color. A sub line and two small monospace corner tags settle in, and a small square blinks on the beat until the end. One editable scene, 6 s, 1920x1080, 30 fps.
## First-run setup
This skill runs on the user's own computer and needs three free tools: **Node.js 22+**, **Google Chrome, Chromium or Microsoft Edge**, and **FFmpeg**. Check them before the first render in a conversation. Talk to the user in the language they are writing in, in plain words, with no jargon they did not use first.
1. **Check.** Run `node -v`. If it prints v22 or newer, run `node scripts/check-setup.mjs` (add `--route hyperframes` for that route). It prints one line per tool (`OK` / `MISSING` / `OPTIONAL`) and ends with `RESULT: ready` (exit 0) or `RESULT: N missing` (exit 1). If `node` is not found or is older than 22, treat Node.js as missing and still look for the others with `ffmpeg -version` and the browser paths in `scripts/check-setup.mjs`.
2. **All OK:** say nothing about setup and go straight to "Before you start". Do not re-run the check later in the same conversation; run it again only if a later command fails with "not found", "too old" or a missing-tool error.
3. **Something missing:** stop and explain before doing anything else. Use this shape, translated into the user's language:
> To make this video on your computer I need a few free tools that are not installed yet:
> - **Node.js** (version 22 or newer) - runs this skill's scripts.
> - **FFmpeg** - turns the rendered frames into an MP4 file.
> - **Google Chrome** (or Chromium / Edge) - draws each frame of the animation.
> I can install them for you now ([the exact commands for this computer]). It takes a few minutes and your computer may ask for your login password. Shall I go ahead?
List only what is actually missing. Do not install anything until the user clearly says yes.
4. **Install, after a yes**, using the user's system (detect with `uname` on macOS / Linux, or `$env:OS` in PowerShell on Windows):
- **macOS:** check `brew --version`. If Homebrew exists: `brew install node ffmpeg` and `brew install --cask google-chrome` (skip what is already there). If Homebrew is missing, explain that Homebrew is the free standard installer for Mac tools and ask a second time before installing it. Its official installer asks for the Mac login password, so give the user this one line to paste into Terminal themselves: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`, then follow the "Next steps" lines it prints (they add `brew` to the PATH). If the user prefers not to use Homebrew, use the official installers from the links in step 6.
- **Windows:** `winget install -e --id OpenJS.NodeJS.LTS`, `winget install -e --id Gyan.FFmpeg`, `winget install -e --id Google.Chrome` (Edge is usually preinstalled, so the browser is often already OK). Open a new terminal afterwards so the PATH updates.
- **Linux (Debian / Ubuntu):** `sudo apt-get install -y ffmpeg chromium` (on Ubuntu the browser package may be `chromium-browser`). Distribution Node.js is often older than 22: install Node 22+ from the official instructions at nodejs.org instead.
- Ask for nothing except the system's own password prompt; never ask for account names, tokens or keys. If your sandbox blocks the install, request permission to run that command, or show the user the command to paste into their own terminal.
5. **Verify** with the same check: `node -v` (22 or newer), `ffmpeg -version`, then `node scripts/check-setup.mjs` until it prints `RESULT: ready`. Tell the user in one sentence that setup is done, then continue the task they originally asked for without making them repeat it.
6. **If an install fails** or the user wants to do it by hand, give the official download page and the shortest steps, then re-run step 5 when they say it is done:
- Node.js: https://nodejs.org/en/download (pick the LTS installer, run it, open a new terminal).
- FFmpeg: https://ffmpeg.org/download.html (Windows and macOS builds are linked there; put the `ffmpeg` binary on the PATH, or pass `--ffmpeg <path>` to `render.mjs`).
- Google Chrome: https://www.google.com/chrome/ (or pass `--chrome <path>` to an existing Chromium / Edge).
Once setup is done, continue with "Before you start": ask for the items the user has not given yet; do not start from the example values unless the user asks for a sample.
<!-- fill-in:start -->
<!-- Generated by packing/scripts/fillin.py from references/fill-in.json. Edit the JSON and re-run gen; do not edit this block by hand. -->
## Before you start
The user fills in the items below; `references/fill-in.json` holds the same list in machine-readable form. Talk to the user in the language they are writing in.
| Item | What it is | Example | Required | Limit |
| --- | --- | --- | --- | --- |
| Line 1 (`slot:line-1`) | First word or short phrase of the statement | Every | yes | up to 9 characters |
| Line 2 (`slot:line-2`) | Second word or short phrase | frame | yes | up to 9 characters |
| Line 3 (`slot:line-3`) | Third word or short phrase | is | yes | up to 9 characters |
| Line 4 (`slot:line-4`) | Last word or short phrase, drawn in the accent color | designed. | yes | up to 9 characters |
| Initial in the square (`slot:mark`) | One or two characters in the colored square, such as your initial | A | yes | up to 2 characters |
| Sub line (`slot:sub`) | One or two short sentences under the rule | A studio for brands that move. Typography, grids and motion, built on the beat. | yes | up to 140 characters |
| Left corner tag (`slot:tag-left`) | Small tag in the left corner | A-01 / Motion | no, default: A-01 / Motion | up to 36 characters |
| Right corner tag (`slot:tag-right`) | Small tag in the right corner | 120 BPM | no, default: 120 BPM | up to 36 characters |
| Color (`option:--theme`) | Black type on warm paper with a red accent; light type on black with a red accent; or dark navy type on cool gray with a cobalt blue accent | paper | no, default: paper | one of: blue / night / paper |
| Brand color for the accent (`option:--accent`) | Only if the user wants their own brand color for the square and the last line | #1E3A8A | no, default: none | #RRGGBB |
| Video size (`option:--resolution`) | 1080p for social posts, 4K for big screens | 1080p | no, default: 1080p | one of: 1080p / 4K |
**Ask first, then make.**
1. Take every item the user already gave, from this message or earlier in the conversation.
2. If a **required** item is still missing (Line 1, Line 2, Line 3, Line 4, Initial in the square, Sub line), stop and ask before creating anything. Use one short message in the user's language: list only the missing items, each with its plain name, the one-line explanation and the example, and mention the defaults of the optional items in the same message so the user can change them in one reply.
3. Never make up the user's content: no invented names, places, dates, prices, claims, people or photos. The examples in the table are only examples.
4. Use the example values only when the user explicitly asks for a sample (for instance "show me an example first", in any language); then say in one sentence that the result uses sample content to be replaced.
5. If an answer breaks a limit, propose a shorter version or a valid option and ask; never cut or change it silently.
6. Read the final values back in one line, then go on to Steps.
- The bundled typefaces cover Latin letters only and the four lines are set in uppercase. If the user writes a line in Chinese, Japanese or another non-Latin script, say so and ask for an English (Latin-letter) version; do not translate their words yourself.
- Each of the four lines holds one word or a very short phrase (up to 9 characters; wide letters such as W and M fill it faster). If the user gives a sentence, propose how to split it into four lines and ask.
- Never invent facts, client names or claims for the sub line; use only what the user gave you.
- The render route (built-in or HyperFrames) is not a fill-in item: use the built-in renderer unless the user asks for HyperFrames.
Fill-in prompt shown to the user after install (copy, replace the brackets, send):
> Use swiss-type-slam to make a type slam: line 1 = [one word], line 2 = [one word], line 3 = [one word], line 4 = [one word], initial in the square = [1 or 2 letters], sub line = [one or two short sentences], color = [paper / night / blue]
Show it in the user's language (`references/fill-in.json` also holds a Chinese version), with the brackets left for the user to fill.
Not sure what to put? The user can say "show me an example first" and you use the example values.
<!-- fill-in:end -->
## Text slots
All visible text lives in named slots. Defaults are in `references/defaults.json`; `create.mjs` refuses text over the limit.
| Slot | Default | Max chars |
| --- | --- | --- |
| `mark` | A | 2 |
| `line-1` | Every | 9 |
| `line-2` | frame | 9 |
| `line-3` | is | 9 |
| `line-4` | designed. | 9 (drawn in the accent color) |
| `sub` | A studio for brands that move. Typography, grids and motion, built on the beat. | 140 |
| `tag-left` | A-01 / Motion | 36 |
| `tag-right` | 120 BPM | 36 |
Lines are set in uppercase automatically. Very wide letters (W, M) fill a line faster than the limit suggests; the check in step 2 catches that. This scene has no picture slots.
## Choose a render route
Both routes play the same scene with the same text and theme; pick one.
| | Built-in renderer (default) | HyperFrames |
| --- | --- | --- |
| Needs | Node.js 22+, Chrome / Chromium / Edge, FFmpeg | Node.js 22+, FFmpeg, internet once for `npx hyperframes` (it downloads its own headless Chrome) |
| Good for | Fully offline, no extra packages | People who already use HyperFrames, want its Studio preview, `check` audits or cloud rendering |
| Output | `render.mjs` writes the MP4 | `npx hyperframes render` writes the MP4 |
If the user does not say, use the built-in renderer.
## Steps
1. **Create** an editable copy with the user's words:
```bash
node scripts/create.mjs --out ./swiss-scene --theme paper \
--set "line-1=Make" --set "line-2=every" --set "line-3=frame" --set "line-4=count." --set "mark=M"
```
`--set slot=value` can repeat. `--data content.json` takes an object of slot values. `--help` lists every slot.
2. **Check** that every line fits: `node scripts/render.mjs ./swiss-scene --check`. If a slot is reported, shorten it and run step 1 again with `--force`.
3. **Preview** by opening `./swiss-scene/index.html` in a browser, or export stills: `node scripts/render.mjs ./swiss-scene --frames 800,3000,5600`.
4. **Render** with the chosen route (below), then hand back the MP4 and the scene folder.
## Render
Built-in renderer:
```bash
node scripts/render.mjs ./swiss-scene --output ./swiss-scene.mp4 # 1080p
node scripts/render.mjs ./swiss-scene --output ./swiss-scene-4k.mp4 --resolution 4k # 3840x2160
```
It drives the scene frame by frame in headless Chrome and encodes H.264 with FFmpeg. Pass `--chrome <path>` or `--ffmpeg <path>` if they are not found.
HyperFrames:
```bash
node scripts/hyperframes.mjs ./swiss-scene --out ./swiss-hf # turns the scene into a HyperFrames project
cd ./swiss-hf
npx --yes hyperframes@0.9.26 check # lint, layout and contrast audit; must pass
npx --yes hyperframes@0.9.26 render --output swiss.mp4 # add --quality delivery for the final file
```
The project keeps the same HTML, fonts and timing; `hf-runtime.js` hands the clock to HyperFrames. Edit text by re-running steps 1 and 4, not by editing the project. Set `HYPERFRAMES_NO_TELEMETRY=1` if the user does not want anonymous usage counters sent.
## Rules
- Keep the timeline intact: change words and the theme, not timings, sizes or the order of events.
- Exactly two colors carry the design: the ink and one accent. Do not add gradients, photos or extra colors.
- Keep each line to one word or a very short phrase; never put a sentence in a line slot.
- Never invent facts, client names or claims; use only what the user gave you.
## Check
- Look at three frames before delivering: 800 ms (square and letter), 3000 ms (all four lines in) and 5600 ms (final hold). No line may be cut at the right edge, touch the rule, or overlap the square.
- Run `node scripts/render.mjs ./swiss-scene --check` and fix every reported item.
- For the HyperFrames route, `npx hyperframes check` must end with "Check passed".
## Not for
- Clips longer than 6 seconds or with several scenes.
- Logos, photos or footage; this shot is type and flat shapes only.
- Voiceover, music or subtitles.
## References
- `scripts/check-setup.mjs` - first-run tool check (read-only; same Chrome / FFmpeg lookup as `render.mjs`).
- `references/defaults.json` - slot defaults, limits, themes and timing.
- `references/project/` - the scene itself (HTML, CSS, fonts, runtime).
- `references/hyperframes/hf-runtime.js` - clock bridge used by `scripts/hyperframes.mjs`.
- `references/third-party-notices.md` - font licenses.
Variables Aucun champ modifiable
Comment l’utiliser
Choisir votre méthode
Modifiez dans Studio sur votre navigateur ou installez dans votre IA pour plus de liberté.
Utilise swiss-type-slam avec mon contenu. Demande-moi les éléments nécessaires.
Contenu du pack
17 fichiers dans le ZIP
Un dossier de scènes modifiable de 6 secondes 1920x1080 avec vos mots et votre thème
Un MP4 rendu à 1080p ou 4K, à partir du moteur de rendu intégré ou HyperFrames
Une vérification automatique de l'ajustement de chaque ligne avant le rendu
Prérequis
Un navigateur pour Studio ; une IA compatible avec les skills (Claude Code, Codex, Cursor ou OpenClaw) pour installer. Node.js 22+ uniquement pour CLI / MCP. Les dépendances de production du pack figurent ci-dessous.
Requis · Node.js 22 ou plus récent
Requis · Google Chrome, Chromium ou Microsoft Edge
Requis · FFmpeg
Facultatif · HyperFrames CLI (npx hyperframes)
Contenu du pack
Un dossier de scènes modifiable de 6 secondes 1920x1080 avec vos mots et votre thème
Un MP4 rendu à 1080p ou 4K, à partir du moteur de rendu intégré ou HyperFrames
Une vérification automatique de l'ajustement de chaque ligne avant le rendu
Idéal pour
Studios et indépendants ouvrant une bobine ou une étude de cas avec une déclaration audacieuse
Marques publiant une ligne de manifeste ou un slogan de campagne
Équipes qui souhaitent une intro typographique claire avec de nouveaux mots à chaque fois
Non adapté à
Clips de plus de 6 secondes ou comportant plusieurs scènes
Remplacez les crochets par votre contenu ; les champs facultatifs peuvent être omis.
/swiss-type-slam
Line 1 = 〔Line 1 — 9 caractères maximum〕
Line 2 = 〔Line 2 — 9 caractères maximum〕
Line 3 = 〔Line 3 — 9 caractères maximum〕
Line 4 = 〔Line 4 — 9 caractères maximum〕
Initial in the square = 〔Initial in the square — 2 caractères maximum〕
Sous-titre = 〔Sous-titre — 140 caractères maximum〕
Left corner tag = 〔Left corner tag — 36 caractères maximum — facultatif〕
Right corner tag = 〔Right corner tag — 36 caractères maximum — facultatif〕
Couleur = 〔Couleur — blue / night / paper — facultatif〕
Couleur de marque = 〔Couleur de marque — facultatif〕
Résolution vidéo = 〔Résolution vidéo — 1080p / 4K — facultatif〕
Vous hésitez ? Dites : montrez-moi un exemple d’abord
Exemple
/swiss-type-slam
Line 1 = Every
Line 2 = frame
Line 3 = is
Line 4 = designed.
Initial in the square = A
Sous-titre = A studio for brands that move. Typography, grids and motion, built on the beat.
Left corner tag = A-01 / Motion
Right corner tag = 120 BPM
Couleur = paper
Couleur de marque = #1E3A8A
Résolution vidéo = 1080p
Impact typographique suisse
Un carré coloré portant votre initiale apparaît, un filet balaie l’écran puis quatre lignes en capitales entrent à chaque temps, la dernière dans la couleur d’accent. Modifiez chaque ligne, le thème ou la couleur de marque. Produisez un MP4 1080p ou 4K en local avec le moteur intégré ou HyperFrames.
Un dossier de scènes modifiable de 6 secondes 1920x1080 avec vos mots et votre thème
Un MP4 rendu à 1080p ou 4K, à partir du moteur de rendu intégré ou HyperFrames
Une vérification automatique de l'ajustement de chaque ligne avant le rendu
Prérequis
Requis · Node.js 22 ou plus récent
Requis · Google Chrome, Chromium ou Microsoft Edge
Requis · FFmpeg
Facultatif · HyperFrames CLI (npx hyperframes)
Faro Architects studio reel (cobalt)
Conseils
Passez au thème de nuit et rendez-le en 4K.
Utilisez la couleur de ma marque sur toute la sortie.
Avant de commencer
À fournir
Quatre mots ou phrases courts pour les titres
Une sous-ligne et une initiale pour le carré (les valeurs par défaut conviennent)
Dépendances
Requis · Node.js 22 ou plus récent
Requis · Google Chrome, Chromium ou Microsoft Edge
Requis · FFmpeg
Facultatif · HyperFrames CLI (npx hyperframes)
Coûts externes
Aucun coût de service externe
Dernière mise à jour
v1.0.4 ·
Le périmètre se limite au déroulement fourni.
Notes et avis
Aucune note pour le moment
Noter ce pack
Avis
Aucun avis pour le moment
Questions fréquentes
Puis-je modifier le texte et les couleurs ?
Oui. Chaque ligne visible est un espace de texte avec une limite de caractères, et vous pouvez choisir du papier, de la nuit, du cobalt ou n'importe quelle couleur de marque.
Ai-je besoin de mes propres actifs ou d'une clé API ?
Non. La scène est composée uniquement de caractères et de formes, et les deux itinéraires de rendu s'exécutent localement gratuitement.
Puis-je modifier le style ou le mouvement ?
La chronologie est corrigée afin que chaque rendu reste propre. Vous changez les mots et les couleurs, pas les horaires.