/social-media-scraping:instagram-profile-postsfrom social-media-scraping
Scrapes posts from an Instagram user's profile feed including captions, media URLs, like/comment counts, timestamps and location tags using cursor-based pagination.
Ships in social-media-scraping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
username → paginated list of posts (media, caption, counts, timestamps)
All process output to user (progress updates, process notifications) follows the user's language.
Fetch all posts from an Instagram user's profile using the internal feed API with cursor-based pagination.
https://www.instagram.com/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.
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:
User refuses or cannot log in → terminate execution.
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 viaeval "$(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.
eval "$(python scripts/get-user-id.py '{username}')"
Parameters:
natgeo)Output example:
{
"id": "787132",
"username": "natgeo",
"is_private": false
}
eval "$(python scripts/get-profile-posts.py '{user_id}' --count 12 --max-id '{cursor}')"
Parameters:
12 (max 12)next_max_id from previous response for subsequent pagesOutput example:
{
"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"
}
Navigate to instagram.com first, then loop through pages:
navigate https://www.instagram.com/ → wait stableeval "$(python scripts/get-user-id.py '{username}')" → extract id as user_ideval "$(python scripts/get-profile-posts.py '{user_id}' --count 12)" → collect items, note more_available and next_max_idmore_available is true:
a. eval "$(python scripts/get-profile-posts.py '{user_id}' --count 12 --max-id '{next_max_id}')" → accumulate itemsAPI 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.
result count >= 1 AND items[0].pk non-null AND items[0].code non-null
require_login: truemore_available: falsePath: {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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
instagram-scraper, social-media, profile-posts, media-download
npx claudepluginhub skillmds/skillmd --plugin social-media-scraping12 skills in this plugin
/browser-automation统一自动化入口。覆盖浏览器自动化(Playwright)和 Windows 桌面应用自动化(OpenReverse)。
浏览器场景:打开网页、点击、填表、爬取、截图、自动化登录、渗透页面交互。
桌面场景:操作 IDA/x64dbg 等 GUI 工具、Windows UI Automation、视觉驱动交互、桌面应用网络抓包。
触发关键词:浏览器自动化、桌面自动化、打开网页、填表、爬取、截图、自动化登录、Playwright、agent-browser、headless、OpenReverse、UIA、CUA、桌面操作、Windows 自动化。
/browser-extension-reverseUse for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery./chrome-extensionsBuild and publish Chrome Extensions using Manifest V3 best practices. Use this skill whenever the user asks to create, modify, debug, or understand Chrome browser extensions, add-ons, or anything involving the Chrome Extensions API. Trigger on mentions of: 'Chrome extension', 'browser extension', 'manifest.json', 'content script', 'service worker' (in browser context), 'popup' (in browser extension context), 'side panel', 'chrome.* API', 'declarativeNetRequest', 'omnibox', 'context menu' (in extension context), 'userScripts', 'user script', 'script manager', or any request to build functionality that integrates with the Chrome browser UI. Also trigger for publishing to the Chrome Web Store: 'publish extension', preparing an extension for publishing, responding to a review rejection, writing permission justifications, or drafting a privacy policy.
/facebook-groups-scrape-postsScrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author, timestamp, body text, images/videos, reaction counts, reaction type breakdown, comment count, and share count. Use when: user wants to scrape/extract Facebook group posts, collect FB group content, harvest group data, get posts from a Facebook group, monitor Facebook group activity, bulk export group posts, facebook groups scraping, facebook-groups-scrape-posts, fetch FB group feed./instagram-post-commentsFetches comments from an Instagram post including comment text, username, timestamp, like count and reply count. Use when user mentions Instagram comments scraping, get comments from Instagram post, Instagram comment list, pull Instagram comments, read Instagram comments, Instagram post discussion, extract Instagram comments, comment data from Instagram, IG post replies, who commented on Instagram./instagram-profile-metaFetches Instagram user profile metadata including bio, follower count, following count, post count, verification status and other profile details. Use when user mentions Instagram profile info, user stats, account details, follower count, bio scraping, Instagram user data, IG profile, check Instagram account, Instagram user info, how many followers does someone have on Instagram, get Instagram profile, Instagram account metadata.Other plugins' skills for the same job