Loading...
Loading...
Turn a reference Instagram Reel into a script for your own Reel, tuned to your voice and repurposed from your newsletter content. Takes a Reel URL or Notion reference link, uses Apify to scrape the video, sends it to Gemini 2.5 Flash for full transcript + hook + structure analysis, then writes a new script applying the same patterns to your newsletter topic. Use this skill whenever the user says "script a reel", "reels scripting", "turn this into a reel", pastes an Instagram Reel URL, or references their Notion outlier reels database. Requires APIFY_API_TOKEN and GOOGLE_AI_API_KEY environment variables.
npx skill4agent add charlie947/social-media-skills reels-scriptingAPIFY_API_TOKENGOOGLE_AI_API_KEYapify-client@google/generative-ai! export APIFY_API_TOKEN=your_token
! export GOOGLE_AI_API_KEY=your_keyPaste the reference Reel URL or Notion link. This is the outlier Reel you want to reverse-engineer the format from.
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.
~/Desktop/Reels/~/Desktop/Reels/analyse-reel.jsapify-clientapify/instagram-reel-scraper{ directUrls: [reelUrl], resultsLimit: 1 }{ urls: [reelUrl], resultsLimit: 1 }apify/instagram-scraper{ directUrls: [reelUrl], resultsType: 'posts', resultsLimit: 1 }videoUrl~/Desktop/Reels/downloads/{username}_{shortCode}.mp4~/Desktop/Reels/reel_data_{shortCode}.json.mp4genAI.getGenerativeModel({ model: 'gemini-2.5-flash' })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~/Desktop/Reels/analysis_reference_{shortCode}.md~/Desktop/Reels/reel-[slug].md# 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]Two paths from here:
- Record it yourself.
- Auto-generate with ElevenLabs (voice) + HeyGen (avatar) + Remotion (motion graphics). If you have the my-video project configured, run
with this script config.npm run pipeline:claude-routines