web-search

Free unlimited web search via self-hosted SearXNG (aggregates Google, Bing, DuckDuckGo, Reddit, GitHub and 70+ more engines). Use whenever the user needs to search the web for anything — news, docs, code examples, prices, people, places — even if they just say "search for X" or "look up Y". Prefer this over paid APIs. Run setup.sh first if SearXNG is not running.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "web-search" with this command: npx skills add hachiman566/miao-skills/hachiman566-miao-skills-web-search

SearXNG Search Skill

Prerequisites: Run bash skills/searxng/scripts/setup.sh to auto-install and start SearXNG (Docker-based, idempotent — safe to re-run).

Searching

Query the local SearXNG instance via curl (preferred — WebFetch blocks localhost):

curl -s "http://localhost:8888/search?q=YOUR+QUERY&format=json"

Common variations:

# Target specific engines (reduces noise)
curl -s "http://localhost:8888/search?q=react+hooks&engines=google,bing&format=json"

# Filter by recency
curl -s "http://localhost:8888/search?q=openai+news&time_range=week&format=json"

# Chinese content
curl -s "http://localhost:8888/search?q=人工智能&engines=baidu,bing&lang=zh&format=json"

# Dev/code questions
curl -s "http://localhost:8888/search?q=rust+async+error&engines=stackoverflow,github&format=json"

Parse results with python (recommended):

curl -s "http://localhost:8888/search?q=YOUR+QUERY&format=json" | \
  python3 -c "import sys,json; data=json.load(sys.stdin); [print(f'- {r[\"title\"]}\n  {r[\"url\"]}\n  {r[\"content\"][:150]}') for r in data.get('results',[])[:5]]"

Parameters

ParameterDescriptionValues
qSearch queryURL-encoded string
enginesSpecific enginesgoogle,bing,duckduckgo,stackoverflow,github,baidu,...
langLanguagezh, en, all
pagenoPage number1, 2, ...
time_rangeRecency filterday, week, month, year
safesearchSafe search0, 1, 2

Best Practices

Read snippets before fetching pages. Each result has a content field with a relevant excerpt — this often contains the answer directly. Fetching full pages costs significantly more tokens, so only do it when the snippet isn't enough.

Limit to top 3–5 results. The first few results are almost always sufficient. More results mean more tokens without meaningfully better answers.

Target engines for the task. Narrowing to relevant engines reduces noise and speeds up results:

  • Code / dev: engines=stackoverflow,github
  • Chinese content: engines=baidu,bing&lang=zh
  • Recent events: append &time_range=week

If SearXNG is not running

Run the setup script first, then retry:

bash skills/web-search/scripts/setup.sh

Note on WebFetch

Do NOT use WebFetch for SearXNG — it blocks all local/private addresses (localhost, 127.0.0.1, 192.168.x.x, [::1], custom hosts entries) due to SSRF protection. Always use curl via Bash.

Notes

  • First request may be slow (engine warm-up)
  • For remote or production use, add authentication to your SearXNG instance

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

searxng

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

You.com Web search, research, and content extraction

Web search, research with citations, and content extraction for bash agents using curl and You.com's REST API. - MANDATORY TRIGGERS: You.com, youdotcom, YDC,...

Registry SourceRecently Updated
2.1K2Profile unavailable
Coding

You.com Web search, research, and content extraction

Web search, research with citations, and content extraction for bash agents using curl and You.com's REST API. - MANDATORY TRIGGERS: You.com, youdotcom, YDC,...

Registry SourceRecently Updated
1.1K0Profile unavailable
Coding

web-search

No summary provided by upstream source.

Repository SourceNeeds Review