model-matrix
oleh hybredm
Coding Agents & IDEsRingkasan
Weighted model-routing matrix for OpenClaw (cost-aware, policy-aware, daily scorecard template).
Deskripsi
Apa yang Dilakukan Skill Ini
A weighted routing matrix that assigns AI model tasks to the cheapest model that meets quality thresholds. Scores models across real evaluations, benchmarks, sentiment, and cost, then applies policy rules to pick an effective winner per category. Includes a daily scorecard template to track and update routing decisions.
Combining weighted scoring with explicit swap-only-on-material-delta rules prevents churn and cost creep that comes from routing on benchmarks alone.
Kapan Menggunakannya
- Routing complex coding tasks to the highest-scoring code model
- Keeping routine cron jobs on cheaper models to reduce API spend
- Swapping model assignments when a weekly scorecard shows a material score shift
- Enforcing a policy fallback when a preferred provider is temporarily excluded
- Comparing Grok, Gemini, and GPT outputs for sentiment-heavy research tasks
Contoh Alur Kerja
User asks: which model should handle complex coding tasks this week?
- 1
Pull current scorecard scores for the Coding (complex) category
- 2
Apply weights: 45% real eval, 30% benchmark, 20% sentiment, 5% cost
- 3
Compute raw score for each candidate model
- 4
Check policy constraints (e.g., Anthropic exclusion triggers auto-promote of #2)
- 5
Return effective #1 with confidence rating
GPT-5.3 Codex assigned as effective model for complex coding with confidence score
Instalasi
clawhub install hybredm/model-matrixJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.