Agent skill

Instagram Profile Posts

by browser-act in browser-act/skills

Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags.

MITAuto-check passedData & Analytics

Install Instagram Profile Posts

skills CLI
$ npx skills add browser-act/skills --skill instagram-profile-posts -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install browser-act/skills instagram-profile-posts --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/browser-act/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/solutions/social-listening/instagram-profile-posts .claude/skills/instagram-profile-posts && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
instagram-profile-posts
GitHub stars
6.1k
Token cost
~1.7k tokens
SKILL.md length
759 words
Files
3 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags.

  • Works in 2 steps: Tool Readiness → Login Verification
  • User mentions scraping Instagram posts
  • SKILL.md covers Language, Objective, Prerequisites and Pre-execution Checks, plus 6 more sections
  • Runs Python scripts from its folder; calls python; reaches instagram.com and scontent.cdninstagram.com

What it does

Instagram Profile Posts is an agent skill from browser-act/skills. Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags. Use when user mentions scraping Instagram posts, download Instagram feed, get posts from Instagram account, IG profile posts, Instagram user posts, pull posts from Instagram, Instagram post list, get someone's Instagram content, batch download Instagram, Instagram media scraper.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/get-profile-posts.py` and `scripts/get-user-id.py`).

It sits in Data & Analytics, covering Web scraping. It works with Instagram and Python. The repository describes itself as: Browser automation CLI built for AI agents. Break through anti-bot walls, hand off to humans across platforms when stuck. Parallel multi-task execution, independent multi-session… The licence is MIT.

When your agent uses it

  • User mentions scraping Instagram posts
  • Download Instagram feed
  • Get posts from Instagram account
  • IG profile posts

Example prompts

  • “Use the instagram-profile-posts skill to scrape posts from an Instagram user's profile feed including captions, media URLs, like/comment counts…”
  • “/instagram-profile-posts”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Tool Readiness
  2. Login Verification

What it can do on your machine

Read from SKILL.md and the folder at commit 11c057b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • instagram.com
    • scontent.cdninstagram.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Instagram Profile Posts loads about 1.7k tokens when it runs. Until then it costs about 110 tokens; SKILL.md has 759 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from browser-act/skills at commit 11c057b, republished under its MIT licence (© browser-act). 759 words, ~1,718 tokens.

Download SKILL.mdSave it as .claude/skills/instagram-profile-posts/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
instagram-profile-posts
description
Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags. Use when user mentions scraping Instagram posts, download Instagram feed, get posts from Instagram account, IG profile posts, Instagram user posts, pull posts from Instagram, Instagram post list, get someone's Instagram content, batch download Instagram, Instagram media scraper.

Instagram — Profile Posts

username → paginated list of posts (media, caption, counts, timestamps)

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Fetch all posts from an Instagram user's profile using the internal feed API with cursor-based pagination.

Prerequisites

  • Browser is open on any Instagram page: https://www.instagram.com/
  • Logged into Instagram (user avatar or username visible in top-right corner)

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification

If login status for Instagram has been confirmed in the current session → skip this step.

Otherwise: open https://www.instagram.com/ and observe the page login status:

  • Logout/sign-out entry, user avatar, or username exists → logged in, continue execution
  • Login/register entry exists with no logout entry → not logged in, inform the user that login is needed first, assist the user in completing the login flow

User refuses or cannot log in → terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.

API: get user ID from username

eval "$(python scripts/get-user-id.py '{username}')"

Parameters:

  • username: Instagram username without @ (e.g., natgeo)

Output example:

json
{
  "id": "787132",
  "username": "natgeo",
  "is_private": false
}
API: get profile posts page

eval "$(python scripts/get-profile-posts.py '{user_id}' --count 12 --max-id '{cursor}')"

Parameters:

  • user_id: Numeric user ID (from get-user-id output)
  • --count: Posts per page, default 12 (max 12)
  • --max-id: Pagination cursor; leave empty for first page, use next_max_id from previous response for subsequent pages

Output example:

json
{
  "items": [
    {
      "pk": "3900557621921709539",
      "code": "DYwOA07iPmB",
      "taken_at": 1779686199,
      "media_type": 1,
      "like_count": 45230,
      "comment_count": 312,
      "caption": "Caption text here...",
      "thumbnail_url": "https://scontent.cdninstagram.com/...",
      "video_url": null,
      "location": {"id": "212988663", "name": "New York, New York"},
      "username": "natgeo",
      "user_id": "787132"
    }
  ],
  "more_available": true,
  "next_max_id": "3890000000000000000_787132"
}
Composite: fetch all profile posts

Navigate to instagram.com first, then loop through pages:

  1. navigate https://www.instagram.com/ → wait stable
  2. eval "$(python scripts/get-user-id.py '{username}')" → extract id as user_id
  3. eval "$(python scripts/get-profile-posts.py '{user_id}' --count 12)" → collect items, note more_available and next_max_id
  4. While more_available is true: a. eval "$(python scripts/get-profile-posts.py '{user_id}' --count 12 --max-id '{next_max_id}')" → accumulate items
  5. Merge all collected items

Pagination

API Pagination: max_id, type: cursor, start value: empty string. Next page value source: next_max_id field in response. Termination: more_available is false or next_max_id is null.

Show full SKILL.md (303 more words)Show less

Success Criteria

result count >= 1 AND items[0].pk non-null AND items[0].code non-null

Known Limitations

  • Private accounts: posts are not accessible unless the logged-in user follows the account
  • Login required: without authentication, feed API returns require_login: true
  • Account with 0 posts: API returns empty items array with more_available: false
  • Maximum ~12 posts per API call

Execution Efficiency

  • Batch orchestration: Write a bash script to loop through the command templates serially within a single session; do not parallelize within one browser (prone to triggering anti-scraping restrictions). Refer to rate information in "Known Limitations" above to add appropriate intervals. To increase throughput, open multiple stealth browser sessions and distribute work across them — each session has an independent fingerprint so rate limits apply per session
  • Test before batch execution: After writing a batch script, you must first test with 1-2 items to verify the script runs correctly; only then run the full batch. Never skip testing and execute in batch directly
  • Reduce redundant pre-operations: When multiple steps depend on the same prerequisite state, complete them in batch under that state to avoid repeatedly establishing the same state
  • Error resumption: Save results item by item during batch processing; on failure, resume from the breakpoint rather than starting over

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/instagram-scraper-instagram-profile-posts.memory.md (working directory is determined by the Agent running the Skill, typically the project root or current working directory)

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file. Do not record what keywords were used or how many results were returned — those are task outputs, not experience.

© browser-act, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in solutions/social-listening/instagram-profile-posts of browser-act/skills.

  • SKILL.md
  • scripts/get-profile-posts.py
  • scripts/get-user-id.py

Open the folder on GitHubat commit 11c057b

Compare with similar skills

Instagram Profile Posts next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Instagram Profile Posts compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Instagram Profile Posts this skillbrowser-act/skills6.1k—~1.7kAutomated safety check: PassMIT
Google Maps ScraperMahanaicoach/google-maps-scraper-kit1.3k—~2.8kAutomated safety check: PassMIT
Brightdata SDKbrightdata/skills264—~5.2kAutomated safety check: PassMIT
Product Reel Generatorgooseworks-ai/goose-skills1.2k1 repos~2.3kAutomated safety check: NotesMIT
Crawl4AI Web Scrapingsmallnest/goclaw5981 repos~2.5kAutomated safety check: PassMIT
Boss Zhipin Scrapereatmoreduck/boss-zhipin-scraper1.5k—~2.6kAutomated safety check: PassMIT

Similar skills

  • Google Maps Scraper

    Mahanaicoach/google-maps-scraper-kit

    Scrape Google Maps business listings (name, address, phone, website, rating, reviews, lat/lng, hours, emails) via the local gosom google-maps-scraper REST API.

    1.3k GitHub stars~2.8k tokensUpdated 2 days ago
    Data & AnalyticsAuto-check passed
  • Brightdata SDK

    brightdata/skills

    Web data extraction and discovery using the Bright Data Python SDK.

    264 GitHub stars~5.2k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Product Reel Generator

    gooseworks-ai/goose-skills

    Generates Instagram-ready product reels from any e-commerce product page URL.

    1.2k GitHub starsUsed in 1 repo~2.3k tokens
    Sales & SupportAuto-check: notes
  • Crawl4AI Web Scraping

    smallnest/goclaw

    Scrapes sites, handles JavaScript-heavy pages and extracts structured data with Crawl4AI, through its crwl CLI or Python SDK, including schema-based extraction without an LLM.

    598 GitHub starsUsed in 1 repo~2.5k tokens
    Data & AnalyticsAuto-check passed
  • Boss Zhipin Scraper

    eatmoreduck/boss-zhipin-scraper

    Scrape BOSS直聘 (job listing site) via Chrome CDP. An agent skill from eatmoreduck/boss-zhipin-scraper.

    1.5k GitHub stars~2.6k tokensUpdated 8 days ago
    Data & AnalyticsAuto-check passed
  • Ax

    yusukebe/ax

    Use the ax CLI instead of curl + throwaway parsing scripts whenever you fetch a URL, explore an unknown web page, or extract structured data from HTML.

    719 GitHub starsUsed in 1 repo~918 tokens
    Data & AnalyticsAuto-check passed

More from browser-act/skills

All 87 skills in this repo
  • Amazon ASIN Lookup

    browser-act/skills

    Fetches structured Amazon product details such as title, price, ratings and availability for a given ASIN through BrowserAct's lookup API template.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Amazon Best Sellers Finder

    browser-act/skills

    Extracts structured Amazon product data for a keyword and marketplace through the BrowserAct API, including titles, prices, ratings, reviews, sales volume and promotions.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Amazon Buy Box Monitor

    browser-act/skills

    Pulls Amazon product details, competing seller prices and seller ratings for a given ASIN through the BrowserAct API, without browser automation.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed
  • Analyzes a competitor's Amazon listing by ASIN with BrowserAct data extraction, then reports what it does well, where the market has gaps and opportunity points for your own listing.

    6.1k GitHub starsUsed in 2 repos~3.2k tokens
    Auto-check passed
  • Pulls structured Amazon search results (titles, ASINs, prices, ratings, specifications) for a keyword and brand through BrowserAct's Amazon Product API template.

    6.1k GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Collects structured product data from Amazon search results for a keyword and optional brand, using a BrowserAct script, for market and competitor research.

    6.1k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check passed

Works with

Questions about Instagram Profile Posts

What does Instagram Profile Posts do?

Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags. Instagram Profile Posts is an agent skill from browser-act/skills. Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags.

When should I use Instagram Profile Posts?

Instagram Profile Posts fits situations like: user mentions scraping Instagram posts; download Instagram feed; get posts from Instagram account; IG profile posts.

How do I install Instagram Profile Posts in Claude Code?

Run `npx skills add browser-act/skills --skill instagram-profile-posts -a claude-code`. Or copy the skill folder (solutions/social-listening/instagram-profile-posts in browser-act/skills) into .claude/skills/instagram-profile-posts in your project. Claude Code loads it when a task matches its description.

How do I install Instagram Profile Posts in Codex?

Run `npx skills add browser-act/skills --skill instagram-profile-posts -a codex`. Or copy the skill folder (solutions/social-listening/instagram-profile-posts in browser-act/skills) into .agents/skills/instagram-profile-posts in your project. Codex loads it when a task matches its description.

Can I use Instagram Profile Posts in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add browser-act/skills --skill instagram-profile-posts -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/instagram-profile-posts, .gemini/skills/instagram-profile-posts, .github/skills/instagram-profile-posts and .opencode/skills/instagram-profile-posts in your project.

What does Instagram Profile Posts need to run?

Going by SKILL.md and its folder, Instagram Profile Posts needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Instagram Profile Posts access the network?

SKILL.md names 2 domains. In commands or code: instagram.com and scontent.cdninstagram.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Instagram Profile Posts safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Instagram Profile Posts use?

Instagram Profile Posts is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Instagram Profile Posts use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Instagram Profile Posts?

Skills that share tags, products or a category with Instagram Profile Posts: Google Maps Scraper (Mahanaicoach/google-maps-scraper-kit, 1.3k stars), Brightdata SDK (brightdata/skills, 264 stars), Product Reel Generator (gooseworks-ai/goose-skills, 1.2k stars) and Crawl4AI Web Scraping (smallnest/goclaw, 598 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Instagram Profile Posts?

browser-act (a GitHub organization) maintains it in browser-act/skills, which has 6,108 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on August 24, 2026.

Source: browser-act/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.