Install skill
Setup
Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download instagram-scraper.zip.
- 3Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
- 4Ask: Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install the skill with one command:COMMAND
npx skills add portermetrics/marketing-skills --skill instagram-scraper
- 3Or unzip the download into
~/.claude/skills/. - 4Ask: Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download instagram-scraper.zip.
- 3Open ChatGPT, go to Skills › Create › Upload from your computer and pick the zip. Your workspace admin may need to allow skill uploads.
- 4Ask: Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install for your agent (replace
codexwithcursoror another agent):COMMANDnpx skills add portermetrics/marketing-skills --skill instagram-scraper -a codex
- 3Ask: Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what runs the scraper and returns the data, with no other account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Copy the full skill with the Copy skill button and paste it into a new chat or a project’s instructions.
- 3Ask: Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].
Prompt
Once the skill and Porter Metrics are connected, paste this and replace the company name.
Use the Instagram Scraper skill to pull the latest posts of [Instagram accounts].Example outputs
A Porter report built from public Instagram posts, the same data this skill returns as a file.
The cleaned file the skill hands over, one row per post, with fields the post does not show left empty. Shown with sample data for a fictional brand, Acme Coffee.
{
"accounts": ["https://www.instagram.com/acmecoffee/"],
"run_date": "2026-12-03",
"posts": [
{
"url": "https://www.instagram.com/reel/AcMe0000001/",
"owner": "acmecoffee",
"type": "video",
"posted_at": "2026-11-30T16:05:00Z",
"caption": "Same beans, two grind sizes. Which cup would you pick? #homebarista #pourover",
"hashtags": ["homebarista", "pourover"],
"likes": 4820,
"comments": 213,
"views": 96400,
"duration": 28,
"paid_partnership": false,
"media_url": "https://acme.example/media/grind-test.mp4"
},
{
"url": "https://www.instagram.com/p/AcMe0000002/",
"owner": "acmecoffee",
"type": "carousel",
"posted_at": "2026-11-27T13:30:00Z",
"caption": "Our winter blend is back. Swipe for the tasting notes. #acmecoffee",
"hashtags": ["acmecoffee"],
"likes": 1310,
"comments": 47,
"views": null,
"duration": null,
"paid_partnership": false,
"media_url": "https://acme.example/media/winter-blend-1.jpg"
}
]
}name: instagram-scraper
- objective: One file with the public posts of one or more Instagram accounts: caption, counts, date and media.
- trigger: Ask to scrape, download or list Instagram posts or reels, by account or post link. To find which videos outperform, use Short-Form Video Outlier Research.
- parameters: Account or post links. Optional: how many posts per account and the oldest date.
- output: A posts JSON file and the raw result in a run folder, plus the count in the chat.
- reference: Every step runs through the Porter Metrics MCP (
https://mcp.portermetrics.com/mcp).
Index
| Item | Part | Use it when |
|---|---|---|
| Connect Porter Metrics | Start | Starting any run |
| Shared rules | Start | Applying the scope, cost and run folder rules to every step |
| Ask for the input | Setup | Listing the accounts or posts |
| Run the scraper | Scrape | Running the Instagram scraper |
| Clean the output | Scrape | Turning the raw result into one row per item |
| Hand over | Finish | Giving the user the file and the summary |
| Tools | Reference | Finding the Porter Metrics action for each job |
Connect Porter Metrics
Index ↑Run this before any other step.
| Rule | What to do |
|---|---|
| Check | Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works. |
| Not connected | Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again. |
| Resume | Continue with Ask for the input once the check passes. |
| Porter first | Every job in the Tools table runs through the Porter Metrics MCP, so no other tool or key is needed. |
Shared rules
Index ↑These rules apply to every step.
| Rule | What to do |
|---|---|
| Public data only | Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts. |
| Extract, never judge | Every field holds what the source shows. Scores, winners and advice stay out; they belong to the skills in Part of these skills on this page. |
| Start small | The first run uses the default limit. Tell the user the count before raising it, because every result is billed. |
| Dropped call | A dropped call may already be billed. Run it again with a smaller input, never the same heavy call twice. |
| Empty field | A field the source does not show stays empty. Never fill it from a guess. |
| Run folder | Save what the action returned, untouched, in instagram-scraper/[date]/[target]/raw/, and the cleaned file next to it. |
Ask for the input
Index ↑Ask only for the accounts or post links; take the defaults for the rest.
| Input | Required | Default |
|---|---|---|
| Account or post links | Yes | none |
| Posts per account | No | 30 |
| Oldest date | No | No limit |
Run the scraper
Index ↑Pull public posts only; a private account returns nothing.
| Rule | What to do |
|---|---|
| Run | Run web_scraping.call_actor with actor apify/instagram-scraper and the input from the Tools table. |
| Wait | When the call returns before the run ends, poll web_scraping.get_actor_run until it finishes. |
| Read | Read the items with web_scraping.get_dataset_items, in pages, and save them untouched in raw/. |
| Accounts | Pass the profile links in directUrls with resultsType posts and resultsLimit. |
| Single posts | Pass the post links in directUrls with resultsType posts and resultsLimit 1. |
| Date limit | Pass onlyPostsNewerThan when the user names an oldest date. |
Clean the output
Index ↑Keep one row per post with these fields, in this order.
| Field | What it holds |
|---|---|
| url | The post link |
| owner | The account handle |
| type | image, carousel or video |
| posted_at | Publish date and time |
| caption | The caption as published |
| hashtags | Each hashtag in the caption |
| likes | Likes, when shown |
| comments | Comment count |
| views | Video views, for reels |
| duration | Video length in seconds |
| paid_partnership | Whether it carries the paid partnership label |
| media_url | The image or video file |
Output (JSON)
{"accounts": [], "run_date": "", "posts": [{"url": "", "owner": "", "type": "image|carousel|video", "posted_at": "", "caption": "", "hashtags": [], "likes": 0, "comments": 0, "views": 0, "duration": 0, "paid_partnership": false, "media_url": ""}]}
Hand over
Index ↑| Rule | What to do |
|---|---|
| Files | Give the user the path of the cleaned file and the raw folder. |
| Summary | Say in the chat how many items came back, the date range they cover and any field that came back empty for every item. |
| Next step | When the user wants analysis, name the full skill that reads this file (Part of these skills on this page). |
Tools
Index ↑Porter Metrics MCP actions run through execute_action.
| Use | Tool | Parameters |
|---|---|---|
| Connection check | whoami |
none |
| Run the scraper | web_scraping.call_actor |
actor apify/instagram-scraper · input directUrls · resultsType posts · resultsLimit · onlyPostsNewerThan |
| Run status | web_scraping.get_actor_run |
runId; call again while the run is still going |
| Read the results | web_scraping.get_dataset_items |
datasetId from the run · limit · offset to read in pages |
FAQ
Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.
Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.
Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.