searxng-config
Skill0 starsChanged 5 months agoMITView on GitHub
Configure SearXNG for self-hosted instances. Engine reliability table, minimal working config, and engine-by-engine diagnostics. Standalone — does not require Hermes.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- document-parserSkill
- hermes-web-search-debuggingSkill
- web-search-strategySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
After extensive testing on a self-hosted SearXNG instance (2026-07):
- Very specific: line 98
bing timeout: Default request_timeout: 3.0 is too low for bing.
- Very specific: line 100
secret_key in settings.yml: If using use_default_settings: true, any secret_key in your local settings.yml is ignored — SearXNG uses the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SearXNG Configuration Guide
When to load
- Setting up a new SearXNG instance
- web_search returns empty results from SearXNG
- Need to know which engines actually work on self-hosted instances
Engine Reliability Table
After extensive testing on a self-hosted SearXNG instance (2026-07):
| Engine | Status | Results | Action |
| bing | ✅ | ~10 | Enable. Needs timeout: 15.0. |
| mojeek | ✅ | ~9-10 | Enable. Independent index, rarely blocked. |
| brave | ❌ | 0 | Disable. Suspended: too many requests. Permanent ban on self-hosted. |
| duckduckgo | ❌ | 0 | Disable. CAPTCHA on all self-hosted instances. |
| startpage | ❌ | 0 | Disable. CAPTCHA on all self-hosted instances. |
| presearch | ❌ | 0 | Disable. Access denied. |
| qwant | ❌ | 0 | Disable. Access denied. |
| 🔒 | 0 | Requires Google Custom Search JSON API key (paid). | |
| wikipedia | ✅ | varies | Enable. Never CAPTCHA'd. |
| arxiv | ✅ | varies | Enable. Never CAPTCHA'd. |
| github | ✅ | varies | Enable. Never CAPTCHA'd. |
| stackoverflow | ✅ | varies | Enable. Never CAPTCHA'd. |
| docker hub | ✅ | varies | Enable. Never CAPTCHA'd. |
| wikidata | ✅ | varies | Enable. Never CAPTCHA'd. |
| bing images | ✅ | varies | Enable. |
| bing news | ✅ | varies | Enable. |
Key insight: brave, ddg, startpage, presearch, and qwant are universally blocked on self-hosted SearXNG. This is a business decision by these search providers, not a configuration bug. Do not waste time debugging them — disable and move on.
Minimal Working Config
Copy templates/settings.yml to docker-data/searxng/config/settings.yml.
It enables only: bing, mojeek, wikipedia, arxiv, github, docker hub, stackoverflow, wikidata, bing images, bing news.
Engine Diagnose Commands
Check which engines are responding
curl -s --max-time 30 "http://searxng-core:8080/search?q=test&format=json" | python3 -c "
import sys,json
d=json.load(sys.stdin)
print(f'Total results: {len(d.get(\"results\",[]))}')
print(f'Unresponsive engines: {d.get(\"unresponsive_engines\",[])}')
engines={}
for r in d.get('results',[]):
e=r.get('engine','?')
engines[e]=engines.get(e,0)+1
for e,c in sorted(engines.items()): print(f' {e}: {c}')
"From host (outside Docker):
curl -s "http://localhost:8085/search?q=test&format=json" | python3 -c "..."Test a single engine
curl -s --max-time 30 "http://searxng-core:8080/search?q=test&format=json&engines=mojeek" | python3 -c "
import sys,json
d=json.load(sys.stdin)
print(f'Results: {len(d.get(\"results\",[]))}')
print(f'Unresponsive: {d.get(\"unresponsive_engines\",[])}')
"After editing settings.yml
docker compose restart searxng-core
# Then verify:
curl -s --max-time 30 "http://searxng-core:8080/search?q=test&format=json" | python3 -c "..."Common Pitfalls
- JSON format disabled. SearXNG disables JSON output by default. Add
jsontosearch.formatsin settings.yml. - bing timeout. Default
request_timeout: 3.0is too low for bing. Setoutgoing.request_timeout: 10.0and per-enginetimeout: 15.0. - secret_key in settings.yml. If using
use_default_settings: true, anysecret_keyin your local settings.yml is ignored — SearXNG uses the one from the base config. Either remove it or use theSEARXNG_SECRETenv var. - Engine not in
engineslist.use_default_settings: truepulls in all default engines. You must explicitlydisabled: truethe ones you don't want. Our minimal config usesuse_default_settings: true+ explicit disables.
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.

