Command Palette

Search for a command to run...

Назад к скиллам
скилл № 94711

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от 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)

  1. 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).

  2. Clone, re-pointed at that account:

    duplicate_report(report_id="<reference report id or its URL>",
                     accounts_used=["<account_id from step 1>"])
    

    report_id accepts a pasted report.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-8d9b32203bac
    

    It must be public-by-link for duplicate_report to read it. The clone re-brands itself automatically — header name, avatar and every number come from the user's account, not from the reference.

  3. Read the response diagnostics: error_count must 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 at app.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 its const ACCOUNTS=[…] with useAccounts()).
  4. Verify the re-pointing stuck — get_report(<new report_id>) → bundle_manifest.account_ids must 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.

  5. 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 the url plus that no-login preview_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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить porter-tiktok-dashboard с