What problem does it solve?
It solves the problem of getting inconsistent quality or cost blowups when deciding which LLM to run for each user request.
Core Features & Use Cases
- Cost/Performance Tier Routing: Classifies every prompt into six tiers (QWEN, DEEPSEEK_FLASH, DEEPSEEK_PRO, KIMI, CODEX, CLAUDE) and selects a delegation command accordingly.
- Deterministic Delegation Script Contract: Requires delegator scripts to accept the prompt as the first argument, support specific flags (like deepseek flash/pro and kimi quiet), write the result to stdout, and use exit codes to signal success or failure.
- Hook-Injected Additional Context: Uses a
UserPromptSubmit hook to inject delegation instructions into additionalContext so Claude executes the routed script and returns its output to the user.
Quick Start
Ask Claude to handle your prompt and ensure your delegation scripts are installed in ~/bin/ with the expected flags and stdout contract, then run via the UserPromptSubmit hook so it routes each prompt to the correct tier.