x-search
하는 일
이 도구는 X 소셜 네트워크(예전의 Twitter)에서 정보를 검색합니다. 특정 주제의 최근 게시물을 찾고, 신뢰할 수 있는 계정에 집중하며, 날짜를 사용해 검색을 좁힙니다.
사용하는 경우
- ✓특정 주제에 대한 최신 소식을 알고 싶을 때.
- ✓특정 계정의 의견이나 정보를 찾을 때.
- ✓플랫폼에서 최근 사건에 대해 무슨 말이 있었는지 확인하고 싶은 경우.
스킬 링크
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/src/components/x-search/skill/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“어제부터 @openai와 @googleai 계정에서 올라온 인공지능 관련 최신 게시물은 무엇인가요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 도구는 xAI라는 시스템을 사용해 X에 연결합니다. 질문을 X가 가장 관련성 높은 게시물을 돌려줄 수 있도록 정리하며, 날짜와 신뢰하는 계정을 고려합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
- 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.
The 4 rules
- 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. - 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_handlesandexcluded_x_handlesare exclusive; pick one. - 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 carriessince:. - 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.comURL 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
…
자주 묻는 질문
X가 연결되어 있지 않으면 어떻게 되나요?
X를 검색할 수 없다고 알려 주고, 대안으로 웹 검색을 사용합니다.
정보가 최신인지 도구는 어떻게 보장하나요?
‘latest’나 ‘recent’ 같은 용어를 추가하고 날짜 필터를 사용해서, 찾은 게시물이 찾는 기간의 것인지 확인합니다.
아무 계정의 게시물이나 검색할 수 있나요?
검색할 신뢰하는 계정을 지정할 수 있습니다. 지정하지 않으면 더 넓게 검색하지만, 항상 관련성과 날짜를 우선합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 70k
- 순위
- #3127
- 라이선스
- NOASSERTION
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
comment-checker
70k에이전트가 자동 댓글 검사기의 피드백을 이해하고 응답하도록 돕습니다. 자동화된 코드나 콘텐츠 검토 결과를 처리하는 데 유용합니다.
lcx-contribute-bug-fix
70k에이전트가 LazyCodex 관련 프로젝트에 버그 수정을 기여하도록 이슈나 PR을 만들어 코드 품질을 높이도록 돕습니다.
lcx-doctor
70k에이전트가 LazyCodex와 Codex CLI 설치 상태를 점검하도록 돕습니다. 업데이트나 변경 후 시스템이 이상하게 동작할 때 유용합니다.
lcx-report-bug
70k에이전트가 LazyCodex 프로젝트의 버그를 자세히 보고하도록 돕습니다. 개발자가 문제를 고칠 수 있도록 유용한 정보를 담은 이슈를 만듭니다.