Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v1.0.122 Home All releases olderv1.0.120 v1.0.123newer
Claude Code v1.0.122

Slash Command Budget Management

What changed: Slash command descriptions are now limited to prevent excessive context window usage

How it works now:

  • Default character budget: 15,000 characters
  • Configurable via SLASH_COMMAND_TOOL_CHAR_BUDGET environment variable
  • Shows notification when commands are truncated: "(Showing 25 of 50 commands due to token limits)"
  • Only includes commands with user-specified descriptions (excludes built-in commands without descriptions)

Details:

  • Prevents unlimited context consumption with many custom commands
  • Prioritizes commands by order (shows first N that fit in budget)
  • Separate token tracking for slash command overhead
  • Evidence: GM6() at line 402246, G4B() at line 402255, Y4B() at line 402266

See this entry in the whole of v1.0.122 →