mcpbeat Sign in

Render Imessage Chat Agent Skill

Assemble an iMessage chat-reveal video ad from a thread JSON — one continuous Playwright recording of the conversation animating in (typing dots, composer typing, bubble pops, auto-scroll) crossfaded into a designed end card, with iMessage send/receive SFX and an optional ducked music bed. FREE assembly (Playwright + ffmpeg); the recipe supplies the per-brand thread + product + end-card config and gates the paid product-image/music calls to their own capabilities. Use for the imessage-chat format.

24k tokens
context cost
the whole folder, loaded on every use
15
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
1086
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/gooseworks-ai/goose-skills --skill render-imessage-chat

What comes with it

91 434 bytes besides the instruction
assets/sfx/imessage-receive.mp3
assets/sfx/imessage-send.mp3
scripts/config.example.json
scripts/end-card.template.html
scripts/mockup/generate.js
scripts/mockup/templates/chat.css
scripts/mockup/templates/icons.js
scripts/package-lock.json
scripts/package.json
scripts/record-chat.js
scripts/render-end-card.js
scripts/stitch.sh
skill.meta.json
tests/smoke-test.md

The instruction itself

5 sections, as written by the author

render-imessage-chat

The free renderer for the imessage-chat video ad format — a texting-thread

reveal where a friend-to-friend conversation animates in on a phone (typing

indicators, composer typing, bubble pops, smooth auto-scroll) and lands on a

designed brand end card. Deterministic Playwright + ffmpeg assembly; no

generative video of the UI, so bubble text and the wordmark stay pixel-crisp.

This capability is the generic assembler — the template recipe (DB) supplies the

per-brand thread, product image, and end_card config, and gates the paid

calls (product image → create-image-fal, music bed → create-music-elevenlabs) to

their own capabilities. It bundles the iMessage-mockup HTML generator + the

send/receive SFX so a chat render is self-contained and $0.

The three defects it fixes (QA GOOSE-2481)

  • Rich-link attachment — a product/link renders as a REAL iMessage URL

preview: the image (top-rounded corners) flush against a gray meta card with a

bold title + domain subtitle + chevron. NOT a bare image with a distorted

caption floating centered below it (the mockup's default .attachment-meta).

The fix is baked into record-chat.js's injected style, theme-aware.

  • No text bleed — every bubble fits. This is an AUTHORING rule the recipe

enforces: split any long line into multiple short bubbles (see the two spec

lines in config.example.json). The renderer honors the thread it's given.

  • A designed end card — wordmark + ⭐ proof row + trust trio + CTA pill

(render-end-card.js + end-card.template.html), not a bare logo.

Run

cd scripts && npm install            # once — installs Playwright for the recorders
node record-chat.js    --config config.json --out-dir <work>   # → master-chat.mp4 + .sfx.json
node render-end-card.js --config config.json --out-dir <work>  # → scene-end-endcard.mp4
bash stitch.sh --chat <work>/master-chat.mp4 --end <work>/scene-end-endcard.mp4 \
     --sfx <work>/master-chat.sfx.json --out <work>/master-final.mp4 \
     [--music <work>/music-bed.mp3] [--also-1x1]
  • record-chat.js — reads config.json (thread + theme + geometry +

optional background_image), derives a believable per-message timeline

(received bubbles pop after an optional ; sent bubbles are typed out in the

composer then popped + Delivered; attachments dwell so a rich link lands),

records it as one continuous MP4, and emits a deterministic SFX cue list.

  • render-end-card.js — fills end-card.template.html from config.end_card

(wordmark/logo_svg, stars, proof text, trust trio, CTA, colors) → still MP4.

  • stitch.sh — crossfades chat → end card, layers the send/receive SFX (from

the cue list; the mp3s ship in assets/sfx), optionally ducks a music bed

under it, and optionally derives a 1:1 variant. All FREE ffmpeg.

Contract

  • FREE assembly: Playwright record + ffmpeg composite/mux + the bundled SFX. No

AI-rendered text — the bubbles, rich-link title/domain, and end-card copy are

all real HTML/PIL, never invented by a model.

  • The recipe (DB) supplies the per-brand config: the thread (kept short — split

long lines), the product image bound into the attachment, the end_card

(prefer a real logo_svg wordmark), theme (dark default), and an optional

background_image (a flat-lay behind the phone) + optional music bed.

  • Craft rules preserved from the reference build (Wonderbly Concept E):
  • Rich-link attachment card (image top-rounded, flush on the gray meta card).
  • Keep messages SHORT — split long thoughts into multiple bubbles (no bleed).
  • You never see your own typing dots — sent messages type in the composer.
  • Attachment dwell (~3.6s) so the product/link registers.
  • Designed end card (wordmark + proof + trust trio + CTA), not a bare logo.

Gaps / routing notes

  • Product image (the attachment) and the optional music bed are inputs,

not generated here — the recipe gates them to create-image-fal /

create-music-elevenlabs (paid, proxy-routed, billed to the Ads agent). Pass

the resulting files into the config / stitch.sh --music.

  • Background flat-lay is optional; omit it for a clean neutral gradient behind

the phone, or generate one via create-image-fal and point background_image

at it.

  • Requires ffmpeg/ffprobe on PATH and Playwright Chromium (`npx playwright

install chromium) — gooseworks doctor` checks both.

Other skills for the same job

different authors, same section of the catalogue
Canvas Design
by anthropics
vendor ×13

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

1388k tokens
Algorithmic Art
by anthropics
vendor ×10

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

15k tokens scripts
Image Enhancer
by frostant
×6

Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.

635 tokens
Video Downloader
by CommandCodeAI
×4

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

671 tokens
Histolab
by christophacham
×3

Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.

18k tokens
Omero Integration
by christophacham
×3

Microscopy data management platform. Access images via Python, retrieve datasets, analyze pixels, manage ROIs/annotations, batch processing, for high-content screening and microscopy workflows.

32k tokens
Pydicom
by christophacham
×3

Python library for working with DICOM (Digital Imaging and Communications in Medicine) files. Use this skill when reading, writing, or modifying medical imaging data in DICOM format, extracting pixel data from medical images (CT, MRI, X-ray, ultrasound), anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM images to other formats, handling compressed DICOM data, or processing medical imaging datasets. Applies to tasks involving medical image analysis, PACS systems, radiology workflows, and healthcare imaging applications.

13k tokens scripts
Transformers
by christophacham
×3

This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.

13k tokens

How to use it

Copy the folder

Take gooseworks-ai/render-imessage-chat from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm, npx. Without those the skill loads but fails at the first command.