Skills Agentes

Reels Scripting

Convierte un Reel de referencia en un guion propio: lo transcribe y analiza con Gemini 2.5 Flash, y reescribe el patrón con el tema de la newsletter del usuario en su voz.

Estrellas
3.3k

en todo el repo

Actividad
38

0–100, la ruta de este skill

Actualizado
hace 4 meses

último commit aquí

Commits
0

últimos 90 días

Contexto
1.7k tok

153 tok en reposo

Paquete
1 archivo

7 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add charlie947/social-media-skills --skill reels-scripting --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Descarga un Reel de referencia vía Apify y lo analiza con Gemini 2.5 Flash: transcripción completa, hook, estructura y patrones de lenguaje
  • Aplica esos patrones a un tema de la newsletter del usuario para escribir un guion de Reel propio
  • Corre un ciclo de control de calidad contra reglas fijas (nunca abrir con 'yo', 2 puntos máximo, gatillo de comentario de una palabra) hasta llegar a 95/100
  • Entrega guion, caption y gatillo de comentario juntos, nunca solo el guion

Úsalo cuando

  • El usuario dice 'guioniza un reel', 'reels scripting', 'convierte esto en un reel' o pega una URL de Instagram Reel

No lo uses cuando

  • No están configuradas las variables APIFY_API_TOKEN y GOOGLE_AI_API_KEY

Qué lo activa

Di cualquiera de estas frases y el agente debería cargar este skill.

  • Guioniza este Reel de referencia con mi tema de newsletter
  • Convierte esta sección de mi newsletter en un guion de Reel

SKILL.md

En inglés

Reels Scripting

CRITICAL: Auto-start on load

When this skill triggers, go straight to Step 1. Do not summarise.

Prerequisites

This skill needs:

  • APIFY_API_TOKEN environment variable (Instagram scraping)
  • GOOGLE_AI_API_KEY environment variable (Gemini 2.5 Flash video analysis)
  • Node.js 18+ and the apify-client and @google/generative-ai packages

If either env var is missing, tell the user to run:

! export APIFY_API_TOKEN=your_token
! export GOOGLE_AI_API_KEY=your_key

Then stop until both are set.

Step 1. Get the reference

Ask:

Paste the reference Reel URL or Notion link. This is the outlier Reel you want to reverse-engineer the format from.

Wait for the URL.

If the user pastes a Notion link, follow it via WebFetch, locate the Instagram Reel URL on the page, and extract it. If no Reel URL is found on the Notion page, ask the user to paste the Reel URL directly.

Step 2. Get the newsletter topic

Ask:

What's the topic from your newsletter you want to repurpose into this Reel? Paste the relevant newsletter section, or type the core idea in a sentence.

Wait for the topic. Read newsletter-voice.md, voice.md, and about-me.md from the project if they exist, so the script matches the user's voice.

Step 3. Scrape and download the Reel

Create ~/Desktop/Reels/ if it does not exist. Write a Node.js script at ~/Desktop/Reels/analyse-reel.js that:

  1. Uses apify-client to call apify/instagram-reel-scraper with { directUrls: [reelUrl], resultsLimit: 1 }. If that returns no items, fall back to { urls: [reelUrl], resultsLimit: 1 }, then apify/instagram-scraper with { directUrls: [reelUrl], resultsType: 'posts', resultsLimit: 1 }.
  2. Extracts videoUrl from the returned item.
  3. Downloads the video to ~/Desktop/Reels/downloads/{username}_{shortCode}.mp4.
  4. Saves raw scrape data to ~/Desktop/Reels/reel_data_{shortCode}.json.

Run the script. Confirm file size and metadata (views, likes, comments, caption first 200 chars) before continuing.

Step 4. Analyse with Gemini 2.5 Flash

Extend the Node script (or run a second pass) that:

  1. Reads the downloaded .mp4 as base64.
  2. Calls genAI.getGenerativeModel({ model: 'gemini-2.5-flash' }).
  3. Sends the video with this exact prompt:
I'm studying this Reel to write my own script in a similar style for my audience of [AUDIENCE FROM about-me.md].

## Full Transcript
- Transcribe EVERY word with timestamps

## Hook
- Exact first words spoken
- Word count of the hook
- What makes it stop the scroll?

## Language Patterns
- Average sentence length
- You/your vs I/me ratio
- Transitions between points
- Where are the 'just' minimisers?

## Structure
- Total duration
- Section breakdown with timings
- What's the before/after moment?
- What's the CTA?

## One key insight
- The single most important technique to learn from this Reel

Save the analysis to ~/Desktop/Reels/analysis_reference_{shortCode}.md.

Step 5. Write the new Reel script

Using the analysis from Step 4, the newsletter topic from Step 2, and the user's voice files, write a new Reel script to ~/Desktop/Reels/reel-[slug].md.

Apply these rules (non-negotiable):

Hook

  • Never open with "I". Use "this", "you", a fact, or a name drop.
  • Proven formats: "This changed... forever" / negative flip ("X is useless unless...") / capability statement.
  • Hook creates curiosity or pattern interrupt within 3 seconds.
  • Mirror the hook's word count and structure from the reference analysis.

Body

  • British English. Short sentences. No em dashes, no semicolons.
  • Use "you" and "just" conversationally ("you just drop in...").
  • Never merge three or more staccato fragments. Combine into one flowing sentence.
  • Never state the conclusion. Let the facts do the work.
  • No "link in bio". Use comment automation.

Comment trigger

  • Single caps word only (SCRIPT, WIKI, PROMPTS, VIDEO).
  • Must directly relate to what is being promised.
  • No quotes, no "below", no trailing punctuation.

CTA

  • "Comment [WORD] and I'll send you [specific thing]"
  • Short. No "the link to my full" padding.

Duration and structure

  • Target 30 to 45 seconds total.
  • 2 key points maximum, not 3.
  • Caption mirrors the script. Update both together.

Script file structure

# Reel: [title]

## Reference analysis
- URL: [reel url]
- Views: [number]
- Key technique: [from Gemini analysis]

## Duration target
30-45 seconds

## Hook (0-3s)
[Exact words]

## Point 1 ([start]-[end]s)
[Exact words]

## Point 2 ([start]-[end]s)
[Exact words]

## CTA ([start]-[end]s)
[Exact words including "Comment [WORD]"]

---

## Caption
[Mirror the script, formatted for Instagram]

## Comment trigger
[WORD]

## Deliverable
[What the comment trigger unlocks]

---

## Visual notes
[Cuts, B-roll ideas, text overlays]

Step 6. QA loop

Score the script against the rules in Step 5. Every violation must be fixed. Re-score until the script hits 95/100. Never show the user anything below 95.

Common violations to check:

  • Opens with "I"
  • Staccato fragments of three or more
  • States the conclusion
  • Multi-word or stylised comment trigger
  • Duration over 45 seconds when read aloud
  • 3 points instead of 2
  • Caption does not mirror script

Step 7. Offer the pipeline

After the script is approved, offer:

Two paths from here:

  1. Record it yourself.
  2. Auto-generate with ElevenLabs (voice) + HeyGen (avatar) + Remotion (motion graphics). If you have the my-video project configured, run npm run pipeline:claude-routines with this script config.

Rules

  • Never skip the 95/100 QA gate.
  • Always read voice.md and about-me.md before writing. Voice match is non-negotiable.
  • Never invent metrics from the reference Reel. Use only what Apify returns.
  • British English. No em dashes. No semicolons.
  • Every script deliverable includes the exact caption and comment trigger alongside the script. Never deliver just the script.
  • If the reference Reel scrape fails across all three actor variants, report the failure and stop. Do not fabricate analysis.
  • Gemini 2.5 Flash is the model. Do not substitute without the user's approval.

Reproducido de charlie947/social-media-skills bajo licencia MIT. Leer esta página en markdown.

Archivos

1 archivo en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

Antes de instalar

Requiere las variables de entorno APIFY_API_TOKEN y GOOGLE_AI_API_KEY, Node.js 18+ y los paquetes apify-client y @google/generative-ai.

Detalles

Creador
charlie947
Categoría
Redes sociales
Licencia
MIT
Recursos incluidos
Solo SKILL.md
Código fuente
Ver SKILL.md

Más de charlie947/social-media-skills

Este repo incluye 17 skills. Si instalas uno, normalmente ya tienes los demás. Ver el pack social-media-skills entero y su comando de instalación

Genera 32 o más ideas de post de LinkedIn en una sola tabla, cruzando los pilares de contenido del usuario con 8 formatos probados, según el content matrix de Justin Welsh.

Costo de contexto al activarse
1.2k tok
Tamaño del paquete
1 archivo
Última actualización
hace 3 meses
redes sociales

Convierte un export de LinkedIn Analytics en un dashboard React interactivo de tema oscuro más un análisis estratégico con 5 recomendaciones de contenido basadas en los datos.

Costo de contexto al activarse
1.2k tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
redes sociales

Genera un carrusel de LinkedIn con marca propia usando Gemini: brief de diseño diapositiva por diapositiva, aprobación del usuario y prompts de imagen listos para pegar, en formato vertical 1080x1350.

Costo de contexto al activarse
1k tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
redes sociales

Genera el prompt de una infografía estilo pizarra dibujada a mano a partir de un texto fuente, con brief aprobado por el usuario antes de generar la imagen en Gemini.

Costo de contexto al activarse
912 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
redes sociales

Crea gráficos para posts de LinkedIn, eligiendo entre un HTML/CSS estructurado o una infografía generada por IA según el contenido del post.

Costo de contexto al activarse
1.7k tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
redes sociales

Genera 6 variaciones de hook de LinkedIn a dos líneas para cualquier tema, con la fórmula de apertura de 40 caracteres y contraste, cifras y ángulos clickbait probados.

Costo de contexto al activarse
594 tok
Tamaño del paquete
1 archivo
Última actualización
hace 4 meses
redes sociales

Skills relacionados

Instala y opera Hermes Tweet, un plugin de Hermes Agent para investigar X/Twitter, leer timelines, analizar tweets y ejecutar operaciones privadas o de cambio de estado con aprobación previa.

Costo de contexto al activarse
1.4k tok
Tamaño del paquete
3 archivos
Última actualización
hace 11 días
redes sociales

Sistema de creación de contenido de MrBeast, destilado de un manual interno filtrado y podcasts: modelos mentales, fórmulas de título/miniatura/hook y scripts para optimizar CTR y retención en YouTube.

Costo de contexto al activarse
6.4k tok
Tamaño del paquete
11 archivos
Última actualización
hace 2 meses
redes sociales

Mentor de operación en X/Twitter de nivel experto, basado en las metodologías de seis creadores top y en el algoritmo abierto de X, con manual completo de selección de tema, escritura y crecimiento.

Costo de contexto al activarse
4.2k tok
Tamaño del paquete
13 archivos
Última actualización
hace 2 meses
redes sociales