grok-search

Enhanced web search and real-time content retrieval via Grok API with forced tool routing. Use when: (1) Web search / information retrieval / fact-checking, (2) Webpage content extraction / URL parsing, (3) Breaking knowledge cutoff limits for current information, (4) Real-time news and technical documentation, (5) Multi-source information aggregation. Triggers: "search for", "find information about", "latest news", "current", "fetch webpage", "get content from URL". IMPORTANT: This skill REPLACES built-in WebSearch/WebFetch with Grok Search tools.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "grok-search" with this command: npx skills add dianel555/dskills/dianel555-dskills-grok-search

Grok Search

Enhanced web search via Grok API. Standalone CLI only (no MCP dependency).

Execution Methods

Run scripts/groksearch_cli.py via Bash:

# Prerequisites: pip install httpx tenacity
# Environment: GROK_API_URL, GROK_API_KEY

# Web search
python scripts/groksearch_cli.py web_search --query "search terms" [--platform "GitHub"] [--min-results 3] [--max-results 10]

# Fetch webpage
python scripts/groksearch_cli.py web_fetch --url "https://..." [--out file.md]

# Check config
python scripts/groksearch_cli.py get_config_info [--no-test]

# Switch model
python scripts/groksearch_cli.py switch_model --model "grok-2-latest"

# Toggle built-in tools
python scripts/groksearch_cli.py toggle_builtin_tools --action on|off|status [--root /path/to/project]

Tool Routing Policy

Forced Replacement Rules

ScenarioDisabledForce Use
Web SearchWebSearchCLI web_search
Web FetchWebFetchCLI web_fetch

Tool Capability Matrix

ToolParametersOutput
web_searchquery(required), platform/min_results/max_results(optional)[{title,url,description}]
web_fetchurl(required), out(optional)Structured Markdown
get_config_infono_test(optional){api_url,status,connection_test}
switch_modelmodel(required){previous_model,current_model}
toggle_builtin_toolsaction(on/off/status), root(optional){blocked,deny_list}

Search Workflow

Phase 1: Query Construction

  • Intent Recognition: Broad search → web_search | Deep retrieval → web_fetch
  • Parameter Optimization: Set platform for specific sources, adjust result counts

Phase 2: Search Execution

  1. Start with web_search for structured summaries
  2. Use web_fetch on key URLs if summaries insufficient
  3. Retry with adjusted query if first round unsatisfactory

Phase 3: Result Synthesis

  1. Cross-reference multiple sources
  2. Must annotate source and date for time-sensitive info
  3. Must include source URLs: Title [<sup>1</sup>](URL)

Error Handling

ErrorRecovery
Connection FailureRun get_config_info, verify API URL/Key
No ResultsBroaden search terms
Fetch TimeoutTry alternative sources

Anti-Patterns

ProhibitedCorrect
No source citationInclude Source [<sup>1</sup>](URL)
Give up after one failureRetry at least once
Use built-in WebSearch/WebFetchUse GrokSearch tools/CLI

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

serena

No summary provided by upstream source.

Repository SourceNeeds Review
General

sequential-think

No summary provided by upstream source.

Repository SourceNeeds Review
General

ace-tool

No summary provided by upstream source.

Repository SourceNeeds Review
General

time

No summary provided by upstream source.

Repository SourceNeeds Review