mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
Hermes already handles model routing. Remove MCP server, keep skill as a cost-optimized model selection guide. Key insight: DeepSeek V4 Pro is 55x cheaper than Claude Opus and nearly as good at math/code. Default to DeepSeek, escalate to Opus only when stuck. Removed: break_glass_mcp.py (unnecessary — Hermes handles routing)
3.3 KiB
3.3 KiB
SKILL: break-glass
When to Use
Use this skill ONLY when a problem has resisted ALL other approaches:
- Local model (current default) — tried and failed
- Single frontier model — tried and failed
- Existing skills and tools — tried and failed
Trigger: break glass: <problem statement>
What It Does
Provides model selection guidance based on problem type. Hermes handles the actual model routing.
Model Selection Guide
Cost Hierarchy (per 1M tokens, input/output)
| Model | Input | Output | Provider | Use When |
|---|---|---|---|---|
| DeepSeek V4 Flash | $0.07 | $0.28 | DeepSeek | Quick iterations, sanity checks |
| DeepSeek V4 Pro | $0.27 | $1.10 | DeepSeek | Math reasoning, code, primary workhorse |
| Gemini 3 Flash | $0.075 | $0.30 | Budget panel diversity | |
| Gemini 3.1 Pro | $1.25 | $5.00 | Different thinking style | |
| Kimi K2.6 | $0.50 | $2.00 | Moonshot | Code, different training |
| Cohere Command A+ | $2.50 | $10.00 | Cohere | Structured output, tool-use |
| GLM-5.2 | $1.00 | $4.00 | Zhipu | Architectural diversity (753B) |
| GPT-5.5 | $10.00 | $30.00 | OpenAI | Breadth, ops knowledge |
| Claude Opus 4.8 | $15.00 | $75.00 | Anthropic | Formal proof, synthesis |
Problem Type → Model Recommendation
| Problem Type | First Try | If Stuck | Last Resort |
|---|---|---|---|
| lean_proof | DeepSeek V4 Pro | + Claude Opus | + GPT-5.5 + Cohere |
| code_bug | DeepSeek V4 Pro | + GPT-5.5 | + Claude Opus |
| architecture | Claude Opus | + DeepSeek V4 Pro | + GPT-5.5 + Cohere |
| math_novel | DeepSeek V4 Pro | + Claude Opus | + Gemini 3.1 Pro |
| infra_debug | GPT-5.5 | + DeepSeek V4 Pro | + Claude Opus |
| hard_wall | DeepSeek V4 Pro | + Claude Opus + GPT-5.5 | All 8 models |
The "All 8 Models" Panel
For truly stuck problems, switch between all 8 models in sequence:
- DeepSeek V4 Pro ($0.27/$1.10) — math reasoning
- Claude Opus ($15/$75) — formal proof, synthesis
- GPT-5.5 ($10/$30) — breadth, ops
- Cohere Command A+ ($2.50/$10) — structured output
- Gemini 3.1 Pro ($1.25/$5) — different perspective
- GLM-5.2 ($1/$4) — different architecture
- Kimi K2.6 ($0.50/$2) — code
- DeepSeek V4 Flash ($0.07/$0.28) — fast iteration
Cost-Optimal Strategy
Default: DeepSeek V4 Pro — 55x cheaper than Opus, nearly as good at math/code.
Escalation path:
- Start with DeepSeek V4 Pro ($0.27/$1.10)
- If stuck, add Claude Opus for synthesis ($15/$75)
- If still stuck, add GPT-5.5 for breadth ($10/$30)
- If truly stuck, use all 8 models sequentially
Budget per problem:
- Routine: $0.10-0.50 (DeepSeek only)
- Stuck: $1.00-3.00 (DeepSeek + Opus)
- Hard wall: $5.00-10.00 (all 8 models)
- Break glass: $15.00+ (all 8 + multiple rounds)
How to Use
break glass: cleanMerge_preservesGap sorry — List.zip/filter/all terms too large for simp
The agent will:
- Classify the problem type
- Recommend which model to switch to
- Provide context to pass to that model
- Track cost
Files
| File | Purpose |
|---|---|
.opencode/skills/break-glass/SKILL.md |
This file |
6-Documentation/docs/specs/break_glass_problem_statement.md |
Problem statement |
6-Documentation/docs/specs/break_glass_mcp_agent.md |
Design spec (historical) |