Install any skill in seconds. Free to start, no credit card required.
Get Started Free →A UserPromptSubmit hook that routes each prompt to one of six cost tiers and delegates it to external model scripts.
50% 95%+45 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
Not used yet
A UserPromptSubmit hook classifies every user prompt into one of six cost/performance tiers. The hook injects additionalContext instructing Claude to run a specific delegation script and return the output.
| Tier | Delegation command | Cost |
|---|---|---|
| QWEN | qwen3 "prompt" | $0 (local Ollama) |
| DEEPSEEK_FLASH | deepseek --flash "prompt" | $0.14 / $0.28 per M tokens |
| DEEPSEEK_PRO | deepseek --pro "prompt" | $0.44 / $0.87 per M tokens |
| KIMI | kimi --quiet -p "prompt" | $0.60 / $2.50 per M tokens |
| CODEX | codex exec | varies |
| CLAUDE | handle natively | $3-5 / $15-25 per M tokens |
Each script is a self-contained executable in ~/bin/ that accepts a prompt and writes the response to stdout:
~/bin/
├── qwen3 # Shell: curl to local Ollama API
├── kimi # Shell: execs Kimi CLI binary
├── deepseek # Python: httpx to DeepSeek Anthropic-compat API
└── route-task # Shell + qwen3: classifies prompt into tier
qwen3 "what is 2+2"--flash / --pro model flags (deepseek)--quiet mode flag (kimi)#!/bin/bash
# Minimal delegator template
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.