ai-core

Configure the Vercel AI Gateway and export a getModel() function.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/mattwoodco/skills --skill ai-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-core
Source: https://github.com/mattwoodco/skills/tree/main/skills/ai-core
Command: npx skills add https://github.com/mattwoodco/skills --skill ai-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires env-config, and includes scripts (resource) components.

What problem does it solve?

This Skill provides a standardized way to configure and access AI models through a unified gateway, simplifying AI integration across different downstream skills.

Core Features & Use Cases

  • Centralized AI Configuration: Sets up Vercel AI Gateway as the default provider for 200+ models.
  • Simplified Model Access: Exports a getModel() function for consistent use in all AI-related tasks.
  • Use Case: When starting a new project that requires AI capabilities, use this skill to quickly set up the foundational AI layer, ensuring all subsequent AI calls are routed through a managed gateway.

Quick Start

Use the ai-core skill to set up the AI Gateway provider and export the getModel function.

Frequently Asked Questions about ai-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a unified AI gateway for multiple LLMs?

To configure a unified AI gateway, this skill sets up the Vercel AI Gateway as the default provider for 200+ models and exports a `getModel()` function for standardized access in your application.

What is the best way to standardize AI model access in application development?

Standardizing AI model access involves routing requests through a managed gateway. This skill configures the Vercel AI Gateway provider, ensuring all downstream AI calls use a consistent `getModel()` function.

Can I use this AI gateway configuration for text generation and embeddings?

Yes, you can use this AI gateway configuration for text generation and embeddings. It integrates with AI SDKs to provide flexible model selection and unified management for these specific tasks.

Do I need env-config to set up the Vercel AI Gateway provider?

Yes, you need the env-config dependency to set up the Vercel AI Gateway provider. Proper environment configuration is required to securely manage the API keys and gateway credentials used by the scripts.

How does the getModel function work with the Vercel AI Gateway?

The `getModel()` function works by acting as an exported interface that fetches and returns the requested AI model configuration from the Vercel AI Gateway, allowing downstream skills to consume models consistently.

When do I need a centralized AI configuration for my project?

You need a centralized AI configuration when starting a new project that requires AI capabilities. It establishes the foundational AI layer, ensuring all subsequent text generation and embedding calls route through a managed gateway.