instagram-research

instagram-research is a skill for Claude Code from bradautomates/head-of-content. It costs 149 tokens per session (1,324 once invoked), scanned A, original, MIT.

A workflow for researching high-performing Instagram content from tracked accounts using an Instagram data scraper and AI analysis. It identifies unusually successful posts and analyzes selected videos for hooks and structure.

In plain words
What is it for?
Use it to find trending posts or Reels in a niche, identify outliers, study why videos performed well, and generate reusable hook formulas. It requires configured accounts, API keys, and Python packages.
Why use it?
It makes repeated content research easier by fetching posts, comparing performance, and producing structured findings instead of reviewing every account manually.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \.

Good fit Use it to find trending posts or Reels in a niche, identify outliers, study why videos performed well, and generate reusable hook formulas. It requires configured accounts, API keys, and Python packages.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/bradautomates/head-of-content
agentmods
npx agentmods add skills/bradautomates/head-of-content/instagram-research

Made for: Claude Code.

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 instagram-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/bradautomates/head-of-content/instagram-research/github.svg)](https://agentmods.dev/skills/bradautomates/head-of-content/instagram-research)
Your own site
<a href="https://agentmods.dev/skills/bradautomates/head-of-content/instagram-research"><img src="https://agentmods.dev/badge/skills/bradautomates/head-of-content/instagram-research/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 instagram-research

Your own site · 80×15
<a href="https://agentmods.dev/skills/bradautomates/head-of-content/instagram-research"><img src="https://agentmods.dev/badge/skills/bradautomates/head-of-content/instagram-research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,324 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 15 Sept 2026
  • Snyk warn 15 Sept 2026
How audits are shown
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.00149 $0.01324
Opus 5.5 $0.00060 $0.00530
Sonnet 5.5 $0.00030 $0.00265
Haiku 4.5 $0.00015 $0.00132

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

Security

Grade A, and why

instagram-research scanned grade A with 0 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze_posts.py, scripts/fetch_instagram.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/instagram-research/SKILL.md · 184 lines

How it starts

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

Instagram Research

Research high-performing Instagram posts and reels, identify outliers, and analyze top video content for hooks and structure.

Prerequisites

  • APIFY_TOKEN environment variable or in .env
  • GEMINI_API_KEY environment variable or in .env
  • apify-client and google-genai Python packages
  • Accounts configured in .claude/context/instagram-accounts.md

Verify setup:

python3 -c "
import os
try:
    from dotenv import load_dotenv
    load_dotenv()
except ImportError:
    pass
from apify_client import ApifyClient
from google import genai
assert os.environ.get('APIFY_TOKEN'), 'APIFY_TOKEN not set'
assert os.environ.get('GEMINI_API_KEY'), 'GEMINI_API_KEY not set'
" && echo "Prerequisites OK"

Workflow

1. Create Run Folder

RUN_FOLDER="instagram-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && echo "$RUN_FOLDER"

2. Fetch Content

python3 .claude/skills/instagram-research/scripts/fetch_instagram.py \
  --type reels \
  --days 30 \
  --limit 50 \
  --output {RUN_FOLDER}/raw.json

Parameters:

  • --type: "posts", "reels", or "stories"
  • --days: Days back to search (default: 30)
  • --limit: Max items per account (default: 50)

3. Identify Outliers

python3 .claude/skills/instagram-research/scripts/analyze_posts.py \
  --input {RUN_FOLDER}/raw.json \
  --output {RUN_FOLDER}/outliers.json \
  --threshold 2.0

Output JSON contains:

  • total_posts: Number of posts analyzed
  • outlier_count: Number of outliers found
  • topics: Top hashtags and keywords
  • accounts: List of accounts analyzed
  • outliers: Array of outlier posts with engagement metrics

4. Analyze Top Videos with AI

python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \
  --input {RUN_FOLDER}/outliers.json \
  --output {RUN_FOLDER}/video-analysis.json \
  --platform instagram \
  --max-videos 5

Extracts from each video:

  • Hook technique and replicable formula
  • Content structure and sections
  • Retention techniques
  • CTA strategy

Read the full file on GitHub · 184 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 184 lines · 149 tokens per session scan A 32a7e27cdbee

Subscribe to this mod's changes

instagram-research is a skill published in the GitHub repository bradautomates/head-of-content (340 stars, last pushed 10mo ago), licensed MIT. It adds 149 tokens to every session and 1,324 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

instagram-research compared with skills from other repositories

instagram-research next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
instagram-researchbradautomates/head-of-contentSkill34010mo agoMITA149Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code