Gera comModelos que esta habilidade utiliza para gerar o resultado. Você precisa fornecer seu próprio acesso.
LLM do agente hospedeiro
Requisitos
Node.js 22+Google Chrome, Chromium ou Microsoft EdgeFFmpeg
Como é o 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.
Variáveis Sem campos editáveis
Como usar
Escolha seu caminho
Edite no navegador com Studio ou instale na sua IA para ter mais liberdade.
Editor em breve
Prompt / CLI / MCP / ZIP · API: Em breve
Escolha como instalar
Toda instalação em IA exige conta. Grátis: basta entrar; pagos: compra ou assinatura também.
Prompt
Copie para sua IA o prompt com instruções de download e verificação.
CLI
Entre, escolha sua IA e execute o comando. Requer Node.js 22+.
MCP
Adicione a configuração, reinicie sua IA e peça para conectar sua conta, buscar e instalar pacotes. Requer Node.js 22+.
ZIP
Extraia o ZIP e coloque a pasta do pacote no diretório de skills da sua IA, com SKILL.md diretamente dentro.
Use swiss-type-slam com meu conteúdo. Pergunte quais materiais são necessários.
O que vem no pacote
17 arquivos no ZIP
Uma pasta de cena editável de 6 segundos em 1920x1080 com suas palavras e tema
Um MP4 renderizado em 1080p ou 4K, do renderizador integrado ou HyperFrames
Uma verificação automática de que cada linha se ajusta antes da renderização
O que você precisa
Navegador para Studio; IA com suporte a skills (Claude Code, Codex, Cursor ou OpenClaw) para instalar. Node.js 22+ apenas para CLI / MCP. Veja abaixo as dependências de produção do pacote.
Obrigatório · Node.js 22 ou mais recente
Obrigatório · Google Chrome, Chromium ou Microsoft Edge
Obrigatório · FFmpeg
Opcional · HyperFrames CLI (npx hyperframes)
O que está incluído
Uma pasta de cena editável de 6 segundos em 1920x1080 com suas palavras e tema
Um MP4 renderizado em 1080p ou 4K, do renderizador integrado ou HyperFrames
Uma verificação automática de que cada linha se ajusta antes da renderização
Ideal para
Estúdios e freelancers abrindo um vídeo ou estudo de caso com uma declaração ousada
Marcas postando uma linha de manifesto ou slogan de campanha
Equipes que desejam uma introdução tipográfica limpa, com novas palavras a cada vez
Não indicado para
Clipes com duração superior a 6 segundos ou com diversas cenas
Troque os colchetes pelo seu conteúdo; os campos opcionais podem ser omitidos.
/swiss-type-slam
Line 1 = 〔Line 1 — máximo de 9 caracteres〕
Line 2 = 〔Line 2 — máximo de 9 caracteres〕
Line 3 = 〔Line 3 — máximo de 9 caracteres〕
Line 4 = 〔Line 4 — máximo de 9 caracteres〕
Initial in the square = 〔Initial in the square — máximo de 2 caracteres〕
Subtítulo = 〔Subtítulo — máximo de 140 caracteres〕
Left corner tag = 〔Left corner tag — máximo de 36 caracteres — opcional〕
Right corner tag = 〔Right corner tag — máximo de 36 caracteres — opcional〕
Cor = 〔Cor — blue / night / paper — opcional〕
Cor da marca = 〔Cor da marca — opcional〕
Resolução do vídeo = 〔Resolução do vídeo — 1080p / 4K — opcional〕
Na dúvida, diga: mostre um exemplo primeiro
Exemplo
/swiss-type-slam
Line 1 = Every
Line 2 = frame
Line 3 = is
Line 4 = designed.
Initial in the square = A
Subtítulo = 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
Cor = paper
Cor da marca = #1E3A8A
Resolução do vídeo = 1080p
Impacto tipográfico suíço
Um quadrado colorido com sua inicial surge, uma linha cruza a cena e quatro linhas em maiúsculas entram uma por batida, a última na cor de destaque. Altere cada texto, tema ou cor da marca. Renderize um MP4 em 1080p ou 4K localmente com o renderizador incluído ou HyperFrames.