model-provider-config

Configures LLM provider endpoints, auth headers, and capability flags for agent harnesses.

Updated May 29, 2026
One-click install
npx skills add https://github.com/RatnaAtika/Indonesian-ASR-11-Class-Dataset --skill model-provider-config-ratnaatika
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-provider-config
Source: https://github.com/RatnaAtika/Indonesian-ASR-11-Class-Dataset/tree/main/.agents/skills/model-provider-config
Command: npx skills add https://github.com/RatnaAtika/Indonesian-ASR-11-Class-Dataset --skill model-provider-config-ratnaatika

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When running agent skills across different LLM providers (OpenAI, Anthropic, DeepSeek, Gemini, local runtimes, and more), each provider has a different API base, auth header, tool-calling format, and capability set. This Skill standardizes that pre-flight configuration so every other skill knows which model is active and what it can do. ## Core Features & Use Cases - Provider Detection & Pinning: Auto-detects the active harness (Pi, Codex, Cursor, Claude Code) and optional 9router gateway, or pins a specific provider via --provider, --probe-env, or --harness flags. - Canonical Provider Table: Maps 13+ providers (GPT, Claude, DeepSeek, GLM, MiniMax, Mistral, Gemini, Qwen, xAI, OpenRouter, Ollama, vLLM, llama.cpp) to their API bases, auth headers, and tool-call formats. - Capability Flags: Writes .skills-config.yaml declaring context window, reasoning, vision, audio, prompt caching, and output token caps so downstream skills adapt their behavior. - Use Case: After switching your harness from Claude to a local Ollama model, run this Skill to regenerate the config, verify tool calling works, and warn skills that vision is no longer available. ## Quick Start Ask the agent to run the model-provider-config skill to detect the current harness and write a fresh .skills-config.yaml for the project.

Frequently Asked Questions about model-provider-config

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

FAQPage Schema
How do I configure an LLM provider for agent skills?

Run scripts/configure.sh to auto-detect the active harness and write a .skills-config.yaml file. By default it uses harness-managed mode, so no provider env vars are needed unless you pin a specific provider.

How do I switch between OpenAI, Claude, and local models?

Use the --provider flag with an id such as anthropic, openai, ollama, or vllm to pin a provider. The config then fills in the correct API base, auth header, tool-call format, and capability flags from the provider table.

Does this work with local models like Ollama or llama.cpp?

Yes, Ollama, vLLM, LM Studio, and llama.cpp are supported via their OpenAI-compatible endpoints. However, tool calling is not guaranteed on local models, so the skill requires a probe call to verify before relying on it.

What happens if a skill needs vision but the model lacks it?

The skill checks the capability flags in .skills-config.yaml. If vision is false, the dependent skill emits a one-line warning, falls back to a text-only path when available, or stops and asks you to switch provider.

Are API keys stored in the config file?

No. The .skills-config.yaml file stores only environment variable names, never secret values. Keys stay in the environment or a secret manager, and the hard rules explicitly forbid logging or writing secrets.