LLM Provider
caliber-ai-org/ai-setupAdds a new LLM provider implementing LLMProvider interface with call() and stream() methods. Integrates with provider factory in src/llm/index.ts, config detection in src/llm/config.ts, and error handling via tracking and recovery. Use when adding a new model backend, integrating a third-party LLM API, or extending LLM platform support. Do NOT use for fixing bugs in existing providers, modifying existing provider behavior, or changing the LLMProvider interface.
At a glance
git clone --depth 1 https://github.com/caliber-ai-org/ai-setup
cp -r ai-setup/skills/llm-provider ~/.claude/skills/llm-provider
Setup, runtime and requirements describe caliber-ai-org/ai-setup, the repo this skill ships in.
Also in caliber-ai-org/ai-setup
View the repoCreates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry trackin...
Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factori...
Discovers and installs community skills from the public registry. Use when the user mentions a technology, framework, or task that could ben...
Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', '...
Add a new deterministic scoring check in src/scoring/checks/ that evaluates config quality. Follows the Check[] return pattern, uses point c...
Sets up Caliber for automatic AI agent context sync. Installs pre-commit hooks so CLAUDE.md, Cursor rules, and Copilot instructions update a...
Add a new platform writer module in src/writers/ that generates and writes agent config files for a supported platform. Each writer exports...