Agent skill
social-analytics-report
Unified social media analytics report — consolidates YouTube, Instagram, and LinkedIn data into one cross-platform HTML dashboard. Compares engagement, followers, top content across all platforms. Use when user says 'social analytics', 'social media report', 'social report', 'social metrics', 'cross-platform', or any reference to unified social media performance.
Install this agent skill to your Project
npx add-skill https://github.com/EvolutionAPI/evo-nexus/tree/main/.claude/skills/social-analytics-report
SKILL.md
Social Analytics — Consolidated Cross-Platform Report
Routine that pulls data from ALL connected social platforms (YouTube, Instagram, LinkedIn) and generates a single comparative HTML report.
Always respond in English. Agente: @pixel
Workflow
Step 1 — Collect data from all platforms (silently)
Execute the scripts for each integration and capture the results:
YouTube (all accounts)
python3 {project-root}/.claude/skills/int-youtube/scripts/youtube_client.py summary
python3 {project-root}/.claude/skills/int-youtube/scripts/youtube_client.py recent_videos 1 10
Instagram (all accounts)
python3 {project-root}/.claude/skills/int-instagram/scripts/instagram_client.py summary
python3 {project-root}/.claude/skills/int-instagram/scripts/instagram_client.py recent_posts your_account 10
python3 {project-root}/.claude/skills/int-instagram/scripts/instagram_client.py recent_posts secondary_account 10
LinkedIn (all accounts)
python3 {project-root}/.claude/skills/int-linkedin/scripts/linkedin_client.py summary
If any platform fails or has no data, include in the report as "No data — platform not configured or API limited" without breaking the report.
Step 2 — Consolidate cross-platform metrics
Calculate:
- Total followers (sum of all accounts across all platforms)
- Total publications in the period (YouTube videos + Instagram posts)
- Average engagement rate weighted by platform
- Platform with highest growth (follower delta, if previous report exists)
- Platform with highest engagement (compare engagement rates)
Step 3 — Build comparison table
One row per account:
| Platform | Account | Followers | Delta | Posts | Engagement | Best Content |
|---|---|---|---|---|---|---|
| YouTube | Your Channel | 7.450 | — | 27 | 7.0% | "Evo v3 chegando" |
| your_account | 686 | — | 18 | 3.9% | "Evo V3 funcionalidades" | |
| secondary_account | 273 | — | 76 | — | — | |
| Your Profile | — | — | — | — | Perfil apenas |
Step 4 — Top cross-platform content
Rank the top 10 content from ALL platforms by engagement (likes + comments / views or followers). Show:
- Platform
- Title/caption (summary)
- Views or reach
- Engagement %
- Link
Step 5 — Compare with previous period
Read the previous report in workspace/social/reports/consolidated/ if it exists. Calculate deltas for:
- Followers per platform
- Average engagement
- Publication volume
Step 6 — Cross-platform insights
Generate analysis with:
- Which platform is growing the most?
- Which content type performs best where? (video on YouTube vs image on Instagram)
- Publication frequency per platform
- Recommendations: where to invest more content, which format to prioritize
- Platforms without data (LinkedIn posts, etc.) — what is missing to unlock
Step 7 — Generate HTML
Read template .claude/templates/html/custom/social-analytics-report.html and fill all {{PLACEHOLDER}}.
{{REPORT_TYPE}} depende da frequência:
- Daily: "Daily"
- Weekly: "Weekly"
- Monthly: "Monthly"
For comparison table rows:
<tr>
<td><span class="badge blue">YouTube</span></td>
<td>Your Channel</td>
<td class="right">7.450</td>
<td class="right delta up">+32</td>
<td class="right">27</td>
<td class="right">7.0%</td>
<td>Evo v3 chegando...</td>
</tr>
For platforms without data:
<tr style="opacity:0.5">
<td><span class="badge muted">LinkedIn</span></td>
<td>Your Profile</td>
<td class="right">—</td>
<td class="right">—</td>
<td class="right">—</td>
<td class="right">—</td>
<td style="color:var(--text-muted)">API limited — profile only</td>
</tr>
For {{MISSING_INTEGRATIONS}} — if any platform is not configured:
<div class="highlight-card" style="border-color: rgba(102,112,133,0.3);">
<div class="title" style="color: var(--text-muted);">Pending Integrations</div>
<div class="body">
<ul style="list-style:none;padding:0;">
<li>LinkedIn — Posts and Company Page (requires Community Management API)</li>
<li>Twitter — Not configured</li>
</ul>
</div>
</div>
Step 8 — Save
workspace/social/reports/consolidated/[C] YYYY-MM-DD-social-analytics.html
Create directory if it does not exist.
Step 9 — Telegram
Notify: reply(chat_id="YOUR_CHAT_ID", text="...")
Format:
📊 Social Analytics — {period}
👥 Total followers: {N} ({delta})
📹 YouTube: {subs} sub | {eng}% eng
📸 Instagram: {followers} fol | {eng}% eng
💼 LinkedIn: profile connected
🏆 Top: "{best content}" ({platform}, {eng}%)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
data-create-viz
Cria visualizações de dados de qualidade profissional com Python no tema Evolution (fundo escuro, acento
cs-customer-escalation
Empacota uma escalação para Devs, Produto ou Davidson com contexto completo. Use quando um bug precisa de atenção além do suporte normal, vários clientes reportam o mesmo problema, um cliente está ameaçando cancelar, ou um problema ficou sem resolução além do SLA. / Package an escalation for engineering, product, or leadership with full context. Use when a bug needs engineering attention beyond normal support, multiple customers report the same issue, a customer is threatening to churn, or an issue has sat unresolved past its SLA.
mkt-draft-content
Draft blog posts, social media, email newsletters, landing pages, press releases, and case studies with channel-specific formatting and SEO recommendations. Use when writing any marketing content, when you need headline or subject line options, or when adapting a message for a specific platform, audience, and brand voice.
gog-tasks
Create, manage, and prioritize tasks and todo items. Convert emails to tasks, set priorities (P0-P3) and categories (Work/Personal/Errands/Admin), review daily priorities, track blocked and overdue tasks. Use when user mentions tasks, todos, action items, or wants to convert emails to tasks. Requires confirmation before creating or deleting tasks.
discord-get-messages
Retrieve messages from Discord channels via the Discord API. Use this skill when the user wants to read, search, or analyze messages from a Discord channel.
cs-customer-research
Pesquisa multi-fonte sobre pergunta ou tópico de cliente com atribuição de fontes. Use quando um cliente pergunta algo que precisa ser verificado, investigando se um bug foi reportado antes, verificando o que foi dito anteriormente a uma conta específica, ou coletando contexto antes de redigir uma resposta. / Multi-source research on a customer question or topic with source attribution. Use when a customer asks something you need to look up, investigating whether a bug has been reported before, checking what was previously told to a specific account, or gathering background before drafting a response.
Didn't find tool you were looking for?