x-tweet-by-url
Fungsinya
Skill ini menerima tautan X atau Twitter dan mengembalikan tweet yang ditampilkan di halaman itu. Skill ini ditujukan untuk orang yang sudah memiliki tautan dan ingin datanya tanpa harus memilih metode.
Kapan dipakai
- βSaat Anda memiliki tautan pencarian X dan ingin tweet-nya dalam bentuk daftar.
- βKetika Anda memiliki tautan satu tweet dan ingin detailnya.
- βSaat Anda memiliki tautan daftar X dan ingin tweet yang ditampilkannya.
Link skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-by-url/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βIni tautan pencarian X. Berikan saya tweet yang ditampilkannya, beserta penulis dan jumlah interaksinya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memeriksa jenis halaman X yang ditunjuk tautan, membukanya di browser Anda yang sudah masuk, lalu membaca tweet yang dimuatnya. Ia mengembalikan setiap tweet dengan teks, penulis, jumlah interaksi, media, tagar, sebutan, dan kursor untuk lebih banyak.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
X β Tweets by URL
Any X URL (search, profile, single tweet, list) β normalized list of tweets matching that URL's timeline.
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Accept any X URL as input, automatically detect which timeline endpoint it triggers, navigate to it, and return structured per-tweet data with pagination cursors. This unifies search, profile, single-tweet conversation, and list extraction under one entry point.
Prerequisites
- Active X session in the browser (left sidebar shows logged-in avatar / @handle).
- Network capture is enabled in the browser-act session.
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 @handle visible β logged in, continue
- "Sign in" / "Log in" prompt visible β not logged in, inform the user and assist 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 only reads tweet data already shown to the user, never bypassing authentication. The browser's own JS signs the GraphQL request; the Skill triggers it via URL navigation and reads the response from network traffic. Python scripts under
scripts/only classify URLs and parse responses β they do not call X directly. Run them through the bash tool.
Network Capture: tweets via input URL
Step 1 β classify the URL to determine which GraphQL endpoint will be triggered and which --source to pass to the parser:
META=$(python scripts/classify-url.py '{url}')
classify-url.py outputs a JSON object with fields:
normalized_url: the URL withtwitter.comrewritten tox.com.kind: one ofsearch,user_tweets,user_replies,user_media,tweet_detail,list,unknown.endpoint: the GraphQL endpoint name to filter by (SearchTimeline/UserTweets/UserTweetsAndReplies/UserMedia/TweetDetail/ListLatestTweetsTimeline).extract_source: the--sourcevalue to pass toparse-tweets.py(search/user_tweets/user_replies/user_media/tweet_detail/list).params: detected path parameters (handle,tweet_id,list_id) when applicable.
If kind == "unknown", report to the user that the URL is not a supported X timeline type and stop.
Step 2 β navigate and capture the first page:
network requests --clearnavigate "$(echo "$META" | python -c "import sys,json;print(json.load(sys.stdin)['normalized_url'])")"wait stable --timeout 25000(timeout is normal on X; proceed)- Let
EP=endpointfrom$META.network requests --type xhr,fetch --filter "$EP"β take the latest entry'srequest_id. network request <request_id>β save totmp/x-url-page-1.txt.- Let
SRC=extract_sourcefrom$META.python scripts/parse-tweets.py --json-file tmp/x-url-page-1.txt --source "$SRC".
Endpoint characteristic: URL contains /i/api/graphql/<hash>/<endpoint-name>. The query hash rotates; always filter by name.
Step 3 β paginate via scroll (skip when kind == "tweet_detail" and only the focal tweet is required; keep paginating when collecting the full reply thread):
network requests --clearscroll down --amount 5000wait stable --timeout 10000network requests --type xhr,fetch --filter "$EP"β newest entry'srequest_idnetwork request <request_id>β save totmp/x-url-page-N.txtpython scripts/parse-tweets.py --json-file tmp/x-url-page-N.txt --source "$SRC"
Repeat Step 3 until any termination condition is met:
- Accumulated unique tweet count reaches the user's target.
count == 0on the current page.cursor_bottomis unchanged across two consecutive pages.
Error handling: if no matching request appears after a scroll, wait 3 s and retry once. If kind == "search" and the page shows a captcha challenge (detect via state showing an "Authorize access to your account" or "Help us keep X safe" panel), pause and ask the user. If kind == "list" and the response's `data.list.twe
Pertanyaan umum
Jenis tautan apa saja yang berfungsi?
Deskripsinya mencakup halaman pencarian, profil, satu tweet, dan linimasa daftar.
Apakah saya perlu login?
Ya, skill ini memerlukan sesi X yang aktif di browser Anda.
Bisakah saya memberikan beberapa tautan?
Bisa, deskripsinya menyebutkan bahwa ia menerima campuran tautan X dan Twitter.
Detail
Deskripsi asli dari pembuat
Scrapes tweets from any X (Twitter) URL β search results, user profile, single tweet detail, or list timeline β and returns normalized per-tweet data with text, author, engagement counts, media, hashtags, mentions, and cursor for pagination. Use when user mentions X URL scraper, Twitter URL scraper, scrape from URL, given an X link, given a Twitter link, accept mixed X URLs, accept mixed Twitter URLs, search URL, profile URL, list URL, status URL, tweet detail URL, scrape startUrls Twitter, X startUrls, mixed batch of Twitter links, paste links and scrape, mass URL extraction X, mass URL extra
repo: browser-act/skills
Popularitas
- Bintang GitHub
- 6.3k
- Peringkat
- #14320
- Lisensi
- MIT
- Diperbarui
- 24/8/2026
Komentar
- β¦
Skill lain dari repositori ini
browser-act-skill-forge
6.3kMembantu agent Anda menjelajahi sebuah situs web sekali dan menyimpan skill yang bisa dipakai ulang beserta skripnya, sehingga pengambilan data dari situs itu nanti lebih cepat.
browser-act
6.3kMembantu agent Anda menjalankan alat otomasi browser untuk membuka halaman, membaca konten yang sudah dirender, mengisi formulir, mengambil tangkapan layar, dan mengelola sesi yang sudah masuk.
1688-product-detail
6.3kMembantu agent Anda mengambil detail produk dari halaman grosir 1688.com, seperti tingkat harga, varian, statistik penjual, dan atribut.
airbnb-listing-detail
6.3kMembantu agent Anda mengambil detail publik sebuah listing Airbnb berdasarkan ID-nya, seperti foto, fasilitas, rating, dan aturan rumah.
Skill serupa
xurl
394kMembantu agent Anda memposting, membalas, mencari, dan membaca di X, mengirim pesan langsung, serta mengunggah media, memakai alat xurl yang sudah login.
connections-optimizer
280kMeningkatkan koneksi jaringan sosial Anda. Menyarankan siapa yang perlu di-follow atau di-unfollow, dan membantu membuat pesan personal untuk memperluas jaringan.
content-engine
280kMembuat konten untuk berbagai platform. Menyusun postingan, script, dan kalender konten yang cocok untuk X, LinkedIn, dan YouTube.