grok-search

grok-search is a skill for Claude Code, Codex from Dianel555/DSkills. It costs 125 tokens per session (1,092 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,092 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.01092
Opus 5 $0.00063 $0.00546
Sonnet 5 $0.00025 $0.00218
Haiku 4.5 $0.00013 $0.00109

Measured 11d ago against content hash 2693685d1085, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d ago.

The scan reads SKILL.md. This mod also ships 12 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 · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 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]

# 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), extra_sources(int, 0=disabled) [{title,url,description,provider?}]
web_fetch url(required), out(optional), via(grok|tavily, default grok) Structured Markdown
web_map url(required), instructions/max_depth/max_breadth/limit/timeout(optional) {base_url,results,response_time} JSON
get_config_info no_test(optional) {api_url,status,connection_test,tavily_*}
switch_model model(required) {previous_model,current_model}
toggle_builtin_tools action(on/off/status), root(optional) {blocked,deny_list}

Read the full file on GitHub · 100 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. 11d 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 yesterday), licensed MIT. It adds 125 tokens to every session and 1,092 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

geekx-gate

A review framework for deciding whether an engineering idea or technical commitment is necessary, too broad, or premature. It examines the real problem, complexity, evidence, non-goals, and ease of reversal.

geekjourneyx/geekx-skills · 155 tokens

geekx-engineering

A set of engineering instructions for making substantial changes in an existing codebase. It emphasizes understanding the affected system, keeping a persistent plan, and recording decisions and evidence.

geekjourneyx/geekx-skills · 59 tokens

casely

Virtual QA Lead that turns requirement documents into review-ready, TestRail-importable test cases in one conversation — no commands to memorize. Use this skill whenever the user has requirements, a spec, a user story, or acceptance criteria (PDF, DOCX, XLSX, TXT, MD, or pasted text) and wants test cases, a test plan…

JohnWayneeee/casely-qa-skill · 233 tokens

geekx-grilling

A questioning workflow for pressure-testing plans, decisions, requirements, and proposed solutions. It asks one important question at a time and uses the answers to clarify facts, choices, dependencies, scope, and exclusions.

geekjourneyx/geekx-skills · 95 tokens

battle-tested-engineer

Engineering judgment for code write/refactor/test and frontend UI. Trigger on code review, legacy cleanup, tests, UI with data, bloat/over-engineer complaints — even with no explicit mention, before any diff/rewrite/test suite. Output ultra-terse caveman style; code, commits, PR desc, security warnings stay normal…

sayeed1999/agent-skills · 74 tokens

tryworld-paper

A workflow for turning a Chinese voiceover script and optional images into a branded 16:9 AI-knowledge video in the “Paper Algorithm” style.

TryWorld2026/paper-algorithm · 215 tokens