llm-provider

Implement LLMProvider backends with call() and stream() methods.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Buckeyes22/weather-app --skill llm-provider-buckeyes22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-provider
Source: https://github.com/Buckeyes22/weather-app/tree/main/docs/corpora/caliber/skills/llm-provider
Command: npx skills add https://github.com/Buckeyes22/weather-app --skill llm-provider-buckeyes22

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This capability lets teams extend their LLM ecosystem by implementing new LLMProvider backends that conform to a single, well-defined contract. It ensures consistent integration with the central config, factory, and error-handling mechanisms so new providers can be dropped in with confidence.

Core Features & Use Cases

  • Implement a new provider by creating a class that implements LLMProvider with both call() and stream() methods.
  • Wire the provider into the configuration system and factory so it can be selected at runtime via the provider name.
  • Validate and test providers locally to prevent runtime failures when wiring into production flows.

Quick Start

Implement a new provider by creating the class that implements LLMProvider, add its config entry, wire it into the factory, and run unit tests to verify the integration.

Frequently Asked Questions about llm-provider

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

FAQPage Schema
How do I add a new LLM provider to a standardized framework?

Standardizing external LLM backends is done by implementing a single LLMProvider interface that enforces both call() and stream() methods. This ensures consistent integration with the central config, factory, and error-handling mechanisms so new providers can be dropped in with confidence.

How do I configure environment-based API keys for a new LLM provider?

Configuring environment-based keys involves wiring the new provider into the configuration system and factory. This setup securely manages API keys and allows the provider to be selected dynamically at runtime via its provider name.

Does every LLM provider integration need both call and stream methods?

Yes, every LLM provider integration requires both call() and stream() methods. The LLMProvider interface enforces this contract to ensure consistent synchronous and streaming capabilities across all external backends.

How do I validate and test an LLM provider integration locally?

You validate and test an LLM provider integration by running unit tests after wiring the class into the factory. This verifies the implementation locally and prevents runtime failures when wiring into production flows.

Why does my LLM provider integration fail at runtime without proper error handling?

LLM provider integrations fail at runtime when errors are not handled using the defined LLM types. Applying the standardized error-handling mechanisms during implementation prevents these runtime failures in production flows.