SkillsGrove
SkillsGrove/숏폼 영상 및 크리에이터/JayceBatallones/instagram-reel-extractor/instagram-reel-extractor

instagram-reel-extractor

설치

$npx skills add https://github.com/JayceBatallones/instagram-reel-extractor --skill instagram-reel-extractor
$git clone --depth 1 https://github.com/JayceBatallones/instagram-reel-extractor.git /tmp/instagram-reel-extractor && mkdir -p ~/.claude/skills && cp -r /tmp/instagram-reel-extractor/. ~/.claude/skills/instagram-reel-extractor
이 Agent Skill을 설치해 주세요: https://github.com/JayceBatallones/instagram-reel-extractor/tree/5c14a995f57d3710851be4557e8ffc01d43c92b9/ — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITExtract transcript, metadata, music, and key frames from Instagram Reels. Use when the user shares an Instagram Reel URL (instagram.com/reel/, instagram.com/p/) and wants the script/transcript, video details, creator info, view counts, comments, music used, or any data from the reel. Also use when the user wants to analyze, repurpose, or reference an Instagram video's content.
아래 SKILL.md는 JayceBatallones/instagram-reel-extractor(커밋 5c14a99)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2026. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Instagram Reel Extractor

Extract the spoken transcript, metadata, music, comments, and key frames from an Instagram Reel.

Prerequisites

The following must be installed on the user's machine:

  • yt-dlp — brew install yt-dlp
  • ffmpeg — brew install ffmpeg
  • Python packages — pip3 install openai-whisper ShazamAPI

Or run the setup script: bash setup.sh

If any dependency is missing, tell the user which ones to install before proceeding.

Usage

Run the extraction script with the Reel URL:

python3 scripts/extract_reel.py "REEL_URL"

Save the extraction to a specific directory:

python3 scripts/extract_reel.py "REEL_URL" --save-dir ~/notes/reels

For better transcription accuracy (slower, uses more memory):

python3 scripts/extract_reel.py "REEL_URL" --whisper-model small

For raw JSON output:

python3 scripts/extract_reel.py "REEL_URL" --json

Skip frame extraction (faster, audio/metadata only):

python3 scripts/extract_reel.py "REEL_URL" --no-frames

Adjust frame interval (default every 2 seconds):

python3 scripts/extract_reel.py "REEL_URL" --frame-interval 1.0

What Gets Extracted

  • Original URL — link back to the source reel (always included)
  • Creator — username and handle
  • Metrics — likes, comments count (as of extraction date)
  • Music — song title, artist, album, genre, Shazam link (via audio fingerprinting)
  • Caption — the original post caption
  • Hashtags — all tags from the post
  • Top Comments — comment text with author and like count
  • Duration — video length
  • Upload date
  • Transcript — full spoken text from the audio, with timestamps
  • Language — auto-detected language of the speech
  • Key frames — screenshots extracted every N seconds, saved as JPGs with timestamps

Output

The script outputs a structured markdown summary with the original reel URL at the top. Present this to the user as-is — do not modify the transcript text itself, though you can clean up line breaks and paragraph flow for readability.

The frame images are saved to a frames/ subdirectory inside the working directory. When presenting the extraction, use the Read tool to view the frame images so you can describe what's happening visually at each timestamp (talking head, B-roll, text overlay, product shot, etc.).

When --save-dir is provided, the extraction is automatically saved as <creator>-reel-<upload_date>.md. If a file already exists, a number is appended (e.g., garyvee-reel-2026-04-08-2.md).

Configuring a Default Save Location

To always save extractions to a specific folder, tell Claude: "save reel extractions to ~/my/folder". Claude will pass --save-dir automatically on future runs.

Whisper Model Sizes

Model Speed Accuracy Memory
tiny Fastest Lower ~1 GB
base Fast Good ~1 GB
small Moderate Better ~2 GB
medium Slow Great ~5 GB
large Slowest Best ~10 GB

Default is base — a good balance for short-form reel content. Suggest small if the user reports transcription quality issues.

Troubleshooting

  • Login required errors: Some reels may require authentication. Pass --cookies-from chrome (or firefox) to use browser cookies.
  • No speech detected: The reel may be music-only or use on-screen text instead of speech. Let the user know.
  • Slow transcription: Whisper runs on CPU by default. On Apple Silicon Macs, it uses the Neural Engine automatically. For faster runs, suggest the tiny model.
  • Music not identified: Shazam works best with distinct background music. Speech-heavy reels with no music will return no match.
라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2026

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.