Aller au contenu
Skillpedia
Réseaux sociaux70k · #3127

x-search

Ce qu’il fait

Cet outil recherche des informations sur le réseau social X (anciennement Twitter). Il permet de trouver les publications récentes sur un sujet précis, en privilégiant des comptes de confiance et en utilisant des dates pour affiner la recherche.

Quand l’utiliser

  • ✓Lorsque vous voulez connaître les dernières actualités sur un sujet.
  • ✓Lorsque vous cherchez des avis ou des informations provenant de comptes précis sur X.
  • ✓Pour vérifier ce qui a été dit sur un événement récent sur la plateforme.

Lien du skill

https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/src/components/x-search/skill/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/src/components/x-search/skill/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Quelles ont été les publications les plus récentes sur l'intelligence artificielle depuis hier, provenant des comptes @openai et @googleai ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil utilise un système appelé xAI pour se connecter à X. Il organise votre question de manière à ce que X renvoie les publications les plus pertinentes, en tenant compte des dates et des comptes de confiance.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

x-search: searching X (Twitter) through xAI

This skill only matters when an xAI account is connected. The x_search tool is registered at load time if a credential exists, and it is hidden behind tool_search until you activate it. Everything below assumes you've read the current date from the system prompt; never hardcode a date.

Which tool

  1. Run tool_search "X posts". If x_search shows up, it's callable on the next turn.
  2. If nothing matches, xAI isn't connected. Say so plainly ("x_search is unavailable, no xAI credential") and fall back to web_search. Don't guess at tweets from memory.

x_search is one round trip to xAI's server-side X tools (keyword search, semantic search, user search, thread fetch). You don't pick the sub-tool; the server does. Your job is to shape the query and the parameters so the server lands on the right one.

The 4 rules

  1. Date-bound anything time-sensitive. Stocks, earnings, market reaction, foreign flows, breaking news, product launches: compute yesterday from today's date and pass it as from_date. Start narrow. If the first pass comes back thin, widen to 7 days. Dates are inclusive on both ends.
  2. Scope trusted accounts. When the user names accounts they trust, pass them as allowed_x_handles (bare handles, no @, max 20). Example: ["growth_papa", "aleabitoreddit"]. allowed_x_handles and excluded_x_handles are exclusive; pick one.
  3. Phrase for recency. Write the query the way X advanced search expects: "latest" or "recent" wording plus operators (since:, until:, from:, filter:links, -filter:replies, lang:). The server has been observed running keyword search in Latest mode when the query carries since:.
  4. Split, don't stack. One mega-query returns mush. Run 2 to 3 narrower searches: one pass by account, one by keyword, and a thread fetch when a single post needs its replies. Each call is one search turn.

Operator cheat sheet

Operator Meaning Example
since:YYYY-MM-DD posts on or after the date since:2026-09-02
until:YYYY-MM-DD posts on or before the date until:2026-09-03
from:handle posts by one account from:growth_papa
filter:links only posts with links earnings filter:links
-filter:replies drop replies NVDA -filter:replies
lang:xx language code lang:ko, lang:en
"exact phrase" literal match "foreign net buying"

Operators live inside query. from_date / to_date / allowed_x_handles are separate parameters and are the reliable half; operators nudge the server, parameters bind it. Use both when they agree.

Split-search recipe

Run these as separate x_search calls, not one combined query.

Handle pass. Trusted accounts, narrow window.

query: "latest on <topic> since:<yesterday>"
allowed_x_handles: ["growth_papa", "aleabitoreddit"]
from_date: <yesterday>

Keyword pass. Open field, reply noise removed.

query: "recent <topic> <ticker or key term> -filter:replies lang:en"
from_date: <yesterday>

Thread-fetch pass. Only when one post from the passes above needs context.

query: "<x.com URL of the post> replies and quotes"

Stop after three passes unless the user asks for more. If the handle pass and the keyword pass disagree, report both rather than averaging them.

Reading results

Each result arrives as a URL plus a one-line summary, followed by a Queries used: trailer that lists the exact queries the server ran. Keep the trailer in your notes; it's the only provenance you have for what was actually searched.

When you report:

  • Cite the x.com URL for every claim drawn from a post.
  • Label the source as an X post. A tweet is a signal that someone said something, not a verified fact. Say "posted on X by @handle" rather than stating the content as true.
  • Quote sparingly. Summaries in your own words plus the link do the job.

Tandem with web_search

Run the same topic through web_search in the same turn. Then reconcile:

  • Web-found event with no X echo: say so. It may be too fresh, too niche, or the query missed it.
  • X-only claim with no web coverage: say so, and flag it as unconfirmed.
  • Both agree: cite both, X for the reaction, web for the record.

Don't let an X-only claim into a conclusion without that note.

Cost note

…

Questions fréquentes

Que se passe-t-il si X n'est pas connecté ?

Si X n'est pas connecté, l'outil vous en informera et utilisera la recherche sur le web à la place.

Comment l'outil s'assure-t-il que les informations sont récentes ?

Il ajoute des termes comme « dernier » ou « récent » et utilise des filtres de dates pour que les publications trouvées correspondent à la période recherchée.

Puis-je rechercher des publications de n'importe quel compte ?

Vous pouvez indiquer les comptes de confiance à consulter. Si vous n'en précisez aucun, la recherche sera plus large, tout en privilégiant toujours la pertinence et la date.

Détails

Description originale de l’auteur

MUST read before searching X/Twitter with the x_search tool. When xAI is connected: date-bound every time-sensitive query (from_date >= yesterday, widen to 7 days), scope trusted accounts with allowed_x_handles, phrase queries as latest/recent with since:/from:/filter: operators, split into 2-3 searches by account and by keyword, and reconcile against web_search. Triggers: X search, Twitter search

repo: code-yeongyu/oh-my-openagent

Popularité

Étoiles GitHub
70k
Position au classement
#3127
Licence
NOASSERTION
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires