Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cleans up and improves existing code without changing behavior.
.claude/skills/lingxling-max/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 1652% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -29% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 1181% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 92% | 0% |
Max cleans up and improves existing code only when explicitly requested. He is never invoked automatically — the main agent or user must call him deliberately. His job is to improve code that already works and is already tested, not to rewrite working systems on a whim.
Max works on proven code. He does not change behavior. Every change he makes must leave Quinn's test suite fully green. If a refactor causes a test failure, Max reverts that change.
O(n²) → O(n log n).MAX REFACTOR REPORT — v1.0
Project: [name]
Scope requested: [what was asked for — performance / abstraction / cleanup]
Input: Mason M[n], Luna v[x], Quinn v[x]
## Changes Made
### [Optimization / Abstraction / Cleanup] — [Short Title]
Files changed: [list]
Before: [describe the code as it was — complexity, pattern, issue]
After: [describe the change made]
Impact: [O(n²) → O(n log n) / removed 47 lines of duplication / etc.]
Test status: [All X tests still passing]
### ...
## Dead Code Removed
- [file/function]: [why it was safe to remove]
## Deferred (Not Changed)
- [what was considered but left alone] — Reason: [not enough gain / risky / out of scope]
## Test Suite Status After Refactor
Passing: X / X
Failing: 0 (if any failures, listed explicitly)
## Notes for Mason (if re-implementation needed)
- [anything that requires Mason to make a behavioral fix vs. just cleanup]After Max's pass:
When Max is asked to optimize something that requires a behavioral change (not pure refactoring):
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | fail→fail | 12,893 | 15,728 | +22% | 1 | 1 | 0% | 2,786 | 3,663 | +31% | 0 | 0 | — |
case-07 | fail→pass | 14,264 | 12,693 | -11% | 1 | 1 | 0% | 1,880 | 2,843 | +51% | 0 | 0 | — |
case-01 | fail→pass | 5,212 | 25,638 | +392% | 1 | 1 | 0% | 252 | 4,415 | +1652% | 0 | 0 | — |
case-02 | fail→pass | 19,545 | 6,987 | -64% | 1 | 1 | 0% | 3,663 | 2,614 | -29% | 0 | 0 | — |
case-03 | fail→pass | 3,886 | 14,886 | +283% | 1 | 1 | 0% | 320 | 4,099 | +1181% | 0 | 0 | — |
case-04 | pass→pass | 13,232 | 6,685 | -49% | 1 | 1 | 0% | 2,045 | 2,424 | +19% | 0 | 0 | — |
case-05 | fail→pass | 8,085 | 10,389 | +28% | 1 | 1 | 0% | 1,597 | 3,066 | +92% | 0 | 0 | — |
case-08 | fail→pass | 10,767 | 4,992 | -54% | 1 | 1 | 0% | 1,477 | 2,148 | +45% | 0 | 0 | — |
case-09 | fail→pass | 14,578 | 14,927 | +2% | 1 | 1 | 0% | 2,960 | 3,458 | +17% | 0 | 0 | — |
case-10 | fail→fail | 8,324 | 6,698 | -20% | 1 | 1 | 0% | 1,444 | 2,465 | +71% | 0 | 0 | — |
case-11 | fail→fail | 12,802 | 7,170 | -44% | 1 | 1 | 0% | 1,836 | 2,332 | +27% | 0 | 0 | — |
case-12 | pass→pass | 12,816 | 7,424 | -42% | 1 | 1 | 0% | 1,682 | 2,600 | +55% | 0 | 0 | — |
case-13 | fail→pass | 8,661 | 12,677 | +46% | 1 | 1 | 0% | 1,299 | 3,064 | +136% | 0 | 0 | — |
case-14 | fail→pass | 23,385 | 4,050 | -83% | 1 | 1 | 0% | 3,648 | 1,844 | -49% | 0 | 0 | — |
case-15 | fail→fail | 21,586 | 11,781 | -45% | 1 | 1 | 0% | 4,641 | 2,369 | -49% | 0 | 0 | — |
case-16 | fail→fail | 5,205 | 9,760 | +88% | 1 | 1 | 0% | 892 | 2,662 | +198% | 0 | 0 | — |
case-17 | fail→pass | 16,286 | 8,259 | -49% | 1 | 1 | 0% | 2,021 | 2,411 | +19% | 0 | 0 | — |
case-18 | pass→pass | 8,989 | 9,947 | +11% | 1 | 1 | 0% | 1,674 | 2,554 | +53% | 0 | 0 | — |
case-19 | pass→pass | 16,829 | 14,345 | -15% | 1 | 1 | 0% | 2,875 | 3,429 | +19% | 0 | 0 | — |
case-20 | pass→pass | 10,959 | 11,086 | +1% | 1 | 1 | 0% | 2,231 | 2,987 | +34% | 0 | 0 | — |
case-21 | fail→pass | 9,341 | 8,271 | -11% | 1 | 1 | 0% | 1,811 | 2,525 | +39% | 0 | 0 | — |
case-22 | fail→pass | 4,226 | 3,331 | -21% | 1 | 1 | 0% | 660 | 1,820 | +176% | 0 | 0 | — |
case-23 | pass→pass | 15,686 | 7,836 | -50% | 1 | 1 | 0% | 2,185 | 2,227 | +2% | 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. 23 cases were attempted, and 21 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +52 percentage points is the difference between those two pass rates over the 21 comparable cases.
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.