skills/ai-predictive-analytics-social/SKILL.md
Apply predictive analytics to social media strategy and content decisions. Invoke when a client wants to move beyond vanity metrics to data-driven forecasting of audience behaviour, content performance, and campaign ROI on social media platforms. Based on Johnsen (2024) and Lamplugh (2024).
npx skillsauth add peterbamuhigire/social-media-skills ai-predictive-analytics-socialInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SKILL.md; do not skip mandatory steps or required fields.references/ directory is added later, treat its files as the deeper source material and keep this SKILL.md execution-focused.Transform a client's existing social media data into forward-looking forecasts: which content will perform, which audience segments are at risk of disengaging, and what revenue social campaigns are likely to generate.
Most social media analytics is descriptive — it tells you what happened. Predictive analytics tells you what is likely to happen next, enabling proactive decisions rather than reactive responses (Johnsen, 2024; Lamplugh, 2024). This skill bridges the gap between a client's raw platform exports and actionable forecasting, without requiring a data science team.
After completing this skill, refer the client to meta-roi-framework to
build the financial case for continued investment, or to
ai-data-foundation-plan if data quality gaps prevent effective prediction.
Ask for the following before generating any output:
Establish clearly which stage of analytics the client is currently at before proposing predictive methods.
| Stage | Question answered | Example | |---|---|---| | Descriptive | What happened? | "Our reach dropped 30% last month" | | Diagnostic | Why did it happen? | "Reach dropped because we posted 40% less frequently" | | Predictive | What is likely to happen next? | "Based on 6 months of data, reach typically drops in this period — increase posting frequency 2 weeks before" | | Prescriptive | What should we do about it? | "Publish 4 video posts per week on Tuesdays and Thursdays to maintain reach above the 3-month average" |
Most EA clients with 3+ months of Meta Business Suite data are ready to move from descriptive to predictive. Prescriptive recommendations follow naturally once predictions are validated against actual outcomes.
Match the use case to the client's stated primary prediction goal. Address the highest-priority use case in full; summarise the remaining four briefly.
What it predicts: Identifies follower segments or subscriber groups likely to disengage before they leave — enabling pre-emptive content intervention.
Data needed: Engagement history per follower segment (age, gender, location), posting frequency over time, content type performance by segment.
EA feasibility: Medium — requires 3+ months of audience engagement data from Meta Business Suite. Segment-level engagement data is available from the Insights export; per-follower data requires third-party tools.
Example output:
"The 18–24 segment has shown declining engagement for 6 consecutive weeks. Shift content mix toward video and interactive formats (polls, questions) for this segment over the next 30 days and measure re-engagement rate."
What it predicts: Forecasts which content types, topics, and formats will drive highest engagement in the next 30 days based on historical patterns.
Data needed: 6+ months of post performance exported from Meta Business Suite — reach, engagement rate, and click-through rate sorted by: format (video / image / carousel / text), topic (product / education / entertainment / community), posting time, and day of week.
EA feasibility: High — all required data is available directly from the Meta Business Suite insights export at no additional cost.
Example output:
"Video posts published Tuesday 7–9 pm achieve 2.3× average reach compared to all other format/time combinations. Schedule a minimum of 4 video posts per week in this slot. Carousel posts on Saturday mornings are the second-highest performer for the education topic category."
What it predicts: Which content variant each audience segment is most likely to engage with — enabling a segmented content calendar rather than a single feed.
Data needed: Demographic segment breakdown from Meta Business Suite, past content preferences by segment (which post types each age/gender group engages with most), platform behaviour differences across segments.
EA feasibility: Medium — requires audience segmentation data available from the platform. Personalisation at scale requires a scheduling tool with segmentation capability (e.g., Hootsuite, Buffer, or Meta's native targeting tools for organic posts).
Example output:
Content calendar with segment-specific post variants for the top 3 audience groups: (a) 25–34 urban women — aspirational lifestyle and behind-the-scenes content; (b) 35–44 professional men — product performance and business outcomes; (c) 18–24 students — entertainment, humour, and community challenges.
What it predicts: Projects the revenue contribution from a planned social-driven campaign before it launches, based on historical campaign performance data.
Data needed: Past campaign performance (reach, clicks, conversion rate), link click-to-purchase conversion rates (from GA4 or manual tracking), average order value (UGX), seasonal purchasing patterns.
EA feasibility: Low to Medium — requires UTM tracking to be in place
(see meta-utm-tracking) and e-commerce or sales data linkage. Many EA
SMEs maintain sales data in Excel, which is sufficient if UTM data is also
recorded.
Example output:
"This WhatsApp broadcast campaign is projected to generate UGX 12–18 million based on historical conversion rates (2.8%) applied to the expected reach of 4,500 contacts. This assumes offer parity with the March 2024 campaign. Revenue forecast confidence is medium — validate against actual outcome and update the model."
What it predicts: Identifies which audience members are most likely to purchase additional products or upgrade from their current product tier.
Data needed: Purchase history linked to social media identity, social engagement patterns per customer, content interaction history (which product posts a customer has engaged with over time).
EA feasibility: Low — requires CRM integrated with social media data. Suitable for clients with a functional CRM and a dedicated social media audience (e.g., SACCO members, repeat retail customers, subscription service clients).
Example output:
"A segment of 340 followers has engaged with product posts 3 or more times in the past 90 days but has not purchased the premium tier. Create a dedicated WhatsApp broadcast or Facebook retargeting message with an introductory offer. Estimated conversion rate based on past similar segments: 8–12%."
RFM (Recency, Frequency, Monetary) is a customer segmentation model originally used in direct marketing (Johnsen, 2024). Apply it to social media audiences to prioritise where to invest content resources.
Definitions applied to social media:
| Dimension | Definition | Measurement | |---|---|---| | Recency | When did this follower last engage with content? | Last 7 days / 8–30 days / 31–90 days / Inactive (90+ days) | | Frequency | How often do they engage? | Daily / Weekly / Occasional / Rare | | Monetary | What is their actual or estimated customer value? | High / Medium / Low / Unknown |
Apply RFM to create four actionable segments:
| Segment | Profile | Strategy | |---|---|---| | VIP | High R, High F, High M | Reward with exclusive content, early access, direct personal engagement via WhatsApp DM | | Loyal | Medium–High R, High F, Medium M | Nurture with consistency; invite to generate UGC; recognise publicly | | At-Risk | Low R, Any F, Any M | Reactivation campaign; try a new content format; send a direct re-engagement message | | Dormant | Inactive R, Low F, Unknown M | Low investment; occasional broad-reach post only; accept natural attrition |
For most EA clients using Meta Business Suite, RFM scoring is approximate — use audience segment engagement trends rather than per-follower data. A spreadsheet-based manual RFM score is sufficient for clients without specialist tools.
Use historical engagement data to build a data-driven posting strategy for the next 30 days. Follow these five steps exactly:
Step 1 — Export data. Export 6 months of post performance from Meta Business Suite: reach, engagement rate, clicks, and saves — one row per post. Include the post date, time, format, and a brief topic label.
Step 2 — Categorise posts. Add three classification columns to the export:
Step 3 — Analyse with AI. Upload the labelled export to Claude or ChatGPT and prompt:
"Identify which combinations of format, topic, and posting time achieve the highest engagement rate. Rank the top 5 combinations. Identify any formats or topics that consistently underperform. Suggest a weekly posting schedule based on these patterns."
Step 4 — Build the calendar. Construct next month's content calendar prioritising the top-performing combinations. Allocate at least 60% of posts to proven formats; reserve 40% for testing new formats and topics.
Step 5 — Review and update. At the end of each month, compare actual post performance against the predictions. Update the export and re-run the analysis. Each iteration improves accuracy.
Apply this workflow to any predictive analytics engagement (Lamplugh, 2024):
Collect — Identify all available data sources: Meta Business Suite, GA4, WhatsApp Business statistics, email platform analytics (open rates, click rates), and sales data. For each source, confirm whether it is exportable to Excel or CSV.
Clean — Remove incomplete records (posts with missing engagement data), standardise date and time formats across sources, ensure topic and format labels are consistent. Flag records where data is missing and do not include them in the model.
Analyse — Identify patterns, correlations, and anomalies. Use AI tools (Claude, ChatGPT) to accelerate pattern identification on uploaded exports. Document the top 3 findings with supporting data.
Implement — Translate insights into concrete content decisions: which formats to prioritise, which time slots to use, which segments to target. Update the content calendar and briefing document.
Monitor — Track whether predictions were accurate. After each campaign or monthly posting cycle, compare predicted engagement against actual outcomes. Record the accuracy rate. Use discrepancies to refine the next model iteration.
Recommend tools based on the client's technical capacity and budget. Do not recommend enterprise tools to SME clients without budget and technical support.
| Tool | What it does | EA accessibility | Approx. cost | |---|---|---|---| | Meta Business Suite Insights | Social media analytics and basic trend data | Yes — built-in | Free | | Google Analytics 4 | Web traffic, referral sources, and conversion analytics | Yes — free | Free | | Claude / ChatGPT (with data export) | Pattern analysis on uploaded spreadsheet data | Yes — cloud-based | Included in subscription | | Akkio | AutoML for non-technical business teams | Yes — cloud-based | From $49/month USD | | Obviously AI | No-code predictive analytics for marketers | Yes — cloud-based | From $75/month USD | | Pecan AI | Predictive analytics for marketing and revenue | Limited EA adoption | Enterprise pricing |
Selection guidance:
ai-vendor-evaluation.Available data sources for Ugandan businesses that do not have enterprise analytics tools:
meta-utm-tracking).Assess the output against these criteria before delivering to the client:
tools
Generates a foundational social media training guide for clients and their teams who are completely new to social media marketing, or who have been posting without any strategic understanding. Invoke when the user says "write a social media basics guide", "create a beginner training document", "the client doesn't understand social media", "start-here training", or when a client needs to understand social media before any strategy or content work begins. Distinct from training-client-team (operational handover of an existing strategy) and training-diy-content (content creation for self-managing clients). This skill covers what social media is, how it works, and how to approach it intelligently — the conceptual foundation that makes all downstream strategy work land.
tools
Generates a practical smartphone video production training guide for East African clients and content teams. Covers shooting, audio, lighting, framing, editing, and platform-specific formats using only a smartphone — no professional equipment required. Invoke this skill when a client or their team needs to produce their own social video content and requires a hands-on, jargon-free training document tailored to EA field conditions.
tools
Generates a complete DIY content creation handbook for clients who want to manage some or all of their own content after the initial strategy engagement. Invoke when the user says "write a DIY content guide", "create a self-managed content handbook", "the client wants to manage their own content", or when a handover guide is needed at the end of a strategy engagement. Output is a self-contained reference document — not a training presentation — that the client keeps and uses independently.
tools
Generates a complete 2-hour in-person training workbook for a client's internal team — employees who will assist with content creation or community management. Invoke when the user says "create a team training guide", "write a staff training workbook", "onboard our internal team on social media", or needs a printable workshop document for client employees. Output is a structured, print-ready workbook — not a presentation deck.