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

Groksearch

  • 74 installs
  • 15 repo stars
  • Updated August 1, 2026
  • connorads/dotfiles

Searches X and the web via the Grok (xAI) API's own x_search and web_search tools and returns a summary with top sources.

About

Searches X and the web using the Grok (xAI) API's server-side tools and summarizes results with top sources. A developer uses it to research recent topics across X and the web with date filtering.

  • Uses Grok's own x_search and web_search server-side tools, not Claude WebSearch
  • Supports date-range filtering and X-only, web-only, or combined sources

Groksearch by the numbers

  • 74 all-time installs (skills.sh)
  • Ranked #5,449 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/connorads/dotfiles --skill groksearch

Add your badge

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

Listed on Skillselion
Installs74
repo stars15
Last updatedAugust 1, 2026
Repositoryconnorads/dotfiles

What it does

Searches X and the web via the Grok (xAI) API's own x_search and web_search tools and returns a summary with top sources.

Files

SKILL.mdMarkdownGitHub ↗

groksearch

Search X and the web using Grok's server-side tools and return a concise summary with top sources.

This skill uses Grok's own x_search and web_search tools (not Claude WebSearch).

Usage

Run the script using absolute path (do NOT cd to the skill directory first):

uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query"

Common options

# X + Web (default)
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --sources both

# X only
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --sources x

# Web only
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --sources web

# Last 14 days
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --days 14

# Explicit date range
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --from-date 2026-01-01 --to-date 2026-01-31

# No date filtering
uv run ~/.claude/skills/groksearch/scripts/groksearch.py "your query" --no-date

API Key

Provide the xAI API key in one of these ways (highest priority first):

1. --api-key argument 2. XAI_API_KEY environment variable 3. ~/.config/groksearch/.env file

Example config file:

mkdir -p ~/.config/groksearch
cat > ~/.config/groksearch/.env << 'EOF'
XAI_API_KEY=
EOF
chmod 600 ~/.config/groksearch/.env

Output

The script prints:

  • Query, sources, and date range
  • A concise summary with key points
  • A short list of top source URLs (from Grok citations)

Related skills

This week in AI coding

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

unsubscribe anytime.