* fix(#3039): clamp max/xhigh effort to high for Claude-runtime skills effort: max in plan-phase, execute-phase, and autonomous SKILL.md frontmatter was passed through as output_config.effort, which the Anthropic API rejects when extended thinking is disabled (400: effort 'max' is not supported when thinking is disabled on this model). The frontmatter is static at install time and the installer cannot know whether thinking will be on or off at invocation. normalizeClaudeSkillEffort now clamps both 'max' and 'xhigh' to 'high' — the maximum value that works in both thinking states on all supported models. Applied in both src/runtime-artifact-conversion.cts and bin/install.js. * chore(#3039): backfill changeset PR number 3119 * fix(#3039): regenerate skills with clamped effort: high --------- Co-authored-by: sim <sim@local>
449 B
449 B
type, pr
| type | pr |
|---|---|
| Fixed | 3119 |
Heavy workflow skills no longer fail on Claude with thinking disabled — effort: max in plan-phase, execute-phase, and autonomous SKILL.md frontmatter was rejected by the Anthropic API (400: effort 'max' is not supported when thinking is disabled). The installer now clamps max/xhigh to high for Claude-runtime skills, the maximum value that works in both thinking states on all supported models. (#3039)