Skip to content
Data
Command

/search

Search X (Twitter) and the web in real time with Grok, then summarize with sources

From plugin
grok-build-plugin
257 skills1 agent7 commands
Install
$ npx -y skills add VasiHemanth/grok-build-plugin --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/search

Context preview

What this command does when you run it.

Search X (Twitter) and the web in real time with Grok, then summarize with sources

Command definition

search.md
description: Search X (Twitter) and the web in real time with Grok, then summarize with sources
argument-hint: "[--background] [--model <model>] <what to search for on X or the web>"
allowed-tools: Bash(node:*)

Grok has native, real-time access to X (x.com) and the web. This is its specialty. Use this command to answer questions that need current, social, or breaking information.

Raw user request: $ARGUMENTS

Run the search through the Grok companion:

node "${CLAUDE_PLUGIN_ROOT}/scripts/grok-companion.mjs" search $ARGUMENTS

Rules:

  • `--background` runs the search detached; report the job id and that the user can check `/grok:status` and `/grok:result`. Otherwise run in the foreground and return Grok's answer.
  • `--model` is a runtime control; keep it on the command but do not treat it as part of the query text.
  • Return the companion's stdout verbatim: it already includes the answer, a Sources list, and a session id for follow-ups. Do not paraphrase or add commentary.
  • If the companion reports Grok is missing or not logged in, tell the user to run `/grok:setup`.
Ships withgrok-build-plugin

Want Claude Code, Codex, or Cursor to drive Grok Build? If you already pay for a Grok subscription, this gives any of those agents live X search and data right in their context. A couple of ways to wire it up.

Get the whole plugin, auto-invoked
Stats
25
Stars
0
Views
4
Forks
Active
Maintenance
JavaScript
Language
Apache-2.0
License
16d ago
Last commit
2mo ago
Created

Repo: VasiHemanth/grok-build-plugin