grok-search

grok-search is a skill for Claude Code, Codex from Dianel555/DSkills. It costs 125 tokens per session (1,758 once invoked), scanned A, original, MIT.

A command-line tool for web search, webpage retrieval, and website mapping through the Grok API, with optional Tavily sources. Website mapping lists a site's structure to a chosen depth.

In plain words
What is it for?
Use it for web research, fact-checking, current news or documentation, extracting a page, or mapping a documentation website.
Why use it?
It helps retrieve current information and page contents when built-in knowledge may be outdated or when a site needs to be explored systematically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for web research, fact-checking, current news or documentation, extracting a page, or mapping a documentation website.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dianel555/dskills/grok-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dianel555/DSkills --skill grok-search
Clone the repo
git clone --depth 1 https://github.com/Dianel555/DSkills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin grok-search — /plugin install grok-search after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for grok-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/dianel555/dskills/grok-search/github.svg)](https://agentmods.dev/skills/dianel555/dskills/grok-search)
Your own site
<a href="https://agentmods.dev/skills/dianel555/dskills/grok-search"><img src="https://agentmods.dev/badge/skills/dianel555/dskills/grok-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for grok-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/dianel555/dskills/grok-search"><img src="https://agentmods.dev/badge/skills/dianel555/dskills/grok-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.01758
Opus 5.5 $0.00050 $0.00703
Sonnet 5.5 $0.00025 $0.00352
Haiku 4.5 $0.00013 $0.00176

Measured 2mo ago against content hash 46dded4adbd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

grok-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/groksearch_cli.py, scripts/groksearch/__init__.py, scripts/groksearch/cli.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/grok-search/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Implementation Layout

  • scripts/groksearch_cli.py - CLI entrypoint and compatibility facade
  • scripts/groksearch/ - internal modules for config, HTTP retry, Grok provider, Tavily calls, formatting, and commands

Execution Methods

Run scripts/groksearch_cli.py via Bash:

# Prerequisites: pip install httpx tenacity
# Environment: GROK_API_URL, GROK_API_KEY (required); TAVILY_API_KEY (optional)

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

# Web search with Tavily extra sources (parallel + URL-deduplicated merge)
python scripts/groksearch_cli.py web_search --query "..." --extra-sources 5

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

# Fetch via Tavily extract endpoint
python scripts/groksearch_cli.py web_fetch --url "https://..." --via tavily

# Map a website's structure (Tavily)
python scripts/groksearch_cli.py web_map --url "https://docs.example.com" [--instructions "API only"] [--max-depth 2] [--max-breadth 20] [--limit 50] [--timeout 150]

# Crawl a website's pages with extraction (Tavily; own 100 RPM limit)
python scripts/groksearch_cli.py web_crawl --url "https://docs.example.com" [--instructions "API only"] [--max-depth 2] [--limit 50] [--select-paths "/docs/.*"] [--exclude-paths "/blog/.*"] [--timeout 150]

# Run a cited research task (Tavily; async submit + poll; own 20 RPM limit)
python scripts/groksearch_cli.py web_research --input "question to investigate" [--model mini|pro|auto] [--output-length short|standard|long] [--citation-format numbered|mla|apa|chicago] [--output-schema schema.json]

# 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]

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +8 lines 46dded4adbd3
  2. 2mo ago Changed · +20 lines 63aa5a11b228
  3. 3mo ago First seen · 100 lines · 125 tokens per session scan A 2693685d1085

Subscribe to this mod's changes

grok-search is a skill published in the GitHub repository Dianel555/DSkills (64 stars, last pushed 1mo ago), licensed MIT. It adds 125 tokens to every session and 1,758 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

grok-search compared with skills from other repositories

grok-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
grok-searchDianel555/DSkillsSkill641mo agoMITA125Claude Code, Codex
tryworld-kaiyanTryWorld2026/paper-algorithmSkill3518d agoMITA129Claude Code, Codex
tryworld-kouboTryWorld2026/paper-algorithmSkill3518d agoMITA190Codex
tryworld-paperTryWorld2026/paper-algorithmSkill3518d agoMITA215Codex
tryworld-topicsTryWorld2026/paper-algorithmSkill3518d agoMITA125Codex
geekx-gategeekjourneyx/geekx-skillsSkill231mo agoMITA155Claude Code, Codex
geekx-app-forgegeekjourneyx/geekx-skillsSkill231mo agoMITA93Claude Code, Codex