Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

social-media-metrics社交媒体指标

Agent Skill

social-media-metrics 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

10,355

周安装

423

GitHub Stars

1

下载量

3,350
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:social-media-metrics(社交媒体指标)
来源仓库:https://github.com/guoming0000/social-media-metrics
安装命令:
openclaw skills install social-media-metrics
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install social-media-metrics

简介

使用个人资料 URL 或昵称从超过 11 个平台获取关注者数量和社交媒体指标,包括 Bilibili、YouTube、TikTok、Instagram 等。

SKILL.md

Social Media Metrics

Description

Fetch follower counts and metrics from 11+ social media platforms. Supports input via profile URL or account nickname. Platforms include Instagram, YouTube, TikTok, Douyin, WeChat Video, Kuaishou, iQiyi, Xiaohongshu, Bilibili, Toutiao, and Baijiahao.

When to Use

  • When the user asks for follower counts or social media metrics
  • When the user mentions "粉丝数", "粉丝量", "followers", "subscriber count"
  • When the user provides a social media profile URL and wants to know the metrics
  • When the user asks to compare follower counts across platforms
  • NOT for posting content or managing social media accounts

Prerequisites

  • Python 3.9+
  • pip packages: requests, playwright, beautifulsoup4 (install via pip install -r requirements.txt)
  • Playwright browsers: run playwright install chromium after installing the package
  • Recommended: Google Chrome installed on the system — Douyin, Kuaishou, and Xiaohongshu use Chrome's CDP (DevTools Protocol) mode for better anti-detection. If Chrome is not installed, Playwright's bundled Chromium will be used as an automatic fallback
  • Optional: YOUTUBE_API_KEY environment variable for YouTube Data API (falls back to browser scraping if not set)

Supported Platforms

PlatformInput: URLInput: NicknameMethod
Bilibili (哔哩哔哩)space.bilibili.com/{uid}YesAPI
YouTubeyoutube.com/@{handle}YesAPI / Browser
Douyin (抖音)douyin.com/user/{id}YesBrowser
Kuaishou (快手)kuaishou.com/profile/{id}YesBrowser
Xiaohongshu (小红书)xiaohongshu.com/user/profile/{id}YesBrowser (requires login)
TikToktiktok.com/@{handle}YesBrowser
Instagraminstagram.com/{handle}YesBrowser
WeChat Video (视频号)channels.weixin.qq.com/{id}NoBrowser
Toutiao (头条号)toutiao.com/c/user/token/{id}YesBrowser
Baijiahao (百家号)baijiahao.baidu.com/u?app_id={id}NoBrowser
iQiyi (爱奇艺)iqiyi.com/u/{id}NoBrowser

Instructions

Step 1: Ensure dependencies are installed

Check if the required packages are available. If not, install them:

cd <skill_directory>
pip install -r requirements.txt
playwright install chromium

Step 2: Determine input type

From the user's message, determine:

  • URL input: If the user provides a URL (e.g., https://space.bilibili.com/946974), use --url
  • Nickname input: If the user provides a name (e.g., "MrBeast"), use --nickname and --platform

Step 3: Run the script

Fetch by URL:

python <skill_directory>/scripts/main.py --url "https://space.bilibili.com/946974"

Fetch by nickname (platform required):

python <skill_directory>/scripts/main.py --nickname "MrBeast" --platform bilibili

Available --platform values: bilibili, youtube, douyin, kuaishou, xiaohongshu, wechat_video, tiktok, instagram, toutiao, baijiahao, iqiyi

Step 4: Parse and present results

The script outputs JSON to stdout. Parse it and present the results in a user-friendly format.

Success response:

{
  "platform": "bilibili",
  "username": "MrBeast",
  "uid": "946974",
  "url": "https://space.bilibili.com/946974",
  "metrics": {
    "followers": 12345678
  },
  "fetched_at": "2026-03-13T12:00:00+00:00",
  "success": true,
  "error": null
}

Error response:

{
  "platform": "bilibili",
  "username": null,
  "uid": null,
  "url": null,
  "metrics": {},
  "fetched_at": "2026-03-13T12:00:00+00:00",
  "success": false,
  "error": "Description of the error"
}

Platform-Specific Notes

Xiaohongshu (小红书) — Login Required

Xiaohongshu requires an authenticated session to view search results and profile pages. The script uses a real Chrome instance (via CDP) with a persistent profile at ~/.playwright_cdp_profile.

First-time setup:

  1. Run any Xiaohongshu query (e.g., python scripts/main.py --nickname "test" --platform xiaohongshu)
  2. A Chrome window will open showing a QR code login page
  3. Scan the QR code with the Xiaohongshu app on your phone
  4. The script will detect the login and proceed automatically (120-second timeout)

Subsequent runs: Cookies are persisted in the Chrome profile — no login needed until the session expires.

Error Handling

  • Missing platform for nickname: Ask the user which platform they want to query
  • Unsupported URL: Tell the user which platforms are supported
  • Scraping failure: Some platforms may block headless browsers or require login. Inform the user and suggest trying a direct URL
  • Xiaohongshu login required: The script will prompt the user to scan a QR code in the Chrome window. If the session has expired, re-run the script and scan again
  • YouTube API key missing: The script automatically falls back to browser scraping — no action needed
  • Timeout: Browser-based platforms may be slow. If timeout occurs, retry once

Examples

User: "帮我查一下MrBeast在B站的粉丝数" → Run: python scripts/main.py --nickname "MrBeast" --platform bilibili

User: "How many followers does MrBeast have on YouTube?" → Run: python scripts/main.py --nickname "MrBeast" --platform youtube

User: "查询 https://space.bilibili.com/946974 的粉丝数据" → Run: python scripts/main.py --url "https://space.bilibili.com/946974"

User: "查一下这个TikTok账号的粉丝 https://www.tiktok.com/@khaby.lame" → Run: python scripts/main.py --url "https://www.tiktok.com/@khaby.lame"

Feedback & Issues

GitHub repository: openclaw-social-metrics

If you encounter any problems or have feature requests, feel free to open an Issue.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.48%
按下载量换算2,428

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills