x-tweet-search-by-query
Fungsinya
Skill ini menjalankan pencarian X lanjutan dan mengembalikan tweet yang cocok dengan kueri Anda. Skill ini ditujukan untuk peneliti, pemasar, dan jurnalis yang menginginkan tweet tentang sebuah topik dalam periode waktu tertentu.
Kapan dipakai
- βSaat Anda ingin menemukan tweet tentang sebuah topik dalam rentang tanggal tertentu.
- βKetika Anda membutuhkan tweet yang memakai tagar atau sekumpulan kata kunci.
- βSaat Anda ingin mengumpulkan kumpulan tweet yang besar untuk dianalisis.
Link skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search-by-query/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
βTemukan tweet tentang panel surya yang diposting antara Januari dan Maret tahun ini, dan tunjukkan teks serta jumlah suka-nya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memasukkan kueri pencarian lanjutan Anda di X dan membaca tweet yang cocok. Ia mengembalikan setiap tweet dengan teks, profil penulis, jumlah interaksi, media, tagar, sebutan, dan kursor untuk paginasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
X β Tweet Search by Query
Advanced search query β normalized list of tweets matching the query (with author, engagement, media, cursor).
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Collect tweets that match an X advanced-search query expression, returning structured per-tweet data and pagination cursors for unbounded bulk collection.
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 at the bottom β logged in, continue
- "Sign in" / "Log in" prompt visible β not logged in, inform the user that an X login is required 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 rendered by the user's own X session, never bypassing authentication. Each search request is signed by X's own page JS; the Skill triggers it via URL navigation and reads structured GraphQL responses from network traffic. Python scripts under
scripts/only build URLs and parse responses β they do not call X directly. Run them through the bash tool.
Network Capture: search tweets via advanced query
All search parameters are encoded into X's native advanced search syntax via the URL builder, then injected through the page URL. The browser's own JS signs the GraphQL request; the response is read from network traffic and parsed locally.
Step 1 β build the search URL with all desired filters:
URL=$(python scripts/build-search-url.py '{raw_query}' --sort {sort} [--language {iso}] [--min-retweets {n}] [--min-faves {n}] [--min-replies {n}] [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--author {handle}] [--in-reply-to {handle}] [--mentioning {handle}] [--only-verified] [--only-blue-verified] [--only-image] [--only-video] [--only-quote] [--exclude-retweets] [--exclude-replies] [--geocode LAT,LON,RADIUSmi] [--near 'PLACE'] [--within 15mi])
Parameters:
raw_query(positional): free-form X advanced search expression; all standard operators are supported and may already include any clause below. Operators added via flags are skipped if the same operator is already present inraw_query.--sort:Latest(default) orTop. Maps to URLf=liveandf=top, which select GraphQLproduct=Latestvsproduct=Top.--language: ISO 639-1 code, appended aslang:CODE.--min-retweets/--min-faves/--min-replies: integer thresholds, appended asmin_retweets:N/min_faves:N/min_replies:N.--since/--until:YYYY-MM-DD, appended assince:/until:.--author: only tweets from this handle, appended asfrom:HANDLE.--in-reply-to: only tweets replying to this handle, appended asto:HANDLE.--mentioning: only tweets mentioning this handle, appended as@HANDLE.--only-verified/--only-blue-verified: appended asfilter:verified/filter:blue_verified.--only-image/--only-video/--only-quote: appended asfilter:images/filter:native_video/filter:quote.--exclude-retweets/--exclude-replies: appended as-filter:retweets/-filter:replies.--geocode:LAT,LON,RADIUSmiorLAT,LON,RADIUSkm, appended asgeocode:LAT,LON,RADIUS.--near/--within: appended asnear:"PLACE"andwithin:VALUE.
Step 2 β navigate and capture the first page:
network requests --clearnavigate "$URL"wait stable --timeout 25000(a timeout is normal on X; proceed even if it fires β the GraphQL response usually completes before the page reaches network-idle)network requests --type xhr,fetch --filter SearchTimelineβ take the latest entry'srequest_idnetwork request <request_id>β save full output to a file (e.g.tmp/x-search-page-1.txt)python scripts/parse-tweets.py --json-file tmp/x-search-page-1.txt --source searchβ emit
Pertanyaan umum
Apakah saya bisa mencari berdasarkan tanggal?
Bisa, deskripsinya menyebutkan bahwa kueri lanjutan dapat memakai filter tanggal since dan until.
Apakah saya perlu login?
Ya, skill ini memerlukan sesi X yang aktif di browser Anda.
Bisakah saya mengumpulkan banyak hasil?
Bisa, kursor memungkinkan Anda berpindah halaman hasil untuk kumpulan yang lebih besar.
Detail
Deskripsi asli dari pembuat
Searches X (Twitter) for tweets by free-form advanced query and returns a normalized tweet list with text, author profile, engagement counts, media, hashtags, mentions, and cursor for pagination. Use when user mentions X search, Twitter search, scrape tweets by keyword, search X by hashtag, search Twitter by hashtag, find tweets about a topic, search tweets by date range, since until search Twitter, advanced Twitter search, tweets with media, tweets with images, tweets with video, top tweets, latest tweets, X latest tab, X top tab, min_faves, min_retweets, min_replies, filter verified Twitter,
repo: browser-act/skills
Popularitas
- Bintang GitHub
- 6.3k
- Peringkat
- #14321
- 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.