x-tweet-by-url
하는 일
이 스킬은 X나 Twitter 링크를 받아 그 페이지에 보이는 트윗을 돌려줍니다. 이미 링크를 가지고 있고, 방법을 고르지 않고 그 뒤의 데이터를 얻고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓X 검색 링크가 있고 그 트윗을 목록으로 보고 싶을 때.
- ✓단일 트윗 링크가 있고 세부 정보를 알고 싶을 때.
- ✓X 리스트 링크가 있고 리스트에 보이는 트윗을 보고 싶을 때.
스킬 링크
https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-by-url/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“여기 X 검색 링크가 있습니다. 이 링크에 나오는 트윗을 작성자와 참여 수와 함께 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 링크가 어떤 종류의 X 페이지인지 확인하고, 로그인된 브라우저에서 열어 로딩되는 트윗을 읽습니다. 각 트윗의 본문, 작성자, 참여 수, 미디어, 해시태그, 멘션과 추가 트윗을 위한 커서를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
어떤 링크가 작동하나요?
검색 페이지, 프로필, 단일 트윗, 리스트 타임라인을 다룬다고 설명에 나와 있습니다.
로그인되어 있어야 하나요?
네, 스킬은 브라우저에서 활성 X 세션이 필요합니다.
여러 링크를 줄 수 있나요?
네, 설명에 따르면 X와 Twitter 링크가 섞여 있어도 받을 수 있습니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 6.3k
- 순위
- #14320
- 라이선스
- 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로 에어비앤비 숙소의 공개 정보를 가져오도록 돕습니다. 사진, 편의시설, 평점, 숙소 규칙을 포함합니다.