Agent skill · AI & Agents

providers

Use when switching between LLM providers, accessing provider-specific features (Anthropic caching, OpenAI logprobs), or using raw SDK clients - covers multi-provider patterns and direct SDK access for OpenAI, Anthropic, Google, and Ollama

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill providers --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 17 KB
Bundled scripts: none
Path: skills/ai-llm/providers/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Multi-Provider Patterns and Raw SDK Access ## Installation ```bash # With uv (recommended) uv add llmring # With pip pip install llmring ``` **Provider SDKs (install what you need):** ```bash uv add openai>=1.0 # OpenAI uv add anthropic>=0.67 # Anthropic uv add google-genai # Google Gemini uv add ollama>=0.4 # Ollama ``` ## API Overview This skill covers: - `get_provider()` method for raw SDK access - Provider initialization and configuration - Provider-specific features (caching, extra parameters) - Multi-provider patterns and switching - Fallback behavior ## Quick Start ```python from llmring import LLMRing, LLMRequest, Message async with LLMRing() as service: # Get raw provider client openai_client = service.get_provider("openai").client anthropic_client = service.get_provider("anthropic").client # Use provider SDK directly response = await openai_client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Hello"}], logprobs=True # Provider-specific feature ) ``` ## Complete API Documentation ### LLMRing.get_provider() Get raw provider client for direct SDK access. **Signature:** ```python def get_provider(provider_type: str) -> BaseLLMProvider ``` *

What's inside
Steps it walks through
  1. Installation
  2. API Overview
  3. Quick Start
  4. Complete API Documentation
  5. LLMRing.getprovider()
  6. Provider Clients
  7. Provider Initialization
  8. Provider-Specific Features
  9. OpenAI: Logprobs and Advanced Parameters
  10. OpenAI: Reasoning Models (o1 series)
  11. Anthropic: Prompt Caching
  12. Anthropic: Extended Thinking
  13. Google: Large Context and Multimodal
  14. Ollama: Local Models and Custom Options
Ships with 1 file
  • metadata.json
Commands it runs
With uv (recommended)
uv add llmring
With pip
pip install llmring
uv add openai>=1.0      # OpenAI
uv add anthropic>=0.67   # Anthropic
uv add google-genai      # Google Gemini
uv add ollama>=0.4       # Ollama
OpenAI
Anthropic
More from claude-skill-registry
All skills →
About this skill
What does the providers skill do?

Use when switching between LLM providers, accessing provider-specific features (Anthropic caching, OpenAI logprobs), or using raw SDK clients - covers multi-provider patterns and direct SDK access for OpenAI, Anthropic, Google, and Ollama

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill providers --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going