instagram-public-report
Build a hosted Porter Metrics report analyzing ANY public Instagram business/creator account (a competitor, a brand you admire) from Instagram Public Data via…
от portermetricsample★ 22 звезды на GitHub
Установить instagram-public-report в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Instagram Public Report
Turns a public Instagram handle into a hosted Porter dashboard. All data comes
from the Porter MCP instagram-public-data actions (Meta Business Discovery)
- local processing. The account under analysis is NOT a Porter customer, so the
report is self-contained (data frozen in, empty allowlist) — the same pattern
as
meta-ads-research, but for organic Instagram.
The deliverable is the report URL (report.portermetrics.com/<id>), never a
chat summary and never a Claude artifact. If you stop at an analysis in chat you
delivered nothing.
When to trigger
"analyze X's Instagram", "reporte de Instagram de X", "competitor IG report",
"qué está publicando X en IG", "IG teardown of X", an instagram.com/<handle> URL.
NOT this skill for the user's OWN Instagram performance ("cómo va mi Instagram") — that is a connected
instagram-insightsaccount with reach/saves/stories/ demographics. This skill reads a PUBLIC account and has only the public subset.
Prerequisites
- Porter MCP with at least ONE connected
instagram-insightsbusiness/creator account (used only as the Business Discovery auth context — its numeric id is theuser_id). Get it fromlist_accounts(connector="instagram-insights"). - Code execution with network +
npm/node+ macOSsips+curl. Run the image + build steps with the sandbox OFF. - The target must be a PUBLIC business or creator account. Personal/private accounts are invisible to Business Discovery — say so and stop.
What's available (and what is NOT)
Public Business Discovery gives ONLY: followers_count, follows_count, media_count, biography, website, profile_picture_url and per post caption, media_type, media_product_type, media_url, thumbnail_url, permalink, timestamp, like_count, comments_count, children{…}. There is no reach, saves, impressions, true
engagement rate, stories, audience demographics, or profile taps — those need an
owned account. State this; never invent them.
Pipeline
1 — Resolve auth + target
list_accounts(connector="instagram-insights") → pick any connected account; note
its numeric native_account_id (that's the user_id). Resolve the target handle
from the user's words / URL (strip @ and instagram.com/).
Every call is instagram_public_data.profile_get / instagram_public_data.profile_media
with account_id=<the auth account's signed id>, user_id=, and
the TARGET embedded in fields as business_discovery.username(<target>){…}.
(Do NOT use instagram_insights.business_discovery_get — it ignores the username
and returns YOUR account.)
2 — Pull the data (feed the numbers, mind the caps)
Make these calls and keep the raw results:
a. Profile — profile_get, fields
business_discovery.username(<t>){id,username,name,biography,followers_count,follows_count,media_count,profile_picture_url,website}.
b. Frequency set (~100 posts, metadata only) — profile_media, paginate with
media.limit(50){timestamp,media_type,media_product_type,like_count,comments_count}
then media.limit(50).after(<cursor>){…}. Metadata-only paginates fine to 100+.
Map each to a simple type: media_product_type==REELS → "Reel", else
CAROUSEL_ALBUM → "Carousel", IMAGE → "Image", VIDEO → "Video".
c. Latest 12 (visuals) — profile_media,
media.limit(12){caption,media_type,media_product_type,media_url,thumbnail_url,permalink,like_count,comments_count}.
Use media_url (image/carousel cover) or thumbnail_url (video/reel).
d. Carousel depth — profile_media, media.limit(12){id,media_type,children{id}}
→ slide count = len(children.data) per carousel.
e. Creator captions (≤25) — profile_media,
media.limit(25){permalink,caption,like_count,comments_count} (first page only).
⚠️ Caption pagination is broken upstream: media.limit(N).after(<cursor>)
WITH caption returns invalid JSON (a later caption with a stray backslash breaks
the stream). So creator mining is capped at the first ~25 captions — report
that as a limitation, do not claim full-history creators. (Bug filed with Porter.)
3 — Extract creators (you, from caption text)
Business Discovery strips the @ — mentions arrive as plain tokens
("harpermurrayy", "jadepicon and tobjizzle"). Read the ≤25 captions and pick out
the real handles (you are good at this; a regex is not). For each post, list its
creators[]. Then build the ranked breakdown: one row per handle with posts
(how many of the sampled posts tag it) and likes (combined likes of those posts),
plus a short type label (Creator / Athlete · sport / Team account). This is the
one analyst-filled part — everything else is measured.
4 — Assemble audit.json
Write it to disk in this shape (see examples/adidas.audit.json):
{
"brand": "adidas", "handle": "adidas", "generated": "Aug 6, 2026",
"profile": { "followers": 29635828,
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- .gitignore
- assets/fonts/bricolage-grotesque-700.woff2
- assets/fonts/bricolage-grotesque-800.woff2
- assets/fonts/hanken-grotesk-400.woff2
- assets/fonts/hanken-grotesk-600.woff2
- assets/fonts/ibm-plex-mono-500.woff2
- examples/adidas.audit.json
- scripts/generate.py
- scripts/prepare_template.py
- scripts/publish.py
- scripts/report_index.tsx
FAQ
Что делает скилл instagram-public-report?
Build a hosted Porter Metrics report analyzing ANY public Instagram business/creator account (a competitor, a brand you admire) from Instagram Public Data via the Porter MCP. Trigger with /instagram-public-report or when the user asks to "analyze X's Instagram", "reporte de Instagram de X", "competitor Instagram report", "what is X posting on IG", "IG teardown of X", or gives an instagram.com/<handle> URL. Output: a self-contained report hosted at report.portermetrics.com/<id> (NOT a chat artifact) — profile, deeper signals, post carousel with real thumbnails, creators/collaborators breakdown, publishing-frequency time series and a weekday×hour heatmap. Account-agnostic: pass any handle.
Как установить скилл instagram-public-report?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл instagram-public-report запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…