# One Line City Reveal
A calm, premium opener. On a deep vignette, a thin gold line with a glowing pen point draws continuously from the lower left: a seed, a sprout with two leaves, a small house, then a city of towers of different heights, and finally sweeps up into a large loop around the moon. The moon fills with gold and a soft glow, the pen fades out, and the brand name rises in widely spaced serif capitals with a quiet tagline under it. One editable scene, 9 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 |
| --- | --- | --- | --- | --- |
| Brand name (`slot:brand`) | Your brand name in widely spaced capitals under the drawing | Atelier Linea | yes | up to 21 characters |
| Tagline (`slot:tagline`) | One short, quiet line under the brand name | From a single seed to a whole city | yes | up to 50 characters |
| Color (`option:--theme`) | Gold line on deep navy; warm white line on black; or terracotta line on a light blush background | navy | no, default: navy | one of: terracotta on blush / white on black / gold on navy |
| Brand color for the line (`option:--accent`) | Only if the user wants their own brand color for the drawn line and the moon | #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 (Brand name, Tagline), 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 brand name is set in spaced capitals. 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.
- The drawing itself (seed, sprout, house, city towers, moon) is fixed; it cannot draw the user's logo or another picture. Say so if they ask.
- Keep the tagline a quiet signature, not a sales pitch; use the user's real claims and never invent founding years or awards.
- 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 one-line-city-reveal to make a brand reveal: brand name = [your brand name], tagline = [one short line], color = [navy / black / blush]
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 |
| --- | --- | --- |
| `brand` | Atelier Linea | 21 (spaced capitals) |
| `tagline` | From a single seed to a whole city | 50 |
The drawing itself is fixed (seed, sprout, house, city towers, moon). This scene has no picture slots; it does not draw your logo.
## 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 ./line-scene --theme navy \
--set "brand=Northwind Studio" --set "tagline=Designing homes since 1998"
```
`--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 ./line-scene --check`. If a slot is reported, shorten it and run step 1 again with `--force`.
3. **Preview** by opening `./line-scene/index.html` in a browser, or export stills: `node scripts/render.mjs ./line-scene --frames 3300,6000,8600`.
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 ./line-scene --output ./line-scene.mp4 # 1080p
node scripts/render.mjs ./line-scene --output ./line-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 ./line-scene --out ./line-hf # turns the scene into a HyperFrames project
cd ./line-hf
npx --yes hyperframes@0.9.26 check # lint, layout and contrast audit; must pass
npx --yes hyperframes@0.9.26 render --output line.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 drawing.
- One line color only; the moon uses the same color. Do not add other colors, photos or a second line.
- Keep the tagline quiet and short; it is a signature, not a sales pitch.
- Use the user's real brand name and claims; never invent founding years or awards.
## Check
- Look at three frames before delivering: 3300 ms (pen drawing the towers), 6000 ms (loop closing around the moon) and 8600 ms (final hold). In the hold frame the moon must sit inside its loop, and the brand and tagline must be centered under the towers without touching it.
- Run `node scripts/render.mjs ./line-scene --check` and fix every reported item.
- For the HyperFrames route, `npx hyperframes check` must end with "Check passed".
## Not for
- Clips longer than 9 seconds or with several scenes.
- Drawing your own logo, photos or footage; the line drawing is fixed.
- 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, line path).
- `references/hyperframes/hf-runtime.js` - clock bridge used by `scripts/hyperframes.mjs`.
- `references/third-party-notices.md` - font licenses.
変数 編集可能な項目はありません
使い方
使い方を選ぶ
ブラウザーの Studio で編集するか、自分の AI にインストールして自由に制作。
エディターは近日公開
Prompt / CLI / MCP / ZIP · API: 近日公開
インストール方法を選ぶ
AI へのインストールはすべてログインが必要。無料パックはログインのみ、有料パックは購入またはメンバーシップも必要です。
Prompt
ダウンロードと検証の手順を含むプロンプトを AI に渡します。
CLI
ログイン後、AI を選びインストールコマンドを実行。Node.js 22+ が必要です。
MCP
設定を追加して AI を再起動し、アカウント接続・検索・インストールを依頼。Node.js 22+ が必要です。
ZIP
ZIP を解凍し、SKILL.md を直下に含むパックフォルダーを AI のスキルディレクトリに置きます。