using-ig-dl

using-ig-dl is a skill for Claude Code from ibrahimhajjaj/ig-dl. It costs 55 tokens per session (767 once invoked), scanned A, original, MIT.

A set of tools and instructions for downloading Instagram content. Instagram is a social platform for photos, videos, posts, stories, and reels.

In plain words
What is it for?
Use it to download individual or multiple Instagram posts, archive profiles, retrieve saved collections, and diagnose Instagram login sessions.
Why use it?
It gives specific handling for single URLs, batches of URLs, saved content, profile archives, and session problems instead of requiring custom download commands.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ig-dl plugin — 1 skill, 2 commands, 1 MCP server shipped together

Good fit Use it to download individual or multiple Instagram posts, archive profiles, retrieve saved collections, and diagnose Instagram login sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ibrahimhajjaj/ig-dl/using-ig-dl
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ibrahimhajjaj/ig-dl --skill using-ig-dl
Clone the repo
git clone --depth 1 https://github.com/ibrahimhajjaj/ig-dl

Made for: Claude Code.

Or install ig-dl, the plugin that ships this one along with the rest of its 1 skill, 2 commands, 1 MCP server.

Wrote 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.

agentmods badge for using-ig-dl

README.md
[![agentmods](https://agentmods.dev/badge/skills/ibrahimhajjaj/ig-dl/using-ig-dl/github.svg)](https://agentmods.dev/skills/ibrahimhajjaj/ig-dl/using-ig-dl)
Your own site
<a href="https://agentmods.dev/skills/ibrahimhajjaj/ig-dl/using-ig-dl"><img src="https://agentmods.dev/badge/skills/ibrahimhajjaj/ig-dl/using-ig-dl/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.

agentmods 80×15 button for using-ig-dl

Your own site · 80×15
<a href="https://agentmods.dev/skills/ibrahimhajjaj/ig-dl/using-ig-dl"><img src="https://agentmods.dev/badge/skills/ibrahimhajjaj/ig-dl/using-ig-dl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 767 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00767
Opus 5.5 $0.00022 $0.00307
Sonnet 5.5 $0.00011 $0.00153
Haiku 4.5 $0.00006 $0.00077

Measured 3mo ago against content hash 6db29fdc06b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

using-ig-dl scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Use when the user asks to download something from Instagram, archive an Instagram profile, extract an IG reel/story/post, or mentions Instagram URLs. Prefer ig-dl's MCP tools and prompts over ad-hoc curl/yt-
plugin/skills/using-ig-dl/SKILL.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using ig-dl

The ig-dl plugin ships an MCP server exposing five tools and three curated prompts. When the user wants to grab Instagram content, use these primitives — don't hand-roll curl or raw gallery-dl calls, and don't ask the user for cookies.

Decision order

  1. Does the user want a single Instagram URL? → Call ig_download_url with {url: ...}.
  2. Does the user have MULTIPLE Instagram URLs (more than one)? → Call ig_download_urls once with {urls: [...]}. DO NOT loop ig_download_url. Looping forces a fresh session attach per invocation, which is slower and on Chrome 144+ pops the remote-debugging permission dialog every single time. The batch tool runs them through a bounded worker pool with one auth resolution up front.
  3. Does the user want to archive a whole profile? → ig_download_user tool, or the /ig-dl:archive_profile prompt.
  4. Does the user want their saved collection? → ig_download_saved tool.
  5. Is the user reporting "it's not working"? → First call ig_session_status, then use the /ig-dl:session_health prompt or the /ig-dl:diagnose command to investigate before trying downloads again.

Tool contract (stable across CLI --json and MCP)

Every successful download returns:

{
  "out_dir": "…",
  "counts": { "stage_name": 1, … },
  "failures": [],
  "handle": "…",   // profile/saved operations only
  "meta": { "backend": "gallery-dl"|"yt-dlp", … }
}

On failure the MCP server returns IsError: true with a structured payload:

{ "category": "no_session"|"auth_failed"|"backend_missing"|"rate_limited"|"generic_failure", "message": "…" }

Do NOT

  • Do not call ig_login without explicit user consent — it triggers a permission dialog in the user's running browser and should only fire when the user directly asks you to authenticate.
  • Do not auto-retry on auth_failed or no_session. ig-dl already does one refresh-and-retry internally for auth failures; if it still bubbles up, the user needs to act (login or check browser CDP toggle). Tell them.
  • Do not suggest manually exporting cookies or editing ~/.ig-dl/session.json. The companion extension's "Export for CLI" button or ig-dl login are the only supported session sources.
  • Do not parse backend stdout. The tools already classify results; use the structured JSON.
  • Do not loop ig_download_url for multiple URLs. Use ig_download_urls with the array in one call. This is both faster and user-friendlier — each separate attach re-triggers the browser's M144 permission dialog.

Read the full file on GitHub · 49 lines

Changes

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.

  1. 3mo ago First seen · 49 lines · 55 tokens per session scan A 6db29fdc06b0

Subscribe to this mod's changes

using-ig-dl is a skill published in the GitHub repository ibrahimhajjaj/ig-dl (1 stars, last pushed 7mo ago), licensed MIT. It adds 55 tokens to every session and 767 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

using-ig-dl compared with skills from other repositories

using-ig-dl next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
using-ig-dlibrahimhajjaj/ig-dlSkill17mo agoMITA55Claude Code
wenlan-handoffwenlan-app/wenlanSkill502yesterdayApache-2.0A46Claude Code, Codex
sanity-singletonssanity-io/agent-toolkitSkill203yesterdayMITA90Claude Code
sync-checkItamarZand88/CLI-Anything-WEBSkill24922d agoMITA95Claude Code
demoalivecontext/aliveSkill13213d agoMITA50Claude Code
system-upgradealivecontext/aliveSkill13213d agoMITA55Claude Code
video-perceptionjordanrendric/claude-video-visionSkill1.5k1mo agoMITA51Claude Code