Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
kirkluokun avatar

Grok Search

  • 5 installs
  • 61 repo stars
  • Updated March 16, 2026
  • kirkluokun/awesome-a-stock-openclawskills

Helps with ai & agent building tasks.

About

grok-search is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • grok-search
  • AI & Agent Building
  • AI-coding skill

Grok Search by the numbers

  • 5 all-time installs (skills.sh)
  • Ranked #13,065 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kirkluokun/awesome-a-stock-openclawskills --skill grok-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5
repo stars61
Last updatedMarch 16, 2026
Repositorykirkluokun/awesome-a-stock-openclawskills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Run xAI Grok locally via bundled scripts (search + chat + model listing). Default output for search is pretty JSON (agent-friendly) with citations.

API key

The script looks for an xAI API key in this order:

  • XAI_API_KEY env var
  • ~/.clawdbot/clawdbot.jsonenv.XAI_API_KEY
  • ~/.clawdbot/clawdbot.jsonskills.entries["grok-search"].apiKey
  • fallback: skills.entries["search-x"].apiKey or skills.entries.xai.apiKey

Run

Use {baseDir} so the command works regardless of workspace layout.

Search

  • Web search (JSON):
  • node {baseDir}/scripts/grok_search.mjs "<query>" --web
  • X/Twitter search (JSON):
  • node {baseDir}/scripts/grok_search.mjs "<query>" --x

Chat

  • Chat (text):
  • node {baseDir}/scripts/chat.mjs "<prompt>"
  • Chat (vision):
  • node {baseDir}/scripts/chat.mjs --image /path/to/image.jpg "<prompt>"

Models

  • List models:
  • node {baseDir}/scripts/models.mjs

Useful flags

Output:

  • --links-only print just citation URLs
  • --text hide the citations section in pretty output
  • --raw include the raw Responses API payload on stderr (debug)

Common:

  • --max <n> limit results (default 8)
  • --model <id> (default grok-4-1-fast)

X-only filters (server-side via x_search tool params):

  • --days <n> (e.g. 7)
  • --from YYYY-MM-DD / --to YYYY-MM-DD
  • --handles @a,@b (limit to these handles)
  • --exclude @bots,@spam (exclude handles)

Output shape (JSON)

{
  "query": "...",
  "mode": "web" | "x",
  "results": [
    {
      "title": "...",
      "url": "...",
      "snippet": "...",
      "author": "...",
      "posted_at": "..."
    }
  ],
  "citations": ["https://..."]
}

Notes

  • citations are merged/validated from xAI response annotations where possible (more reliable than trusting the model’s JSON blindly).
  • Prefer --x for tweets/threads, --web for general research.
  • Default to English queries for both web and X searches unless the user explicitly requests a different language.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.