Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Samin12/claude-coursenpx agentmods add skills/samin12/claude-course/ai-reels-pipelineWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/samin12/claude-course/ai-reels-pipeline)<a href="https://agentmods.dev/skills/samin12/claude-course/ai-reels-pipeline"><img src="https://agentmods.dev/badge/skills/samin12/claude-course/ai-reels-pipeline/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/samin12/claude-course/ai-reels-pipeline"><img src="https://agentmods.dev/badge/skills/samin12/claude-course/ai-reels-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00097 | $0.15809 |
| Opus 5.5 | $0.00039 | $0.06324 |
| Sonnet 5.5 | $0.00019 | $0.03162 |
| Haiku 4.5 | $0.00010 | $0.01581 |
Grade B, and why
ai-reels-pipeline scanned grade B with 3 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
# or: sudo apt install ffmpeg # Linux Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
resp = requests.get(f"{API_BASE}/v2/avatars", headers=headers(api_key)) Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run(cmd, capture_output=True, text=True, timeout=15) How it starts
The opening of the file, as written. The whole thing — 1,822 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Reels Pipeline - Build Automated Instagram Reels with Claude Code
A complete, open-source pipeline for producing professional Instagram Reels using AI avatars, AI-generated B-roll, and automated video rendering - all orchestrated through Claude Code.
What it does: You write a script, the pipeline generates an AI avatar speaking it, finds/creates B-roll footage, plans a visual storyboard using Claude, assembles everything into a JSON config, and renders a polished split-screen reel via Remotion - with quality gates at every step.
Stack: Python + TypeScript/React (Remotion) + Claude API + HeyGen API + Google Veo API + FFmpeg + Whisper
Table of Contents
- Architecture Overview
- Prerequisites
- Project Setup
- Directory Structure
- Pipeline Flow
- Stage 0: Pre-Pipeline (Script + Avatar + Transcribe)
- Stage 1: Asset Curator
- Stage 2: Storyboard Agent
- Stage 2.5: Image Resolver
- Stage 3: Veo Agent (AI Video Generation)
- Stage 4: Assembly
- Stage 5: Review
- Remotion Rendering System
- JSON Config Schema (ReelConfig)
- All Source Code
- Claude Code Integration
- Design Principles
- Troubleshooting
Architecture Overview
1080x1920 (9:16 portrait, 25fps)
+--------------------------+
| |
| TOP HALF (960px) | B-roll: video clips, screenshots, AI-generated
| JSON-driven segments | Ken Burns zoom, crossfade transitions
| |
+--[purple pill caption]---+ Word-by-word caption at the seam
| |
| BOTTOM HALF (960px) | AI avatar video (HeyGen)
| Cropped + centered | Audio source for the entire reel
| |
+--------------------------+
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 1,822 lines · 97 tokens per session scan B d6301ce59912
ai-reels-pipeline is a skill published in the GitHub repository Samin12/claude-course (29 stars, last pushed 13d ago), licensed MIT. It adds 97 tokens to every session and 15,809 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 3 findings (asks for root, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ai-reels-pipeline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-reels-pipelineSamin12/claude-course | Skill | 29 | 13d ago | MIT | B | 97 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 331k | 3d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |