ask-search
Skill540 starsChanged 3 days agoMITView on GitHub
Web search via self-hosted SearxNG. Aggregates Google, Bing, DuckDuckGo, Brave. Returns title/url/snippet. Zero API key required. Optional Tavily backend via SEARCH_PROVIDER=tavily.
- Reads credentials
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
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
- Very specific: line 23
Run ask-search "topic" to get candidates
- Distinctive: line 24
Check snippet — if enough, answer directly
- Very specific: line 25
If snippet truncated, use web_fetch on the URL for full content
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
ask-search
Web search powered by SearxNG. Aggregates multiple search engines, no API key needed (optional Tavily backend).
Usage
ask-search "your query" # top 10 results
ask-search "query" --num 5 # limit results
ask-search "AI news" --categories news # news only
ask-search "query" --lang zh-CN # Chinese results
ask-search "query" --urls-only # URL list (pipe to web_fetch)
ask-search "query" --json # raw JSONAgent Workflow
- Run
ask-search "topic"to get candidates - Check snippet — if enough, answer directly
- If snippet truncated, use
web_fetchon the URL for full content
Parameters
| Flag | Short | Description |
--num N | -n | Max results (default 10) |
--engines | -e | google,bing,duckduckgo,brave |
--lang | -l | zh-CN, en, ja, ko |
--categories | -c | general,news,images,science |
--json | -j | Raw JSON output |
--urls-only | -u | URLs only |
Setup
Requires SearxNG running locally, with json in search.formats (the bundled searxng/ Docker Compose setup does this). Set SEARXNG_URL if not on default port 8080.
bash install.sh # installs the `ask-search` command (sudo, or: bash install.sh ~/.local/bin)Optional Tavily backend: SEARCH_PROVIDER=tavily + TAVILY_API_KEY (--engines/--lang/--categories are ignored in this mode).
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.

