Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Socket command threading and focus policy for cmux CLI/socket work. Use when adding or changing socket commands, CLI commands, telemetry commands, focus/select/open/close/send-key behavior, or automation that could steal app focus.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -24% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-03 | ✓→✗ | ▼ Worse | 22% | 0% |
DispatchQueue.main.sync for high-frequency socket telemetry commands such as report_*, ports_kick, status/progress updates, or log metadata updates.DispatchQueue.main.async only when needed.window.focus, workspace.select/next/previous/last, surface.focus, pane.focus/last, browser focus commands, and v1 focus equivalents.Other measured skills in the registry, with their headline benchmark lift.