LaunchKit · 2026
Back to Skills

Pick the best AI model for any task using the Smart Spawn API.

0
445 downloads
by @deeflect

Setup & Installation

openclaw skills install @deeflect/smart-spawn

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install smart-spawn

What This Skill Does

The Smart Spawn API selects the best AI model for a given task based on task type and budget tier. It returns a scored recommendation with pricing and reasoning, then you spawn a sub-agent using the returned model ID. No plugin or account required — plain HTTP requests to ss.deeflect.com/api.

Instead of hardcoding a model in every spawn call, it routes dynamically using benchmark scores refreshed every 6 hours from 5 sources, so recommendations reflect current model capabilities and pricing.

When to use it

  • Picking the cheapest viable model for a batch data extraction job
  • Routing a vision task to a model with image support before spawning
  • Comparing two candidate models side-by-side before committing to one
  • Decomposing a multi-step SaaS build into subtasks, each with its own optimal model
  • Running parallel competitor research and slide generation as a dependency graph

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Build a React dashboard with authentication

AGENT
  1. 1Call GET ss.deeflect.com/api/pick?task=build+a+react+dashboard+with+auth&budget=medium
  2. 2Receive recommendation: anthropic/claude-opus-4.6 with score 86 and reason string
  3. 3Call sessions_spawn with task description and model set to the returned ID
  4. 4Monitor the spawned session for output
OUTPUT

A spawned sub-agent running on the recommended model completes the dashboard build