Skip to content

datit309/supergraph / plugins/supergraph/skills/video-demo

video-demo

Flagged

Films a web app as narrated, zooming, cursor-driven demo videos with retina screenshots, either from a repo it builds and mocks or from a live URL as it is served. Use when the user asks for a demo video, product video, walkthrough, screencast, screen recording of an app or of a URL, hero or landing-page footage, app screenshots for a website, "show off this feature", "record a demo of <url>", or wants to add, re-film, re-narrate or fix a demo scene.

FileKindSize
LICENSEother1.0 KB
README.mdmarkdown1.6 KB
SKILL.mdskill md8.9 KB
engine/pin-build.mjsexecutablescript4.0 KB
engine/playwright.demo.tsscript4.8 KB
engine/run.mjsexecutablescript5.1 KB
engine/serve.mjsexecutablescript3.7 KB
engine/studio/actor.tsscript23.5 KB
engine/studio/config.tsscript13.4 KB
engine/studio/define.tsscript5.9 KB
engine/studio/overlay.tsscript12.0 KB
engine/studio/preview.tsscript7.0 KB
engine/studio/ready.tsscript3.6 KB
engine/studio/recorder.tsscript23.1 KB
engine/studio/run-id.tsscript1.8 KB
engine/studio/scene.tsscript6.0 KB
engine/studio/stage.tsscript5.4 KB
engine/studio/stitch.tsscript11.0 KB
engine/studio/voice.tsscript17.3 KB
examples/roadmap-search-poster.pngbinary187.3 KB
package-lock.jsonmanifest2.2 KB
package.jsonmanifest407 B
references/capture.mdmarkdown10.7 KB
references/config.mdmarkdown14.3 KB
references/mocking.mdmarkdown8.8 KB
references/narration.mdmarkdown8.1 KB
references/runs.mdmarkdown14.7 KB
references/scenes.mdmarkdown10.4 KB
references/troubleshooting.mdmarkdown20.3 KB
scripts/demoexecutablescript303 B
scripts/doctor.shexecutablescript4.6 KB
scripts/gaps.mjsexecutablescript5.7 KB
scripts/install-voice.shexecutablescript2.1 KB
scripts/install.shexecutablescript3.9 KB
scripts/probe-fps.mjsexecutablescript8.7 KB
scripts/say.shexecutablescript4.1 KB
scripts/scaffold.mjsexecutablescript11.4 KB
template/demo/demo.config.tsscript6.0 KB
template/demo/mock.tsscript4.1 KB
template/demo/scenes/smoke.scene.tsscript1.9 KB
template/demo/ui.tsscript1.1 KB

engine/studio/run-id.ts

View on GitHub
import { randomBytes } from 'node:crypto';
import { join } from 'node:path';

import { OUT_DIR } from './config.ts';

/**
 * One identity per studio run, shared by every worker in it.
 *
 * Scenes file an entry each, and the teardown collects those entries into the
 * manifest and then clears them. With one run that is trivial. With two runs
 * at once it is a trap that took two attempts to close: the first version
 * swept the whole entries directory, so a finishing run deleted an in-flight
 * one's frames; the second swept "only its own entries", except it worked out
 * which those were by reading every file in a shared directory, which is the
 * same bug wearing a hat. A run that finished at the wrong moment silently
 * took four already-filmed scenes out of another run's manifest, and the only
 * evidence was a count going down.
 *
 * So a run's entries live somewhere only that run knows about. The id is
 * minted in `globalSetup`, which Playwright evaluates once in the main process
 * before it forks any worker, and reaches the workers through the environment
 * they inherit. A worker that somehow starts without one mints its own rather
 * than colliding: the manifest would then come out short, which is loud, and
 * far better than two runs quietly deleting each other's work.
 */
const ENV_KEY = 'DEMO_RUN_ID';

export default function mintRunId(): void {
  process.env[ENV_KEY] = randomBytes(6).toString('hex');
}

export function runId(): string {
  const held = process.env[ENV_KEY];
  if (held) {
    return held;
  }

  const minted = randomBytes(6).toString('hex');
  process.env[ENV_KEY] = minted;
  return minted;
}

/** Where this run files its per-scene entries, before they become a manifest. */
export function entryDir(): string {
  return join(OUT_DIR, '.entries', runId());
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall