File contents 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
Scenario
Disabled
Force Use
Web Search
WebSearch
CLI web_search
Web Fetch
WebFetch
CLI web_fetch
Tool Capability Matrix
Tool
Parameters
Output
web_search
query(required), platform/min_results/max_results(optional)
[{title,url,description}]
web_fetch
url(required), out(optional)
Structured Markdown
get_config_info
no_test(optional)
{api_url,status,connection_test}
switch_model
model(required)
{previous_model,current_model}
toggle_builtin_tools
action(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
Start with web_search for structured summaries
Use web_fetch on key URLs if summaries insufficient
Retry with adjusted query if first round unsatisfactory
Phase 3: Result Synthesis
Cross-reference multiple sources
Must annotate source and date for time-sensitive info
Must include source URLs : Title [<sup>1</sup>](URL)
Error Handling
Error
Recovery
Connection Failure
Run get_config_info, verify API URL/Key
No Results
Broaden search terms
Fetch Timeout
Try alternative sources
Anti-Patterns
Prohibited
Correct
No source citation
Include Source [<sup>1</sup>](URL)
Give up after one failure
Retry at least once
Use built-in WebSearch/WebFetch
Use GrokSearch tools/CLI
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1 --- 2 name: dianel555-dskills-grok-search 3 description: Grok Search 4 --- 5 6 # Grok Search 7 8 Enhanced web search via Grok API. Standalone CLI only (no MCP dependency). 9 10 ## Execution Methods 11 12 Run `scripts/groksearch_cli.py` via Bash: 13 14 ```bash 15 # Prerequisites: pip install httpx tenacity 16 # Environment: GROK_API_URL, GROK_API_KEY 17 18 # Web search 19 python scripts/groksearch_cli.py web_search --query "search terms" [--platform "GitHub"] [--min-results 3] [--max-results 10] 20 21 # Fetch webpage 22 python scripts/groksearch_cli.py web_fetch --url "https://..." [--out file.md] 23 24 # Check config 25 python scripts/groksearch_cli.py get_config_info [--no-test] 26 27 # Switch model 28 python scripts/groksearch_cli.py switch_model --model "grok-2-latest" 29 30 # Toggle built-in tools 31 python scripts/groksearch_cli.py toggle_builtin_tools --action on|off|status [--root /path/to/project] 32 ``` 33 34 ## Tool Routing Policy 35 36 ### Forced Replacement Rules 37 38 | Scenario | Disabled | Force Use | 39 |----------|----------|-----------| 40 | Web Search | `WebSearch` | CLI `web_search` | 41 | Web Fetch | `WebFetch` | CLI `web_fetch` | 42 43 ### Tool Capability Matrix 44 45 | Tool | Parameters | Output | 46 |------|------------|--------| 47 | `web_search` | `query`(required), `platform`/`min_results`/`max_results`(optional) | `[{title,url,description}]` | 48 | `web_fetch` | `url`(required), `out`(optional) | Structured Markdown | 49 | `get_config_info` | `no_test`(optional) | `{api_url,status,connection_test}` | 50 | `switch_model` | `model`(required) | `{previous_model,current_model}` | 51 | `toggle_builtin_tools` | `action`(on/off/status), `root`(optional) | `{blocked,deny_list}` | 52 53 ## Search Workflow 54 55 ### Phase 1: Query Construction 56 - **Intent Recognition**: Broad search → `web_search` | Deep retrieval → `web_fetch` 57 - **Parameter Optimization**: Set `platform` for specific sources, adjust result counts 58 59 ### Phase 2: Search Execution 60 1. Start with `web_search` for structured summaries 61 2. Use `web_fetch` on key URLs if summaries insufficient 62 3. Retry with adjusted query if first round unsatisfactory 63 64 ### Phase 3: Result Synthesis 65 1. Cross-reference multiple sources 66 2. **Must annotate source and date** for time-sensitive info 67 3. **Must include source URLs**: `Title [<sup>1</sup>](URL)` 68 69 ## Error Handling 70 71 | Error | Recovery | 72 |-------|----------| 73 | Connection Failure | Run `get_config_info`, verify API URL/Key | 74 | No Results | Broaden search terms | 75 | Fetch Timeout | Try alternative sources | 76 77 ## Anti-Patterns 78 79 | Prohibited | Correct | 80 |------------|---------| 81 | No source citation | Include `Source [<sup>1</sup>](URL)` | 82 | Give up after one failure | Retry at least once | 83 | Use built-in WebSearch/WebFetch | Use GrokSearch tools/CLI | 84 85 --- 86 > Converted and distributed by [TomeVault](https://tomevault.io/claim/dianel555) — claim your Tome and manage your conversions. 87 <!-- tomevault:4.0:skill_md:2026-04-11 -->
tomevault-io/skills-registry/tree/main/dianel555--dskills--grok-search commit a4e1132e70
Frequently asked questions How do I install the Dianel555 Dskills Grok Search skill? Run npx skillmds@latest add tomevault-io/dianel555-dskills-grok-search in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Dianel555 Dskills Grok Search skill do? Grok Search It is listed under Coding & Dev Tools on SkillMD.
Is Dianel555 Dskills Grok Search safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Dianel555 Dskills Grok Search? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Dianel555 Dskills Grok Search free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Dianel555 Dskills Grok Search? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.