model-swap-skill

Enforce provider prefix formats for agent model selection commands.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/misunders2d/ori --skill model-swap-skill
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: model-swap-skill
Source: https://github.com/misunders2d/ori/tree/main/skills/model-swap-skill
Command: npx skills add https://github.com/misunders2d/ori --skill model-swap-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill defines and enforces consistent model naming across multiple providers to prevent misconfigured model selections.

Core Features & Use Cases

  • Supports provider-prefix rules for set_agent_model, verify_model_reachable, and related commands across litellm, gemini, anthropic, and openrouter.
  • Provides clear guidance and examples for choosing native vs LiteLlm routing, and for common swap/test scenarios.
  • Validates and documents OpenRouter formatting to avoid common mistakes.

Quick Start

Ask Ori to swap or confirm a model with a valid provider prefix, e.g., litellm/anthropic/claude-sonnet-4-6.

Frequently Asked Questions about model-swap-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format model strings correctly when switching between Gemini and Anthropic providers?▼

To switch models safely, you must format model strings with the correct provider prefix, such as gemini/ or anthropic/. This skill enforces consistent naming across providers to prevent misconfigured model selections during a mid-session swap.

What is the correct provider prefix format for routing agents through LiteLlm?▼

Routing agents through LiteLlm requires the litellm/ provider prefix combined with the underlying provider, such as litellm/anthropic/claude-sonnet-4-6. This skill defines and enforces these prefixes to ensure valid configuration.

How do I configure OpenRouter models without causing selection errors?▼

Configuring OpenRouter models requires using the openrouter/ prefix and following specific formatting rules. This skill validates and documents OpenRouter formatting to help you avoid common mistakes when setting or testing agent models.

When should I use native provider prefixes versus LiteLlm routing for agent models?▼

Choosing between native and LiteLlm routing depends on your provider setup and reachability needs. This skill provides guidance and examples for selecting native prefixes like anthropic/ versus LiteLlm routing for various swap and test scenarios.

Can I verify if an agent model is reachable after setting the provider prefix?▼

Yes, you can verify model reachability after applying the required provider prefix. This skill supports verify_model_reachable commands across litellm, gemini, anthropic, and openrouter to validate that your constructed model string is correctly configured.