Skip to content

Diogenesoftoronto/keating / video/keating-surface-tour/.agents/skills/hyperframes-creative

hyperframes-creative

Verified

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

FileKindSize
SKILL.mdskill md5.8 KB
frame-presets/biennale-yellow/FRAME.mdmarkdown17.4 KB
frame-presets/biennale-yellow/caption-skin.htmlother8.1 KB
frame-presets/biennale-yellow/frame-showcase.htmlother34.1 KB
frame-presets/blockframe/FRAME.mdmarkdown15.9 KB
frame-presets/blockframe/caption-skin.htmlother8.3 KB
frame-presets/blockframe/frame-showcase.htmlother37.9 KB
frame-presets/blue-professional/FRAME.mdmarkdown16.8 KB
frame-presets/blue-professional/caption-skin.htmlother8.2 KB
frame-presets/blue-professional/frame-showcase.htmlother38.2 KB
frame-presets/bold-poster/FRAME.mdmarkdown15.6 KB
frame-presets/bold-poster/caption-skin.htmlother8.6 KB
frame-presets/bold-poster/frame-showcase.htmlother31.6 KB
frame-presets/broadside/FRAME.mdmarkdown15.9 KB
frame-presets/broadside/caption-skin.htmlother8.4 KB
frame-presets/broadside/frame-showcase.htmlother33.1 KB
frame-presets/capsule/FRAME.mdmarkdown16.8 KB
frame-presets/capsule/caption-skin.htmlother8.3 KB
frame-presets/capsule/frame-showcase.htmlother42.0 KB
frame-presets/cartesian/FRAME.mdmarkdown16.9 KB
frame-presets/cartesian/caption-skin.htmlother8.2 KB
frame-presets/cartesian/frame-showcase.htmlother34.5 KB
frame-presets/cobalt-grid/FRAME.mdmarkdown16.9 KB
frame-presets/cobalt-grid/caption-skin.htmlother8.7 KB
frame-presets/cobalt-grid/frame-showcase.htmlother45.9 KB
frame-presets/code-editorial/FRAME.mdmarkdown20.1 KB
frame-presets/code-editorial/caption-skin.htmlother8.3 KB
frame-presets/code-editorial/fonts/EBGaramond-400.woff2binary21.2 KB
frame-presets/code-editorial/fonts/EBGaramond-700.woff2binary22.5 KB
frame-presets/code-editorial/fonts/Inter-400.woff2binary23.1 KB
frame-presets/code-editorial/fonts/Inter-700.woff2binary23.8 KB
frame-presets/code-editorial/fonts/JetBrainsMono-400.woff2binary20.7 KB
frame-presets/code-editorial/fonts/JetBrainsMono-700.woff2binary21.4 KB
frame-presets/code-editorial/fonts/OFL-eb-garamond.txtmarkdown4.4 KB
frame-presets/code-editorial/fonts/OFL-inter.txtmarkdown4.4 KB
frame-presets/code-editorial/fonts/OFL-jetbrains-mono.txtmarkdown4.4 KB
frame-presets/code-editorial/frame-showcase.htmlother42.7 KB
frame-presets/coral/FRAME.mdmarkdown18.5 KB
frame-presets/coral/caption-skin.htmlother8.3 KB
frame-presets/coral/frame-showcase.htmlother35.6 KB
frame-presets/creative-mode/FRAME.mdmarkdown19.1 KB
frame-presets/creative-mode/caption-skin.htmlother8.3 KB
frame-presets/creative-mode/frame-showcase.htmlother37.8 KB
frame-presets/daisy-days/FRAME.mdmarkdown17.0 KB
frame-presets/daisy-days/caption-skin.htmlother8.4 KB
frame-presets/daisy-days/frame-showcase.htmlother41.3 KB
frame-presets/editorial-forest/FRAME.mdmarkdown16.6 KB
frame-presets/editorial-forest/caption-skin.htmlother8.3 KB
frame-presets/editorial-forest/frame-showcase.htmlother36.0 KB
palettes/bold-energetic.mdmarkdown417 B
palettes/clean-corporate.mdmarkdown410 B
palettes/dark-premium.mdmarkdown389 B
palettes/jewel-rich.mdmarkdown394 B
palettes/monochrome.mdmarkdown454 B
palettes/nature-earth.mdmarkdown399 B
palettes/neon-electric.mdmarkdown380 B
palettes/pastel-soft.mdmarkdown392 B
palettes/warm-editorial.mdmarkdown411 B
references/audio-reactive.mdmarkdown3.0 KB
references/beat-direction.mdmarkdown13.3 KB
references/composition-patterns.mdmarkdown5.6 KB
references/data-in-motion.mdmarkdown1.2 KB
references/design-adherence.mdmarkdown1.4 KB
references/design-picker.mdmarkdown11.9 KB
references/design-spec.mdmarkdown10.3 KB
references/house-style.mdmarkdown5.0 KB
references/motion-principles.mdmarkdown8.7 KB
references/narration.mdmarkdown3.4 KB
references/prompt-expansion.mdmarkdown5.6 KB
references/story-spine.mdmarkdown3.2 KB
references/typography.mdmarkdown14.1 KB
references/video-composition.mdmarkdown4.2 KB
references/visual-styles.mdmarkdown11.7 KB
scripts/contrast-report.mjsscript20.8 KB
scripts/extract-audio-data.pyscript6.3 KB
scripts/package-loader.mjsscript13.2 KB
scripts/package-loader.test.mjsscript2.5 KB
templates/design-picker.htmlother43.1 KB

frame-presets/cartesian/caption-skin.html

View on GitHub
<!--
  Cartesian — caption skin (preset-local source).

  This is the preset's own lower-third karaoke caption look. product-launch-video's
  Step 2 copies it into the project as caption-skin.html; captions.mjs then fills the
  three reserved holes, wraps the fragment in a <template>, and writes
  compositions/captions.html:
    · the empty GROUPS array            → the engine's scene-aware word groups
    · the 0 duration + 0 width/height   → real total + canvas size
    · the empty data-brand-tokens style → :root tokens derived from the project's frame.md

  Token contract — reference ONLY this fixed vocab (captions.mjs injects it from
  frame.md, so the Step-2 brand overlay flows through; each var has a cartesian literal
  fallback for standalone preview):
    --cap-ink · --cap-canvas · --cap-accent · --cap-accent-2 · --font-display ·
    --font-body · --cap-band-top · --cap-band-height
  Hooks (do not rename): .caption-group / .caption-word + states .is-active / .is-spoken,
  root data-composition-id="captions", timeline at window.__timelines["captions"].
  State changes use gsap.set({className}) (applied on the engine's frame-by-frame seek);
  never tl.call() callbacks (seek does not fire them → wrong state on render).

  Visual: a museum-catalog lower-third — a warm-stone card on a single 1px taupe
  hairline border (cartesian's universal structural device), SHARP corners, ZERO
  shadow, ZERO fill beyond the stone canvas. Playfair Display 400, sentence case, ink
  glyphs. Upcoming words sit in faint ink; the current word is marked QUIETLY — a faint
  stone wash with a 1px taupe hairline underline (restraint, not a loud block); spoken
  words settle to solid ink, the wash and underline cleared.
-->
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>

<!-- captions.mjs injects the project's :root tokens here -->
<style data-brand-tokens></style>

<style>
  #captions-root {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .caption-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
  }
  /* the keep-out band, from captionBand(H) — frame content stays above it */
  .caption-stage {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--cap-band-top, 900px);
    height: var(--cap-band-height, 180px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .caption-group {
    /* every group is absolutely stacked over the SAME band — exactly one shown at a
       time via opacity. Must be absolute: in-flow groups would lay out side-by-side. */
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
  }

  /* THE stone card — single 1px taupe hairline border (cartesian's universal
     structural device), SHARP corners, ZERO shadow, ZERO fill beyond the stone canvas */
  .caption-pill {
    max-width: 78%;
    padding: 20px 44px 24px;
    background: var(--cap-canvas, #ede8e0);
    border: 1px solid var(--cap-accent-2, #b8b0a4);
    border-radius: 0;
  }
  .caption-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1em 0.34em;
    font-family: var(--font-display, "Playfair Display"), Georgia, serif;
    font-weight: 400;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1.16;
    letter-spacing: -0.01em;
  }

  /* upcoming — faint ink, no mark */
  .caption-word {
    display: inline-block;
    padding: 0 0.06em;
    border-bottom: 1px solid transparent;
    color: color-mix(in srgb, var(--cap-ink, #1a1a1a) 42%, var(--cap-canvas, #ede8e0));
  }
  /* current word — a QUIET marker: a faint warm-stone wash behind solid ink, plus a
     1px taupe hairline underline (restraint, not a loud block; SHARP, NO shadow) */
  .caption-word.is-active {
    color: var(--cap-ink, #1a1a1a);
    background: color-mix(in srgb, var(--cap-accent, #8a8178) 18%, var(--cap-canvas, #ede8e0));
    border-bottom: 1px solid var(--cap-accent, #8a8178);
  }
  /* already spoken — solid ink, wash + underline cleared */
  .caption-word.is-spoken {
    color: var(--cap-ink, #1a1a1a);
    background: transparent;
    border-bottom: 1px solid transparent;
  }

  /* optional per-word accents (dormant until a word-classer tags them) */
  /* brand / key term — Playfair Display italic, cartesian's only display inflection */
  .caption-word.cap-brand {
    font-style: italic;
  }
  /* numerals / data — the body sans voice, slightly recessed */
  .caption-word.cap-num {
    font-family: var(--font-body, "Inter"), ui-sans-serif, sans-serif;
    color: color-mix(in srgb, var(--cap-ink, #1a1a1a) 72%, var(--cap-canvas, #ede8e0));
  }
  /* emphasis — a 1px taupe hairline underline (no second color; stone-and-ink only) */
  .caption-word.cap-cta {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--cap-accent, #8a8178);
    text-underline-offset: 0.12em;
  }

  @media (max-aspect-ratio: 9/16) {
    .caption-pill {
      max-width: 92%;
    }
    .caption-line {
      font-size: clamp(34px, 5.4vw, 48px);
    }
  }
</style>

<div
  id="captions-root"
  data-composition-id="captions"
  data-timeline-locked
  data-start="0"
  data-duration="0"
  data-fps="30"
  data-width="0"
  data-height="0"
>
  <div class="caption-layer" aria-hidden="true">
    <div id="caption-stage" class="caption-stage"></div>
  </div>
</div>

<script>
  // captions.mjs injects the engine's scene-aware groups + real duration here.
  var GROUPS = [];
  var DURATION = 0;

  (function () {
    var stage = document.getElementById("caption-stage");

    // build DOM: one .caption-group per group, .caption-word per word
    GROUPS.forEach(function (group, g) {
      var groupEl = document.createElement("div");
      groupEl.className = "caption-group";
      groupEl.id = "caption-group-" + g;
      var pill = document.createElement("div");
      pill.className = "caption-pill";
      var line = document.createElement("div");
      line.className = "caption-line";
      (group.words || []).forEach(function (w, i) {
        var span = document.createElement("span");
        span.className = "caption-word";
        span.id = "caption-word-" + g + "-" + i;
        span.textContent = String(w.text);
        line.appendChild(span);
      });
      pill.appendChild(line);
      groupEl.appendChild(pill);
      stage.appendChild(groupEl);
    });

    window.__timelines = window.__timelines || {};
    var tl = gsap.timeline({ paused: true });

    GROUPS.forEach(function (group, g) {
      var groupEl = document.getElementById("caption-group-" + g);
      var words = group.words || [];
      var next = GROUPS[g + 1];
      var isLast = g === GROUPS.length - 1;
      var start = Math.max(0, Number(group.start));
      var end = isLast ? DURATION : Math.min(Number(next.start), Number(group.end) + 0.3);
      if (end <= start) end = start + 0.01;

      // group on/off — exactly one group visible at a time
      tl.set(groupEl, { opacity: 1 }, start);
      tl.set(groupEl, { opacity: 0 }, end);

      // 3-state karaoke via className SETS — seek-safe (gsap.set applies on the
      // engine's frame-by-frame seek; .call callbacks would NOT fire).
      words.forEach(function (w, i) {
        var el = document.getElementById("caption-word-" + g + "-" + i);
        var at = Math.max(start, Number(w.start));
        tl.set(el, { className: "caption-word" }, start); // upcoming (also resets on reverse-seek)
        tl.set(el, { className: "caption-word is-active" }, at); // current
        tl.fromTo(el, { scale: 0.985 }, { scale: 1, duration: 0.2, ease: "power1.out" }, at);
        if (i + 1 < words.length) {
          var nextAt = Math.max(start, Number(words[i + 1].start));
          tl.set(el, { className: "caption-word is-spoken" }, nextAt); // demote when next activates
        }
      });
      if (words.length) {
        var lastEl = document.getElementById("caption-word-" + g + "-" + (words.length - 1));
        var lastSpoken = Math.min(end, Number(words[words.length - 1].end) + 0.1);
        tl.set(lastEl, { className: "caption-word is-spoken" }, lastSpoken);
      }
    });

    // full-span anchor so the sub-comp timeline spans the whole video
    tl.to({}, { duration: DURATION }, 0);
    window.__timelines["captions"] = tl;
  })();
</script>
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall