← All skills

Post to video

Turn a post into a video

Turns one X or LinkedIn post into a short motion-graphic video, timed to a music beat.

VideoSocial/graphed:post-to-video

Set it up

  1. 01

    Paste the prompt

    Copy it into Claude Code, Codex, or Cursor.

  2. 02

    Approve the login

    Your agent installs the Graphed CLI and opens a sign-in page in your browser.

  3. 03

    Your agent runs it

    It installs the skills and follows this one, asking you when it needs a decision.

The prompt:

Set up the Graphed CLI from https://www.npmjs.com/package/@graphed-inc/cli, install the skills, and execute this skill: /graphed:post-to-video.

1. If `graphed` is not on PATH, install it: `npm i -g @graphed-inc/cli`.
2. Run `graphed login` and approve the browser prompt.
3. Run `graphed skills sync` to install the Graphed skills.
4. Execute this skill: `/graphed:post-to-video`.

What it does: Turns one X or LinkedIn post into a short motion-graphic video, timed to a music beat.
Get startedView on GitHub

What your agent reads

All 36 files on GitHub ↗
SKILL.md

post-to-video

One post in, one finished video out: videos/<slug>/<Name>.mp4 plus the editable <Name>.tsrct, a build.py that generates every layer and keyframe, and a NOTES.md.

The pipeline is Python → editable JSON → tsrct project commit → tsrct export. All shared code lives in lib/motion.py. Each video only writes scenes. This skill sits on top of tesseract-motion (CLI install, schema, filmstrip review): read that skill's references only when you need something the library doesn't cover.

0. Setup (once per machine)

Use this skill's own directory. When the skill loads, that directory is the "Base directory for this skill". Do not assume .claude/skills/post-to-video; a registry install lives at skills/post-to-video inside the Graphed plugin.

bash

If setup.sh says tsrct is missing or the wrong version, follow tesseract-motion/references/installation.md (the skill installed beside this one). That guide downloads the pinned CLI zip, checks its checksum, and runs the official install.sh. Then run setup.sh again.

setup.sh does not download tsrct and does not use sudo. On Linux it also checks for a Vulkan driver and for ffmpeg with libx264. If it prints an install command, run that command, then run setup.sh again. Later steps assume env.sh has been sourced.

1. Read the post

  • Pull out the beats of the argument: hook → mechanism steps → proof → CTA. One scene each; 5–8 scenes, 25–35 s total.
  • Pacing: hook ≈ 10 beats, most scenes 8–12 beats, one "hero" scene up to ~18. List items land every 1–2 beats, not 4. Staggered grids/tiles 40–110 ms apart. Hold a finished state ~1–1.5 s, then cut. No idle beats waiting for the next element. A cut near 48 s is too slow; about 28 s is the pace that works. Stay in 25–35 s.
  • Flag, don't silently fix: likely typos in product or model names, numbers that don't match supplied data, and claims you can't support. Use the sensible reading on screen and list every change in the final message.
  • Graphed CTA (logo + get started free → graphed.com/platform) only if the post mentions Graphed.
  • If the user attaches a screenshot of real data, redraw it natively (read values off the pixels), state which values are exact vs. read off the chart, and keep the post's claim and the chart consistent or flag the gap.
  • If the user names a design reference (URL or screenshot), that overrides the seed concept for the look. Read it (ask before opening a browser; Cloudflare sites block curl/WebFetch), match its type, colour, components and motion, and keep the Graphed mark. Never put a third-party logo on screen.

2. Seed → concept

bash

Look past the surface: hidden words/abbreviations, palindromes, a digit sum that also appears as a substring, clusters, the length's factors (96 = 8×12 → a 12-column grid). Tie 2–4 findings to the post's message and turn them into ONE visual system (a world + a signature motion + one persistent element). Examples that worked: "007" → version numbers → a changelog; "p2"+"hde" → hide on page 2 → a scrolling page with a rank ruler; "vOv" → a face → the bot avatar.

  • Never show the string, or a recognisable chunk of it, on screen. Save it in .tesseract-work/seed.txt.
  • Check references/catalog.md and pick a system that hasn't been used. Different from the last video, not a reskin.
  • Tell the user in 2–4 lines which patterns you found and what they became.

3. Music

bash

Choose from references/music.md (prefer an unused track/section). Put the quiet part under the first line of the hook and the drop on beat 3–4 (≈2 s) under the key line. All scene boundaries are beats. Weak-grid tracks (strength < 1.25) are out.

4. Build

bash

Edit videos/<slug>/.tesseract-work/build.py (the template shows hook / list / counter / CTA):

  • setup(ROOT) then palette, B = Beats(period, [scene beats…]), MUSIC_SRC0 = <in-point ms>.
  • Scene groups: group(name, S[i], D[i], layers) + enter_scene / exit_scene. Times inside a scene use B.lb(i, beat); SFX use project time B.pt(i, beat).
  • Library: text rect circle path_shape line polyline check image group pivot shadow, key fade rise pop show hide snap_in typing counter stepped scramble redact, pill offset tokens_line logo_lockup Thread bubble, sfx music write_doc. Read lib/motion.py docstrings.
  • Fonts: keys head body bodym mono monom (Geist, default), outfit outfitm jbmono, type typeb (Courier Prime). Remap with setup(ROOT, fonts={"head": FONT_FILES["outfit"]}).
  • Rules that bite (references/quirks.md): fade Shapes through a group; keep text lines ≤ 900 px; layers[0] is on top; text y is the baseline; no ✓ glyph (use check()); 1 ms offsets for coincident HOLD keys.
  • Default 1080x1350, light theme, one accent. Dark only if the brief/reference calls for it.
  • Mock content (sample names, counts, code) is fine; real-looking numbers that are not from the user must be listed as illustrative in the final message.
bash

Open both filmstrips (Read) and fix: overlaps, text wrapping, empty halves of the frame, things appearing before/after they should, colours on colours (an orange stamp on an orange card disappears), labels colliding. Use "$T" preview --project … --time <s> --output x.png for a full-size frame. Iterate until clean. Usually 1–3 passes.

5. Export and deliver

bash

Then:

  1. Write videos/<slug>/.tesseract-work/NOTES.md: brief, seed patterns → concept, look, music + in-point
    • beat (estimated, not listened), scene beats, real vs. illustrative data, copy changes.
  2. Add a row to references/catalog.md (and music.md "Used by").
  3. Send the MP4 with SendUserFile (display: render).
  4. Final message: the concept in 2–4 lines, scene-by-scene list, audio numbers, and a flag list: copy changes, claim/data gaps, illustrative content, "beat sync not confirmed by ear".

Revisions: copy the current mp4 + build.py into Versions/ before a redesign, then edit build.py and re-run rebuild → check → export.

About Graphed

Graphed is a marketing cloud. It includes the infrastructure for an agent to do marketing: a data warehouse, data pipelines, a Postgres database, cron jobs, runtime servers, a tool catalog, custom domains, and internal app tooling.

More skills