x-tweet-search
Scrapes tweets from X (Twitter) by search query, user handle, or direct URL — returns full tweet data including text, author info, engagement metrics, media…
Skill by browser-act
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/browser-act-x-tweet-search
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/x-tweet-search
What's inside
- Skill name
x-tweet-search- Description
- Scrapes tweets from X (Twitter) by search query, user handle, or direct URL — returns full tweet data including text, author info, engagement metrics, media, and hashtags. Use when user mentions X, Twitter, tweet scraping, scrape tweets, get tweets, fetch tweets, twitter data, x.com data, tweet collector, tweet search, twitter search, social media scraping, twitter handle scraping, scrape user tweets, from:username, twitter keyword search, hashtag search, twitter timeline, twitter list scraping, collect twitter posts, export tweets, tweet analysis, twitter monitoring, search twitter, get twitter data, twitter api alternative, tweet dump.
- License
- MIT
- Instructions
- 203 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (2)
- SKILL.md
- extract-tweets.py · scripts/
SKILL.md (first lines)
# X (Twitter) — Tweet Search & Scraper
> Search query / handle / URL → structured tweet list (text, author, metrics, media, entities)
## Language
All process output to user (progress updates, process notifications) follows the user's language.
## Objective
Collect tweets matching a search query, from specific user profiles, or from direct URLs, extracting complete structured data for each tweet.
## Prerequisites
- Target page is already open in the browser: `https://x.com/search?q=...` or `https://x.com/{handle}` or a direct tweet/list URL
- User must be logged in to X (user avatar or username visible in left sidebar)
## Pre-execution Checks
### 1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke `browser-act` via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
### 2. Login Verification
If login status for X has been confirmed in the current session → skip this step.
Otherwise: open `https://x.com` and observe the left sidebar:
- User avatar or "@username" visible at the bottom → logged in, continue
- "Sign in" or "Log in" button visible → not logged in, inform user that X login is required and assist with the login flow
User refuses or cannot log in → terminate execution.
## Capability Components
> This Skill's operational boundary = what the user can manually do in their browser. It reads tweet data already rendered in the X DOM, never bypassing authentication. JS is encapsulated in `scripts/` files, invoked via `eval "$(python scripts/xxx.py)"`. Use the bash tool for execution.
### DOM: Tweet list extraction (React Fiber)
Extracts all currently visible tweets from the page via React internal state (React Fiber). Works on search pages, profile pages, list pages, and any X page rendering tweet articles.
Wait for tweets to appear before extracting:
```
wait --selector "article[data-testid='tweet']" --state attached --timeout 15000
```
Extract: `eval "$(python scripts/extract-tweets.py)"`
Returns a JSON array. Each element:
```json
[
{
"id": "2059255862548738182", // tweet ID
"url": "https://x.com/NASA/status/2059255862548738182", // direct link
"text": "Full tweet text including hashtags and URLs", // full_text field
"created_at": "2026-05-26T12:50:31.000Z", // ISO 8601
"lang": "en", // ISO 639-1 language code, null if unknown
"author_id": "11348282", // author user ID
"author_name": "NASA", // display name
"author_screen_name": "NASA", // @handle (without @)
"author_profile_image": "https://pbs.twimg.com/profile_images/.../photo.jpg",
"author_followers": 92080161, // follower count
"author_following": 305, // following count
"author_verified": false, // legacy blue checkmark
"author_blue_verified": true, // X Blue / Gold / Gray checkmark
"author_location": "Washington, D.C.", // profile location, null if not set
"author_description": "Explore the universe...", // bio, null if empty
"like_count": 82579,
"retweet_count": 11952,
"reply_count": 4230,
"quote_count": 1850,
"bookmark_count": 12400,
"view_count": 25923006, // null if not available
"is_retweet": false,
"is_quote": false,
"is_reply": false,
"in_reply_to_tweet_id": null, // parent tweet ID if is_reply=true
"in_reply_to_user": null, // @handle of replied-to user
"conversation_id": "2059255862548738182",
"hashtags": ["AI", "Space"], // without #
"urls": ["https://example.com/article"], // expanded URLs from entities
"mentions": ["SpaceX", "ESA"], // @handles without @
"media": [
{
"type": "video", // "photo", "video", "animated_gif"
"url": "https://pbs.twimg.com/amplify_video_thumb/.../img/thumb.jpg",
"alt_text": null,
"video_variants": [
{"bitrate": 2176000, "url": "https://video.twimg.com/.../1280x720/video.mp4"},
{"bitrate": 832000, "url": "https://video.twimg.com/.../640x360/video.mp4"}
]
}
],
"source_name": "Twitter for iPhone", // client used to post
"source_url": "http://twitter.com/download/iphone"
}
]
```
## URL Construction Guide
### Input type → URL mapping
**searchTerms** (keyword / advanced query):
- Sort Latest: `https://x.com/search?q={url_encoded_query}&src=typed_query&f=live`
- Sort Top: `https://x.com/search?q={url_encoded_query}&src=typed_query`
- Sort Latest+Top: run both URLs in sequence, deduplicate by tweet ID
**twitterHandles** (scrape a user's profile tweets):
- Option A (profile page): `https://x.com/{handle}` — shows all tweets/retweets
- Option B (search): use `from:{handle}` as the search query — more filter-compatible
**startUrls** (direct URLs): navigate to the URL as-is. Supported types:
- Tweet URL: `https://x.com/{user}/status/{id}` — single tweet conversation
- Profile URL: `https://x.com/{handle}` — profile timeline
- Search URL: `https://x.com/search?q=...` — use directlyFrom browser-act/skills, MIT.
More from browser-act/skills
- 0.750score
browser-act-skill-forge
BrowserAct
Forges reusable Skill packages (SKILL.md + scripts) from website exploration via browser-act — no re-exploration later.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-product-detail
browser-act
Fetch full product detail from a Taobao or Tmall product page by itemId, returning title, price, shop info, images, SKU variants, and product attributes.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-page-profile-posts
browser-act
Scrapes posts from any public Facebook Page or personal Profile timeline, returning structured data including post text, author info with profile picture…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
threads-keyword-search
browser-act
Searches Threads posts by keyword or hashtag and returns matching posts with engagement metrics, extracted from SSR-embedded JSON.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
threads-user-posts
browser-act
Fetches public posts from a Threads user's profile page, extracting post text, engagement metrics, and media info from SSR-embedded JSON.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
webcrawler-deep-crawl
browser-act
Deep-crawl any website from start URLs, return per-page LLM-ready text/markdown/HTML plus metadata (title, description, author, language, canonical URL, OG)…
SkillCFreshness: C★ 6.3KClaude Code +9
Signals
- Stars
- 6,268
- Forks
- 330
- Open issues
- 9
- Last commit (this folder)
- May 27, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/browser-act/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from browser-act
- 0.674score
ebay-search-listing
browser-act
Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ebay-item-detail
browser-act
Extracts full item detail from any open eBay item URL, returning JSON with url, itemNumber, title, subTitle, categories, price, priceWithCurrency, currency…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
etsy-keyword-search
browser-act
Etsy keyword search scraper: given a search keyword and optional page number, returns paginated product listings with listingId, shopId, title, url, image…
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
taobao-keyword-search
browser-act
Search Taobao and Tmall product listings by keyword, returning paginated product cards with title, price, shop, image, sales, and tags.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
ecommerce-seller-info
browser-act
Extract seller or merchant profile data from marketplace platform seller pages.
SkillCFreshness: C★ 6.3KClaude Code +9 - 0.674score
facebook-groups-scrape-posts
browser-act
Scrapes posts from a Facebook group given a group URL, sort order, and desired count — returns structured post metadata including post_id, permalink, author…
SkillCFreshness: C★ 6.3KClaude Code +9
Cite this page
x-tweet-search skill. Agent Mart. https://agentmart.dev/skills/browser-act-x-tweet-search (last updated 2026-10-24)