١.٤k
★ نجوم
٢
↓ تنزيلات
٧٥
◉ مشاهدات
// تثبيت المهارة
تثبيت المهارة
المهارات هي كود تابع لأطراف ثالثة من مستودعات GitHub العامة. يفحص SkillHub الأنماط الخبيثة المعروفة، لكنه لا يستطيع ضمان السلامة. راجع الكود المصدري قبل التثبيت.
تثبيت عام (على مستوى المستخدم):
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availabilityتثبيت في المشروع الحالي:
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availability --projectskill.install.customTargetHelp
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availability --target-dir /path/to/skillsالمسار المقترح: ~/.claude/skills/openrouter-model-availability/
محتوى SKILL.md
---
name: openrouter-model-availability
description: |
Build check model availability and implement fallback chains. Use when building resilient systems or handling model outages. Trigger with phrases like 'openrouter availability', 'openrouter fallback', 'openrouter model down', 'openrouter health check'.
allowed-tools: Read, Write, Edit, Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <[email protected]>
---
# Openrouter Model Availability
## Overview
This skill covers model health monitoring, availability checking, and implementing automatic fallback chains for production reliability.
## Prerequisites
- OpenRouter integration
- Multiple model options identified
## Instructions
Follow these steps to implement this skill:
1. **Verify Prerequisites**: Ensure all prerequisites listed above are met
2. **Review the Implementation**: Study the code examples and patterns below
3. **Adapt to Your Environment**: Modify configuration values for your setup
4. **Test the Integration**: Run the verification steps to confirm functionality
5. **Monitor in Production**: Set up appropriate logging and monitoring
## Output
Successful execution produces:
- Working OpenRouter integration
- Verified API connectivity
- Example responses demonstrating functionality
## Error Handling
See `{baseDir}/references/errors.md` for comprehensive error handling.
## Examples
See `{baseDir}/references/examples.md` for detailed examples.
## Resources
- [OpenRouter Documentation](https://openrouter.ai/docs)
- [OpenRouter Models](https://openrouter.ai/models)
- [OpenRouter API Reference](https://openrouter.ai/docs/api-reference)
- [OpenRouter Status](https://status.openrouter.ai)
الترخيص
الترخيص المُعلن: MIT
MIT License
Copyright (c) 2026 Jeremy Longshore <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.عرض الترخيص في المستودع المصدري — النسخة المنشورة هناك هي المرجع.
// تثبيت المهارة
تثبيت المهارة
المهارات هي كود تابع لأطراف ثالثة من مستودعات GitHub العامة. يفحص SkillHub الأنماط الخبيثة المعروفة، لكنه لا يستطيع ضمان السلامة. راجع الكود المصدري قبل التثبيت.
تثبيت عام (على مستوى المستخدم):
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availabilityتثبيت في المشروع الحالي:
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availability --projectskill.install.customTargetHelp
npx skillhub install jeremylongshore/claude-code-plugins-plus-skills/openrouter-model-availability --target-dir /path/to/skillsالمسار المقترح: ~/.claude/skills/openrouter-model-availability/