Receber por email
← Voltar para o catálogo

grok-skill

Pesquisa e análise do X (Twitter) usando xAI Grok 4 via OpenRouter com Live Search. Ativado por prompts que pedem para pesquisar o Twitter/X, ver o que está em alta, tweets de um usuário, hashtags, ou o que as pessoas estão dizendo.

18estrelas
Atualizado há 11 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add mikedemarais/grok-skill

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/grok-skill/svg)](https://www.skillteca.com.br/skills/grok-skill)
#ai

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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:

``bash bun scripts/grok.ts --q "<query>" ``

  • One-off with inline API key:

``bash OPENROUTER_API_KEY="sk-or-..." bun scripts/grok.ts --q "<query>" ``

  • With handles and date window (YYYY-MM-DD):

``bash 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.
Compartilhar X LinkedIn