Flagshiprouter Web Search logo

Flagshiprouter Web Search

Community
theRizwan
flagshiprouter-web-search

Web and X search via FlagshipRouter /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.

Overview

PublishertheRizwan
RepositoryFlagshipRouter
Skill nameflagshiprouter-web-search
Stars
199
Forks
82
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by theRizwan on GitHub. Read the source before you install it.

Installation

Install the Flagshiprouter Web Search AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/theRizwan/FlagshipRouter/tree/main/skills/flagshiprouter-web-search
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/theRizwan/FlagshipRouter.git /tmp/FlagshipRouter
mkdir -p .claude/skills
cp -r /tmp/FlagshipRouter/skills/flagshiprouter-web-search .claude/skills/flagshiprouter-web-search
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Flagshiprouter Web Search in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Flagshiprouter Web Search on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Flagshiprouter Web Search is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

FlagshipRouter — Web Search

Requires FLAGSHIPROUTER_URL (and FLAGSHIPROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/theRizwan/FlagshipRouter/refs/heads/main/skills/flagshiprouter/SKILL.md for setup.

Discover

bash
curl $FLAGSHIPROUTER_URL/v1/models/web | jq '.data[] | select(.kind=="webSearch") | .id'
# Per-provider params (searchTypes, maxResults, required options like cx for google-pse)
curl "$FLAGSHIPROUTER_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 $FLAGSHIPROUTER_URL/v1/search

FieldRequiredNotes
model (or provider)yesfrom /v1/models/web (e.g. tavily or brave)
queryyessearch query
max_resultsnodefault 5
search_typenoweb (default) / news / x for Xquik
country, language, time_range, domain_filternoprovider-dependent

Examples

bash
curl -X POST $FLAGSHIPROUTER_URL/v1/search \
  -H "Authorization: Bearer $FLAGSHIPROUTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tavily","query":"FlagshipRouter open source","max_results":5}'

JS:

js
const r = await fetch(`${process.env.FLAGSHIPROUTER_URL}/v1/search`, {
  method: "POST",
  headers: { "Authorization": `Bearer ${process.env.FLAGSHIPROUTER_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:

bash
curl -X POST $FLAGSHIPROUTER_URL/v1/search \
  -H "Authorization: Bearer $FLAGSHIPROUTER_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 FlagshipRouter'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:

json
{
  "pagination": { "has_more": true, "next_cursor": "cursor-2" },
  "usage": { "queries_used": 1, "search_cost_usd": null, "provider_credits_used": 10 }
}

Response shape

json
{
  "provider": "tavily",
  "query": "FlagshipRouter 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:

ProviderSupportsRequired extras
tavilycountry, domain_filter, news topic—
exadomain_filter (incl/excl), news category—
brave-searchcountry, language—
serpercountry, language, news endpoint—
perplexitycountry, language, domain_filter—
linkupdomain_filter, time_rangedepth: fast/standard/deep (option)
google-psecountry, language, time_range, offsetcx required (providerOptions)
searchapicountry, language, pagination—
youcomcountry, language, time_range, domain_filter, full_page—
searxnglanguage, time_rangeSelf-hosted, noAuth
xquikX/Twitter search operators, language, cursor paginationqueryType: Latest/Top, cursor (options)

Provider IS the model — "provider":"tavily" ≡ "model":"tavily".

Frequently asked questions

What does the Flagshiprouter Web Search AI skill do?

Web and X search via FlagshipRouter /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.

Why use Flagshiprouter Web Search on TypingMind?

Because you install it once and use it with any model. Flagshiprouter Web Search is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Flagshiprouter Web Search in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/theRizwan/FlagshipRouter/tree/main/skills/flagshiprouter-web-search. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Flagshiprouter Web Search?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Flagshiprouter Web Search?

As many as you like. As long as a model supports skills, you can use Flagshiprouter Web Search with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Flagshiprouter Web Search AI skill free?

Yes. It is published on GitHub by theRizwan under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇