agentleFS
Bartimaeus-hanBartimaeus-han/instagram-reel-skill/SKILL.md

reel

Skill0 starsChanged 46 days agoMITView on GitHub

Turn a Korean-language Instagram reel or post link into content an AI agent can read — caption, spoken words as text, and key frames as images. Use when the user shares an instagram.com/reel/, /reels/ or /p/ link, or asks to see, analyze or summarize an Instagram video (인스타 릴스, 릴스 분석, 릴스 내용).

  • Installs packages

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 1 is distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If config.json exists next to this file and the Python it points to still works, skip to step 2.

    line 19
  2. Very specific:

    Never install into, upgrade, or modify an existing environment the user already uses.

    line 29
  3. Very specific:

    Create a dedicated one (e.g.

    line 30
  4. Distinctive:

    Before installing, tell the user exactly what will be installed, from where, and roughly how big, and wait for a yes.

    line 32
  5. Very specific:

    When setup works, write config.json next to this file: {"python": "<absolute path to the env's python>"}.

    line 34
  6. Very specific:

    If the download fails because Instagram requires login, don't guess at cookies.

    line 48
  7. Very specific:

    Read caption.txt first. The post text is often as important as the video: many creators put the full explanation, steps, links or code in …

    line 63

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Reel

An Instagram link can't be opened without login, and many agents can't take video or audio directly. This skill converts a reel into things any agent can read: text (caption + transcript) and images (frames). The heavy lifting is done by scripts/reel.py; your job is to make sure it can run on this machine, run it, and read what it produces.

Scope: Korean-language reels only. Speech recognition is fixed to Korean, so for a reel spoken in another language the transcript will be nonsense — ignore it, rely on the caption and frames, and tell the user the speech wasn't transcribed.

1. Check the environment (first run, or when something fails)

If config.json exists next to this file and the Python it points to still works, skip to step 2.

Otherwise, find out what this machine already has before installing anything:

  • Python 3.10–3.12 in an isolated environment. Look beyond PATH: conda/miniconda, venvs, the py launcher, uv. On Windows, python may be a Microsoft Store stub — verify it really runs.
  • ffmpeg on PATH.
  • In that environment: yt-dlp and faster-whisper (pip install yt-dlp faster-whisper).

Rules:

  • Never install into, upgrade, or modify an existing environment the user already uses. Create a dedicated one (e.g. conda env or venv named reel).
  • Pick install methods that fit this OS and what's already here (winget, brew, apt, conda, pip).
  • Before installing, tell the user exactly what will be installed, from where, and roughly how big, and wait for a yes.
  • When setup works, write config.json next to this file: {"python": "<absolute path to the env's python>"}.

2. Extract

Run:

<python from config.json> <this skill dir>/scripts/reel.py "<link>"

The script prints the output folder when it finishes. Options: --every <seconds> (frame interval, default 1), --model <tiny|base|small|medium> (Whisper size, default small), --out <dir>.

  • The first transcription downloads a Whisper model (small ≈ 500 MB). Tell the user before that happens.
  • If the download fails because Instagram requires login, don't guess at cookies. Explain the situation and ask the user how they want to provide login cookies (e.g. a cookies.txt export, passed with --cookies <file>).

3. Read the result

The output folder contains:

  • caption.txt — the full post text (the part under "more" included)
  • meta.json — author, date, duration, original URL
  • transcript.txt — spoken words with timestamps (empty if the reel has no speech)
  • frames/ — JPG frames named by timestamp, near-duplicates already removed (video posts)
  • images/ — the photos, in order (photo and carousel posts)
  • media/ — the original downloaded files (only needed to re-run with different options)

Read caption.txt first. The post text is often as important as the video: many creators put the full explanation, steps, links or code in the caption and keep the video short. Treat it as primary content, not metadata.

Then read meta.json and transcript.txt. The transcript is raw machine speech recognition: it often mangles names, jargon, product names and English words inside the Korean speech (e.g. "클로드다데디" for "CLAUDE.md"). Correct these yourself from context, the caption and on-screen text — they are usually written by the creator and spelled right.

Then look at the frames or images. Near-identical frames were already dropped, so each frame is a visual change worth seeing — view them all. If there are more than about 40, pick frames spread across the video and where the transcript suggests something is shown on screen. Pay attention to text on screen — tips reels often put the key point there.

Then give the user a short account of what the reel says and shows, and ask what they want to do with it. Don't summarize, save, or act on the content beyond that unless asked.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.