Install any skill in seconds. Free to start, no credit card required.
Get Started Free →LLM Tuning Patterns
.claude/skills/llm-tuning-patterns/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -41% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -44% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -37% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -14% | 0% |
Evidence-based patterns for configuring LLM parameters, based on APOLLO and Godel-Prover research.
Different tasks require different LLM configurations. Use these evidence-based settings.
Based on APOLLO parity analysis:
| Parameter | Value | Rationale | |-----------|-------|-----------| | max_tokens | 4096 | Proofs need space for chain-of-thought | | temperature | 0.6 | Higher creativity for tactic exploration | | top_p | 0.95 | Allow diverse proof paths |
Always request a proof plan before tactics:
Given the theorem to prove:
[theorem statement]
First, write a high-level proof plan explaining your approach.
Then, suggest Lean 4 tactics to implement each step.The proof plan (chain-of-thought) significantly improves tactic quality.
For hard proofs, use parallel sampling:
| Parameter | Value | Rationale | |-----------|-------|-----------| | max_tokens | 2048 | Sufficient for most functions | | temperature | 0.2-0.4 | Prefer deterministic output |
| Parameter | Value | Rationale | |-----------|-------|-----------| | max_tokens | 4096 | Space for exploration | | temperature | 0.8-1.0 | Maximum creativity |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 19,036 | 9,323 | -51% | 1 | 1 | 0% | 3,191 | 1,880 | -41% | 0 | 0 | — |
case-02 | fail→pass | 18,313 | 5,987 | -67% | 1 | 1 | 0% | 2,682 | 1,504 | -44% | 0 | 0 | — |
case-03 | fail→pass | 19,085 | 6,324 | -67% | 1 | 1 | 0% | 3,123 | 1,693 | -46% | 0 | 0 | — |
case-04 | fail→pass | 16,065 | 6,837 | -57% | 1 | 1 | 0% | 2,655 | 1,682 | -37% | 0 | 0 | — |
case-05 | fail→pass | 10,240 | 5,556 | -46% | 1 | 1 | 0% | 1,726 | 1,488 | -14% | 0 | 0 | — |
case-06 | pass→pass | 14,090 | 6,464 | -54% | 1 | 1 | 0% | 2,591 | 1,637 | -37% | 0 | 0 | — |
case-07 | pass→pass | 13,925 | 4,417 | -68% | 1 | 1 | 0% | 2,242 | 1,164 | -48% | 0 | 0 | — |
case-08 | fail→pass | 12,603 | 6,886 | -45% | 1 | 1 | 0% | 2,322 | 1,823 | -21% | 0 | 0 | — |
case-09 | fail→pass | 10,822 | 4,802 | -56% | 1 | 1 | 0% | 1,892 | 1,157 | -39% | 0 | 0 | — |
case-10 | fail→pass | 12,664 | 4,145 | -67% | 1 | 1 | 0% | 2,118 | 1,155 | -45% | 0 | 0 | — |
case-11 | pass→pass | 10,320 | 5,536 | -46% | 1 | 1 | 0% | 1,747 | 1,392 | -20% | 0 | 0 | — |
case-12 | pass→pass | 11,281 | 5,302 | -53% | 1 | 1 | 0% | 1,763 | 1,210 | -31% | 0 | 0 | — |
case-13 | pass→pass | 13,658 | 6,029 | -56% | 1 | 1 | 0% | 2,179 | 1,492 | -32% | 0 | 0 | — |
case-14 | pass→pass | 13,807 | 11,748 | -15% | 1 | 1 | 0% | 2,256 | 2,135 | -5% | 0 | 0 | — |
case-15 | pass→pass | 13,254 | 3,671 | -72% | 1 | 1 | 0% | 1,976 | 1,116 | -44% | 0 | 0 | — |
case-16 | fail→pass | 11,761 | 2,794 | -76% | 1 | 1 | 0% | 2,105 | 964 | -54% | 0 | 0 | — |
case-17 | fail→pass | 15,881 | 5,950 | -63% | 1 | 1 | 0% | 2,642 | 1,436 | -46% | 0 | 0 | — |
case-18 | pass→pass | 15,884 | 9,193 | -42% | 1 | 1 | 0% | 2,568 | 1,961 | -24% | 0 | 0 | — |
case-19 | fail→pass | 14,142 | 2,921 | -79% | 1 | 1 | 0% | 2,290 | 1,049 | -54% | 0 | 0 | — |
case-20 | pass→pass | 17,142 | 9,811 | -43% | 1 | 1 | 0% | 2,635 | 2,294 | -13% | 0 | 0 | — |
case-21 | pass→pass | 7,504 | 6,971 | -7% | 1 | 1 | 0% | 1,339 | 1,683 | +26% | 0 | 0 | — |
case-22 | pass→pass | 5,007 | 4,848 | -3% | 1 | 1 | 0% | 929 | 1,183 | +27% | 0 | 0 | — |
case-23 | pass→pass | 12,801 | 6,931 | -46% | 1 | 1 | 0% | 2,110 | 1,641 | -22% | 0 | 0 | — |
case-24 | fail→pass | 15,298 | 3,113 | -80% | 1 | 1 | 0% | 2,725 | 995 | -63% | 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. 24 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 24 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.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/29/2026 | +61% |
Other measured skills in the registry, with their headline benchmark lift.