Command Palette

Search for a command to run...

Back to skills
skill № 00623

porter-linkedin-dashboard

Build a polished, hosted LinkedIn Company Page analytics dashboard for any LinkedIn Page using the PorterMetrics MCP — a 4-page report (Overview, Posts…

FreeRuns bundled scripts
portermetricsampleby portermetricsample★ 22 GitHub stars

Install porter-linkedin-dashboard in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Porter LinkedIn Pages dashboard

This skill produces a specific, polished LinkedIn Company Page dashboard as a hosted Porter report (report.portermetrics.com/<id>), with 4 pages:

  • Overview — total-followers + reach/impressions/clicks scorecards, a "new followers" line where every day you posted is marked with an amber diamond you can hover to see the post and the impressions & engagements it earned, and a second row of reactions/comments/shares/clicks/engagement-rate cards.
  • Posts — 6 scorecards with sparklines + period-over-period deltas, a Top-posts carousel where each card shows the post image in full, opens the post on LinkedIn, and lists its Impressions/Reactions/Comments/Shares/Clicks/Engagement; a "best days to post" bar chart; and a content-format (Image/Video/Text) donut.
  • Audience — the LinkedIn B2B demographics: followers by seniority, job function, industry, company size and country.
  • Discovery — page-view scorecards, page views over time split desktop vs mobile, which page sections people view, and Careers & Jobs interest over time.

The report resolves its LinkedIn Page at runtime and pulls the page's own company name, website and logo for the header. Nothing about the account is hardcoded — that is what makes Path A below possible.


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 one the user was given a link to). The clone is byte-identical and re-points at the user's Page, which then supplies the data, the header name, website and logo 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 can reproduce it endlessly.

Prerequisite for both: the PorterMetrics MCP connected, with the target Page reachable via the linkedin-pages connector and its authorization complete (see gotcha #1 — an incomplete LinkedIn authorization makes every chart fail reauth_required).


Path A — Clone (preferred when a reference report exists)

  1. Find the user's Page:

    list_accounts(connector="linkedin-pages", query="<page name the user gave>")
    

    linkedin is ambiguous — always pass linkedin-pages (not linkedin-ads). If several match, ask which one. Take its account_id (the signed ref). A status:"available" Page is fine to use — billing just starts on the first query.

  2. Clone, re-pointed at that Page:

    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 a Page that is the user's.

    Default reference report — a report built with THIS skill (runtime-resolved, so it re-brands automatically):

    https://report.portermetrics.com/ad1a0497-91d0-43ef-b0a8-4dfbabf78f99
    

    It was built from these exact assets and points at a LinkedIn Page at runtime, so a duplicate re-brands itself to the user's Page — header name, website, logo and every number come from their account, not from the reference. For OTHERS to clone it, the owner must make it public-by-link (the Share button) or share it; a user can always clone their OWN reports. A hardcoded-account report will NOT re-point on clone — only a report built from these assets (which resolve the account at runtime) clones cleanly.

  3. Read the response: error_count must be 0. warnings with error_code: "empty" are fine — they just mean that Page has no posts in range, no page-section views, or no demographics yet. If instead you see reauth_required on every chart, the Page's LinkedIn authorization is incomplete → send the user through connect_account(connector="linkedin-pages") first, then retry (gotcha #1).

  4. Verify the re-pointing actually stuck — do not skip this.

    get_report(<new report_id>)      → bundle_manifest.account_ids
    

    That list must contain the user's Page's native id (the numeric LinkedIn Page id, e.g. 64276106). Observed in practice with hardcoded-account reports: the duplicate renders against the new Page yet the code still queries the old one — so always confirm here. A report built from these (runtime-resolved) assets avoids that, but verify anyway.

    If it points at the wrong Page, re-point it (metadata-only, applied inline — no rebuild):

    edit_report(<new report_id>, accounts_used=["<account_id from step 1>"])
    

    Then call get_report again and confirm before moving on.

  5. Confirm what it renders with `preview_report(repo

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • README.md
  • assets/globals.css
  • assets/index.tsx
  • assets/linkedin-pages.schema.json
  • porter-linkedin-dashboard.skill
  • references/linkedin-pages-api-gotchas.md
  • scripts/patch_local_audit.py

FAQ

What does the porter-linkedin-dashboard skill do?

Build a polished, hosted LinkedIn Company Page analytics dashboard for any LinkedIn Page using the PorterMetrics MCP — a 4-page report (Overview, Posts, Audience, Discovery) that ships as a live shareable URL. Use this skill WHENEVER the user wants a LinkedIn Pages / LinkedIn company-page analytics dashboard, report, or "insights" page built with Porter / PorterMetrics — even if they only say "make me a LinkedIn report", "dashboard for my LinkedIn page", "replicate this LinkedIn dashboard", "Porter report for LinkedIn", or hand you a Porter LinkedIn 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 LinkedIn Pages report from scratch when this skill applies. This is the LinkedIn-Pages sibling of porter-instagram-dashboard.

How do I install the porter-linkedin-dashboard skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the porter-linkedin-dashboard skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare porter-linkedin-dashboard with