Configuration validation and testing utilities for OpenRouter API. Use when validating API keys, testing model availability, checking routing configuration, troubleshooting connection issues, analyzing usage costs, or when user mentions OpenRouter validation, config testing, API troubleshooting, model availability, or cost analysis.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
examples/api-key-troubleshooting.mdexamples/cost-optimization.mdexamples/fallback-issues.mdexamples/model-not-found.mdexamples/provider-errors.mdexamples/rate-limiting.mdscripts/analyze-usage.shscripts/check-model-availability.shscripts/check-provider-status.shscripts/test-fallback.shscripts/test-routing.shscripts/troubleshoot.shscripts/validate-api-key.shscripts/validate-env-config.shtemplates/budget-alerts.jsontemplates/monitoring-config.jsontemplates/provider-preferences.jsonComprehensive validation and testing utilities for OpenRouter API configuration, model availability, routing setup, and cost monitoring.
Determine what needs validation:
Execute the relevant validation script from scripts/ directory:
API Key Validation:
bash scripts/validate-api-key.sh <api-key>
Model Availability Check:
bash scripts/check-model-availability.sh <model-id>
Routing Configuration Test:
bash scripts/test-routing.sh <config-file>
Environment Validation:
bash scripts/validate-env-config.sh <env-file>
Fallback Chain Testing:
bash scripts/test-fallback.sh <fallback-config>
Provider Status Check:
bash scripts/check-provider-status.sh <provider-name>
Usage Analysis:
bash scripts/analyze-usage.sh <date-range>
Comprehensive Troubleshooting:
bash scripts/troubleshoot.sh
Use templates from templates/ directory for configuration:
Environment Setup:
templates/.env.template - Complete configuration templatetemplates/.env.example - Minimal configuration exampleMonitoring Configuration:
templates/monitoring-config.json - X-Title and HTTP-Referer setuptemplates/budget-alerts.json - Cost alert configurationProvider Preferences:
templates/provider-preferences.json - Provider routing preferencesCheck examples/ directory for common issue resolutions:
examples/api-key-troubleshooting.md - API key issuesexamples/model-not-found.md - Model availability problemsexamples/rate-limiting.md - Rate limit handlingexamples/fallback-issues.md - Fallback chain debuggingexamples/cost-optimization.md - Cost reduction strategiesexamples/provider-errors.md - Provider-specific errorsSummarize validation results:
Automatic triggers:
User-requested scenarios:
All scripts located in skills/openrouter-config-validator/scripts/:
validate-api-key.sh - API key format and connectivitycheck-model-availability.sh - Model access verificationtest-routing.sh - Routing configuration testingvalidate-env-config.sh - Environment validationtest-fallback.sh - Fallback chain testingcheck-provider-status.sh - Provider health monitoringanalyze-usage.sh - Usage pattern analysistroubleshoot.sh - Comprehensive diagnosticsAll templates located in skills/openrouter-config-validator/templates/:
.env.template - Complete environment configuration.env.example - Minimal configuration examplemonitoring-config.json - Request monitoring setupbudget-alerts.json - Cost alert configurationprovider-preferences.json - Provider routing preferencesAll examples located in skills/openrouter-config-validator/examples/:
api-key-troubleshooting.md - Common API key issuesmodel-not-found.md - Model availability solutionsrate-limiting.md - Rate limit handling strategiesfallback-issues.md - Fallback debugging guidecost-optimization.md - Cost reduction techniquesprovider-errors.md - Provider-specific error handlingSkill Location: plugins/openrouter/skills/openrouter-config-validator/ Version: 1.0.0