Communitygithub.com

CleanExpo/Pi-Dev-Ops

Produce uno o muchos videos de marketing consistentes y de marca, sin rostro, a partir de un tema: guión, locución de ElevenLabs con marcas de tiempo, una ilustración estilizada por compás, montaje con ffmpeg a 1080p, y subida opcional a YouTube como no listado.

¿Qué es Pi-Dev-Ops?

Esta habilidad automatiza la producción de videos de marketing sin rostro, consistentes con la identidad de marca, a partir de un tema o lista de temas. El flujo de trabajo comienza generando un guión corto (120-140 palabras) que sigue una estructura problema→solución→llamada a la acción, con cada oración representando un compás visual. Luego se produce una locución realista mediante la API de ElevenLabs, se generan ilustraciones únicas para cada compás utilizando un estilo visual definido en un archivo `styles.md` (como flat-line, hand-doodle, bold-kinetic, etc.), y se ensamblan en un video 1080p con ffmpeg ajustando la duración de cada imagen a la línea de tiempo de la locución. La habilidad soporta procesamiento por lotes (un agente por tema en paralelo), cambio de voz manteniendo guión e imágenes, y subida opcional a YouTube en modo no listado mediante la API de datos de YouTube. Está diseñada para entornos server-side (headless) usando Gemini para generación de imágenes, pero también puede usarse interactivamente con herramientas MCP en Claude. El resultado es repetible marca a marca y lote a lote, ideal para campañas de contenido en redes sociales o publicidad digital.

Compatible con✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/CleanExpo/Pi-Dev-Ops/tree/HEAD/skills-library/skills/brand-video

Preguntar en tu IA favorita

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

Documentación

brand-video — videos consistentes sin rostro y con estilo, bajo demanda

Invoca como /brand-video. Un comando, muchos estilos. Construido a partir de la ejecución validada de RestoreAssist (9 videos enviados). Elige un estilo de styles.md, mantiene todo lo demás constante para que la salida sea consistente lote a lote y marca a marca.

Entradas (preguntar solo si faltan; inferir de forma sensata)

  • brand — RestoreAssist / Synthex / DR / NRPG / CARSI / CCW / Unite, o un cliente. Define afirmaciones + CTA + voz.
  • style — una clave de styles.md (por defecto flat-line). Este es el "aspecto" / valor del desplegable.
  • topic(s) — un ángulo, o una lista para un lote (un video cada uno, en paralelo).
  • voice — ELEVENLABS_VOICE_ID (por marca; desde ~/.hermes/.env). CRÍTICO: confirmar el valor actual antes de generar — el usuario lo cambia.
  • upload? — por defecto: solo renderizar y preparar. Subir a YouTube como no listado solo cuando se solicite.

Flujo de trabajo (por video — una carpeta slug cada uno, nunca compartir un directorio)

  1. Guión → <slug>/script.md: un párrafo de locución limpio, ~120–140 palabras, ~12–16 oraciones cortas (una oración = un compás visual = una imagen), problema→solución→CTA. Basar afirmaciones en la wiki de la marca; nunca inventar características. Terminar con la línea de CTA de la marca.
  2. Locución → ejecutar el tts.py incluido (lee ELEVENLABS_API_KEY + ELEVENLABS_VOICE_ID + DIR): cd <workdir> && set -a && . ~/.hermes/.env && set +a && DIR=$PWD/<slug> python3 <skill>/pipeline/tts.py Escribe <slug>/voiceover.mp3 + <slug>/transcript.json (compases). Anotar el número de compases.
  3. Imágenes → una por compás, prompt = el token POSITIVO del estilo elegido + una escena concreta para esa oración + el token NEGATIVO del estilo, en formato apaisado 16:9, guardadas con cero a la izquierda <slug>/images/01.png ….
    • Producción / headless (por defecto): python3 <skill>/pipeline/image_gen.py "<prompt>" <out.png> — Gemini gemini-2.5-flash-image ("Nano-Banana") sobre HTTPS, GEMINI_API_KEY desde el entorno. Funciona del lado del servidor; validado de extremo a extremo. Esto es lo que llaman los workers de la aplicación (sin necesidad de MCP local).
    • Interactivo (opcional): mcp__margot__image_generate cuando se ejecuta dentro de una sesión de Claude; usar nombres de archivo con prefijo slug para evitar colisiones en paralelo (ver [[parallel-agents-shared-output-collision]]).
  4. Montaje → python3 <skill>/pipeline/stitch.py <slug> → <slug>/final-1080p.mp4 (1920×1080@25, temporización de imágenes según compases). Verificar que la duración final ≈ duración de la locución.

Lotes y nuevos estilos

  • Lote: despachar un sub-agente por tema (en paralelo), cada uno con su propio directorio slug. Ver la ejecución de RestoreAssist para la forma exacta del prompt del agente.
  • Re-voz (voz cambiada, mismo guión/imágenes): regenerar la locución, reescalar las duraciones de list.txt por nuevo_total/viejo_total, re-montar. (patrón revoice.)
  • Agregar un estilo: añadir un bloque a styles.md (token positivo/negativo). Esa clave se convierte inmediatamente en un estilo seleccionable — este registro ES la fuente de datos del desplegable.

Subida (YouTube, opcional)

La subida mediante archivo del navegador está obsoleta (rutas del host rechazadas). Usar la ruta de la API de datos de YouTube documentada en [[youtube-api-upload-restoreassist]]: Cliente OAuth de escritorio → token en ~/.hermes/yt-restoreassist-token.json → videos().insert privacyStatus=unlisted, categoría 27, no para niños; proteger con el título del canal; idempotente mediante uploaded.json. Requiere la API de datos de YouTube v3 habilitada en el proyecto GCP del cliente OAuth.

Salvaguardas

  • Las afirmaciones deben ser reales (wiki de la marca / verdad del producto). Ilustración plana + voz sintética → divulgación de IA en YouTube normalmente "No" (confirmar al subir; cambiar a "Sí" si se agrega música generada por IA).
  • Mantener un estilo por lote para consistencia. Mantener SKILL.md ≤200 líneas según [[feedback-tight-code]].
  • Implementación de referencia + activos: /Users/phill-mac/restoreassist-videos/.

Individual skills in this repo

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

CleanExpo/Pi-Dev-Ops

Produce a faceless YouTube-style video (hand-drawn doodle / simple-illustration channels like Zen, Nick Invest) end-to-end from a single topic. ASKS FACT-vs-STORY mode first (non-fiction educational vs fiction storytelling) and branches the whole run — built to serve multiple clients/channels, not one fixed format. Reverse-engineers a proven reference video's script format, writes a new script in that format, generates an ElevenLabs voiceover with timestamps, creates one styled Artlist (AI Toolkit) image per timestamp, and stitches everything with FFmpeg — fully automated, no human recording. Use when the user says "faceless video", "/faceless-video", "doodle video", "make a YouTube short/long-form in the Zen style", or wants an organic faceless-channel content piece. Composes with video-distribution-strategist (channel/launch) and video-director (when motion/edit polish is wanted instead of stills).

CleanExpo/Pi-Dev-Ops

The 15+ year brand director extension of `brand-guardian` specifically for video — frame-by-frame audit of brand-mark integrity, Gun Metal `#1a1a1a` + Candy Red `#dc143c` consistency, NO AI slop, NO Lucide icons, custom geometric marks ONLY, real logos correctly placed. PASS / FAIL gate before any client-facing video ships. Use after `video-colorist` completes the grade pass.

CleanExpo/Pi-Dev-Ops

The 15+ year Director-of-Photography persona (Roger Deakins / Emmanuel Lubezki / Hoyte van Hoytema-tier) that owns shot composition, lens psychology, motion language, and the decision of which source (Remotion / Hyperframes / stock cinematic) each scene uses. Extends the existing `remotion-designer` + `remotion-motion-language` skills with a frame-by-frame shot-language framework. Use when the user says "cinematography", "shot list", "framing", "DoP", "lens choice", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year colorist persona (Light Iron / Company 3 / The Mill-tier) that applies per-brand LUT + grade pass to every Unite-Group video. Closes the "raw Remotion render colours" gap — today Remotion outputs whatever colours BrandConfig declares with zero cinematic grade. Use when the user says "colour", "grade", "LUT", "look", "cinematic finish", or invoked by `video-director` Phase 3 (post-production) after `video-sound-designer` mixes audio.

CleanExpo/Pi-Dev-Ops

The Creative Director persona that owns brief intake, composition selection and narrative POV for every Unite-Group video. ENTRY POINT for the Video Agency: use for any video creation brief (explainer, promo, social cut, demo reel, case study, testimonial, client video). Dispatches the full production team: script-writer, cinematographer, editor, sound designer, colorist, brand-guardian.

CleanExpo/Pi-Dev-Ops

The 15+ year platform-native distribution expert (early TikTok creator economy + YouTube algorithm + LinkedIn organic reach + IG Reels native specialist) that owns per-platform aspect ratio + duration cap + caption format + hook density + thumbnail composition. Extends `remotion-marketing-strategist` with platform-native specs locked per BrandConfig. Use when the user says "which platform", "distribution", "channel-fit", "thumbnail", "captions", or invoked by `video-director` Phase 4 (QA + Delivery) for per-platform cuts.

CleanExpo/Pi-Dev-Ops

The 15+ year screenwriter persona (Pixar / Apple keynote / Nike spot tier) that engineers hooks (0-3s), retention beats (7-15s), narrative tension curves, and CTA placement. Extends the existing `remotion-screen-storyteller` skill with a structural framework lifted from Pixar's 22 Rules + Apple keynote architecture. Use when the user says "script", "voiceover", "narration", "hook", "story arc", or invoked by `video-director` Phase 2.

CleanExpo/Pi-Dev-Ops

The 15+ year sound designer persona (Skywalker Sound / Sound Lounge / Audio Network-tier) that mixes ElevenLabs voiceover with music bed, sound effects, ambient texture, and audio polish. Closes the single biggest gap in the existing Remotion pipeline — today voiceover is the ONLY audio; this skill adds music + SFX + mix. Use when the user says "sound design", "audio mix", "music bed", "SFX", "score this", or invoked by `video-director` Phase 3 (post-production).

CleanExpo/Pi-Dev-Ops

Converts a BrandResearch dossier into THREE artifacts — (1) typed BrandConfig TypeScript at Synthex/packages/brand-config/src/brands/{slug}.ts (runtime/behaviour — voice, voiceover, motion, audience, channel, forbiddenWords); (2) spec-conformant {slug}.design.md at Synthex/packages/brand-config/src/brands/{slug}.design.md (visual tokens — colour, typography, spacing, components, layout, elevation); (3) human-readable 9-section .md projection at Pi-Dev-Ops/remotion-studio/src/brands/{slug}.md derived from BOTH. Boundary contract at Pi-Dev-Ops/remotion-studio/src/brands/CONTRACT.md. Triggered after remotion-brand-research, or when the user pastes brand assets and says "codify". PRs are auto-merge:false — a human reviews before merge.

CleanExpo/Pi-Dev-Ops

Researches a portfolio company's visual identity from public sources (homepage, about page, marketing copy, GitHub README) and produces a structured BrandResearch dossier. Triggered when `Synthex/packages/brand-config/src/brands/{slug}.ts` (canonical home per RA-1985 / Synthex SYN-897) is missing, older than 90 days, or the user explicitly says "refresh brand for {brand}". Output feeds remotion-brand-codify.

CleanExpo/Pi-Dev-Ops

Generates a complete, accessible palette (primary, secondary, accent, 4-step neutral, semantic, and dark variant) from one to three hex anchors plus a colour-family classification. Validates WCAG-AA contrast for all text-on-background pairs. Triggered when a BrandConfig has fewer than 5 defined colours or contrast fails.

CleanExpo/Pi-Dev-Ops

Authors or extends a Remotion composition (.tsx) wired to BrandConfig + Storyboard + layout spec + motion. The actual builder skill — runs as a Sonnet-tier worker. Triggered after brand, storyboard, designer, and motion-language outputs are ready. Produces the file under remotion-studio/src/compositions/ and registers it in src/Root.tsx.

CleanExpo/Pi-Dev-Ops

Visual-design specialist for Remotion compositions. Sets layout grid, typography hierarchy, white-space, scene framing, and visual rhythm for a given composition + brand. Triggered after remotion-composition-builder for QA, or upfront when authoring a new composition type. Produces a layout spec consumed by remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video needs creative direction — hook, visual sequence, scene purpose, motion restraint, and CTA direction before render.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video has timing, sync, transition, caption, pacing, or audio-fit risk and needs editing discipline before render.

CleanExpo/Pi-Dev-Ops

Use when /remotion-video needs existing Synthex ElevenLabs, brand-config, Remotion, output storage, Claude, or Hermes integration without adding vendors.

CleanExpo/Pi-Dev-Ops

Tunes a video's format and message for the target channel — LinkedIn, YouTube, Instagram Reel, internal training. Sets aspect ratio, total duration, hook timing, CTA timing, and pacing. Triggered when the brief mentions a specific channel or campaign goal. Output feeds remotion-screen-storyteller and remotion-composition-builder.

CleanExpo/Pi-Dev-Ops

Designs a brand-specific motion vocabulary — easing curves, default scene durations, signature entry/exit, transition frames. Each brand gets one signature move (rise / sweep / pulse / iris / whip) that recurs across compositions to build motion-recognition. Triggered when BrandConfig.motion is empty.

CleanExpo/Pi-Dev-Ops

/remotion-video one-shot Remotion command skill and ENTRY POINT for the Remotion Skills Package. Use for video, explainer, ad, promo, reel, intro, social cut, marketing, training, or launch videos. Reads the brief, classifies intent, enforces one single Synthex ElevenLabs voice, emits a production/wave plan, and dispatches the right sub-skills in topological order. Always invoked first.

CleanExpo/Pi-Dev-Ops

Use when a Remotion video job needs production gates, render evidence, output discipline, and pass/fail validation before it can be called shippable.

Skills relacionados