x-tweet-search-by-query
하는 일
이 스킬은 고급 X 검색을 실행하고 검색어에 맞는 트윗을 돌려줍니다. 정해진 기간 안에서 주제에 관한 트윗이 필요한 연구자, 마케터, 기자를 위한 스킬입니다.
사용하는 경우
- ✓특정 기간 안에서 주제에 관한 트윗을 찾고 싶을 때.
- ✓해시태그나 여러 키워드를 쓴 트윗이 필요할 때.
- ✓분석을 위해 많은 트윗을 모으고 싶을 때.
스킬 링크
https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search-by-query/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“올해 1월부터 3월 사이에 올라온 태양광 패널 관련 트윗을 찾아서 본문과 좋아요 수를 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 입력한 고급 검색어를 X에 넣고 일치하는 트윗을 읽습니다. 각 트윗의 본문, 작성자 프로필, 참여 수, 미디어, 해시태그, 멘션과 페이지 넘김용 커서를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
날짜로 검색할 수 있나요?
네, 설명에 따르면 고급 검색어에 since와 until 날짜 필터를 사용할 수 있습니다.
로그인되어 있어야 하나요?
네, 스킬은 브라우저에서 활성 X 세션이 필요합니다.
많은 결과를 모을 수 있나요?
네, 커서로 결과를 넘기며 더 큰 모음을 만들 수 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 6.3k
- 순위
- #14321
- 라이선스
- MIT
- 업데이트
- 2026. 8. 24.
댓글
- …
이 저장소의 다른 스킬
browser-act-skill-forge
6.3k에이전트가 웹사이트를 한 번 탐색해 재사용 가능한 스킬을 스크립트와 함께 저장하고, 이후 그 사이트의 데이터를 더 빠르게 가져오도록 돕습니다.
browser-act
6.3k에이전트가 BrowserAct 브라우저 자동화 도구로 페이지를 열고, 렌더링된 내용을 읽고, 양식을 채우고, 스크린샷을 찍고, 로그인된 세션을 관리하도록 돕습니다.
1688-product-detail
6.3k에이전트가 1688.com 도매 페이지에서 가격 단계, 변형 상품, 판매자 통계, 속성 같은 제품 세부 정보를 가져오도록 돕습니다.
airbnb-listing-detail
6.3k에이전트가 숫자 ID로 에어비앤비 숙소의 공개 정보를 가져오도록 돕습니다. 사진, 편의시설, 평점, 숙소 규칙을 포함합니다.