Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Suggested gh api commands now read titles and bodies from files

Claude Code's suggested gh api commands for comments, issues, PRs, releases and reviews now use -F field=@<file> instead of inline text

Group of 3 You'll notice Improvements
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
GitArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

What

Claude Code includes example gh api commands, the GitHub command-line tool, that Claude follows when posting to GitHub. They now read text from files instead of writing it inline in the command.

  • Issue comments: -F body=@<text-file> instead of -f body='<text>', with an extra hint line.
  • Issue creation: -F title=@<title-file> -F body=@<text-file> instead of -f title='<title>' -f body='<text>'.
  • Pull request creation fallback: -F title=@<title-file> and -F body=@<text-file>.
  • Release creation: -F name=@<title-file> -F body=@<text-file> instead of -f name='<title>' -f body='<text>'.
  • pr review: -F body=@<text-file> instead of an inline body.

Why

Text with quotes or special characters written inline can be mangled by the shell. Reading it from a file avoids that, so what Claude posts to GitHub arrives as written.

See this entry in the whole of v2.1.331 →

Feedback