kiln-add-model
Installation
SKILL.md
Add a New AI Model to Kiln
Integrating a new model into libs/core/kiln_ai/adapters/ml_model_list.py requires:
ModelNameenum – add an enum memberbuilt_in_modelslist – add aKilnModel(...)entry with providersModelFamilyenum – only if the vendor is brand-new
After code changes, run paid integration tests, then draft a Discord post.
Global Rules
These apply throughout the entire workflow.
- Sandbox: All
curlanduv runcommands MUST userequired_permissions: ["all"]. The sandbox breaksuv run(Rust panics) and blocks network access forcurl. - Slug verification: NEVER guess or infer model slugs from naming patterns. Every
model_idmust come from an authoritative source (LiteLLM catalog, official docs, API reference, or changelog). If you can't verify a slug, tell the user and ask them to provide it. - Date awareness: These models are often released very recently. Web search for current info before assuming you know the details.