Logo de Scroll Video Website

Scroll Video Website

Comunidade
musoyangrigor
scroll-video-website

Transforme um vídeo fornecido pelo usuário em um site no estilo Apple, controlado pela rolagem, com reprodução suave do vídeo em canvas, sequências de quadros WebP otimizadas, carregamento progressivo e movimento responsivo. Use para apresentações cinematográficas de produtos, landing pages, scrollytelling, animações com sequências de imagens e vídeos controlados pela rolagem; também otimize os arquivos de quadros gerados.

Add to TypingMind

Visão geral

Publicado pormusoyangrigor
Repositórioscroll-video-website-skill
Nome da habilidadescroll-video-website
Estrelas
67
Forks
6
Arquivos incluídos
2
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por musoyangrigor no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Scroll Video Website no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/musoyangrigor/scroll-video-website-skill/tree/main/scroll-video-website
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/musoyangrigor/scroll-video-website-skill.git /tmp/scroll-video-website-skill
mkdir -p .claude/skills
cp -r /tmp/scroll-video-website-skill/scroll-video-website .claude/skills/scroll-video-website
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Scroll Video Website em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Scroll Video Website automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Scroll Video Website não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Scroll Video Website

When to use

Use this skill when the user wants to:

  • build an Apple-style scroll animation from a video;
  • create a scroll-controlled or scroll-scrubbed video website;
  • turn a product video into a cinematic landing page;
  • build a scrollytelling experience driven by video;
  • convert video into an optimized image sequence for scroll animation;
  • create a Canvas-based product reveal controlled by scrolling;
  • optimize an existing generated scroll-video frame sequence.

Do not use it for ordinary autoplay video backgrounds or unrelated scroll effects.

Create a minimal full-page experience like a product animation viewer: the page itself supplies scroll distance while a fixed canvas fills the viewport and scrubs a frame sequence derived from the user's video. The animation is the interface, not a background behind a conventional landing page.

Invocation

This skill has two modes: build a scroll-video website from a video, or optimize an existing frame sequence. If the first argument is optimize, follow references/optimize.md and do not run the build workflow below.

Treat this concise form as a complete build request:

text
$scroll-video-website <path/to/video.mp4>

The video path must be the first argument after the skill name. Everything after the path is optional user direction for styling, layout, copy, or behavior:

text
$scroll-video-website ./media/product-reveal.mp4
$scroll-video-website ./media/product-reveal.mp4 use a black background and condensed typography

The first example means: derive the frame sequence and build the full default scroll-animation website described below. In the second, preserve the same video-driven animation architecture while following the added visual direction. Let the agent using this skill interpret and implement the rest of the prompt; this skill does not define a separate command grammar for style options.

Interpret the video path as relative to the current working directory unless it is absolute. If it contains spaces, the user should quote it. Check the exact path first. If a bare filename is not there, search the current project for an exact filename match while excluding dependency, build, cache, and VCS directories. Continue automatically when exactly one match exists. If there are no matches or multiple matches, ask the user for the precise path. Braces in <path/to/video.mp4> or {video_path} indicate a placeholder and are not part of the actual path. Do not require or interpret a use keyword.

Optimize an existing sequence with exactly:

text
$scroll-video-website optimize

The optimize command takes no path or other arguments. Inspect the current project for generated frame sequences. Continue when exactly one sequence is identifiable. If several are identifiable, show them and ask which one to optimize. If no sequence can be found or confidently recognized, tell the user that the frames folder was not found and stop.

Establish the project and source video

Before editing:

  1. Inspect the project structure, scripts, framework, styling, routing, asset conventions, and local instructions.
  2. Locate the user-supplied video using the invocation rules above. If no video or path was supplied and none can be confidently identified, ask for it before implementing.
  3. Reuse the existing working stack. Do not scaffold a replacement project when one already works.
  4. Inspect the video's dimensions, duration, frame rate, frame count, and file size with ffprobe when available.
  5. Preserve unrelated behavior and make the smallest coherent set of changes needed.

Do not create substitute artwork or replace the supplied footage. Avoid duplicating the source video unless the build requires it.

Convert the video to a frame sequence

The default rendering path is a numbered WebP frame sequence, not video.currentTime. Extract frames into the project's public/static asset area with zero-padded names such as frames/frame_0001.webp.

  • Preserve the source cadence up to 30 fps. For a long clip, sample it to roughly 240–300 total frames so the payload remains practical.
  • Preserve the source aspect ratio. Use a sensible WebP quality around 78–82 and inspect the result rather than assuming the setting is adequate.
  • Record the actual extracted frame count in the implementation; do not leave a guessed constant.
  • Prefer ffmpeg for extraction. A representative command is ffmpeg -i input.mp4 -vf fps=30 -c:v libwebp -quality 80 frames/frame_%04d.webp; adapt the input, fps, output path, and existing project tooling.
  • Do not delete or overwrite unrelated assets. If the destination already contains a sequence, verify that it belongs to this animation before replacing it.

Use direct paused-video seeking only when frame extraction is unavailable or the resulting frame payload is clearly unsuitable. If falling back, explain the tradeoff and retain the same fixed-stage, bidirectional, smoothed scroll behavior.

Match the reference experience

When the user gives no additional layout or copy direction, produce a canvas-only page:

  • a white page and fixed, overflow-hidden stage covering 100vw by 100vh;
  • enough invisible document height for a deliberate scrub, approximately 400vh for an 8-second or roughly 240-frame source;
  • no navbar, cards, headings, calls to action, gradients, or invented marketing copy;
  • a canvas that fills the stage and draws each frame with cover geometry, centered on both axes;
  • a short opacity reveal only after the first frame is ready, preventing a blank-frame flash;
  • restrained image treatment only when it suits the footage, such as a white backdrop, a slight contrast adjustment, or mix-blend-mode: multiply for a white-background product render.

If the user asks for content, keep it sparse and place it over or between intentional moments in the animation without reducing the canvas's visual dominance. Do not introduce an animation dependency when native canvas and browser APIs are sufficient.

Implement canvas scrubbing

Use a fixed or sticky stage containing an aria-hidden canvas. Size its backing buffer for device pixel ratio, capped around 2, while keeping drawing measurements in CSS pixels. Reset the canvas transform before applying a new DPR scale on resize so scaling does not accumulate.

Map clamped total-page progress to the complete sequence:

js
const range = document.documentElement.scrollHeight - innerHeight
const progress = range > 0 ? Math.min(1, Math.max(0, scrollY / range)) : 0
targetFrame = progress * (frameCount - 1)

Scrolling forward must advance the animation and reverse scrolling must reverse it. Scroll and resize handlers should only update cheap measurements or the target. Run a single requestAnimationFrame loop and smooth a floating-point playhead with frame-rate-independent exponential interpolation:

js
const dt = Math.min((now - lastTime) / 1000, 0.1)
const alpha = 1 - Math.exp(-dt * 9)
currentFrame += (targetFrame - currentFrame) * alpha

Draw the integer frame on each side of the playhead and crossfade the next frame by the fractional remainder. Clear or paint the canvas background first, reset globalAlpha after drawing, and redraw on resize.

Load frames progressively

Do not block first paint on the entire sequence:

  1. Load frame 1 first, draw it, and reveal the canvas.
  2. Queue evenly distributed frames across the timeline, for example every eighth frame, so seeking has a nearby fallback early.
  3. Queue every remaining frame.

Track requested frames separately from loaded frames so the priority and remainder passes never request the same image twice. While a requested frame is still loading, draw the nearest loaded frame. Handle failed image loads without stalling the rest of the sequence.

Use an asset URL strategy that works with the project's base path and deployment target. Clean up scroll, resize, media-query listeners, observers, and animation frames when the owning component unmounts.

Responsive behavior and accessibility

Keep cover rendering on narrow screens and accept deliberate cropping; do not distort the imagery. Check important subject placement at desktop and mobile sizes. Account for mobile viewport changes and safe areas if visible content is added.

For prefers-reduced-motion: reduce, stop scrubbing and hold the first suitable frame. Keep any page content accessible and do not hijack scrolling. The decorative canvas should not create redundant screen-reader content.

Verify the result

Run the project's checks and inspect the result in a browser when available. Confirm:

  • the first and last scroll positions reach the first and last extracted frames;
  • forward and reverse scrolling feel continuous, with no abrupt jumps, playback, flashing, or visible blank canvas;
  • frame requests are not duplicated and missing or slow frames use a nearby loaded fallback;
  • cover cropping, DPR resizing, and canvas scaling work at desktop and mobile sizes;
  • reduced motion holds a static frame and component cleanup is complete;
  • the generated sequence has the expected count, dimensions, ordering, and acceptable total size;
  • unrelated project behavior still works.

Finish by summarizing the experience, the extracted frame count and payload, checks run, and any remaining source-media limitation.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Scroll Video Website faz?

Transforme um vídeo fornecido pelo usuário em um site no estilo Apple, controlado pela rolagem, com reprodução suave do vídeo em canvas, sequências de quadros WebP otimizadas, carregamento progressivo e movimento responsivo. Use para apresentações cinematográficas de produtos, landing pages, scrollytelling, animações com sequências de imagens e vídeos controlados pela rolagem; também otimize os arquivos de quadros gerados.

Por que usar Scroll Video Website no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Scroll Video Website é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Scroll Video Website no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/musoyangrigor/scroll-video-website-skill/tree/main/scroll-video-website. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Scroll Video Website?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Scroll Video Website?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Scroll Video Website com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Scroll Video Website é gratuita?

Sim. A habilidade é publicada no GitHub por musoyangrigor sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇