skill-creator: improve_description.py fails with thinking.type 'adaptive' on current SDK
Resolved 💬 3 comments Opened Mar 12, 2026 by kumaakh Closed Apr 9, 2026
Bug
The skill-creator plugin's improve_description.py script uses thinking={"type": "adaptive", "budget_tokens": 10000} in its Anthropic API calls (lines 117-119 and 154-156). This fails with the current public Anthropic Python SDK (v0.84.0):
anthropic.BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'thinking.adaptive.budget_tokens: Extra inputs are not permitted'}, 'request_id': 'req_011CYxULYR5sroEsuYTMuN2c'}
Steps to reproduce
- Install
anthropicPython SDK (latest: v0.84.0) - Run
python -m scripts.run_loop --eval-set eval.json --skill-path my-skill --model claude-opus-4-6 --max-iterations 5 - Eval phase completes, but the "Improving description..." step crashes
Expected behavior
run_loop.py should complete all iterations without SDK errors.
Workaround
Change "type": "adaptive" to "type": "enabled" in both occurrences in improve_description.py. This uses full extended thinking instead of adaptive, which works on the current SDK.
Environment
- Claude Code v2.1.73
- Anthropic Python SDK v0.84.0
- macOS (also reproduced on Windows)
- Model: claude-opus-4-6
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗