Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aidotnet avatar

X Report Generator

  • 22 installs
  • 84 repo stars
  • Updated January 28, 2026
  • aidotnet/moyucode

x-report-generator is a Claude Code skill that scrapes X (Twitter) data with Playwright and generates an HTML analytics report exported as an image.

About

x-report-generator is a Claude Code skill that scrapes real X (Twitter) data with a Playwright browser and produces an analytics report. It computes engagement stats, hourly posting distribution, sentiment, and top hashtags and authors, then renders an HTML dashboard exported as a high-resolution image. A developer uses it to analyze X activity for a keyword or user.

  • Scrapes real X (Twitter) data with Playwright
  • Analyzes engagement, timing, and sentiment
  • Renders an HTML report exported to a high-resolution PNG

X Report Generator by the numbers

  • 22 all-time installs (skills.sh)
  • Ranked #1,468 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

x-report-generator capabilities & compatibility

Capabilities
social analytics · web scraping · sentiment analysis · report generation
Works with
playwright
Use cases
data analysis · web scraping · marketing
Runs
Runs locally
Pricing
Free
From the docs

What x-report-generator says it does

python scripts/x_report_generator.py search "AI" --limit 50 --output report.png --cookies cookies.json
SKILL.md
`twitter`, `x`, `scraper`, `report`, `analytics`, `visualization`, `playwright`, `html-to-image`
SKILL.md
pip install playwright playwright install chromium
SKILL.md
npx skills add https://github.com/aidotnet/moyucode --skill x-report-generator

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs22
repo stars84
Last updatedJanuary 28, 2026
Repositoryaidotnet/moyucode

What it does

Scrape X (Twitter) data with Playwright, analyze engagement and sentiment, and export an HTML report as a PNG.

Who is it for?

Analyzing X (Twitter) engagement for a keyword or user and producing a shareable report image.

When should I use this skill?

You need to scrape and analyze X (Twitter) activity into a report.

What you get

Produces an HTML analytics dashboard exported as a high-resolution PNG.

  • HTML analytics report
  • high-resolution PNG export

By the numbers

  • Report shows the top 5 active users
  • Includes a 24-hour posting distribution chart

Files

SKILL.mdMarkdownGitHub ↗

X Report Generator Tool

Description

使用Playwright浏览器自动化技术爬取X(Twitter)平台的真实数据,进行数据分析和统计,生成精美的HTML可视化报告面板,并将其渲染为高清图片。

Features

  • 🔍 关键词搜索推文(真实爬取)
  • 👤 用户推文分析
  • 📊 数据统计分析(互动量、时间分布、情感分析等)
  • 🎨 精美HTML报告面板(深色/浅色主题)
  • 🖼️ HTML转高清PNG图片导出
  • 🍪 支持Cookies登录状态保存

Trigger

  • /x-report command
  • 用户需要分析X平台数据
  • 用户想生成社交媒体报告

Usage

# 首次使用:登录并保存cookies
python scripts/x_report_generator.py login --cookies cookies.json

# 搜索关键词并生成报告
python scripts/x_report_generator.py search "AI" --limit 50 --output report.png --cookies cookies.json

# 分析用户推文
python scripts/x_report_generator.py user "elonmusk" --limit 30 --output user_report.png

# 使用浅色主题
python scripts/x_report_generator.py search "Python" --theme light --output report.png

# 仅生成HTML(不转图片)
python scripts/x_report_generator.py search "coding" --html-only --output report.html

# 显示浏览器窗口(调试用)
python scripts/x_report_generator.py search "test" --no-headless --output report.png

Requirements

pip install playwright
playwright install chromium

报告内容

  • 📈 推文总数、点赞、转发、评论、浏览统计
  • ⏰ 24小时发布时间分布图
  • 😊 情感分析(正面/中性/负面)
  • 🏷️ 热门标签云
  • 👥 活跃用户 TOP 5
  • 🔥 热门推文展示

Tags

twitter, x, scraper, report, analytics, visualization, playwright, html-to-image

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Related skills

FAQ

What does the x-report-generator analyze?

Total tweets, likes, retweets, replies, views, hourly distribution, sentiment, and top hashtags and authors.

How does it get the data?

It scrapes X directly using a Playwright browser and can save cookies for a logged-in session.

Marketing & SEOcontentdistribution

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.