Prompting Sonnet 5

How to prompt and scaffold Claude Sonnet 5 — the migration-from-4.6 API breakers (sampling params now error, new tokenizer inflates tokens ~30%, extended-thinking budgets removed), adaptive-thinking-on-by-default, effort mapping, tool-use triggering, and design/code-review tuning. Use when starting Sonnet 5 work, picking Sonnet as a subagent model, migrating a 4.6 prompt or n8n/API call, hitting a 400 error on temperature, or seeing max_tokens truncation.

aksheyw Updated
How most of these skills got written. A bug eats more than 20 minutes of a working session. At session end I write down the symptoms, the root cause, the exact

File contents

aksheyw/claude-code-learned-skills commit 07d83bdd8d

Frequently asked questions

npx get-skill add aksheyw/prompting-sonnet-5