# Send SearXNG Self-Host to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "searxng-selfhost",
    "name": "SearXNG Self-Host",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/saikatkumardey/searxng-selfhost",
    "canonicalUrl": "https://clawhub.ai/saikatkumardey/searxng-selfhost",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/searxng-selfhost",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=searxng-selfhost",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/usage.md",
      "scripts/install_searxng.sh",
      "scripts/search.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "searxng-selfhost",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-08T13:44:14.467Z",
      "expiresAt": "2026-05-15T13:44:14.467Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=searxng-selfhost",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=searxng-selfhost",
        "contentDisposition": "attachment; filename=\"searxng-selfhost-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "searxng-selfhost"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/searxng-selfhost"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/searxng-selfhost",
    "downloadUrl": "https://openagent3.xyz/downloads/searxng-selfhost",
    "agentUrl": "https://openagent3.xyz/skills/searxng-selfhost/agent",
    "manifestUrl": "https://openagent3.xyz/skills/searxng-selfhost/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/searxng-selfhost/agent.md"
  }
}
```
## Documentation

### SearXNG

SearXNG is a self-hosted search aggregator that queries Google, Bing, Brave, Startpage, DuckDuckGo, and Wikipedia simultaneously. No API keys required. Results returned as JSON.

### Quick start (already installed)

python3 scripts/search.py "your query"             # human-readable
python3 scripts/search.py "your query" --json      # JSON (for parsing)
python3 scripts/search.py "query" --count 5 --json # limit + JSON

Place search.py anywhere convenient — typically tools/search.py in the workspace.

For detailed usage patterns and service management: see references/usage.md.

### Installation (new instance)

Run as root on Ubuntu 22.04/24.04:

bash scripts/install_searxng.sh

This installs SearXNG, creates a searxng system user, writes /etc/searxng/settings.yml, and starts a systemd service on http://127.0.0.1:8888.

Verify:

curl 'http://127.0.0.1:8888/search?q=test&format=json' | python3 -m json.tool | head -20
systemctl status searxng

### Connecting search.py to the instance

search.py targets http://127.0.0.1:8888 by default. If the port differs, update SEARXNG_URL at the top of the script.

### Fallback

If SearXNG is down, search.py falls back to Wikipedia + GitHub APIs automatically. No action needed — results still return, just from narrower sources.

### Troubleshooting

SymptomFix[SearXNG unavailable] in stderrsystemctl restart searxngPort conflict on 8888Change port: in /etc/searxng/settings.yml + update SEARXNG_URL in scriptEmpty results from all enginesCheck /etc/searxng/settings.yml engines block; restart serviceConnection refusedService not running — systemctl start searxng
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: saikatkumardey
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-08T13:44:14.467Z
- Expires at: 2026-05-15T13:44:14.467Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/searxng-selfhost)
- [Send to Agent page](https://openagent3.xyz/skills/searxng-selfhost/agent)
- [JSON manifest](https://openagent3.xyz/skills/searxng-selfhost/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/searxng-selfhost/agent.md)
- [Download page](https://openagent3.xyz/downloads/searxng-selfhost)