scrape-x-profile

Extract original tweets and metadata from an X profile via GraphQL.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/akshatdalton/skills --skill scrape-x-profile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scrape-x-profile
Source: https://github.com/akshatdalton/skills/tree/main/scrape-x-profile
Command: npx skills add https://github.com/akshatdalton/skills --skill scrape-x-profile

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires chrome, javascript, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill allows for scraping original tweets from a public X profile, using the user's logged-in Chrome session. It filters out retweets and replies and captures various metadata, including text, datetime, URL, likes, retweets, replies, views, bookmarks, and media URLs.

Core Features & Use Cases

  • Scrapes X Profile Tweets: Fetches tweets from a specified X profile using the authenticated GraphQL UserTweets endpoint.
  • Incremental Scrape: By default, re-runs only fetch tweets newer than the last run.
  • Metadata Extraction: Captures various metadata like text, datetime, URL, likes, retweets, replies, views, bookmarks, quote-tweet metadata, and media URLs.
  • Use Case: Ideal for users who need to collect tweets from specific profiles for analysis or documentation purposes.

Quick Start

Run the skill with the command 'scrape @handle' to scrape tweets from a public X profile.

Frequently Asked Questions about scrape-x-profile

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

FAQPage Schema
How do I scrape tweets from an X profile using my Chrome session?

To scrape X profile tweets, run the command 'scrape @handle' with an active logged-in Chrome session. The Skill extracts original tweets, filtering out retweets and replies, and outputs the data in JSON format.

What metadata is extracted when scraping X profile tweets?

Tweet scraping extracts comprehensive metadata including text, datetime, URL, likes, retweets, replies, views, bookmarks, quote-tweet metadata, and media URLs, outputting everything in a structured JSON format.

Do I need a logged-in Chrome session to extract tweets from X profiles?

Yes, extracting X profile tweets requires a logged-in Chrome session. The Skill uses JavaScript to interact with the GraphQL UserTweets endpoint, handling authentication and user session management to access the data.

How does incremental scraping work for fetching new tweets from an X profile?

Incremental scraping works by fetching only tweets newer than the last run. By default, re-running the scrape command on an X profile bypasses previously collected tweets to retrieve only new updates.

Can I scrape replies and retweets from an X profile with this tool?

No, this tool specifically filters out retweets and replies. It is designed to collect only original tweets from a specified X profile, ensuring the output JSON contains unique content posted by the user.

What is the best way to collect original tweets from public X profiles for analysis?

The best way to collect original tweets for analysis is using an authenticated GraphQL UserTweets endpoint scraper. It captures engagement metrics and media URLs in JSON format while automatically filtering out retweets and replies.