porter-meta-ads-dashboard
Recreate the golden multi-page Meta (Facebook/Instagram) Ads dashboard via the Porter Metrics MCP — Overview, Campaigns (SUMAS), Creatives (with…
от portermetricsample★ 22 звезды на GitHub
Установить porter-meta-ads-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
porter-meta-ads-dashboard
Recreates a complete, hosted Meta Ads dashboard on Porter's infrastructure (a shareable
*.porter.build URL) from a proven frontend bundle + chart config. It is account-agnostic:
point it at any connected Meta Ads account.
Prerequisites: the Porter Metrics MCP connected, and a Meta Ads account already connected in Porter (Looker-Studio/Sheets/MCP connector). No coding needed from the user.
What it builds (7 tabs, in this order)
- Overview — KPI scorecards + a metric-switchable time-series (daily / hourly / weekly / day-of-week / monthly).
- Campaigns — a SUMAS pivot table: Budget → Visibility → Engagement (Clicks | Landing) → Conversion, primary metric big with effectiveness/efficiency + Δ% underneath, objective as a tag, status dot, links to Meta Ads Manager.
- Creatives — creative cards with hi-res image, Format + Days-active, the funnel KPIs (Spend, Thumbstop, Hold, CTR, ROAS) with vs-average badges, a per-creative trend curve with a creative verdict tag (🦄 Unicorn / Winning / Steady / Fatiguing / Losing / Testing), a video-retention curve, and hover tooltips with exact values. Trend metric is switchable.
- Budget pacing — spend vs Meta budget per campaign.
- Funnel — rounded-silhouette conversion funnel (Impressions → Link clicks → Landing → Purchases) with step drop-off.
- Audience placements — spend by age / gender / country / platform.
- Conversion windows — conversions by attribution window.
Design: Meta-blue palette, Iconify icons, real brand logos, card layout. Aesthetic ≈ Rosen Charts in vanilla D3.
Assets (the proven bundle — use these, don't rebuild from scratch)
assets/config.json— the reportconfig(18 charts + controls).assets/frontend.html,assets/frontend.css,assets/frontend.js— the deployed bundle (~98KB).reference/engineering-notes.md— read this before editing; it lists every gotcha (worker ~36s ad-grain penalty, 422 edit size limit, YYYYMMDD dates, string metrics, image cache, the SDK date-range bug, hold-rate definition, the verdict classifier).
Build steps
Resolve the account.
list_known_accounts(component_name="facebook-ads")→ pick the user's account. Capture{id, name, company_id, source_user_id}and the numeric act id (strip theact_prefix).Patch
config.json. Set EVERY chart'saccounts: [{id, name, company_id, component_name:"facebook-ads", source_user_id}]to the resolved account. Setconfig.nameto the user's report name.Fill the placeholders. The bundled assets are a scrubbed TEMPLATE — no client data. Replace these tokens across all files:
Placeholder Where Replace with act___META_ACCT_NUM__config.json (×18) act_<numeric id>__META_ACCT_NUM__frontend.js (×6, Meta deep-links) the numeric act id (no act_)__ACCOUNT_NAME__config.json the account name __COMPANY_ID__config.json company_id__SOURCE_USER_ID__config.json source_user_id__BRAND__frontend.html + frontend.js the brand/report name __ACCT__frontend.js (filter option values) see filter note below - Filter dropdown options are hardcoded in
frontend.js(the SDK needs explicitoptions[]— it doesn't auto-populate). The template's option values contain__ACCT___…placeholders that won't match real data. Either (a) leave them and tell the user the filters are inert until populated, or (b) regenerate them:query_datadistinctcampaign_name/adset_name/ad_namefor the account and rebuild eachoptions:[{label, value}]array with the real names. CRE_METAis already{}(per-ad Meta/Instagram deep-links).creLinks()degrades gracefully to no links. Optional: regenerate from per-adad_id+*_permalink_url(heavy ad-grain query — see notes).maskNameis already a passthrough (shows real names). Restore client-anonymization only if the user wants it.- Forced default range is
this_year(in thedateRangePickerIIFE). Changes.value='this_year'to wherever the account's data actually lives — a recent-only window can be empty for seasonal/sample accounts.
- Filter dropdown options are hardcoded in
Patch
frontend.html— set the<h1 id="report-title">(currently "Meta Ads Dashboard") and the subtitle (__BRAND__ — Meta Ads).Create the report. Call
create_reportwithname, the patchedconfig, andfrontend_html/frontend_css/frontend_js. It returns the hosted URL.Verify — open the URL, click through the 7 tabs. The Creatives tab takes ~36s cold (worker ad-grain penalty — expected). If a tab is empty, confirm the account has data in the selected range via
query_data.
Iterating after deploy
Use edit_report (NOT update_report) for incremental changes — surgical string replacements + config_patch. Keep each edit new_string under ~2KB (the 422 limit) and **bump the ?v=crNN versio
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/config.json
- assets/frontend.css
- assets/frontend.html
- assets/frontend.js
- reference/engineering-notes.md
FAQ
Что делает скилл porter-meta-ads-dashboard?
Recreate the golden multi-page Meta (Facebook/Instagram) Ads dashboard via the Porter Metrics MCP — Overview, Campaigns (SUMAS), Creatives (with Unicorn/Winning/Losing verdicts + retention + tooltips), Budget pacing, Funnel, Audience placements, Conversion windows. Use when a user with the Porter MCP and a connected Meta Ads account wants a complete, hosted Meta Ads reporting dashboard.
Как установить скилл porter-meta-ads-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл porter-meta-ads-dashboard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…