9router-web-search
Skill4 starsChanged 2 months agoMITView on GitHub
Web and X search via 9Router /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity / Xquik. Use when the user wants to search the web, find articles, or search public X posts.
- Reads credentials
- Sends data out
3 other projects use a version of this, 2 of them edited; most edited versions we compared are an older text (1 of 2); 0 new projects in the last 4 weeks, against 1 the 4 before.
How people change it
Most projects run an older version: 1 of 2 add nothing and lack a rule this one has, most likely added since.
Of the 2 edited versions we compared: 1 keep every rule, 1 is an older text.
Not in older versions
- Add the Xquik API key in 9Router's provider settings. Xquik charges 1 credit per returned post. Continue a search by passing
pagination.next_cursorasprovider_options.cursor.missing from 1 of 1
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Cooling: 0 new projects took it in the last 4 weeks, 0× the 4 weeks before.thin data
Most recently taken up by
- luqman-v1/9router-goedited, first seen Nov 8, 2026
- decolua/9routerword for word, first seen Sep 21, 2026
- OTheMandaloriano/XRouteredited, first seen Aug 14, 2026
Other versions3 projects use a version of this.
Word for word · 1
- decolua/9router★ 33k100% same
Edited · 2
- luqman-v1/9router-go★ 30998% same
- OTheMandaloriano/XRouter★ 091% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- open-sse/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 9router-chatSkill
- 9router-embeddingsSkill
- 9router-imageSkill
- 9routerSkill
- 9router-sttSkill
- 9router-ttsSkill
- 9router-videoSkill
- 9router-web-fetchSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 61
Add the Xquik API key in 9Router's provider settings.
- Very specific: line 96
All accept query + max_results.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
9Router — Web Search
Requires NINEROUTER_URL (and NINEROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/decolua/9router/refs/heads/master/skills/9router/SKILL.md for setup.
Discover
curl $NINEROUTER_URL/v1/models/web | jq '.data[] | select(.kind=="webSearch") | .id'
# Per-provider params (searchTypes, maxResults, required options like cx for google-pse)
curl "$NINEROUTER_URL/v1/models/info?id=tavily/search"IDs end in /search (e.g. tavily/search). Combos (owned_by:"combo") chain providers with auto-fallback.
Endpoint
POST $NINEROUTER_URL/v1/search
| Field | Required | Notes |
model (or provider) | yes | from /v1/models/web (e.g. tavily or brave) |
query | yes | search query |
max_results | no | default 5 |
search_type | no | web (default) / news / x for Xquik |
country, language, time_range, domain_filter | no | provider-dependent |
Examples
curl -X POST $NINEROUTER_URL/v1/search \
-H "Authorization: Bearer $NINEROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tavily","query":"9Router open source","max_results":5}'JS:
const r = await fetch(`${process.env.NINEROUTER_URL}/v1/search`, {
method: "POST",
headers: { "Authorization": `Bearer ${process.env.NINEROUTER_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ model: "search-combo", query: "latest LLM benchmarks", max_results: 10 }),
});
console.log(await r.json());X search with Xquik:
curl -X POST $NINEROUTER_URL/v1/search \
-H "Authorization: Bearer $NINEROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"xquik","query":"from:github release","max_results":10,"provider_options":{"queryType":"Latest"}}'Add the Xquik API key in 9Router's provider settings. Xquik charges 1 credit per returned post. Continue a search by passing pagination.next_cursor as provider_options.cursor.
Xquik responses include provider pagination and credit usage:
{
"pagination": { "has_more": true, "next_cursor": "cursor-2" },
"usage": { "queries_used": 1, "search_cost_usd": null, "provider_credits_used": 10 }
}Response shape
{
"provider": "tavily",
"query": "9Router open source",
"results": [
{
"title": "...", "url": "https://...", "display_url": "github.com/...",
"snippet": "...", "position": 1, "score": 0.92,
"published_at": null, "favicon_url": null, "content": null,
"metadata": { "author": null, "language": null, "source_type": null, "image_url": null },
"citation": { "provider": "tavily", "retrieved_at": "2026-...", "rank": 1 }
}
],
"answer": null,
"usage": { "queries_used": 1, "search_cost_usd": 0.008 },
"metrics": { "response_time_ms": 850, "upstream_latency_ms": 700, "total_results_available": 12 },
"errors": []
}Provider quirks
All accept query + max_results. Optional fields vary:
| Provider | Supports | Required extras |
tavily | country, domain_filter, news topic | — |
exa | domain_filter (incl/excl), news category | — |
brave-search | country, language | — |
serper | country, language, news endpoint | — |
perplexity | country, language, domain_filter | — |
linkup | domain_filter, time_range | depth: fast/standard/deep (option) |
google-pse | country, language, time_range, offset | cx required (providerOptions) |
searchapi | country, language, pagination | — |
youcom | country, language, time_range, domain_filter, full_page | — |
searxng | language, time_range | Self-hosted, noAuth |
xquik | X/Twitter search operators, language, cursor pagination | queryType: Latest/Top, cursor (options) |
Provider IS the model — "provider":"tavily" ≡ "model":"tavily".
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.

