/grok-search:grok-searchfrom grok-search
This skill should be used when grok-search needs native MCP, a vaulted helper, or CLI.
Ships in grok-search. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Live web search, fetch, and site mapping. Production HTTP MCP: https://search.karldigi.dev/mcp.
Select the address using endpoint.md: preserve a saved address, otherwise use production, unless the operator explicitly supplies another. Reuse tools only for the selected address.
Check actual host capabilities and stop at the first matching route; do not use a global host-name preference:
grok-search MCP tools (web_search, get_sources, …) are available. On desktop Claude/Grok/Codex/Cursor plugin hosts, consult first-run.md desktop readiness before the first plan_* / web_search. Then use connector mode: plan_* then web_search. Ignore leftover grok-search-http; it is not a fallback. Never dual-call it or write host MCP files.plan_*. Do not restore a retired CLI.grok-search at the selected address with no custom headers; finish the in-thread Added / authorize card with the operator. Secrets stay in the host UI, never in chat. Then return to step 1.https://github.com/karlorz/agent-skills at skills/grok-search, copy skills/grok-search/skills/grok-search into one host skill directory, or reuse the existing unit. Run node scripts/grok-search.cjs from that directory. On auth_required, run auth-start --agent-id <short host label> (kimi, cue, muse, doubao, …), reply with approveUrl only, and loop auth-status in the same turn until authenticated, respecting intervalSeconds and stopping at expiresAt or a terminal error. Each invocation makes one bounded check. Never print the token or poll secret; never write mcp.json / config.toml.Init smoke: Make one tiny search: native plan_* then web_search, Muse helper web_search directly, or CLI node scripts/grok-search.cjs search --query "Node.js official documentation". Verify usable content and sources before claiming readiness.
Host exceptions and setup details: first-run.md. CLI options and auth polling: cli-contract.md, auth-contract.md.
From the installed skill directory:
node scripts/grok-search.cjs search --query "..."
node scripts/grok-search.cjs fetch --url "https://..."
node scripts/grok-search.cjs map --url "https://..."
Plan locally before search: plan_intent, plan_complexity, plan_sub_query, plan_search_term, plan_execution. Do not invoke server planning tools in CLI mode.
Pass --invite-code <code> on auth-start only when the operator supplied one.
Muse helpers use their allowlisted workflow, not server planning tools. Native tools: before every web_search:
plan_intent.plan_complexity.plan_sub_query for each sub-query.plan_search_term, plan_tool_mapping, and plan_execution in the order described by the tools.web_search. Leave extra_sources at default unless the user asks for extra hits.content == "" or content starting with upstream_error: / upstream_empty: as a failed search. Report the envelope, retry web_search once, then web_fetch. Do not tell the user the web had no hits.web_search returns a session_id and non-empty content, call get_sources.Use web_fetch for a specific URL. Use web_map to discover a site tree.
get_config_info is diagnostics only. Never display credentials. A healthy response names the remote streamable_http engine at the selected address and that the client needs no local GrokSearch stack. Loopback URLs, filesystem paths, credential fragments, and exception bodies in that diagnostic are a contract failure; do not repeat them. Call toggle_builtin_tools or switch_model only when asked.
Report safe search, fetch, and handshake error codes. Never repeat raw upstream diagnostics. An ambiguous transport failure must not trigger a duplicate paid search. Do not invent credentials or switch to another MCP server name.
references/auth-contract.md (opens in a new tab)references/cli-contract.md (opens in a new tab)references/connection-profile.json (opens in a new tab)references/endpoint.md (opens in a new tab)references/first-run.md (opens in a new tab)references/install.md (opens in a new tab)references/muse-connector.md (opens in a new tab)scripts/check-connection-profile.cjs (opens in a new tab)scripts/grok-search.cjs (opens in a new tab)scripts/lib/endpoint.cjs (opens in a new tab)scripts/lib/toqr.cjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub karlorz/agent-skills --plugin grok-search