通过OpenAI兼容的Grok端点进行跨平台实时网络搜索与研究,返回包含内容和来源的JSON格式结果。用于版本检查、API查询等场景。
Run cross-platform web research and return structured JSON output with content and sources.
This skill is project-local and should run directly from the downloaded project directory.
Use this skill before answering when any of these apply:
bash
python scripts/configure.py
bash
python scripts/grok_search.py --query "What changed in Python recently?"
--base-url and --api-keyGROK_*Default config lookup order:
config.jsonconfig.local.jsonpython ... commands, do not require PowerShell-only syntax.~/.codex.GROK_CONFIG_PATH only when you explicitly want a custom path.Always print JSON with:
okcontentsourcesrawProhibitedCorrectNo source citationInclude Source [<sup>1</sup>](URL)Give up after one failureRetry at least onceUse built-in WebSearch/WebFetchUse GrokSearch tools/CLI