llm-tuning-patterns — Claude Code skill: settings and install
The llm-tuning-patterns skill recommends LLM settings for theorem proving, code generation, and creative work. Use it to choose token limits and temperature for a specific task.
MIT ★ 3,951 updated 2026-01-26
npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a claude-codeWhat llm-tuning-patterns does
The skill gives separate parameter suggestions for different workloads. For theorem proving, it recommends max_tokens 4096, temperature 0.6, and top_p 0.95. For code generation, it suggests 2048 tokens and a temperature between 0.2 and 0.4; creative tasks call for 4096 tokens and a temperature from 0.8 to 1.0.
For Lean 4 proofs, it advises writing a high-level plan before selecting tactics. Hard problems can use parallel sampling: generate 8 to 32 candidates, then choose the best. A low token limit can cut off a proof, while temperature 0.2 may miss less obvious tactic paths. These are configuration recommendations; the skill does not automatically change model settings.
Install it with npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a claude-code. The skill file is located at ~/.claude/skills/llm-tuning-patterns/SKILL.md.
What it helps with
- choose a temperature for code generation
- set LLM parameters for formal proof work
- plan a Lean 4 proof before selecting tactics
- compare candidate attempts at a difficult proof
Example prompts for the agent
- Recommend LLM settings for this code-generation task and explain the choice.
- Write a proof plan for this theorem, then suggest Lean 4 tactics for each step.
- Suggest
max_tokensandtemperaturevalues for a creative exploration task.
How to install llm-tuning-patterns
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/llm-tuning-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/llm-tuning-patterns/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a codex2Manually: put the files in place
.agents/skills/llm-tuning-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a cursor2Manually: put the files in place
.cursor/skills/llm-tuning-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install parcadei/Continuous-Claude-v3 .claude/skills/llm-tuning-patterns2Manually: put the files in place
.github/skills/llm-tuning-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/parcadei/Continuous-Claude-v3 --path .claude/skills/llm-tuning-patternsManually: put the files in place
.devin/skills/llm-tuning-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about llm-tuning-patterns
How do I install llm-tuning-patterns in Claude Code?
Run npx skills add parcadei/Continuous-Claude-v3 --skill llm-tuning-patterns -a claude-code. The skill file is at ~/.claude/skills/llm-tuning-patterns/SKILL.md.
What does llm-tuning-patterns do?
It recommends LLM parameters for theorem proving, code generation, and creative tasks. For Lean 4 proofs, it also advises planning the approach before choosing tactics.
Which settings does the skill recommend for theorem proving?
It suggests max_tokens 4096, temperature 0.6, and top_p 0.95. For difficult proofs, it describes generating 8 to 32 candidates in parallel and selecting the best.
Source text
SKILL.md · MIT
--- name: llm-tuning-patterns description: LLM Tuning Patterns user-invocable: false --- # LLM Tuning Patterns Evidence-based patterns for configuring LLM parameters, based on APOLLO and Godel-Prover research. ## Pattern Different tasks require different LLM configurations. Use these evidence-based settings. ## Theorem Proving / Formal Reasoning 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 | ### Proof Plan Prompt 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. ### Parallel Sampling For hard proofs, use parallel sampling: - Generate N=8-32 candidate proof attempts - Use best-of-N selection - Each sample at temperature 0.6-0.8 ## Code Generation | Parameter | Value | Rationale | |-----------|-------|-----------| | max_tokens | 2048 | Sufficient for most functions | | temperature | 0.2-0.4 | Prefer deterministic output | ## Creative / Exploration Tasks | Parameter | Value | Rationale | |-----------|-------|-----------| | max_tokens | 4096 | Space for exploration | | temperature | 0.8-1.0 | Maximum creativity | ## Anti-Patterns - **Too low tokens for proofs**: 512 tokens truncates chain-of-thought - **Too low temperature for proofs**: 0.2 misses creative tactic paths - **No proof plan**: Jumping to tactics without planning reduces success rate ## Source Sessions - This session: APOLLO parity - increased max_tokens 512->4096, temp 0.2->0.6 - This session: Added proof plan prompt for chain-of-thought before tactics
© parcadei · MIT · parcadei/Continuous-Claude-v3