x-report-generator

Scrape X data with Playwright and generate HTML reports with engagement and sentiment analysis.

84|15|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/AIDotNet/MoYuCode --skill x-report-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: x-report-generator
Source: https://github.com/AIDotNet/MoYuCode/tree/main/skills/tools/x-report-generator
Command: npx skills add https://github.com/AIDotNet/MoYuCode --skill x-report-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This tool automates the process of collecting real-time data from X (formerly Twitter), analyzing it, and presenting it in a visually appealing HTML report that can be exported as a high-definition image.

Core Features & Use Cases

  • Data Scraping: Collects tweets based on keywords or user profiles using Playwright.
  • Data Analysis: Performs statistical analysis on engagement metrics, time distribution, and sentiment.
  • Report Generation: Creates a dynamic HTML report with customizable themes.
  • Image Export: Converts the HTML report into a high-quality PNG image.
  • Use Case: A social media manager needs to report on the performance of a recent campaign. They can use this tool to scrape tweets related to the campaign hashtag, analyze engagement, and generate a shareable image report for stakeholders.

Quick Start

Use the x-report-generator skill to search for 'AI' and save the report as 'ai_report.png'.

Frequently Asked Questions about x-report-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Twitter data scraping and generate a visual report?

Automate Twitter data scraping and report generation by using Playwright to collect real-time tweets, analyze engagement and sentiment, and output a visual HTML report exportable as a PNG image.

Can I scrape tweets from a specific user profile instead of using keywords?

Yes, you can scrape tweets from specific user profiles or by using keyword searches, collecting real-time data for analysis through the Playwright automation framework.

Do I need Playwright installed to scrape X data and export reports?

Yes, Playwright is a required dependency for this Skill to automate browser actions, scrape real-time X data, and generate the subsequent HTML and PNG reports.

How does sentiment analysis work for scraped Twitter data?

Sentiment analysis processes collected tweets to evaluate emotional tone, combining the results with engagement metrics and time distribution to create a comprehensive analytical HTML report.

How can I export an HTML report of Twitter analytics as a high-definition image?

You can export an HTML report of Twitter analytics as a high-definition PNG image by using the built-in image conversion feature after data scraping and analysis are complete.

Does the X scraper support cookie-based login persistence for private data?

Yes, the X scraper supports cookie-based login persistence, allowing you to maintain authenticated sessions for accessing and collecting real-time data continuously.