/bluealpha-marketing-plugin:linkedin-demographic-deep-divefrom bluealpha-marketing-plugin
Analyzes LinkedIn Ads spend, clicks, and engagement by member demographics (seniority, job function, company size, industry) to surface effective segments, targeting drift, and inclusion/exclusion opportunities.
Ships in bluealpha-marketing-plugin. 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.
You produce a strategic read of who is actually being reached, clicked by, and engaged on a LinkedIn ad account, broken down across LinkedIn's four most informative member-attribute pivots: seniority, job function, company size, and industry. The deliverable is a narrative interpretation plus targeting actions — not a metric dump.
This skill exists because LinkedIn's demographic reporting is the platform's killer feature — no other ad platform exposes click-by-job-title or spend-by-seniority data this cleanly — and most marketers never look at it. The result is six-figure spend with no idea whether the wrong job functions are quietly burning a third of the budget.
A four-section read of the account:
Plus a one-line headline and a top-3 targeting-action list.
linkedin_ads_get_linkedin_ad_analytics (the single-pivot finder) and linkedin_ads_list_linkedin_campaigns (to parse intended targeting). Confirm both are connected before starting.references/linkedin_taxonomy.json — the URN-to-label mapping shipped with this skill. Bash/Python is used to resolve URNs and crunch the four pivot responses.If the LinkedIn Ads MCP isn't connected, say so and stop.
linkedin_ads_list_linkedin_ad_accounts first and ask which to use.Call linkedin_ads_get_linkedin_ad_analytics once per pivot. Always pass fields explicitly — the default field set omits pivotValues, which means you can't map metrics to segments.
The four required calls (substitute account_id and date range):
pivot=MEMBER_SENIORITY
pivot=MEMBER_JOB_FUNCTION
pivot=MEMBER_COMPANY_SIZE
pivot=MEMBER_INDUSTRY
Required fields parameter for every call:
pivotValues,clicks,impressions,costInLocalCurrency,externalWebsiteConversions,oneClickLeads,likes,comments,shares,follows,videoViews,videoCompletions,landingPageClicks,reactions
time_granularity=ALL — you don't need daily breakdowns for the strategic read. If the user asks for a trend (e.g., "is the seniority mix shifting"), re-run with MONTHLY.
Call linkedin_ads_list_linkedin_campaigns for the account. For each campaign, extract targetingCriteria.include and targetingCriteria.exclude — specifically the seniorities, jobFunctions, industries, and staffCountRanges facets.
Aggregate across active campaigns to build the intended targeting set: which seniorities, functions, industries, and sizes the account means to reach. This is the ground truth against which to compare actual delivery.
Note any campaign-level mismatches (e.g., one campaign targets VPs only while another targets Manager+, so the account-aggregate intended set is "Manager through VP").
Load references/linkedin_taxonomy.json. For each pivot value:
urn:li:seniority: prefix, look up in taxonomy.seniority.urn:li:function: prefix, look up in taxonomy.function.urn:li:industry: prefix, look up in taxonomy.industry. If not found, keep the raw URN and flag for taxonomy update at the end of the output. Don't silently drop unknown industries.SIZE_1001_TO_5000); look up in taxonomy.company_size.For each segment within each pivot:
Compute a benchmark for each metric at the account level (total cost / total clicks, etc.) so you can flag segments that are 1.5x worse or 1.5x better than the account average.
LinkedIn click counts include accidental and reflex clicks. A high CTR with a low landing-page-click rate is usually noise, not signal. Always pair CTR with landing-page-click rate before calling a segment "engaged."
Two pivots specifically to scrutinize:
If landing-page-click rate is <30% of clicks for a segment, treat its CTR as noise.
Many LinkedIn accounts (including the BlueAlpha account at time of this skill's creation) have zero conversions tracked because the Insight Tag isn't installed or events aren't firing. When externalWebsiteConversions and oneClickLeads are both 0 across all segments:
Single-pivot findings can hide the most important story. Two patterns to check for explicitly before the narrative:
SMB / Founder cluster. When Owner/Partner seniorities AND small-company sizes (SIZE_1, SIZE_2_TO_10, SIZE_11_TO_50) BOTH show LP-click rates above 1.3× the account average, treat them as the same population — founders and solo-marketers at small businesses. Surface this as a single finding and frame as a decision point: lean in (add deliberate includes + more budget) or cut (exclude SMB sizes across all campaigns). For most enterprise-B2B paid LinkedIn programs, this is the single highest-leverage targeting decision. Do not write up Owner and SIZE_2_TO_10 as two separate sleeper findings — that obscures the shared population.
Enterprise cluster. When Director/VP/CXO seniorities AND large-company sizes (1,001+) both engage above the benchmark, that's a confirmation signal that the intended ICP is being reached effectively, not a fix to make.
Industry × function correlation (only run if user explicitly asks for it — requires a multi-pivot call via get_linkedin_ad_statistics with pivots=MEMBER_INDUSTRY,MEMBER_JOB_FUNCTION). Useful for accounts with deliberate industry-include targeting; otherwise the long tail makes the call noisy and the spend impact small.
After cross-pivot detection, for each pivot identify:
Rank actions by dollar impact, not by worst engagement. Score each candidate action by an explicit dollar number:
cost × (1 - lpc_rate / account_lpc_rate) — the recoverable dollarscost × (lpc_rate / account_lpc_rate - 1) — the unrealized liftSort all candidates by score, take the top 3, present in dollar-impact order. If a cross-pivot cluster is detected, don't also list its constituent sleepers individually — that double-counts the same population. The script's de-duplication logic handles this; do the same when writing the narrative manually.
After the Top 3 actions block, write four sections, each ~80-150 words:
1. Who you're paying to reach. Top 3 segments by spend share for each pivot, with a one-line intended-vs-actual comparison. Flag the biggest drift.
2. Who's actually engaging. Top 3 segments by landing-page-click rate (or cost-per-conversion if available). Highlight any segments outside the intended set that are punching above their weight.
3. Where you're wasting (ranked by dollar opportunity). Sort by recoverable dollars (cost × shortfall), not by worst rate. A $279 segment at 0% LP-click rate is less impactful than a $497 segment at 5% LP-click rate.
4. Where to expand (ranked by dollar-weighted lift). Sort by cost × uplift_ratio. A $3,000 sleeper at 13% is more important than a $400 sleeper at 22%.
After the narrative, render a compact table per pivot showing the top 8-12 segments with these columns:
| Segment | Spend | Spend % | Clicks | LP Clicks | CTR | LPC Rate | CPLPC | In Targeting? |
Use the In Targeting column to mark ✓ intended, — unintended, or ✗ excluded. This is the at-a-glance view that supports the prose.
For the industry pivot specifically, cap the table at the top 12 by spend. The long tail isn't actionable.
If any URNs didn't resolve in Step 3, list them at the bottom under "Taxonomy gaps to investigate." This is how references/linkedin_taxonomy.json improves over time.
LinkedIn's company-size pivot is one of the most actionable: it tells you whether your spend is hitting enterprise, mid-market, or SMB. Almost every B2B account has an opinion about which company size is the ICP, and almost every account has spend leaking outside that band. Always call this out specifically — it's the easiest targeting fix on LinkedIn and the one most marketers overlook.
For an account targeting "1,001+", any meaningful spend in SIZE_2_TO_10 or SIZE_11_TO_50 is waste. For an account targeting "51-1,000", spend in SIZE_10001_OR_MORE is waste. Be specific about the dollar amount.
What SKILL.md sets; muted values are Claude Code's defaults
51 skills in this plugin
/audience-intelligenceAnalyze audience performance across Google Ads campaigns and recommend targeting changes. Use when the user mentions "audience analysis", "who is converting", "audience segments", or "refine my targeting"./auto-optimizeRun a full optimization cycle on a Google Ads account. Use when the user mentions "optimize my campaigns", "account health check", "audit my Google Ads", or "why is my spend low"./brand-refresh-pipelineDetect creative fatigue, audit brand voice, and generate fresh ad copy for Google Ads. Use when the user mentions "creative refresh", "ad fatigue", "new ad copy", or "brand voice audit"./competitive-conquestResearch competitors, identify messaging gaps, and design conquest campaign specs for Google Ads. Use when the user mentions "conquest campaign", "competitor targeting", or "go after [competitor]"./competitive-counterpunchDetect when competitors gain auction share and plan countermeasures. Use when the user mentions "competitor alert", "losing impression share", "auction insights", or "competitive threat"./content-to-campaignTurn any content piece into a paid campaign strategy with keywords, ad copy, and audience targeting. Use when the user mentions "promote this blog", "turn this into ads", or "content to campaign".npx claudepluginhub bluealpha-labs/bluealpha-mcp-plugins --plugin bluealpha-marketing-pluginOther plugins' skills for the same job