x-tweet-search-by-query
Qué hace
Esta skill ejecuta búsquedas avanzadas en X y devuelve los tuits que coinciden con tu consulta. Está pensada para investigadores, profesionales del marketing y periodistas que quieren tuits sobre un tema en un periodo determinado.
Cuándo usarla
- ✓Cuando quieres encontrar tuits sobre un tema dentro de un rango de fechas.
- ✓Cuando necesitas tuits que usan un hashtag o un conjunto de palabras clave.
- ✓Cuando quieres reunir un conjunto grande de tuits para analizarlos.
Link de la skill
https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search-by-query/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Busca tuits sobre paneles solares publicados entre enero y marzo de este año, y muéstrame su texto y su número de me gusta.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill introduce tu consulta avanzada en X y lee los tuits que coinciden. Devuelve cada tuit con su texto, el perfil del autor, las cifras de interacción, los archivos multimedia, los hashtags, las menciones y un cursor para paginar.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Puedo buscar por fecha?
Sí. La descripción indica que las consultas avanzadas pueden usar filtros de fecha desde y hasta.
¿Necesito tener la sesión iniciada?
Sí, la skill necesita una sesión activa de X en tu navegador.
¿Puedo reunir muchos resultados?
Sí, el cursor permite paginar por los resultados para colecciones más grandes.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 6,3 mil
- Posición en el ranking
- #14321
- Licencia
- MIT
- Actualizada
- 24/8/2026
Comentarios
- …
Más skills de este repositorio
browser-act-skill-forge
6,3 milAyuda a tu agente a explorar un sitio web una vez y guardar una skill reutilizable con scripts, para que las siguientes extracciones de datos de ese sitio sean más rápidas.
browser-act
6,3 milAyuda a tu agente a usar una herramienta de automatización de navegador para abrir páginas, leer contenido renderizado, rellenar formularios, hacer capturas de pantalla y gestionar sesiones iniciadas.
1688-product-detail
6,3 milAyuda a tu agente a extraer los detalles de un producto de una página mayorista de 1688.com, como los tramos de precio, las variantes, las estadísticas del vendedor y los atributos.
airbnb-listing-detail
6,3 milAyuda a tu agente a obtener los datos públicos de un anuncio de Airbnb a partir de su ID, como fotos, servicios, valoraciones y normas de la casa.
Skills parecidas
xurl
394 milAyuda a tu agente a publicar, responder, buscar y leer en X, enviar mensajes directos y subir archivos multimedia, usando la herramienta autenticada xurl.
connections-optimizer
280 milMejora tus conexiones en redes sociales. Sugiere a quién seguir o dejar de seguir y ayuda a crear mensajes personalizados para ampliar tu red.
content-engine
280 milCrea contenido para distintas plataformas. Ayuda a producir publicaciones, guiones y calendarios de contenido que funcionen bien en redes como X, LinkedIn y YouTube.