Communitygithub.com

hoodini/ai-agents-skills

Convierte cualquier video en una página de aterrizaje con desplazamiento cinemático al estilo Apple: el héroe avanza fotograma a fotograma según te desplazas.

¿Qué es ai-agents-skills?

Este skill transforma un video proporcionado por el usuario en una página web de aterrizaje autónoma donde el héroe avanza fotograma a fotograma al desplazarse, imitando el estilo de páginas de Apple o la página de aterrizaje de GitHub Copilot. Extrae N fotogramas del video mediante ffmpeg, genera un archivo HTML autónomo con un héroe fijo y un listener de scroll en JavaScript que intercambia el fotograma visible según la posición del scroll. Debajo del héroe se incluyen secciones de texto con titular, descripción y llamada a la acción (CTA). El skill soporta proyectos de YUV.AI (aplicando el sistema de diseño yuv-design-system en modo Neon por defecto) y proyectos genéricos (seleccionando una paleta de colores adecuada al video). El resultado es una carpeta con index.html y una subcarpeta frames/, lista para desplegar en cualquier hosting estático como Vercel, Netlify o Cloudflare Pages.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/hoodini/ai-agents-skills/tree/HEAD/skills/video-to-landing-page

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Video → Página de Aterrizaje con Desplazamiento Cinemático

Crea una página de aterrizaje cinematográfica donde el héroe es un video que avanza al desplazarte en lugar de por tiempo, como las páginas de productos de Apple o la página de aterrizaje de GitHub Copilot. Los fotogramas se extraen del video fuente y se intercambian según el usuario se desplaza; debajo del héroe fijo, las secciones de desplazamiento normal contienen el texto y la llamada a la acción.

Cuándo invocar

  • El usuario comparte un video y pide una página de aterrizaje, sitio con desplazamiento, héroe con avance por fotogramas o sitio web a partir de un video
  • Menciones de "desplazamiento estilo Apple", "página de aterrizaje de GitHub Copilot", "avance al desplazarse", "fotograma al desplazarse"
  • Equivalentes en hebreo: "דף נחיתה מסרטון", "אתר עם גלילה", "סרטון בגלילה"

Ubicación de guardado

Por defecto: ~/Documents/yuv-projects/landings/<slug>/ — guarda siempre las páginas de aterrizaje aquí para poder encontrarlas después. Crea el directorio principal si no existe.

mkdir -p ~/Documents/yuv-projects/landings
cd ~/Documents/yuv-projects/landings
# Construye <slug>/ aquí.

Ruta final: ~/Documents/yuv-projects/landings/<slug>/. Informa al usuario dónde se encuentra la página al final de cada construcción.


Flujo de trabajo (8 pasos)

  1. Analizar el origen — ffprobe para duración, fps, dimensiones, audio.
  2. Elegir número de fotogramas — por defecto 80. Mínimo 40 (entre cortado si es menor), máximo 160 (página pesada). Elige según duración: ≤10s → 50, 10–30s → 80, 30–60s → 120, >60s → 160.
  3. Decidir directorio de salida — por defecto ~/Documents/yuv-projects/landings/<slug>/. El <slug> es corto, derivado del nombre del video o del tema. Sobrescribir solo si se solicita explícitamente.
  4. Extraer fotogramas — ejecuta references/extract-frames.py <video-origen> <directorio-salida> [cantidad]. Genera directorio-salida/frames/f_0001.jpg… con calidad JPG constante 82 y un ancho máximo de 1920 (redimensionado si el origen es mayor).
  5. Copiar y personalizar references/landing-template.html en directorio-salida/index.html:
    • Reemplaza el marcador __FRAMES__ con etiquetas <img> para cada fotograma (el script de construcción lo hace automáticamente al pasar --build-html).
    • Rellena __HEADLINE__, __TAGLINE__, __CTA_TEXT__, __CTA_HREF__, secciones.
    • Para contenido en hebreo: establece <html lang="he" dir="rtl"> y cambia las fuentes a Rubik/Assistant (consulta references/design-notes.md).
  6. Optimizar fotogramas — el script de construcción ya escala a un ancho máximo de 1920px. Si el peso total de la página supera los 12 MB, reduce la calidad a 75 o disminuye el número de fotogramas.
  7. Previsualizar — python -m http.server dentro del directorio de salida y abre http://localhost:8000. El desplazamiento se siente suave en una máquina decente.
  8. Desplegar — suelta la carpeta en Vercel/Netlify/Cloudflare Pages. No se necesita paso de construcción.

El mecanismo de desplazamiento

  • El contenedor exterior .scroll-stage tiene una altura en unidades de viewport (por defecto 600vh = desplazar 5 pantallas para recorrer todos los fotogramas).
  • Héroe fijo position: sticky; top: 0; height: 100vh que contiene todos los fotogramas posicionados absolutamente y ocultos excepto el activo.
  • El listener de desplazamiento calcula progress = scrolledIntoStage / scrollableHeight limitado entre 0 y 1.
  • idx = floor(progress * (N - 1)) — intercambia la clase .active a ese fotograma.
  • Envuelve el listener en requestAnimationFrame para mantener 60 fps.

Reglas de diseño

  • Si el proyecto tiene la marca YUV.AI (Yuval personalmente, su portafolio, su marca): llama a yuv-design-system y bloquéalo a un modo según el medio:
    • Modo Neon (POR DEFECTO para la web de YUV.AI): rosa intenso (#FF1464) + cian neón (#00E5FF) + blanco o lienzo negro intenso. Anton + Inter (inglés) / Rubik + Assistant (hebreo). Radios 0px o 999px.
    • Modo Editorial Cálido: solo para Hope, Marcus, bigcats.ai, practical.yuv.ai — rosa + amarillo + hueso, blanco roto nunca #fff puro.
    • Nunca uses el modo Decks (púrpura/amarillo Fly High) para una página de aterrizaje — esa paleta está reservada solo para presentaciones.
  • Si el proyecto no tiene la marca YUV.AI: no apliques yuv-design-system. Elige una paleta que se adapte al estado de ánimo del video fuente. Anton + Inter siguen siendo valores predeterminados razonables pero no obligatorios.
  • Las superposiciones del héroe deben ser sutiles — una viñeta y un solo titular grande; no ahogues el fotograma.
  • Secciones debajo del héroe: lienzo claro (blanco en modo Neon, blanco roto en modo Editorial Cálido, hueso si va genérico-cálido), titular grande en Anton, texto del cuerpo en Inter a 18–22px, CTA como una píldora afilada (border-radius: 999px) — relleno rosa en modo Neon, color apropiado a la marca en otro caso.
  • Para hebreo: respeta RTL, usa Rubik 900 para titulares, Assistant 400/500 para el cuerpo.

Referencias de archivos

ArchivoPropósito
references/extract-frames.pyExtractor de fotogramas basado en ffmpeg; opcionalmente construye el HTML completo de una sola vez
references/landing-template.htmlEsqueleto de página de aterrizaje autónomo con el mecanismo de desplazamiento
references/design-notes.mdTipografía, paleta y valores predeterminados de movimiento

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

hoodini/ai-agents-skills

Edit any selfie or screen-share footage into a viral short-form video in YUV.AI's signature style — Apple-style liquid-glass cards (real CSS backdrop-filter), dark-mode polish, MrBeast-paced cuts, video-title karaoke captions, premium GSAP motion graphics, no fake content, never covering the speaker's face. Hebrew is rendered in Rubik Black, English in Anton uppercase. Always renders BOTH 9:16 and 16:9 and always saves with _V<N> suffix for backups. Trigger when the user drops a path to an .mp4/.mov/.mkv and says "edit this", "make it viral", "turn this into a short", or any Hebrew equivalent (ערוך סרטון, סרטון ויראלי, להפוך לוויראלי, ריל, שורט). The pipeline is the COMBINATION of two skills: video-use (transcription + word-snapped cuts + base extraction) and hyperframes (HTML/CSS/GSAP visual composition + render). Do NOT use for podcast-only audio edits.

hoodini/ai-agents-skills

Yuval Avidani's YUV.AI brand and design system. Apply ONLY when YUV.AI-branded output is requested — presentations, decks, keynotes, portfolio, brand site, profile, speaker bio, brand assets, or any prompt mentioning YUV.AI / "my brand" / "my deck" / "my site" / "for me". Do NOT auto-trigger on generic "build a game / web app / dashboard / landing page" without YUV.AI context — those use whatever palette fits. Three modes; NEON (hot pink #FF1464 + neon cyan #00E5FF + white, DEFAULT for YUV.AI web, apps, games, dashboards, social, general visual work); DECKS (Fly High purple/yellow/grey, presentations and slides ONLY); Warm Editorial (pink/yellow/bone for Hope, Marcus, bigcats.ai, practical.yuv.ai). Universal Fly High throughline across all modes; flight/progress motifs (HUD strips, dials, "Let's Fly High" tagline, phoenix mark). Anton + Inter (EN), Rubik + Assistant (HE), letter-spacing 0 default. Bundled brand assets, canonical socials, credentials. Project brand wins if specified.

hoodini/ai-agents-skills

Yuval's all-in-one AI video pipeline. Turns an idea/script into a finished, on-brand MP4 by orchestrating HyperFrames (HTML→deterministic video render), Lottie (branded motion graphics), ManimCE (math / neural-network / concept animations), and a transcribe→approve caption flow — all wrapped in the YUV.AI Neon Phoenix brand via a frame.md. Use whenever Yuval wants to make, edit, or explain something as a video: promo, explainer, launch, social reel, "make a video about X", "explain X as a video", "neural network animation", "turn this into a video", captioned tutorial, 16:9 or 9:16. Triggers: video, explainer, promo, reel, manim, lottie, hyperframes, animation, "make a video", "explain ... as a video", מצגת וידאו, סרטון, הסבר וידאו. Routes each beat to the right engine, wraps in brand, self-verifies, and renders.

hoodini/ai-agents-skills

Build a premium cinematic landing page with mouse-scrub video hero and brand-driven narrative-arc sections. Use whenever the user provides a hero video plus a product / subject / brand and wants a landing page, promo site, product showcase, marketing page, or storytelling site. Works for any language (RTL or LTR — Hebrew, English, Arabic, Spanish, French, Japanese, etc.) and any subject (food, tech, animals, fashion, services, SaaS, wildlife campaigns, music releases, books, real estate). The signature effect is mouse-driven video scrubbing — the hero video lives across the entire page as a fixed backdrop, and moving the mouse left-right scrubs the video timeline so the subject responds to the cursor. Below the hero, 4-5 fully-opaque sections each carry their own brand identity (color, typography emphasis, layout pattern) and walk the viewer through a narrative arc (e.g. longing → joy → nostalgia → contemplation → action). Triggers on phrases like "build a landing page from this video", "cinematic landing ...

hoodini/ai-agents-skills

Build a scroll-driven cinematic landing page from a short video. The user provides a 5–15 second video (often AI-generated); this skill extracts every frame at HD JPEG quality, then produces a single-hero HTML page where the user's scroll gesture scrubs the frames in place (the page itself never scrolls) and 5 dramatic text overlays crossfade in/out — Google Anton headlines, Caveat handwritten accents, locked body, virtual scroll. Use this skill whenever the user wants to "turn this video into a landing page", "make a scroll-scrub landing page", "build a parallax hero from this clip", "add a new landing page to the parasites showcase", "do the same as github/lion/hope for this new video", or any variant that pairs a short clip with dramatic scroll-triggered storytelling. Trigger even if the user only says "use my video for a landing page" — that is this skill.

hoodini/ai-agents-skills

Edit any video into a captioned showcase — transcribe (any language, defaults to large-v3), present a transcript_review.txt for the user to fix mishears BEFORE rendering, then build a HyperFrames composition with liquid-glass caption pills, liquid blob background, liquid morph wipes, optional behind-subject text via background removal, and render the final video. Use whenever the user provides a video file and asks to edit it, caption it, add subtitles, fix existing captions, make a reel/promo/captioned tutorial, or "do the same" pattern as a prior captioned video. Supports English, Hebrew, and any Whisper-supported language. **Renders both 16:9 (YouTube / horizontal) and 9:16 (TikTok / Instagram Reels / YouTube Shorts) from the SAME 16:9 source** — vertical mode uses a centered footage strip with a blurred backdrop + liquid blobs and a vertical-tuned caption pill, no need to re-shoot. THE PIPELINE PAUSES FOR USER APPROVAL on the transcript before final render — this is the support mechanism for getting ca...

hoodini/github-trending

Fetch and display GitHub trending repositories and developers. Use when building dashboards showing trending repos, discovering popular projects, or tracking GitHub trends. Triggers on GitHub trending, trending repos, popular repositories, GitHub discover.

hoodini/mongodb

Work with MongoDB databases using best practices. Use when designing schemas, writing queries, building aggregation pipelines, or optimizing performance. Triggers on MongoDB, Mongoose, NoSQL, aggregation pipeline, document database, MongoDB Atlas.

hoodini/owasp-security

Implement secure coding practices following OWASP Top 10. Use when preventing security vulnerabilities, implementing authentication, securing APIs, or conducting security reviews. Triggers on OWASP, security, XSS, SQL injection, CSRF, authentication security, secure coding, vulnerability.

Skills relacionados