grok-search
Skill52 starsChanged 58 days agoMITView on GitHub
Use when the user explicitly asks to search the web, check latest/current facts, fetch a URL, or discover pages on a website. Do not use for local code search or stable offline knowledge unless the user asks for live web access.
8 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- dengyie/awesome-skillsedited, first seen Oct 1, 2026
- kaichen/agent-skillsettheir own version, first seen Sep 15, 2026
- Dianel555/DSkillstheir own version, first seen Sep 6, 2026
- TechNickAI/hermes-skillstheir own version, first seen Aug 19, 2026
- Autsunset/grok-searchtheir own version, first seen Jul 13, 2026
- yutakobayashidev/skillstheir own version, first seen Jun 1, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- dengyie/awesome-skills★ 4885% same
Wrote their own version · 7
- jikssha/openclaw-dae-skills★ 98same name
- Dianel555/DSkills★ 65same name
- Autsunset/grok-search★ 18same name
- JinchengGao-Infty/agent-loadout★ 3same name
- kaichen/agent-skillset★ 1same name
- yutakobayashidev/skills★ 1same name
- TechNickAI/hermes-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Run the fewest commands that answer the question.
- Very specific: line 33
No code-search operators (repo:, path:, language:).
- Distinctive: line 49
When citing decisive evidence, record date, model version, client, and login method.
- Distinctive: line 53
Every script prints one JSON object, also on failure (non-zero exit, stderr line).
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Grok Search
Node scripts for web search, URL fetch and site mapping. Run npm install once in {baseDir}, the directory of this SKILL.md.
Choose The Script
- URL given →
scripts/fetch.js. - Site named, URL unknown →
scripts/map.js, thenfetch.json the URLs you pick. - Current/latest information, or URL unknown →
scripts/search.js. - Question about the user's local machine → inspect local files first; search only to interpret them.
Run the fewest commands that answer the question; run independent sub-questions in parallel. Do not chain map → fetch → search.
Commands
{baseDir}/scripts/search.js "plain keywords"
{baseDir}/scripts/search.js --instructions "what to return, language, what to leave out" "plain keywords"
{baseDir}/scripts/search.js --responses-allowed-domains github.com "plain keywords"
{baseDir}/scripts/search.js --source x --x-from-date 2026-07-01 "what people say about ..."
{baseDir}/scripts/fetch.js https://example.com # --max-chars 50000 only for a deliberate deep read
{baseDir}/scripts/map.js https://docs.example.com --limit 20Query rules:
- The query is a keyword string that Tavily/Firecrawl search verbatim, so keep it short. Everything else (fields wanted, language, "quote and date only, no advice, say if not found") goes in
--instructions; only Grok sees it. A bag of keywords likeGPT Codex 1M 272k context windowmakes Grok invent background;codex context windowplus an instruction asking for the current limit does not. - No code-search operators (
repo:,path:,language:). Scope with--responses-allowed-domains; it restricts Grok, Tavily, and Firecrawl alike, and off-domain leftovers rank last. - One search per sub-question is usually enough; to check a claim, fetch its source instead of searching again. Search again only for a gap you can name. Do not carry the previous round's conclusion words into the keywords; for the same X handle, change the gap, not the phrasing.
Search Source
Default is web. --source x for what people are saying, a named account's posts, a thread, or a claim only circulating on X. --source both for a current event where reporting and reaction both matter. --source x cannot fall back to the web and turns Tavily/Firecrawl off (--extra N forces them).
- For "is it available now / current state" questions, start with
--x-from-date60–90 days back; widen only if empty. Old issues explain history, not the present. - X posts are personal statements: cite handle and date (both live in
answer.text, not the card), keep claims separate from confirmations, confirm facts at the official source. - Cost: when an X search reports
responses_tool_calls.totalabove 6, add--responses-parallel-tool-calls falsenext time: one call per turn, somax_turnscaps the count; below 6 it saves nothing. - Handle filters, dates, media flags, card fields:
references/x-search.md.
Fetch Cost
- X posts:
autotries Direct first (free, main post with date).--provider firecrawlonly for the thread or replies; about 30 credits per post. - Fetch only evidence that would change the conclusion: one or two URLs per turn, a representative post or two for experience reports, never re-fetch text you have. Reddit and YouTube return shells from every provider.
- When citing decisive evidence, record date, model version, client, and login method.
Reading Results
Every script prints one JSON object, also on failure (non-zero exit, stderr line).
error: readerror.message,error.code,diagnostics.provider_attempts. Change something before retrying (query,--provider,--model).DEADLINE_EXCEEDED: the whole command hit its time budget (default 240s,--deadline N).diagnostics.warningsanddiagnostics.provider_attemptssay which providers were skipped (e.g. Firecrawl in cooldown), failed, or produced content, and whether the relay served another model than requested.- Search:
answer.text, thensources.items(merged, max 12).source_typecitation= used in the answer,searched= only listed;opened: true= Grok read the page.sources.raw_pathalways points to the run record (full list, answer, tool calls); read it in chunks only when the cards are not enough. Checkdiagnostics.degraded,cost_usd, andsearch_budget(advisory budget vs. calls made). - Fetch:
content.text; ifcontent.truncated, readcontent.full_pathin chunks. stdout stays under 45KB whatever--max-charssays; a warning says when that cut the text.metadatahas title/author/published_at when the provider had them.diagnostics.run_pathis the run record. - Map:
urls; fetch the few you need.
Provider order, proxy, cooldown, config errors: references/providers.md. Multi-part or conflicting research: references/planning.md first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

