/bluealpha-marketing-plugin:linkedin-auto-optimizefrom bluealpha-marketing-plugin
Runs a full LinkedIn ad account health cycle to surface structural blockers, pacing issues, and delivery gaps. First skill for any LinkedIn troubleshooting session.
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 single-page account-health read of a LinkedIn ad account, surfacing the structural and pacing issues that block delivery, and routing to deeper-dive skills for specifics.
This skill exists because most LinkedIn delivery problems are structural — a billing hold, a campaign with no creatives, a lifetime-budget campaign that's already overspent, an audience-count-hold quietly blocking 80% of intended delivery. Marketers tend to debug from the creative layer downward (CTR, copy, audience). The right debug order is the opposite: structure → audiences → creatives. This skill enforces that order.
Auto-optimize is the first skill to run in any LinkedIn troubleshooting session. The deeper-dive skills assume the account is structurally healthy; if it isn't, their outputs are misleading.
A single-page health report with these sections:
list_linkedin_campaigns, list_linkedin_creatives, get_linkedin_ad_analytics (CAMPAIGN pivot, recent window).list_linkedin_campaigns(account_id)
list_linkedin_creatives(account_id)
get_linkedin_ad_analytics(account_id, pivot=CAMPAIGN, start=<30d ago>, end=<today>, fields=pivotValues,impressions,clicks,landingPageClicks,costInLocalCurrency)
get_linkedin_ad_analytics(account_id, pivot=CAMPAIGN, start=<7d ago>, end=<today>, fields=pivotValues,impressions,clicks,costInLocalCurrency)
For each campaign, derive its current health state by combining status, servingStatuses, recent-window analytics, and creative presence:
- LIVE-OK: status=ACTIVE, no holds in servingStatuses, has ≥1 isServing creative, has impressions in last 7d
- LIVE-DORMANT: status=ACTIVE, no holds, has creatives, but zero impressions in last 7d
- BLOCKED-BILLING: BILLING_HOLD in any serving status
- BLOCKED-GROUP: CAMPAIGN_GROUP_STATUS_HOLD in any serving status
- BLOCKED-AUDIENCE: AUDIENCE_COUNT_HOLD or CAMPAIGN_AUDIENCE_COUNT_HOLD
- BLOCKED-NO-CREATIVES: status=ACTIVE but zero serving creatives (all paused/rejected/removed)
- BLOCKED-REJECTED: status=ACTIVE but all creatives in REJECTED review status
- PAUSED: status=PAUSED (informational only — not a blocker)
- PENDING-DELETION: status=PENDING_DELETION (cleanup candidate)
Multiple blockers can apply; record all of them.
For each LIVE campaign, compute:
recent_7d_cost / (daily_budget × 7). Healthy = 0.85-1.15. Below 0.85 = under-pacing (delivery problem). Above 1.15 = over-pacing (budget issue, though LinkedIn rarely lets this happen).runSchedule.start and the campaign uses lifetime budget, compute days remaining and project end-spend. Flag campaigns that will overspend or substantially underspend their lifetime budget at current pace.Flag under-pacing campaigns specifically — they're the silent failure mode. A campaign budgeted at $150/day but pacing $40/day is leaving 73% of intended delivery on the table.
Flag:
status=ACTIVE but zero impressions in the last 7 days, with creatives that exist. Either count-hold (handled in audience-health) or some other delivery block.status=ACTIVE but every creative under it is isServing=false or intendedStatus=PAUSED. Surface the campaign and tell the user to either add creatives or pause the campaign.status=PENDING_DELETION but appearing in recent analytics. Likely served briefly then was canceled. Cleanup candidate.review.status field. Any creatives in REVIEW_FAILED or REJECTED block delivery.Rank issues by severity × dollar impact:
score = max(0, 100 - sum(severity × 2 for each issue))
Cap at 0 floor, 100 ceiling. Round to nearest 5. Then map to a label:
In order:
# LinkedIn Auto-Optimize — [Account name]
**Health score: [N]/100 — [label]**
**Total daily budget on active campaigns:** $X
**Estimated daily budget actually delivering:** $Y ([Y/X]% utilization)
**Number of campaigns: [active], [paused], [pending deletion]**
## 🚨 Blockers (resolve first)
[list, sorted by daily budget at stake]
## 🟠 Pacing issues
[list]
## 🟡 Structure hygiene
[list]
## Routing — next skills to run
- If you have blockers in the count-hold category → run `linkedin-audience-health-check` for the full audit
- If you have creative-rejection blockers → check each rejected creative's reason in Campaign Manager
- If you have pacing issues with high spend on a campaign → run `linkedin-creative-fatigue-watchdog` next
- If overall delivery looks healthy but you want to find waste → run `linkedin-demographic-deep-dive`
## Headline
[one-line summary of the account's state]
This is not the place to do deep audience overlap detection, creative refresh recommendations, demographic drift analysis, or MMM-style ROI reconciliation. Those have dedicated skills. Auto-optimize is the pre-flight checklist that tells you whether the deeper analyses are worth running.
If everything is structurally fine — score ≥ 85 — surface that explicitly. "No structural issues — proceed to demographic deep dive and creative refresh review for performance optimization."
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bluealpha-labs/bluealpha-mcp-plugins --plugin bluealpha-marketing-plugin51 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".Other plugins' skills for the same job