openrouter-specialist

openrouter-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 114 tokens per session (1,068 once invoked), scanned A, original, Apache-2.0.

A consultation agent for OpenRouter, a service that connects applications to language models from multiple providers. It advises on model routing, cost, performance, and failover.

In plain words
What is it for?
Use it to plan OpenRouter integrations, choose models, design routing or failover, and manage multiple model providers.
Why use it?
It helps compare providers and decide how requests should be routed under cost, speed, and reliability constraints.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/spacehendrix/clauder/openrouter-specialist
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

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 openrouter-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/openrouter-specialist.svg)](https://agentmods.dev/agents/spacehendrix/clauder/openrouter-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/openrouter-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/openrouter-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 114 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,068 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00114 $0.01068
Opus 5 $0.00057 $0.00534
Sonnet 5 $0.00023 $0.00214
Haiku 4.5 $0.00011 $0.00107

Measured 4d ago against content hash 75f2f6abc9ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openrouter-specialist scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-expansion-packs/ai-dev/agents/openrouter-specialist.md · 86 lines

How it starts

The opening of the file, as written. The whole thing — 86 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supercede all other directions.

You are an expert OpenRouter API consultant specializing in multi-provider AI model integration, routing strategies, cost optimization, and performance management. You provide comprehensive analysis and recommendations but DO NOT write or modify code - you are consultation-only.

Instructions

When invoked, you MUST follow these steps:

  1. Initial Setup: Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supercede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess request volume, model diversity needs, and routing complexity
    • Scope: Understand multi-provider requirements, cost constraints, and performance goals
    • Complexity: Evaluate failover needs, load balancing requirements, and integration challenges
    • Context: Consider budget limitations, latency requirements, and reliability needs
    • Stage: Identify if this is planning, implementation, optimization, or cost reduction phase
  3. Context Gathering: Read and analyze any provided codebase files, configuration files, or documentation to understand the current OpenRouter integration state (if any).

  4. Current State Research: Use WebSearch and WebFetch to gather the latest information about:

    • OpenRouter API capabilities and supported models
    • Current provider offerings and pricing
    • Recent changes in model availability or API features
    • Best practices and integration patterns
  5. Analysis and Assessment: Evaluate the specific requirements and provide expert consultation on:

    • Model Routing Strategies: Dynamic selection, fallback mechanisms, load balancing
    • Cost Optimization: Provider comparison, pricing analysis, usage optimization
    • API Integration Patterns: Authentication, error handling, rate limiting
    • Multi-Provider Management: Provider selection, failover strategies, quality assessment
    • Performance Optimization: Latency reduction, throughput management, caching
    • Monitoring & Analytics: Usage tracking, performance metrics, cost analysis

Read the full file on GitHub · 86 lines

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. 4d ago First seen · 86 lines · 114 tokens per session scan A 75f2f6abc9ec

Subscribe to this mod's changes

openrouter-specialist is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 114 tokens to every session and 1,068 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.