Install
$ agentstack add skill-ichuan-skills-searxng-search ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
SearXNG Search
Use scripts/search.py to perform web searches and return structured results.
Configuration
Configuration is resolved in the following priority order:
- Environment variables (highest priority)
.envfile in the current working directory (auto-loaded if present)- Built-in defaults
| Env var | Purpose | Default | |-----------------|----------------------------------|--------------------------------| | SEARXNG_URL | Base URL of SearXNG instance | https://search.981234.xyz | | SEARXNG_TOKEN | Bearer token for auth (optional) | (empty = no auth header sent)|
Example .env:
SEARXNG_URL=https://search.example.com
SEARXNG_TOKEN=your-secret-token
Usage
# Basic search (uses defaults)
python3 scripts/search.py "query"
# Paginate or limit
python3 scripts/search.py "query" --page 2 --limit 5
# Custom instance with auth
SEARXNG_URL=https://my.instance.com SEARXNG_TOKEN=my-token python3 scripts/search.py "query"
Output format
NDJSON — one JSON object per line:
{"url": "https://example.com", "title": "Page Title", "snippet": "Relevant excerpt..."}
Workflow
- Run the script, capturing stdout.
- Parse NDJSON lines into a list of results.
- Present to the user as a numbered list of links with snippets.
- If the user wants more results, re-run with
--page Nor a higher--limit.
Notes
- Default limit is 10; one server page typically returns ~40 results.
- If
SEARXNG_TOKENis unset or empty, theAuthorizationheader is omitted (public instances). - Script exits with code 1 and prints to stderr on HTTP or network failure.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ichuan
- Source: ichuan/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.