Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Improve code structure and readability
.claude/skills/cowork-os-refactor-code/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 103% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-03 | ✓→✗ | ▼ Worse | -18% | 0% |
| case-18 | ✓→✓ | = Same ✓ | -20% | 0% |
| case-20 | ✓→✓ | = Same ✓ | 12% | 0% |
Improve code structure and readability
| Name | Type | Required | Description | |---|---|---|---| | path | string | Yes | Path to the file to refactor | | focus | select | Yes | What to focus on |
../refactor-code.json.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 8,766 | 13,521 | +54% | 1 | 1 | 0% | 1,348 | 2,739 | +103% | 0 | 0 | — |
case-02 | fail→fail | 9,509 | 7,846 | -17% | 1 | 1 | 0% | 1,834 | 1,708 | -7% | 0 | 0 | — |
case-03 | pass→fail | 16,256 | 12,288 | -24% | 1 | 1 | 0% | 3,454 | 2,844 | -18% | 0 | 0 | — |
case-04 | fail→pass | 12,863 | 9,293 | -28% | 1 | 1 | 0% | 2,415 | 1,916 | -21% | 0 | 0 | — |
case-05 | fail→fail | 3,561 | 9,908 | +178% | 1 | 1 | 0% | 255 | 2,129 | +735% | 0 | 0 | — |
case-06 | fail→fail | 13,079 | 12,289 | -6% | 1 | 1 | 0% | 2,876 | 3,036 | +6% | 0 | 0 | — |
case-07 | fail→fail | 12,259 | 13,159 | +7% | 1 | 1 | 0% | 2,292 | 2,359 | +3% | 0 | 0 | — |
case-08 | fail→fail | 11,362 | 23,449 | +106% | 1 | 1 | 0% | 2,197 | 3,216 | +46% | 0 | 0 | — |
case-09 | fail→fail | 11,875 | 13,189 | +11% | 1 | 1 | 0% | 2,341 | 2,661 | +14% | 0 | 0 | — |
case-10 | fail→fail | 7,664 | 8,215 | +7% | 1 | 1 | 0% | 1,411 | 1,721 | +22% | 0 | 0 | — |
case-11 | fail→fail | 8,074 | 10,526 | +30% | 1 | 1 | 0% | 1,616 | 2,274 | +41% | 0 | 0 | — |
case-12 | fail→fail | 11,851 | 19,669 | +66% | 1 | 1 | 0% | 2,309 | 3,228 | +40% | 0 | 0 | — |
case-13 | fail→fail | 10,585 | 9,336 | -12% | 1 | 1 | 0% | 1,891 | 1,863 | -1% | 0 | 0 | — |
case-14 | fail→fail | 11,307 | 18,641 | +65% | 1 | 1 | 0% | 2,057 | 3,517 | +71% | 0 | 0 | — |
case-15 | fail→fail | 6,562 | 8,016 | +22% | 1 | 1 | 0% | 1,043 | 1,705 | +63% | 0 | 0 | — |
case-16 | fail→fail | 9,180 | 12,028 | +31% | 1 | 1 | 0% | 1,603 | 2,527 | +58% | 0 | 0 | — |
case-17 | fail→fail | 11,823 | 19,927 | +69% | 1 | 1 | 0% | 2,175 | 3,695 | +70% | 0 | 0 | — |
case-18 | pass→pass | 14,228 | 10,255 | -28% | 1 | 1 | 0% | 2,873 | 2,312 | -20% | 0 | 0 | — |
case-19 | fail→fail | 8,874 | 8,876 | +0% | 1 | 1 | 0% | 1,800 | 2,037 | +13% | 0 | 0 | — |
case-20 | pass→pass | 7,430 | 6,760 | -9% | 1 | 1 | 0% | 1,306 | 1,461 | +12% | 0 | 0 | — |
case-21 | pass→pass | 5,487 | 4,195 | -24% | 1 | 1 | 0% | 828 | 968 | +17% | 0 | 0 | — |
case-22 | pass→pass | 3,003 | 4,568 | +52% | 1 | 1 | 0% | 496 | 1,052 | +112% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +5 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.