Research-Stack/.opencode/skills/break-glass/SKILL.md
allaun 5ce6cf62cc docs(agent): break-glass is for UNSOLVABLE problems only
Explicit warning: DO NOT USE unless all other approaches failed.
Costs real money (/usr/bin/bash.10-.00 per invocation).
If the problem is solvable by switching models, just switch models.
If the problem is solvable by reading docs, just read docs.
If the problem is solvable by asking the user, just ask the user.

This skill is the last resort before giving up.
2026-06-22 20:22:37 -05:00

1.9 KiB

SKILL: break-glass

THIS IS FOR UNSOLVABLE PROBLEMS ONLY

DO NOT USE THIS SKILL UNLESS ALL OF THE FOLLOWING ARE TRUE:

  1. You have tried the current model and it failed
  2. You have tried a different model and it failed
  3. You have tried existing skills/tools and they failed
  4. The problem is genuinely novel (not a rehash of known issues)
  5. The problem is blocking progress (not a nice-to-have)

This skill costs real money. Each invocation = $0.10-$3.00.

If the problem is solvable by switching models, just switch models. If the problem is solvable by reading docs, just read docs. If the problem is solvable by asking the user, just ask the user.

This skill is the last resort before giving up.


Trigger

break glass: <problem statement>

What It Does

Selects the optimal model panel using dual quaternion chiral ratio. Each model is a dual quaternion (real = compressive, dual = anti-compressive). χ = |real|² / (|real|² + |dual|²) determines selection.

Model Selection (dual quaternion χ at threshold 0.99)

Problem Models Cost
lean_proof DeepSeek V4 Pro $0.10-0.50
code_bug Kimi K2.6 $0.10-0.30
architecture Claude Opus $0.50-2.00
math_novel DeepSeek V4 Pro $0.10-0.50
infra_debug GPT 5.5 + DeepSeek Flash $0.30-1.00
hard_wall Claude Opus + DeepSeek Flash $0.50-3.00

Escalation

  1. DeepSeek V4 Pro — try first ($0.27/$1.10)
  2. Claude Opus — if DeepSeek stuck ($15/$75)
  3. GPT-5.5 — if Opus stuck ($10/$30)
  4. All 8 models — hard wall ($5-10 total)

Files

File Purpose
4-Infrastructure/shim/dual_quat_model_selector.py Dual quaternion model selector
4-Infrastructure/shim/model_theorem_matrix.py Degenerate sector analysis
6-Documentation/docs/specs/break_glass_problem_statement.md Problem statement
6-Documentation/docs/specs/break_glass_test_list.md Test list