agentleFS
theRizwantheRizwan/FlagshipRouter/skills/flagshiprouter/SKILL.md

flagshiprouter

Skill231 starsChanged 57 days agoMITView on GitHub

Entry point for FlagshipRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions FlagshipRouter, FLAGSHIPROUTER_URL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability SKILL.md from the URLs below when needed.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 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.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All requests: ${FLAGSHIPROUTER_URL}/v1/...

    line 17
  2. Very specific:

    Use data[].id as model field in requests.

    line 33
  3. Very specific:

    When the user needs a specific capability, fetch that skill's SKILL.md from its raw URL:

    line 45

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

FlagshipRouter

Local/remote AI gateway exposing OpenAI-compatible REST. One key, many providers, auto-fallback.

Setup

export FLAGSHIPROUTER_URL="http://localhost:20128"      # or VPS / tunnel URL
export FLAGSHIPROUTER_KEY="sk-..."                      # from Dashboard → Keys (only if requireApiKey=true)

All requests: ${FLAGSHIPROUTER_URL}/v1/... with header Authorization: Bearer ${FLAGSHIPROUTER_KEY} (omit if auth disabled).

Verify: curl $FLAGSHIPROUTER_URL/api/health → {"ok":true}

Discover models

curl $FLAGSHIPROUTER_URL/v1/models                  # chat/LLM (default)
curl $FLAGSHIPROUTER_URL/v1/models/image            # image-gen
curl $FLAGSHIPROUTER_URL/v1/models/tts              # text-to-speech
curl $FLAGSHIPROUTER_URL/v1/models/embedding        # embeddings
curl $FLAGSHIPROUTER_URL/v1/models/web              # web search + fetch (entries have `kind` field)
curl $FLAGSHIPROUTER_URL/v1/models/stt              # speech-to-text
curl $FLAGSHIPROUTER_URL/v1/models/image-to-text    # vision

Use data[].id as model field in requests. Combos appear with owned_by:"combo".

Response shape:

{ "object": "list", "data": [
  { "id": "openai/gpt-5", "object": "model", "owned_by": "openai", "created": 1735000000 },
  { "id": "tavily/search", "object": "model", "kind": "webSearch", "owned_by": "tavily", "created": 1735000000 }
]}

Capability skills

When the user needs a specific capability, fetch that skill's SKILL.md from its raw URL:

Errors

  • 401 → set/refresh FLAGSHIPROUTER_KEY (Dashboard → Keys)
  • 400 Invalid model format → check model exists in /v1/models/<kind>
  • 503 All accounts unavailable → wait retry-after or add another provider account

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.