{
  "skill": {
    "id": "skl_model_routing_hooks",
    "name": "model-routing-hooks",
    "plugin": "cwc-engineering",
    "description": "The zero-token model router + telemetry spine for Agent/Task dispatches: four stdlib-only python3 hooks in scripts/hooks/ (PreToolUse router rewriting an absent `model` param to sonnet via updatedInput, async PostToolUse usage capture, SessionStart policy context, async Stop flush of redis route:queue into postgres agent_dispatch_events). Use when the user asks \"why did my subagent run on sonnet\", \"route subagents to a cheaper model\", \"model router\", \"routing-rules.json\", \"route:queue\", \"agent_dispatch_events\", \"subagent token telemetry\", \"pin a subagent's model\", or wants to change/disable the routing policy or query per-dispatch token spend. This skill owns the hook layer only — the eval and optimizer that consume agent_dispatch_events live at eval/ and optimizer/ inside this same skill dir (built separately; reference by path).",
    "summary": "The zero-token model router + telemetry spine for Agent/Task dispatches: four stdlib-only python3 hooks in scripts/hooks/ (PreToolUse router rewriting an absent `model` param to sonnet via updatedInput, async PostToolUse usage capture, SessionStart policy context, async Stop flush of redis route:...",
    "gated": 0,
    "source_path": "plugins/cwc-engineering/skills/model-routing-hooks/SKILL.md",
    "created_at": "2026-07-10 18:13:13",
    "cite_as": "https://subagentskills.com/api/skills/skl_model_routing_hooks"
  }
}