searxng-search
하는 일
이 스킬은 AI가 여러 엔진에서 결과를 모으는 검색 도구 SearXNG로 웹을 검색하게 합니다. 유료 키 없이 무료이고 개인정보 보호에 좋은 검색을 원하는 사람을 위한 것입니다.
사용하는 경우
- ✓웹을 검색하고 싶고 SearXNG 주소가 설정되어 있을 때.
- ✓기본 웹 검색이 설정되지 않아 무료 대안을 원할 때.
- ✓하나의 질의로 여러 엔진을 동시에 검색하고 싶을 때.
스킬 링크
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/research/searxng-search/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“히트펌프 설치 비용에 관한 최근 기사를 검색해서 가장 좋은 다섯 개를 나열해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 SearXNG 주소로 curl을 써서 검색 요청을 보내고, JSON 형식으로 결과를 읽습니다. 주소가 없거나 응답하지 않으면 AI는 다른 검색 도구를 씁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
SearXNG Search
Free meta-search using SearXNG — a privacy-respecting, self-hosted search aggregator that queries 70+ search engines simultaneously.
No API key required when using a public instance. Can also be self-hosted for full control. Automatically appears as a fallback when the main web search toolset (FIRECRAWL_API_KEY) is not configured.
Configuration
SearXNG requires a SEARXNG_URL environment variable pointing to your SearXNG instance:
# Public instances (no setup required)
SEARXNG_URL=https://searxng.example.com
# Self-hosted SearXNG
SEARXNG_URL=http://localhost:8888
If no instance is configured, this skill is unavailable and the agent falls back to other search options.
Detection Flow
Check what is actually available before choosing an approach:
# Check if SEARXNG_URL is set and the instance is reachable
curl -s --max-time 5 "${SEARXNG_URL}/search?q=test&format=json" | head -c 200
Decision tree:
- If
SEARXNG_URLis set and the instance responds, use SearXNG - If
SEARXNG_URLis unset or unreachable, fall back to other available search tools - If the user wants SearXNG specifically, help them set up an instance or find a public one
Method 1: CLI via curl (Preferred)
Use curl via terminal to call the SearXNG JSON API. This avoids assuming any particular Python package is installed.
# Text search (JSON output)
curl -s --max-time 10 \
"${SEARXNG_URL}/search?q=python+async+programming&format=json&engines=google,bing&limit=10"
# With Safesearch off
curl -s --max-time 10 \
"${SEARXNG_URL}/search?q=example&format=json&safesearch=0"
# Specific categories (general, news, science, etc.)
curl -s --max-time 10 \
"${SEARXNG_URL}/search?q=AI+news&format=json&categories=news"
Common CLI Flags
| Flag | Description | Example |
|---|---|---|
q |
Query string (URL-encoded) | q=python+async |
format |
Output format: json, csv, rss |
format=json |
engines |
Comma-separated engine names | engines=google,bing,ddg |
limit |
Max results per engine (default 10) | limit=5 |
categories |
Filter by category | categories=news,science |
safesearch |
0=none, 1=moderate, 2=strict | safesearch=0 |
time_range |
Filter: day, week, month, year |
time_range=week |
Parsing JSON Results
# Extract titles and URLs from JSON
curl -s --max-time 10 "${SEARXNG_URL}/search?q=fastapi&format=json&limit=5" \
| python3 -c "
import json, sys
data = json.load(sys.stdin)
for r in data.get('results', []):
print(r.get('title',''))
print(r.get('url',''))
print(r.get('content','')[:200])
print()
"
Returns per result: title, url, content (snippet), engine, parsed_url, img_src, thumbnail, author, published_date
Method 2: Python API via requests
Use the SearXNG REST API directly from Python with the requests library:
import os, requests, urllib.parse
base_url = os.environ.get("SEARXNG_URL", "")
if not base_url:
raise RuntimeError("SEARXNG_URL is not set")
query = "fastapi deployment guide"
params = {
"q": query,
"format": "json",
"limit": 5,
"engines": "google,bing",
}
resp = requests.get(f"{base_url}/search", params=params, timeout=10)
resp.raise_for_status()
data = resp.json()
for r in data.get("results", []):
print(r["title"])
print(r["url"])
print(r.get("content", "")[:200])
print()
Self-Hosting SearXNG
To run your own SearXNG instance:
# Using Docker
docker run -d -p 8888:8080 \
-v $(pwd)/searxng:/etc/searxng \
searxng/searxng:latest
# Then set
SEARXNG_URL=http://localhost:8888
Or install via pip:
pip install searxng
# Edit /etc/searxng/settings.yml
searxng-run
Public SearXNG instances are available at:
https://searxng.example.com(replace with any public instance)
Workflow: Search then Extract
SearXNG returns titles, URLs, and snippets — not full page content. To get full page content, search first and then extract the most relevant URL with web_extract, browser tools, or curl.
# Search for relevant pages
curl -s "${SEARXNG_URL}/search?q=fastapi+deployment&format=json&limit=3"
# Output: list of results with titles and URLs
# Then extract the best URL with web_extract
Limitations
- Instance availability: If the SearXNG instance is down or unreachable, search fails. Always check `SEARXN
자주 묻는 질문
API 키가 필요한가요?
아니요. 스킬에 따르면 공개 SearXNG 인스턴스는 키가 필요 없지만 주소는 설정해야 합니다.
SearXNG가 다운되면 어떻게 하나요?
스킬은 인스턴스가 응답하지 않으면 AI가 다른 검색 도구로 대체해야 한다고 말합니다.
직접 SearXNG 서버를 운영할 수 있나요?
네. 스킬은 완전한 제어를 위해 SearXNG를 자체 호스팅할 수 있다고 말합니다.
상세 정보
인기도
- GitHub 스타
- 260k
- 순위
- #561
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-merge-conflict-arbiter
260k병렬로 작업한 두 에이전트 브랜치 사이의 git 병합 충돌을 중립적인 제3자로서 해결하고, 저장소에 하나의 병합 결과를 만듭니다.
antigravity-cli
260kAntigravity 명령줄 도구의 설치, 업데이트, 플러그인, 로그인, 샌드박스 문제를 해결하도록 단계별로 안내합니다.
blackbox
260k에이전트가 여러 AI 모델을 실행해 최선의 결과를 고르는 Blackbox AI 명령줄 도구에 코딩 작업을 맡기도록 돕습니다.
dynamic-workflow
260k많은 비슷한 작업을 저장된 스크립트로 실행하고, 검증된 결과만 메인 대화로 돌아오도록 에이전트에게 가르칩니다.