360 Secure SkillHub
360 安全技能中心

Social Media Analytics

核心功能:支持跨Facebook、Ins、Threads、YouTube、TikTok等平台,获取账号级表现、单帖/视频数据、历史发布记录及跨平台对比。典型场景:用户询问账号表现、最佳帖子、指定时段数据等。需配置含只读认证令牌的MCP链接,输出为结构化指标表格、趋势排行等,令牌权限可控,数据安全合规。

snoopyrain
snoopyrain
热度 66.03
最近更新 2026-05-11 17:37:23
分类:营销依赖:MCP 服务应用场景:市场分析 / 报告撰写 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add social-media-analytics
Metadata
name
social-media-analytics
description
Track social media performance and analytics across all platforms. Use when the user says 'show my analytics', 'check social media performance', 'how are my posts doing', 'engagement report', 'post metrics', 'view stats', or wants to see performance data for Facebook, Instagram, Threads, YouTube, or TikTok accounts.
version
1.0.0
metadata
{"openclaw":{"emoji":"📊","homepage":"https://boring-doc.aiagent-me.com/getting-started/mcp.html","requires":{"config":["MCP Connector link from boring.aiagent-me.com (contains embedded auth token)"]}}}

Boring Social Analytics

Track performance and engagement across all your social media platforms. Powered by Boring.

Security & Data Handling

  • MCP link is a credential: Your MCP Server URL (https://boring.aiagent-me.com/mcp/t/xxxxx...) contains an embedded authentication token. Treat it like a password — do not share it publicly.
  • Token scope: The embedded token is read-only for analytics. It can only fetch performance metrics and account metadata. It cannot publish, delete, or modify any content on your social media accounts.
  • Token storage: The token is stored server-side in Boring's database (MongoDB on DigitalOcean). It is never written to your local filesystem. You can regenerate or revoke it anytime at boring.aiagent-me.com/settings.
  • Data flow: Analytics queries are sent from Boring's server (Google Cloud, us-central1) to the platform's API on your behalf. Only performance metrics are retrieved — no content is uploaded or modified.
  • No local credentials: No local API keys, environment variables, or secrets are needed. All auth is embedded in the MCP link.
  • Third-party service: This skill relies on Boring, an open-source social media management tool. Source code: github.com/snoopyrain.

Prerequisites

  1. Sign up at boring.aiagent-me.com with Google
  2. Connect accounts — supports Facebook, Instagram, Threads, YouTube, TikTok
  3. Get your MCP link: Go to Settings → copy your MCP Server URL (contains your auth token — treat it like a password)
  4. Add to Claude: Paste the MCP link as a Connector — no install, no API key needed

Available Analytics Tools

Tool Data Source Best For
boring_get_performance Real-time platform API Account-level overview (reach, engagement, followers)
boring_get_video_analytics Real-time platform API Per-post/video metrics (views, likes, comments, shares)
boring_get_posts_performance Daily snapshots (collected at 2 AM) Historical post performance over date ranges
boring_get_publish_history Boring database Publishing history and status tracking

Workflow

Step 1: List Accounts

Call boring_list_accounts to see all connected platforms. Show a summary to the user.

Step 2: Determine What the User Wants

User Request Tool to Use
"How is my account doing?" boring_get_performance
"Show my best posts" boring_get_video_analytics
"Performance over the last month" boring_get_posts_performance
"What did I post recently?" boring_get_publish_history
"Compare platforms" boring_get_performance for each platform

Step 3: Fetch Data

Account-Level Performance

boring_get_performance(
  account_id="<account_id>",
  platform="instagram",
  period="week"       // "day", "week", or "month"
)

Returns metrics like reach, follower count, engagement rate, profile views.

Per-Post Analytics (Real-Time)

boring_get_video_analytics(
  account_id="<account_id>",
  platform="instagram",
  limit=20             // max 100
)

Returns per-post data: views, likes, comments, shares for up to 100 recent posts.

Historical Post Performance (Snapshots)

boring_get_posts_performance(
  account_id="<account_id>",
  since="2025-12-01",  // YYYY-MM-DD (default: 30 days ago)
  until="2025-12-31",  // YYYY-MM-DD (default: today)
  limit=20             // max 100
)

Returns post-level engagement, metrics, and content from daily collected snapshots.

Publishing History

boring_get_publish_history(
  limit=20,
  platform="facebook"  // optional filter
)

Returns recent publishing activity with status and post IDs.

Step 4: Present Results

Format the data clearly for the user:

For account overview: Show key metrics in a summary table For post analytics: Rank posts by engagement, highlight top performers For cross-platform comparison: Side-by-side metrics across platforms For historical data: Show trends over time

Metrics by Platform

Facebook

  • page_media_view: Total video views
  • page_post_engagements: Likes, comments, shares
  • page_total_actions: Total page actions

Instagram

  • reach: Accounts reached
  • follower_count: Total followers
  • profile_views: Profile visits
  • total_interactions: Likes + comments + saves + shares
  • Reels: ig_reels_avg_watch_time, ig_reels_video_view_total_time

Threads

  • views: Post views
  • likes, replies, reposts, quotes
  • followers_count: Account followers

YouTube

  • views, likes, comments, shares
  • estimatedMinutesWatched: Total watch time
  • averageViewDuration: Average view duration
  • subscribersGained / subscribersLost

TikTok

  • Video views, likes, comments, shares
  • Account-level performance metrics

Cross-Platform Comparison

When the user asks to compare platforms, fetch boring_get_performance for each connected account and present a unified table:

| Platform   | Reach   | Engagement | Followers |
|-----------|---------|------------|-----------|
| Facebook  | 12,500  | 1,200      | 5,000     |
| Instagram | 8,300   | 2,100      | 3,200     |
| Threads   | 3,100   | 450        | 1,800     |
| YouTube   | 15,000  | 3,500      | 2,100     |

Error Handling

Error Solution
InvalidApiKey MCP link may be invalid — regenerate it at boring.aiagent-me.com Settings
InvalidAccountId Run boring_list_accounts to get valid IDs
TokenExpired Reconnect account at boring.aiagent-me.com
No data returned Account may be newly connected — data collection runs daily at 2 AM

Documentation

Full API docs: boring-doc.aiagent-me.com