Linkedin post analytics

From tmargolis/career-navigator · View interactive version

Linkedin post analytics is an AI agent skill from the GitHub repository tmargolis/career-navigator. Read-only snapshot of the user's own LinkedIn post analytics into networking.json networking entries. Requires browser control (Claude in Chrome MCP or approved computer/browser use). Scheduled-friendly.

How to use this skill

Skill file

Gate (run first)

  1. Pattern: CONNECTORS.md three-step for this integration: Discover — no standard LinkedIn MCP here; Configure — user logged into LinkedIn in the host browser (they sign in); Browser access — ask Claude in Chrome and/or computer use (neither / one / both). If neither or no tooling, stop—do not scrape without read-only approval for the chosen mode(s).
  2. {user_dir}: Resolve the job-search folder; networking data is {user_dir}/CareerNavigator/networking.json.
  3. Scheduled unattended runs: If this invocation came from /schedule (or user asked for unattended), do not ask interactive browser/tooling questions. Continue only when prior consent is already saved in {user_dir}/CareerNavigator/profile.md under ## LinkedIn:

If any of these are missing, stop with a concise setup message telling the user to run one interactive setup once.

Tool-call guidance

Preferred order: for interactive runs, use the user-approved mode (chrome, computer, or either). If mode is either, try Claude in Chrome first, then computer.

Claude in Chrome path (strict, typed params):

No circular fallback loops:

Objective

For your own posts only: open recent activity, collect per-post analytics, append today’s snapshot to networking.json (networking[]), report a one-line summary per post.

Inputs (ask once if missing)

Scheduled runs require permission: granted plus a mode.

Steps

  1. Navigate to the recent activity / shares URL above. User should already be logged in; if LinkedIn demands re-auth, stop and notify them.
  2. Read-only: do not post, react, comment, or DM. If a post’s analytics control is missing or the panel errors, note and skip that post.
  3. For each post in the window: capture post URL (…/feed/update/urn:li:activity:…), date posted (best effort), topic (short label). Open View analytics (bar chart) and read: impressions, members reached, reactions, comments, reposts, saves, sends on LinkedIn, profile viewers from post, followers gained, link visits, plus top audience (industry / seniority / company size) if shown.
  4. Read networking.json. For each post:
  1. Write networking.json back. Preserve unrelated keys (recruiter_relationships, etc.).

analytics_history object (use 0 or [] / "—" when unknown):

impressions, members_reached, reactions, comments, reposts, saves, sends, profile_viewers_from_post, followers_gained, link_visits, links (array), top_audience: { "industry", "seniority", "company_size" } (strings).

Report

One line per post: [topic], impressions: X(+Y), reactions: X(+Y), comments: X(+Y), reposts: X(+Y), link visits: X(+Y), [date]. Flag posts with meaningful day-over-day growth (Y) vs the latest prior snapshot. If no posts in the window, say so and exit.

Cadence hint for the user

For users who granted permission and saved mode, morning /schedule runs are supported. Weekly or biweekly cadence is enough for most job-search visibility loops, but daily is acceptable during active networking pushes.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.