Skip to main content
skill CX Codex

model-routing — Claude Code skill: what it does, how to install

Routes genmedia tasks to default fal.ai endpoint IDs when no model is specified. It directs image, video, and lip-sync jobs to the right endpoints.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add fal-ai-community/skills --skill model-routing -a claude-code
Open on GitHub

What model-routing does

This skill defines endpoint routing rules across fal.ai services for creative production. When an assistant generates key art, UI mocks, or marketing clips without explicit instructions, it picks an endpoint from a tested catalog. Text-heavy banners route to openai/gpt-image-2 with high quality, while rapid concepts route to fal-ai/flux-2/klein/9b.

The workflow relies on verification steps. The agent must inspect parameters with genmedia schema <endpoint_id> --json before running tasks, and review costs via genmedia pricing <endpoint_id> --json. For motion work, it orders priorities between Seedance 2.0, Kling v3, and Grok Imagine Video based on shot complexity and speed requirements.

Draft models will ruin assets that require precise typography. The skill treats cheap checkpoints as draft-only tools, keeping them away from final deliveries.

What it helps with

  • route genmedia prompts to matching fal.ai endpoints
  • prevent illegible typography in text-heavy images
  • separate low-cost draft previews from final renders
  • pick models for lip-sync and talking head avatars

Example prompts for the agent

  • Select the fal.ai endpoint for an infographic with dense packaging text
  • Find the best video model for a multi-shot story draft
  • Route an image edit request to replace a product background

How to install model-routing

1Skills CLI (Vercel)

npx skills add fal-ai-community/skills --skill model-routing -a claude-code

2Manually: put the files in place

~/.claude/skills/model-routing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/model-routing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about model-routing

How to install model-routing in Claude Code?

Run npx skills add fal-ai-community/skills --skill model-routing -a claude-code. This downloads the skill and registers it for Claude Code.

What does model-routing do?

It provides preselected fal.ai endpoint IDs for images, video, edits, and UGC content. The assistant stops guessing endpoint names and follows tested production paths.

What commands should run before executing a routed endpoint?

The skill requires checking the schema with genmedia schema <endpoint_id> --json and reviewing rates with genmedia pricing <endpoint_id> --json when cost is a factor.

Similar skills

Everything for AI and ML →

From the same set9

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor