본문으로 건너뛰기
cccskills
무료GitHub에 공개

grok-skill

Search and analyze X (Twitter) using xAI Grok 4 via OpenRouter with Live Search. Trigger on prompts that explicitly or implicitly ask to "search Twitter/X", "what's trending", "tweets from @handle", "hashtag #…", "what are people saying", or that require tweet-level activity/engagement from X.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구X (Twitter)
설치 방법 보기

포함된 파일(6)

  • SKILL.md2.1 KB
  • .gitignore179 B
  • CLAUDE.md12.6 KB
  • LICENSE1.0 KB
  • README.md6.7 KB
  • scripts/grok.ts8.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Grok 4 — X/Twitter Live Search Skill

Prerequisites

  • OpenRouter API key required (set as OPENROUTER_API_KEY environment variable)
  • Get your key at openrouter.ai
  • Bun runtime installed

When to use

Use this Skill whenever the user asks for trends, activity, examples, or evidence from X/Twitter:

  • "search twitter|x for <query>"
  • "what's trending on X"
  • "top tweets/threads/hashtags about <topic>"
  • "what are people saying about <project>"
  • "tweets from @handle", "compare @a vs @b"

How to run (Claude should execute these)

  • Minimal:

    bun scripts/grok.ts --q "<query>"
    
  • One-off with inline API key:

    OPENROUTER_API_KEY="sk-or-..." bun scripts/grok.ts --q "<query>"
    
  • With handles and date window (YYYY-MM-DD):

    bun scripts/grok.ts \
      --q "<topic or question>" \
      --mode on \
      --include "@OpenAI" "@AnthropicAI" \
      --from "2025-11-01" --to "2025-11-07" \
      --min-faves 50 --min-views 0 \
      --max 12
    
  • Output is concise JSON: summary, citations (tweet URLs), and usage. Paste a short synthesis with linked tweets.

Defaults & notes

  • Live Search mode defaults to auto; use on for explicit "search X now".
  • If user gives handles, pass them via --include (or --exclude).
  • Use --from/--to for time-bounded asks; if unspecified, do not assume dates.
  • Keep --max modest (8–20) for cost/latency; raise only if sparse.
  • --include and --exclude are mutually exclusive.
  • Do not claim access to private/protected content. Prefer links over long quotes.

Troubleshooting

  • Sparse results → increase --max or relax filters; consider removing handles.
  • Missing links → they're in citations of the JSON output; share the URLs.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고