Claude Code cuts the text after 1,536 characters
Claude Code lets a skill add a second field, when_to_use, next to its description. In the skill list it joins the two into one piece of text, and that text is cut at 1,536 characters to save context.
Whatever comes after the cut never reaches the model. Since when_to_use comes second, the trigger phrases are the part that gets lost, and the skill stops loading for exactly the requests they listed.
"Put the key use case first: the combined description and when_to_use text is truncated at 1,536 characters in the skill listing to reduce context usage."
"Codex cuts at 1,024 characters, Claude Code at 1,536, and Copilot CLI drops the skill past 1,024 UTF-16 units."
Keep the trigger phrases short and first
Put the most common requests first and drop near-duplicates.
This fails:
description: Reviews pull requests... (900 characters)
when_to_use: Use when... (800 characters)This passes:
description: Reviews pull requests for bugs and style. Use when the user asks for a review.
when_to_use: Also when they paste a diff or mention a PR number.