/linkedin:linkedin-analyticsfrom linkedin
Analyzes LinkedIn post performance with statistical rigor: describes engagement distributions, tests patterns against noise, and plans experiments. Use when reach drops or to validate content hypotheses.
Ships in linkedin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The characteristic sentence of LinkedIn analytics is "carousels do 3x better for me", built on four posts. With engagement as heavy-tailed as it is, four posts will show a 3x difference between almost any two groups you care to define. These three scripts stop that sentence becoming a strategy.
Your own data only. Nothing is fetched; scraping post or profile data is prohibited by User Agreement §8.2 and none of this analysis needs it.
1. Get the export. LinkedIn Analytics → Post impressions → Export, or Settings → Data privacy → Get a copy of your data. CSV and JSON both work.
2. Describe it. Exit 0 analysed / 2 below the 10-post floor, descriptive only / 3 unusable. Reports median and MAD rather than mean and standard deviation — one breakout post makes a mean describe a distribution none of your posts belong to — plus Tukey percentile bands and a 1.5×IQR breakout threshold, so "this did well" has a number behind it.
python3 scripts/post_performance_analyzer.py --input posts.csv --csv --output human
3. Test the pattern they think they see.
python3 scripts/pattern_miner.py --input posts.json --output human
Exit 0 something survived / 2 nothing survived / 3 under 10 posts. Four gates: 5 posts in and 5 out; a 15% relative difference in medians; beating 90% of 2,000 seeded label shuffles; and a multiple-comparisons accounting of how many candidates would pass on noise alone.
"Nothing survived" is the most common honest answer and it is a real finding. Report it as one. Do not soften it into a hedge that reads like a conclusion.
4. Turn a survivor into a test.
python3 scripts/experiment_planner.py --hypothesis "..." --variable "..." \
--cv 0.45 --effect 0.30 --posts-per-week 2 --max-weeks 12 --output human
CV comes from step 2: 1.4826 * MAD / median. Exit 0 feasible / 2 too long, with the minimum
detectable effect in their window / 3 refused. It will frequently say the test needs more
posts than a quarter allows — that is the honest answer, and more useful than a confident
conclusion from retrospective data.
| Script | Role |
|---|---|
scripts/post_performance_analyzer.py | Median/MAD, percentile bands, IQR outlier fence, per-post BREAKOUT→DUD classification; refuses conclusions below 10 posts. |
scripts/pattern_miner.py | Four-gate permutation test with multiple-comparisons accounting; reports why every rejected candidate failed. |
scripts/experiment_planner.py | Sizes a two-arm posting experiment, names the confounds to hold constant, and writes the falsification condition before the first post. |
references/linkedin_metrics_canon.md — what each number is, what it is not, and which three tiers to track (7 sources)
references/evidence_thresholds.md — the four gates, forking paths, and the uncomfortable arithmetic of LinkedIn A/B tests (7 sources)
assets/example_post_export.csv — a 12-post export in the expected shape
assets/measurement_log_template.md — the Tier 1 outcome log you keep by hand
marketing-skill/social-media-analyzer — cross-platform brand campaign reporting. This
is one person's own LinkedIn export, with refusals attached.linkedin-strategy — decides what to do next. This says what happened.product-team/experiment-designer — product A/B tests with real traffic; here n is
posts, and usually too small.Version: 1.0.0
assets/example_post_export.csv (opens in a new tab)assets/measurement_log_template.md (opens in a new tab)references/evidence_thresholds.md (opens in a new tab)references/linkedin_metrics_canon.md (opens in a new tab)scripts/experiment_planner.py (opens in a new tab)scripts/pattern_miner.py (opens in a new tab)scripts/post_performance_analyzer.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/linkedin-contentWrite, edit or review a LinkedIn post: story, how-to, carousel, video script or poll. Use whenever the user wants a LinkedIn post, asks if their draft is good, or wants a blog or talk turned into posts./linkedin-engagementUse for LinkedIn comments, connection notes, DMs or outreach plans, or checking outreach volume is safe. Plans targets with comment_target_planner.py, drafts notes with outreach_message_builder.py and checks limits with outreach_volume_guard.py./linkedin-profileUse when auditing or rewriting a LinkedIn profile (headline, About, experience, Featured). Scores the headline with headline_scorer.py, audits completeness with profile_completeness_auditor.py and drafts About with about_section_builder.py./linkedin-skillsUse for any organic LinkedIn growth request (strategy, profile, posts, cadence, outreach, analytics). Checks it against LinkedIn's rules with linkedin_policy_gate.py and routes with linkedin_goal_router.py. No automation or scraping./linkedin-strategyBuild a LinkedIn plan rather than a post: content pillars, positioning, a sustainable cadence, whether to start a newsletter. Use whenever the user asks what to post about, how often, or how to grow.npx claudepluginhub alirezarezvani/claude-skills --plugin linkedinOther plugins' skills for the same job