/social-media:reels-scriptingfrom social-media
Analyzes an Instagram Reel via Apify, uses Gemini 2.5 Flash for transcript/hook/structure analysis, then generates a new script tuned to user's voice and newsletter content. Triggered by 'script a reel', pasting a Reel URL, or Notion reference.
Ships in social-media. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When this skill triggers, go straight to Step 1. Do not summarise.
This skill needs:
APIFY_API_TOKEN environment variable (Instagram scraping)GOOGLE_AI_API_KEY environment variable (Gemini 2.5 Flash video analysis)apify-client and @google/generative-ai packagesIf 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.
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.
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.
Create ~/Desktop/Reels/ if it does not exist. Write a Node.js script at ~/Desktop/Reels/analyse-reel.js that:
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 }.videoUrl from the returned item.~/Desktop/Reels/downloads/{username}_{shortCode}.mp4.~/Desktop/Reels/reel_data_{shortCode}.json.Run the script. Confirm file size and metadata (views, likes, comments, caption first 200 chars) before continuing.
Extend the Node script (or run a second pass) that:
.mp4 as base64.genAI.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
Save the analysis to ~/Desktop/Reels/analysis_reference_{shortCode}.md.
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):
# 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]
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:
After the script is approved, offer:
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
npm run pipeline:claude-routineswith this script config.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/analytics-dashboardTurn a LinkedIn Analytics export into an interactive dark-themed React dashboard plus a written strategic analysis with 5 data-backed content recommendations. Reads every sheet in the export, builds charts for engagement trend, follower growth, post performance scatter, day-of-week heatmap, and audience breakdown. Use this skill whenever the user says "analyse my linkedin", "linkedin analytics", "build my dashboard", "review my performance", or uploads a LinkedIn Analytics export file. Requires the user's LinkedIn Analytics export (xlsx) as input.
/content-matrixGenerate 32+ LinkedIn post ideas in a single table by pairing the user's content pillars with 8 proven content formats. Based on the Justin Welsh content matrix. Use this skill whenever the user says "give me post ideas", "content matrix", "what should I post about", "generate post ideas", "content ideation", or "map out my content for the month". Pulls from about-me.md and voice.md if they exist, otherwise asks for pillars and context.
/gemini-carouselGenerate a branded slide-by-slide LinkedIn carousel using Gemini. Takes source content, builds a design brief, waits for approval, then outputs per-slide image generation prompts. 1080x1350 vertical format. Use this skill whenever the user says "carousel", "build a carousel", "turn this into a carousel", "gemini carousel", or wants multi-slide LinkedIn content. Always includes an approval gate between brief and image generation.
npx claudepluginhub asseerimishal-coder/mishal-skills-marketplace --plugin social-mediaOther plugins' skills for the same job