Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/matt-dionis/claude-code-configs/ai-provider-setup)<a href="https://agentmods.dev/commands/matt-dionis/claude-code-configs/ai-provider-setup"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/ai-provider-setup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/matt-dionis/claude-code-configs/ai-provider-setup"><img src="https://agentmods.dev/badge/commands/matt-dionis/claude-code-configs/ai-provider-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00007 | $0.00948 |
| Opus 5.5 | $0.00003 | $0.00379 |
| Sonnet 5.5 | $0.00001 | $0.00190 |
| Haiku 4.5 | $0.00001 | $0.00095 |
Grade A, and why
ai-provider-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Set up AI Provider Configuration
Configure robust AI provider setup with the Vercel AI SDK: $ARGUMENTS
Current Configuration Analysis
Existing provider setup: !grep -r "@ai-sdk/" . --include="*.ts" --include="*.tsx" | head -5
Environment variables: !grep -r "API_KEY\|_KEY" .env* 2>/dev/null | head -5 || echo "No API keys found in .env files"
Provider imports: !grep -r "from '@ai-sdk/" . --include="*.ts" | head -10
Configuration Strategy
Single Provider: Focus on one provider with optimal configuration Multi Provider: Set up multiple providers with consistent interface Fallback: Implement automatic failover between providers
Your Task
- Analyze current provider setup and identify improvements needed
- Design provider architecture with proper abstraction layers
- Implement configuration management with environment handling
- Set up provider fallback logic for reliability
- Add usage tracking and cost monitoring for optimization
- Create provider health checks for monitoring
- Implement proper error handling and recovery
- Add comprehensive testing for all providers
Implementation Requirements
Environment Configuration
- Secure API key management
- Environment-specific configurations
- Provider availability detection
- Default provider selection
- Feature flag support for provider switching
Provider Abstraction
- Unified interface across all providers
- Model capability mapping
- Feature detection and adaptation
- Consistent error handling
- Performance monitoring integration
Fallback and Reliability
- Automatic provider failover
- Health check implementation
- Circuit breaker patterns
- Retry logic with exponential backoff
- Graceful degradation strategies
Expected Deliverables
- Provider configuration system with environment management
- Multi-provider client wrapper with unified interface
- Fallback and health monitoring implementation
- Usage tracking and analytics system
- Cost optimization utilities for model selection
- Testing suite covering all provider scenarios
- Documentation with setup guides and best practices
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 170 lines · 7 tokens per session scan A 31ac9eb3bac5
ai-provider-setup is a command published in the GitHub repository Matt-Dionis/claude-code-configs (619 stars, last pushed 1y ago), licensed MIT. It adds 7 tokens to every session and 948 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
suggest
Suggest the matching Convex component when the user hand-rolls a pattern it already solves (crons, sharded-counter, rate-limiter, storage, search, presence, workflow, RAG, prosemirror-sync). Passive — suggest after the task, never interrupt. Never install without consent.
migrate-airbyte-connector
Migrate an Airbyte source connector to Connector SDK.
abap2ui5-add-ai
Add an AI / LLM feature to an existing abap2UI5 app - a chat or a summarize-this-data panel, on a local provider first, then on a real model through the samples-stack LLM classes, with secrets kept out of the code.
dare-llm-integration
Integração segura e eficiente com LLMs (Gemini, Claude, OpenAI, Ollama) em projetos DARE.
etl
ETL/ELT pipeline design and implementation.
llm-api-scaffold
Generate production-ready LLM API integration boilerplate.