name: x-search description: "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, tweets, posts on X, what people are saying on X, x_search, social signal."
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
- Run
tool_search "X posts". Ifx_searchshows up, it's callable on the next turn. - 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.