Agent skill

Routerbase API Integration

by aiskillstore in aiskillstore/marketplace

Integrate applications with RouterBase, the OpenAI-compatible model gateway at https://routerbase.com/v1.

No licenceAuto-check passedAI & LLM Engineering

Install Routerbase API Integration

skills CLI
$ npx skills add aiskillstore/marketplace --skill routerbase-api-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace routerbase-api-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/zenlee123/routerbase-api-integration .claude/skills/routerbase-api-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
routerbase-api-integration
GitHub stars
430
Token cost
~964 tokens
SKILL.md length
318 words
Files
4 (incl. references)
Skills in repo
1,085
Repo updated
First seen
Licence
None found

At a glance

Integrate applications with RouterBase, the OpenAI-compatible model gateway at https://routerbase.com/v1.

  • Works in 6 steps: Identify whether the user is asking for… → Keep credentials out of client/browser… → Reuse the user's existing… → …
  • Migrating OpenAI SDK calls to RouterBase
  • SKILL.md covers Overview, Integration Workflow, Common Patterns and Implementation Guardrails, plus 1 more section
  • Calls curl; reaches routerbase.com; needs ROUTERBASE_API_KEY

What it does

Routerbase API Integration is an agent skill from aiskillstore/marketplace. Integrate applications with RouterBase, the OpenAI-compatible model gateway at https://routerbase.com/v1. Use when migrating OpenAI SDK calls to RouterBase, configuring RouterBase API keys, implementing chat completions, streaming, tool calling, JSON mode, vision inputs, request validation, error handling, or documenting RouterBase setup for Python, JavaScript, curl, LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, or other OpenAI-compatible clients.

Its SKILL.md is about 960 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml`, `references/routerbase-api.md` and `skill-report.json`).

It sits in AI & LLM Engineering, covering Structured output and tool calling, LLM API integration and Third-party API integration. It works with OpenAI, JavaScript, Python and LangChain. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified.

When your agent uses it

  • Migrating OpenAI SDK calls to RouterBase
  • Configuring RouterBase API keys
  • Implementing chat completions
  • Request validation

Example prompts

  • “/routerbase-api-integration”

Requirements

  • Python 3
  • A credential in ROUTERBASE_API_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify whether the user is asking for migration, a new integration, debugging, or documentation.
  2. Keep credentials out of client/browser code. Prefer ROUTERBASE_API_KEY in server-side environment configuration.
  3. Reuse the user's existing OpenAI-compatible client when possible. Change the base URL to https://routerbase.com/v1, then swap the model to…
  4. Preserve standard OpenAI request shapes unless RouterBase docs or the selected model require a model-specific field.
  5. For model IDs, use the live model catalog when an API key is available; otherwise use documented examples only as a starting point and…
  6. Add a minimal smoke test, but do not run it unless credentials are present and the user expects a live API call.

What it can do on your machine

Read from SKILL.md and the folder at commit 4ac52da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • routerbase.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ROUTERBASE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Routerbase API Integration loads about 964 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 122 tokens; SKILL.md has 318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~964
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 318 words (~964 tokens).

“Use routerbase as an OpenAI-compatible gateway for GPT, Claude, Gemini, and other supported models. This skill helps agents migrate existing OpenAI-compatible code, keep API keys server-side, and produce concise, testable RouterBase integration snippets.”

— opening of SKILL.md by aiskillstore
name
routerbase-api-integration

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/zenlee123/routerbase-api-integration of aiskillstore/marketplace.

  • SKILL.md
  • agents/openai.yaml
  • references/routerbase-api.md
  • skill-report.json

Open the folder on GitHubat commit 4ac52da

Compare with similar skills

Routerbase API Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Routerbase API Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Routerbase API Integration this skillaiskillstore/marketplace430—~964Automated safety check: PassNone
Sap Cloud SDK AIsecondsky/sap-skills460—~3.2kAutomated safety check: PassGPL-3.0
Sap Cloud SDK AI Pythonsecondsky/sap-skills460—~3.8kAutomated safety check: PassGPL-3.0
Upgrade Stripekanchengw/cnllm1754 repos~1.4kAutomated safety check: PassApache-2.0
Tool Designagentailor/fullstack-langgraph-nextjs-agent132—~3.2kAutomated safety check: PassMIT
Phoenix Integration SnippetsArize-ai/phoenix12k—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Sap Cloud SDK AI

    secondsky/sap-skills

    Integrates SAP Cloud SDK for AI into JavaScript/TypeScript and Java applications.

    460 GitHub stars~3.2k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Sap Cloud SDK AI Python

    secondsky/sap-skills

    Integrates the SAP Cloud SDK for AI for Python (sap-ai-sdk-gen, formerly generative-ai-hub-sdk) into Python applications.

    460 GitHub stars~3.8k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Upgrade Stripe

    kanchengw/cnllm

    Guide for upgrading Stripe API versions and SDKs. An agent skill from kanchengw/cnllm.

    175 GitHub starsUsed in 4 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Tool Design

    agentailor/fullstack-langgraph-nextjs-agent

    Design and verify tools that AI agents can actually use — for any framework or language (MCP servers, LangChain/LangGraph, function-calling, raw JSON schema; TypeScript, Python, or otherwise).

    132 GitHub stars~3.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Generates onboarding code snippets for Phoenix tracing integrations and wires them into the project onboarding UI.

    12k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Langfuse

    majiayu000/claude-skill-registry

    Expert in Langfuse - the open-source LLM observability platform.

    666 GitHub starsUsed in 3 repos~3.1k tokens
    AI & LLM EngineeringAuto-check passed

More from aiskillstore/marketplace

All 1,085 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    430 GitHub starsUsed in 2 repos~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    430 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    430 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    430 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Investigating Codebases

    aiskillstore/marketplace

    Automatically activated when user asks how something works, wants to understand unfamiliar code, needs to explore a new codebase, or asks questions like "where is X implemented?", "how does Y…

    430 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check: notes

Questions about Routerbase API Integration

What does Routerbase API Integration do?

Integrate applications with RouterBase, the OpenAI-compatible model gateway at https://routerbase.com/v1. Routerbase API Integration is an agent skill from aiskillstore/marketplace.com/v1.

When should I use Routerbase API Integration?

Routerbase API Integration fits situations like: migrating OpenAI SDK calls to RouterBase; configuring RouterBase API keys; implementing chat completions; request validation.

How do I install Routerbase API Integration in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill routerbase-api-integration -a claude-code`. Or copy the skill folder (skills/zenlee123/routerbase-api-integration in aiskillstore/marketplace) into .claude/skills/routerbase-api-integration in your project. Claude Code loads it when a task matches its description.

How do I install Routerbase API Integration in Codex?

Run `npx skills add aiskillstore/marketplace --skill routerbase-api-integration -a codex`. Or copy the skill folder (skills/zenlee123/routerbase-api-integration in aiskillstore/marketplace) into .agents/skills/routerbase-api-integration in your project. Codex loads it when a task matches its description.

Can I use Routerbase API Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill routerbase-api-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/routerbase-api-integration, .gemini/skills/routerbase-api-integration, .github/skills/routerbase-api-integration and .opencode/skills/routerbase-api-integration in your project.

What does Routerbase API Integration need to run?

Going by SKILL.md and its folder, Routerbase API Integration needs the command-line tools its instructions call (curl) and credentials named ROUTERBASE_API_KEY. Our summary lists: Python 3; A credential in ROUTERBASE_API_KEY.

Does Routerbase API Integration access the network?

SKILL.md names 1 domain. In commands or code: routerbase.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Routerbase API Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Routerbase API Integration use?

No licence was found for Routerbase API Integration or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Routerbase API Integration use?

About 964 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 773 tokens, read only when the agent opens those files.

What are the alternatives to Routerbase API Integration?

Skills that share tags, products or a category with Routerbase API Integration: Sap Cloud SDK AI (secondsky/sap-skills, 460 stars), Sap Cloud SDK AI Python (secondsky/sap-skills, 460 stars), Upgrade Stripe (kanchengw/cnllm, 175 stars) and Tool Design (agentailor/fullstack-langgraph-nextjs-agent, 132 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Routerbase API Integration?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 430 GitHub stars. The repository holds 1,085 skills in this directory. The repository was last updated on October 7, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.