Social media campaign analysis and performance tracking that calculates engagement rates, ROI, and cross-platform benchmarks. Use for analyzing social performance, calculating engagement rate, or measuring campaign ROI.
Before analyzing, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Platform — Instagram, Facebook, Twitter/X, LinkedIn, or TikTok — selects the correct benchmark set for comparison
Post/campaign data — likes, comments, shares, saves, reach per post — required; reach must be unique users, not impressions
Ad spend — total spend for the period — determines whether ROI/CPE/ROAS is calculated
Analysis goal — full audit, top-performer patterns, ROI, or competitor comparison — focuses the output artifact
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.
Analysis Workflow
Analyze social media campaign performance:
Validate input data completeness (reach > 0, dates valid)
Calculate engagement metrics per post
Aggregate campaign-level metrics
Calculate ROI if ad spend provided
Compare against platform benchmarks
Identify top and bottom performers
Generate recommendations
Validation: Engagement rate < 100%, ROI matches spend data
Output format: Bottom Line first, then What (with confidence), Why, How to Act
Every finding tagged with confidence level: verified, medium confidence, or assumed
Related Skills
campaign-analytics: For cross-channel analytics including social alongside other channels.
content-creator: For creating social media content optimized by analysis findings.
marketing-demand-acquisition: For integrating social media into broader demand gen strategy.
marketing-strategy-pmm: For aligning social content with product marketing positioning.
Troubleshooting
Problem
Likely Cause
Solution
Engagement rate appears unrealistically high (>50%)
Reach value is too low relative to engagements, or reach/impressions data is swapped
Verify that reach represents unique users reached (not impressions). Engagement rate = (likes + comments + shares + saves) / reach. If using Instagram data from 2025+, note that Instagram shifted from "impressions" to "views" as primary metric -- ensure you are using the correct field
Platform name in input JSON does not match expected values
Use exact lowercase platform names: instagram, facebook, twitter, linkedin, tiktok. The analyzer matches against these exact strings
ROI calculation shows negative despite good engagement
Engagement value estimates are too conservative for your industry
The default engagement value model uses $0.50/like, $2.00/comment, $5.00/share, $3.00/save, $1.50/click. Adjust these values in calculate_metrics.py for your specific vertical. B2B companies typically have higher per-engagement values than B2C
TikTok metrics show low engagement compared to benchmarks
Using reach-based calculation on a platform where view-based metrics are standard
TikTok's 2026 benchmark engagement rate of 2.50-3.70% is calculated against views, not reach. Ensure your TikTok data uses video views in the reach field for accurate comparison. TikTok engagement rates rose 49% YoY in 2025
LinkedIn engagement appears lower than expected
Comparing against outdated benchmarks
LinkedIn's 2026 median engagement rate is approximately 3.85-6.1%, significantly higher than other platforms. Carousel/document posts earn the highest engagement (up to 21.77% median). If your rate is below 2%, focus on conversation-starting content rather than corporate announcements
Algorithm and metric definition changes in 2025-2026
Instagram shifted to "Views" as its primary metric across all formats (Reels, Stories, posts), replacing "Impressions" and "Plays." Carousel posts now earn the most engagement. Meta plans to replace reach with "Viewers" metric in Graph API by June 2026. Adapt your data collection accordingly
Campaign analysis has too few posts for reliable insights
Small sample size produces unreliable averages
Minimum 10 posts recommended for meaningful analysis. The analyze_performance.py script flags campaigns with fewer than 10 posts. For statistical reliability, aim for 30+ posts per analysis period
Click-Through Rate: Instagram >0.5% (good), Facebook >1.5% (good), LinkedIn >1.0% (good), TikTok >0.5% (good). Featured snippets and carousels drive highest CTR across platforms
Cost Per Click: Facebook <$0.50 (good), Instagram <$0.70 (good), LinkedIn <$3.00 (good, but averages $4-5+ for B2B), TikTok <$0.50 (good). LinkedIn CPC has risen 89% since 2023
ROI Threshold: Target minimum 200% ROI on paid social. Campaigns above 500% are excellent and should be scaled. Campaigns below 100% need immediate creative or targeting revision
Content Format Performance: Prioritize high-engagement formats per platform -- carousel/document posts on LinkedIn (21.77% median engagement), Reels on Instagram, short-form video on TikTok. Test at least 3 content formats per month
Posting Frequency: Maintain consistent posting cadence: LinkedIn 3-5x/week, Instagram 4-7x/week, TikTok 3-5x/week. The LinkedIn algorithm favors content that generates meaningful engagement in the first 90 minutes
Analysis Cadence: Run full performance analysis weekly for active campaigns. Compare month-over-month trends to identify growth or decline patterns. Update benchmark baselines quarterly as platform norms shift rapidly
Scope & Limitations
In Scope:
Post-level and campaign-level engagement metrics (engagement rate, CTR, reach rate, virality rate, save rate)
ROI calculation with engagement value estimates and cost efficiency metrics (CPE, CPC, CPM, ROAS)
Platform benchmark comparison for Instagram, Facebook, Twitter/X, LinkedIn, and TikTok
Top/bottom performer identification and ranking
Actionable recommendations based on benchmark assessment
Out of Scope:
Real-time API connections to social media platforms (scripts analyze static JSON data you export)
Social media scheduling, publishing, or content creation
Follower growth tracking or audience demographics analysis
Competitor social media monitoring (use dedicated social listening tools)
Influencer identification or collaboration management
Social commerce and shopping metrics
Video-specific analytics (watch time, completion rate, drop-off points)
Sentiment analysis on comments or mentions (use the app-store-optimization skill's review_analyzer for text sentiment)
Cross-platform identity resolution or deduplication
Platform API Changes (2025-2026):
Meta/Instagram is replacing "reach" with "Viewers" metric in Graph API by June 2026
Instagram shifted to "Views" as primary metric across all formats, replacing "Impressions" and "Plays"
TikTok tightened API access approval process in 2025
LinkedIn added AI-powered conversational search; algorithm now favors people-first content over polished corporate updates
Integration Points
Integration
Purpose
How to Connect
Meta Business Suite
Export Instagram and Facebook campaign data
Export post-level metrics (likes, comments, shares, reach, impressions, clicks) as JSON for calculate_metrics.py and analyze_performance.py. Note: "Views" is replacing "Impressions" in 2026
LinkedIn Campaign Manager
Export LinkedIn ad and organic performance data
Export engagement metrics per post. LinkedIn's native analytics now includes "Viewer" demographics and AI search visibility data
TikTok Business Center
Export TikTok campaign performance data
Export video-level metrics. Use video views as the reach equivalent for engagement rate calculation
Google Analytics 4 (GA4)
Track social traffic and conversions on your website
Connect social campaign UTM parameters to GA4 to measure downstream conversions. Use campaign-analytics skill for full attribution
campaign-analytics skill
Cross-channel ROI comparison
Feed social media ROI data into campaign_roi_calculator.py alongside other channels for unified portfolio analysis
content-creator skill
Content optimization based on performance data
Use top-performing post analysis to inform content strategy. Apply brand_voice_analyzer.py to ensure social content matches brand voice
marketing-demand-acquisition skill
Social as demand gen channel
Integrate social performance data into demand gen channel mix evaluation. Use CAC data from social alongside other acquisition channels
Run npx skillmds@latest add borghei/social-media-analyzer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Social media campaign analysis and performance tracking that calculates engagement rates, ROI, and cross-platform benchmarks. Use for analyzing social performance, calculating engagement rate, or measuring campaign ROI. It is listed under Marketing & Growth on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free. This skill is licensed under MIT + Commons Clause.
borghei (@borghei) published this skill. Their other Agent Skills are listed on their SkillMD profile.