Back to Private agent search

Private agent search / Guide 5 of 6

Test and connect the agent

Run a real query, then tell your agent when to use the skill.

Test the script directly

bash

~/.openclaw/skills/searxng/search.sh "OpenClaw AI agent"

# Results should contain titles, URLs, and snippets.
# Live search results will differ between runs.

Connect the agent instructions

Add to your AGENTS.md or agent instructions so it knows to use the skill:

AGENTS.md addition

## Search

For web searches, prefer the SearXNG skill for privacy:

```bash
~/.openclaw/skills/searxng/search.sh "query"
```

Fall back to `web_search` tool only if SearXNG is unavailable.

It’s working if

A query returns titled links and snippets, and the agent can invoke your script using its configured tools.