Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Bash commands are now classified for telemetry

Claude Code now parses bash commands into categories (like git, npm, docker) for internal telemetry

TierNothing to try yethow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaTelemetrywhat it touches
KindIn Developmentin v2.1.268,
Group of 2 Nothing to try yet

Claude Code now parses bash commands into categories (like git, npm, docker) for internal telemetry

What

When Claude Code runs a command with the Bash tool, it now breaks that command down into structured pieces before recording it internally:

  • A command class and the program name (argv0), covering tools like git, gh, npm, pnpm, yarn, pip, uv, cargo, go, docker, and kubectl
  • The subcommand being used (for example git commit or gh pr), including a second-level subcommand for gh
  • Whether the command uses a pipe, redirect, chain (like &&), subshell, or heredoc, and how many simple commands it contains
  • Prefix commands such as sudo, env, time, nice, timeout, xargs, stdbuf, and caffeinate are stripped out first so the real command underneath is what gets classified

This breakdown is attached to Claude Code's internal telemetry events for bash tool use (success and error), behind an enhanced-telemetry setting.

Why

This is internal analytics, not a user-facing feature. It lets Claude Code understand what kinds of commands are being run in aggregate without needing to log the raw command text, which helps improve the product while limiting exposure of potentially sensitive command content.

See this entry in the whole of v2.1.268 →

Feedback