social-media-analyzer

social-media-analyzer is a skill for Claude Code, Codex from nicepkg/ai-workflow. It costs 28 tokens per session (598 once invoked), scanned A, a copy of social-media-analyzer, MIT.

A guide for analyzing marketing results from social networks such as Facebook, Instagram, LinkedIn, TikTok, and X. It examines engagement, audience behavior, costs, returns, and content trends.

In plain words
What is it for?
Use it to calculate engagement and click rates, measure return on advertising spend, study audience patterns, find strong content types, and compare performance with industry benchmarks.
Why use it?
It brings results from different platforms into a common analysis. This helps show which posts and campaigns reach people, earn interaction, and justify their cost.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nicepkg/ai-workflow/social-media-analyzer
Any agent
npx skills add nicepkg/ai-workflow --skill social-media-analyzer
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for social-media-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/social-media-analyzer.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/social-media-analyzer)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/social-media-analyzer"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/social-media-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 598 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00598
Opus 5 $0.00014 $0.00299
Sonnet 5 $0.00006 $0.00120
Haiku 4.5 $0.00003 $0.00060

Measured 2d ago against content hash b7211136a8bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

social-media-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (analyze_performance.py, calculate_metrics.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to social-media-analyzer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

workflows/marketing-pro-workflow/.claude/skills/social-media-analyzer/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Social Media Campaign Analyzer

This skill provides comprehensive analysis of social media campaign performance, helping marketing agencies deliver actionable insights to clients.

Capabilities

  • Multi-Platform Analysis: Track performance across Facebook, Instagram, Twitter, LinkedIn, TikTok
  • Engagement Metrics: Calculate engagement rate, reach, impressions, click-through rate
  • ROI Analysis: Measure cost per engagement, cost per click, return on ad spend
  • Audience Insights: Analyze demographics, peak engagement times, content performance
  • Trend Detection: Identify high-performing content types and posting patterns
  • Competitive Benchmarking: Compare performance against industry standards

Input Requirements

Campaign data including:

  • Platform metrics: Likes, comments, shares, saves, clicks
  • Reach data: Impressions, unique reach, follower growth
  • Cost data: Ad spend, campaign budget (for ROI calculations)
  • Content details: Post type (image, video, carousel), posting time, hashtags
  • Time period: Date range for analysis

Formats accepted:

  • JSON with structured campaign data
  • CSV exports from social media platforms
  • Text descriptions of key metrics

Output Formats

Results include:

  • Performance dashboard: Key metrics with trends
  • Engagement analysis: Best and worst performing posts
  • ROI breakdown: Cost efficiency metrics
  • Audience insights: Demographics and behavior patterns
  • Recommendations: Data-driven suggestions for optimization
  • Visual reports: Charts and graphs (Excel/PDF format)

How to Use

"Analyze this Facebook campaign data and calculate engagement metrics" "What's the ROI on this Instagram ad campaign with $500 spend and 2,000 clicks?" "Compare performance across all social platforms for the last month"

Scripts

  • calculate_metrics.py: Core calculation engine for all social media metrics
  • analyze_performance.py: Performance analysis and recommendation generation

Read the full file on GitHub · 71 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 71 lines · 28 tokens per session scan A b7211136a8bb

Subscribe to this mod's changes

social-media-analyzer is a skill published in the GitHub repository nicepkg/ai-workflow (282 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 598 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to social-media-analyzer, differing in 0 lines, and is treated as a copy.