Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

x-tweet-by-handle

Skill by browser-act

Scrapes tweets from an X user profile timeline by handle, in tweets, replies or media-only modes. It returns structured per-tweet data and pagination cursors for creators, researchers and account monitoring.

  • Score 80
  • 6.4k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install x-tweet-by-handle

Built from the published package, never by AI.

git clone --depth 1 https://github.com/browser-act/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/solutions/social-listening/x-tweet-by-handle ~/.claude/skills/x-tweet-by-handle

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install x-tweet-by-handle in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill collects tweets from an X (Twitter) user profile timeline, given a handle without the @ sign. It supports three modes: the default tweets tab, the tweets and replies tab, and the media-only tab. Each tweet is returned as normalized data with text, author profile, engagement counts, media, hashtags, mentions and a cursor for pagination.

It runs through browser-act. The skill opens the profile page in a logged-in X session, captures the GraphQL response from network traffic, and parses it with Python scripts. It then scrolls to load further pages until a target count is reached or the cursor stops advancing. It is aimed at people building creator backlogs, tracking competitor accounts, or monitoring a single account.

Written from the project's SKILL.md and checked against it.

What it can do

  • Timeline modesReads the tweets, tweets and replies, or media tab of a user profile.
  • Normalized tweet dataReturns text, timestamps, language, source and tweet type for each post.
  • Author profile dataIncludes the author's name, handle, verification, followers and bio.
  • Engagement countsProvides retweet, reply, like, quote, bookmark and view counts per tweet.
  • Media and entitiesLists photos or videos, hashtags, mentions and URLs found in each tweet.
  • Cursor paginationScrolls the page and saves cursors so long timelines can be collected in pages.
  • Batch handle runsCan run several handles one after another in a single browser session.

What you need

  • browser-act skill installed and available
  • Logged-in X account in the browser
  • Browser network capture enabled
  • Python to run the bundled scripts

Try asking

  • Get the latest 200 tweets from @NASA with engagement counts.
  • Export the media tab of @handle as a list of photo and video URLs.
  • Collect tweets and replies from this account for my competitor backlog.

Good to know

  • Protected accounts return zero tweets unless the logged-in session follows them.
  • Stay under about 150 timeline calls per 15 minutes per session.
  • View counts can be null for new or low-traffic tweets.
  • Media mode returns only tweets with native media.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: solutions/social-listening/x-tweet-by-handle/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to x-tweet-by-handle

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

x-tweet-by-handle: common questions

Can it scrape replies as well as posts?

Yes. The replies mode reads the tweets and replies tab, and the media mode reads only the media tab.

What happens with suspended or deleted accounts?

The skill detects an empty result and a redirect to a suspended or access page, then ends the loop with an explanation.

Does it need an X login?

Yes. The skill requires an active logged-in X session in the browser and does not bypass authentication.

How do I install x-tweet-by-handle?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is x-tweet-by-handle free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is x-tweet-by-handle safe to use?

It scores 80 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to x-tweet-by-handle?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

x-tweet-by-handle Install

Add to stack

Loading.