routerbase-api-integration

routerbase-api-integration is a skill for Claude Code, Codex from YangsonHung/awesome-agent-skills. It costs 32 tokens per session (378 once invoked), scanned A, original, MIT.

Instructions for connecting an application to RouterBase, an OpenAI-compatible gateway for sending requests to AI models.

In plain words
What is it for?
Use them when migrating an SDK connection, configuring RouterBase’s base URL, or adding streaming, tool calling, JSON, or image requests.
Why use it?
They help with the connection details, request options, validation, errors, and safe handling of API keys.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use them when migrating an SDK connection, configuring RouterBase’s base URL, or adding streaming, tool calling, JSON, or image requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangsonhung/awesome-agent-skills/routerbase-api-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YangsonHung/awesome-agent-skills --skill routerbase-api-integration
Clone the repo
git clone --depth 1 https://github.com/YangsonHung/awesome-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for routerbase-api-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration/github.svg)](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration)
Your own site
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for routerbase-api-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/routerbase-api-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00378
Opus 5 $0.00016 $0.00189
Sonnet 5 $0.00006 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 9d ago against content hash 54b225d36068, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

routerbase-api-integration scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Writing concise RouterBase integration examples for Python, JavaScript, curl, LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, or similar clients
skills/en/routerbase-api-integration/SKILL.md · 36 lines

What it actually says

RouterBase API Integration

Overview

Integrate applications with routerbase as an OpenAI-compatible model gateway. This skill covers SDK migration, base URL configuration, streaming, tool calling, JSON mode, vision inputs, request validation, error handling, and safe credential handling.

When to Use

Use this skill when the user asks for:

  • Migrating OpenAI-compatible SDK calls to RouterBase
  • Setting base_url or baseURL to https://routerbase.com/v1
  • Configuring RouterBase API keys without exposing secrets
  • Implementing chat completions, streaming, tool calling, JSON mode, or vision inputs
  • Writing concise RouterBase integration examples for Python, JavaScript, curl, LangChain, LlamaIndex, Vercel AI SDK, Cursor, Continue, or similar clients

Do not use

Do not use this skill for:

  • Publishing, logging, or storing real API keys
  • Guessing provider-specific behavior that is not documented by the user or upstream docs
  • Rewriting a working provider integration when the user only needs model selection guidance

Instructions

  1. Identify the user's current client, language, model ID, and deployment environment.
  2. Keep the existing OpenAI-compatible SDK when possible; change only the base URL, model, and local secret configuration.
  3. Use placeholders such as <ROUTERBASE_API_KEY> in examples.
  4. Keep credentials server-side and out of git.
  5. Prefer a small test request before suggesting broad application changes.
  6. Include a verification checklist with expected status code, response shape, timeout handling, and redaction requirements.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 36 lines · 32 tokens per session scan A 54b225d36068

Subscribe to this mod's changes

routerbase-api-integration is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 378 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

houtu-dependencies

Skill "houtu-dependencies" from lujiafa/houtu-project-skills, covering houtu framework — ai agent coding guide, core principles, code generation workflow (must be executed in order), step 1 — detect version & dependencies and step 2 — identify scenario & select module.

lujiafa/houtu-project-skills · 283 tokens

ag-ui

React hook that connects an AG-UI protocol agent endpoint to reachat. Returns the props needed by plus session helpers, and streams responses via SSE (text/event-stream).

reaviz/skills · 0 tokens

add-matrix

Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.

nanocoai/nanoclaw · 19 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens

django-storages-s3

Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…

Jeffallan/claude-skills · 138 tokens

sns

AWS SNS notification service for pub/sub messaging. Use when creating topics, managing subscriptions, configuring message filtering, sending notifications, or setting up mobile push.

itsmostafa/aws-agent-skills · 32 tokens