porter-tiktok-dashboard
Build a polished, hosted TikTok Insights dashboard for any TikTok account using the PorterMetrics MCP — a 5-page report (Overview, Videos, Video performance…
от portermetricsample★ 22 звезды на GitHub
Установить porter-tiktok-dashboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Porter TikTok Insights dashboard
This skill produces a specific, polished TikTok Insights dashboard as a hosted Porter
report (report.portermetrics.com/<id>), with 5 pages:
- Overview — followers/profile scorecards, a "new followers" chart annotated with a circular thumbnail of every video published that day (hover to see caption, views, likes), and a daily-engagement row (likes, comments, shares, engaged audience).
- Videos — 6 scorecards with sparklines + period-over-period deltas, a Top-videos carousel where each card opens the video and lists Views/Likes/Comments/Shares/Avg watch time/Watched-in-full, a best-days-to-post bar chart, a video-length-mix donut, and a view-distribution (impression source) donut.
- Video performance — a video picker, its scorecards (views, avg watch time, watched-in-full, new followers, favorites, duration), a per-second retention curve, a per-video impression-source donut, and a per-video viewer-type split.
- Acquisition — For You / non-follower reach scorecards, account-wide impression-source and viewer-type charts, and a sortable "acquisition by video" table.
- Audience — followers by gender (donut), age (bars), country and city (top-10 bars).
The report resolves its TikTok account at runtime and pulls the account's own name
and profile picture for the header. Nothing about the account is hardcoded — that is what
makes Path A below possible. See references/tiktok-api-gotchas.md before touching code.
Choose a path
Path A — Clone an existing report (fast, works EVERYWHERE). One MCP call, no build tools, no Node. Works in plain chat. Use this whenever a reference report already exists (one you built before, or the default public one below). The clone is byte-identical and re-points at the user's account, which then supplies the data, the header name and the avatar automatically.
Path B — Build it from source (needs Node + a shell). Use when no reference report exists yet, or the user wants to customize the code. This is how you create the first one; afterwards, Path A reproduces it endlessly.
Prerequisite for both: the PorterMetrics MCP connected, with the target account
reachable via the tiktok-insights connector.
Path A — Clone (preferred when a reference report exists)
Find the user's account:
list_accounts(connector="tiktok-insights", query="<name the user gave>")If several match, ask which one. Take its
account_id(the signed ref).Clone, re-pointed at that account:
duplicate_report(report_id="<reference report id or its URL>", accounts_used=["<account_id from step 1>"])report_idaccepts a pastedreport.portermetrics.com/<id>URL. You can clone your own reports, plus any that are public-by-link or shared with you — and cloning someone else's requires re-pointing at an account that is the user's.Default reference report — if the user has no report of their own to clone, use this one, built with this skill (runtime-account, so it re-points cleanly):
https://report.portermetrics.com/b4d44b40-15b8-4455-b7c5-8d9b32203bacIt must be public-by-link for
duplicate_reportto read it. The clone re-brands itself automatically — header name, avatar and every number come from the user's account, not from the reference.Read the response
diagnostics:error_countmust be 0.warnings/error_code: "empty"are fine — that account just has no videos, no demographics, or nothing in range.error_code: "reauth_required"means the target account's TikTok token expired — the user re-authorizes it atapp.portermetrics.com/porter-auth?component=tiktok-insights, not a report bug (see gotchas §3).error_code: "account_not_allowed"should NOT happen with a runtime-account reference. If it does, you're cloning an OLD hardcoded report — rebuild the reference via Path B (or migrate it: replace itsconst ACCOUNTS=[…]withuseAccounts()).
Verify the re-pointing stuck —
get_report(<new report_id>)→bundle_manifest.account_idsmust contain the user's account. If it points at the wrong one, re-point inline (no rebuild):edit_report(<new report_id>, accounts_used=["<account_id>"]), then re-check.Confirm what it renders with
preview_report(report_id)— the header name, avatar and numbers all come from the account's own data, so they are the giveaway that it bound to the right account. Hand over theurlplus that no-loginpreview_url.
The copy is owned by the user, named "Copy of …", and starts private — it never inherits the original's audience. Making it public is the user's call, not yours.
Plan note: if the user wants the exact period-over-period comparison view (Jun-style range + compare) and their account is on the Free plan (30 days of history), the compare charts will hit the 30-da
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- assets/globals.css
- assets/index.tsx
- assets/porter-tiktok-project.zip
- assets/tiktok-insights.schema.json
- porter-tiktok-dashboard.skill
- references/tiktok-api-gotchas.md
- scripts/patch_local_audit.py
FAQ
Что делает скилл porter-tiktok-dashboard?
Build a polished, hosted TikTok Insights dashboard for any TikTok account using the PorterMetrics MCP — a 5-page report (Overview, Videos, Video performance, Acquisition, Audience) that ships as a live shareable URL. Use this skill WHENEVER the user wants a TikTok analytics dashboard, report, or "insights" page built with Porter / PorterMetrics — even if they only say "make me a TikTok report", "dashboard for my TikTok account", "replicate this TikTok dashboard", "Porter report for TikTok", or hand you a Porter TikTok report URL to reproduce. It offers a one-call CLONE path that works anywhere (including plain chat, no build tools) plus a full build path, so every run produces a near-identical dashboard. Do NOT hand-roll a TikTok report from scratch when this skill applies.
Как установить скилл porter-tiktok-dashboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл porter-tiktok-dashboard запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…