agentleFS
jtarorehjtaroreh/agystack/skills/ketchup-video/SKILL.md

ketchup-video

Skill142 starsChanged 9 days agoMITView on GitHub

Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.

27 other projects use a version of this, 27 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use make-bot-ui, get-pr-comments and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 15 projects that use this

  • jaydubya818Skill

    get-pr-comments

    Use when pull-request feedback needs to be fetched and summarized for action.

    Also in 3 projects that use this

  • mukcoSkill

    principles

    General software engineering principles — DRY, SOLID, YAGNI, KISS, naming, code smells, and refactoring. Language-agnostic. Use alongside language-specific skills.

    Also in 3 projects that use this

  • getnaoSkill

    chief-of-staff

    Also in 3 projects that use this

  • GoogleSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 4 projects that use this

  • GoogleSkill

    domain-modeling

    Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

    Also in 6 projects that use this

  • +2 more from google

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the environment probe before writing any slide spec:

    line 15
  2. Very specific:

    When --check-env exits 0 (ok: true), render the MP4 with render_ketchup.py.

    line 23
  3. Very specific:

    When --check-env exits non-zero (ok: false, such as missing ffmpeg, ffprobe, or libx264), do not attempt MP4 rendering or emit broken video …

    line 24
  4. Very specific:

    Keep text minimal. Put each label directly on the thing it names in plain words, not tags like "Tests: pass".

    line 32
  5. Very specific:

    Before embedding ketchup.mp4 in your reply, inspect contact_sheet.png in a single read_file call to verify legibility, clean subtitle …

    line 64

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Ketchup video

Follow /ketchup, showing what happened in a short subtitled video instead of its summary and inline visuals. Start the window at the last message the user wrote before /ketchup-video, not before any earlier /ketchup. Writing the spec, contact sheet, and video inside <appDataDir>/brain/<conversation-id>/ (with intermediate files in <appDataDir>/brain/<conversation-id>/scratch/), outside the repo, is the one exception to /ketchup's read-only rule.

The reply contains /ketchup's opening sentence, the embedded video from <appDataDir>/brain/<conversation-id>/, one line naming any remaining work you can do yourself, and the action items. When the video shows a call's options, name each option identically to the video.

Environment Gate and Fallback

Run the environment probe before writing any slide spec:

uv run <skill-dir>/scripts/render_ketchup.py --check-env

uv run resolves the inline Pillow dependency automatically for antialiased TrueType text (text_backend: "pillow-truetype"). Running with plain python3 without Pillow installed automatically falls back to the built-in 5x7 bitmap font (text_backend: "bitmap-5x7").

  • When --check-env exits 0 (ok: true), render the MP4 with render_ketchup.py.
  • When --check-env exits non-zero (ok: false, such as missing ffmpeg, ffprobe, or libx264), do not attempt MP4 rendering or emit broken video links. State the missing dependency in one line and fall back to a generative_ui interactive HTML slide deck paired with /ketchup text action items.

Slides

Draw from the screenshots, recordings, diffs, and data the work produced, not chat prose. Before writing slides.json, write the one sentence the user should leave with and one line per slide. Drop any slide that does not change what the user knows. Use at most 10 slides, and fewer is better. Neither note goes in the reply.

Each slide makes one point. Evolve one picture from slide to slide rather than cutting between unrelated layouts. Keep semantic colors and shapes consistent across every slide (done/merged green, running/active amber, failed/blocked red, waiting blue-slate). Show the work in pictures, such as a system flow, a PR stack with each PR's state, a before-and-after diagram, or options side by side. A slide is never a bullet list, a status list, a table, or disconnected boxes.

Keep text minimal. Put each label directly on the thing it names in plain words, not tags like "Tests: pass". Never caption what a picture already shows, and never repeat a fact across slides or in the text under them.

Show the outcome of each item the user asked for: done, still running, failed, or not checked. Never mark work waiting on the user as done. Include any bug found and fixed along the way. If a visible change has no screenshot, note that on its slide and name what changed on screen. Never invent numbers or draw fake screens.

Subtitles

Give each slide one short subtitle sentence, around ten words, stating what the picture means rather than reading out its labels. Place all subtitle text in subtitle; render_ketchup.py places it in the fixed bottom strip (y in [height - strip_height, height)) with automatic word-wrapping and clamping so subtitles never overlap slide content.

Spec Schema (slides.json)

Write <appDataDir>/brain/<conversation-id>/scratch/slides.json:

  • Top-level fields: width (default 1280), height (default 720), strip_height (default 96), fps (default 30), transition_seconds (default 0.3), slides (non-empty list).
  • Slide fields:
    • title: optional string.
    • subtitle: string rendered into the fixed bottom strip.
    • labels: optional list of short label strings.
    • nodes: optional list of {id?, label, x?, y?, status?}.
    • edges: optional list of {from, to, label?}.
    • screenshots (or images): optional list of string paths or {path, caption?} objects (8-bit PNGs composited inside the slide area; words inside screenshots are excluded from hold calculations).

Render and Verify

Delegate all word-diff hold calculations (max(2.0, ceil(added_words / 3))), bottom-strip layout, slide rendering, MP4 encoding (1280x720, 30fps, libx264, yuv420p, +faststart, 0.3s xfade transitions), and contact-sheet extraction to render_ketchup.py:

uv run <skill-dir>/scripts/render_ketchup.py \
  --spec <appDataDir>/brain/<conversation-id>/scratch/slides.json \
  --out <appDataDir>/brain/<conversation-id>/ketchup.mp4 \
  --contact-sheet <appDataDir>/brain/<conversation-id>/scratch/contact_sheet.png

Before embedding ketchup.mp4 in your reply, inspect contact_sheet.png in a single read_file call to verify legibility, clean subtitle wrapping, and zero overlap. Fix any unreadable slide in slides.json, re-render, and inspect the updated contact sheet before posting.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.