add-driver
Installation
SKILL.md
Add a New LLM Driver
Scaffolds all files needed to integrate a new LLM provider into Prompture.
Before Starting
Ask the user for:
- Provider name (lowercase, used as registry key and
provider/modelprefix) - SDK package name on PyPI and minimum version (or
requests/httpxfor raw HTTP) - Default model ID
- Authentication — API key env var name, endpoint URL, or both
- API compatibility — OpenAI-compatible (
/v1/chat/completions), custom SDK, or proprietary HTTP - Lazy or eager import — lazy if SDK is optional, eager if it's in
install_requires
Also look up the provider on models.dev to determine:
- models.dev provider name (e.g.,
"anthropic"for Claude,"xai"for Grok,"moonshotai"for Moonshot) - Whether models.dev has entries — if yes, pricing comes from models.dev live data (set
MODEL_PRICING = {}). Either way, add a JSON rate file inprompture/infra/rates/with model capabilities (tokens_param,supports_temperature, etc.).