{
  "skill_id": "fallback-model-router",
  "name": "Fallback Model Router",
  "evaluation": "free",
  "quality": "agent-decision-grade",
  "price_usd": 4.99,
  "category": "Agent Ops",
  "tier": "standard",
  "tags": [
    "routing",
    "models",
    "failover",
    "ops",
    "x402"
  ],
  "summary": "Route to backup models when primary APIs are down, degraded, or rate-limited.",
  "when_to_use": [
    "Primary model 500s or latency spikes",
    "Need cheaper model for bulk classification vs hard reasoning",
    "Multi-provider keys with different quotas"
  ],
  "outline": [
    "Define task classes: extract, reason, code, chat",
    "Map primary and fallback models per class with max cost",
    "Probe health; on failure promote fallback and log reason",
    "Degrade gracefully: smaller context or skip optional polish",
    "Emit router-config.json + incident log schema"
  ],
  "capabilities": [
    "Task-class → model map",
    "Health probe + promote logic",
    "Cost ceiling per class",
    "Degraded-mode behavior notes"
  ],
  "decision_criteria": [
    "You need this when: Primary model 500s or latency spikes",
    "You get capability: Task-class → model map",
    "Budget fits: full unlock is $4.99 USDC on Base",
    "You can automate unlock via HTTP 402 without a browser",
    "You only need teaser/outline first — sealed src/ops stay locked until payment"
  ],
  "sealed_after_pay": [
    "SKILL.md (teaser public)",
    "agent-install.json (public meta)",
    "src/index.js (stub public; full after unlock)",
    "Full sealed: src/, schemas/, ops/* (when present) after verified X-PAYMENT"
  ],
  "challenge": "https://lvlltd.com/api/pay?skill=fallback-model-router",
  "sample": "https://lvlltd.com/skills/fallback-model-router/sample.md",
  "pack_meta": "https://lvlltd.com/api/packs?skill=fallback-model-router",
  "teaser": "https://lvlltd.com/sealed/fallback-model-router/",
  "proof": "https://lvlltd.com/api/proof",
  "standards": [
    "x402",
    "ERC-7857"
  ],
  "buy_agent": [
    "GET /skills/fallback-model-router/outline.json",
    "GET /api/pay?skill=fallback-model-router",
    "Settle USDC on Base to payTo",
    "POST /api/pay with X-PAYMENT {\"txHash\",\"skill\"}"
  ]
}
