ai-models-api-usage
CommunityEnforce server-side AI calls via adapters.
Authorgileck
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill standardizes AI integration by enforcing server-side usage through an adapter pattern, preventing client-side exposure and ad-hoc calls to AI services.
Core Features & Use Cases
- Adapter-based AI calls: Route all AI requests through a centralized AIModelAdapter to ensure consistency, caching, and cost accounting.
- Model validation & safety: Validate model IDs with isModelExists() before initialization to avoid invalid or unsupported models.
- Cost-aware responses: Track and return per-call costs, enabling budgeting and auditing of AI usage.
Quick Start
Configure your server routes to funnel AI requests through AIModelAdapter and validate model IDs with isModelExists before processing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ai-models-api-usage Download link: https://github.com/gileck/app-template-ai/archive/main.zip#ai-models-api-usage Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.