Claude Code System Prompts v2.1.51/52: New Prompts, SDK Updates, and GA Features

✍️ OpenClawRadar📅 Published: February 24, 2026🔗 Source
Claude Code System Prompts v2.1.51/52: New Prompts, SDK Updates, and GA Features
Ad

System Prompt Updates

Version 2.1.51 (and 2.1.52) adds six new system prompts: Quick git commit, Quick PR creation, Agent SDK reference (TypeScript), version mismatch warning, verifier skill creation, and hook JSON validation error. One prompt was removed: single-word search term extractor.

SDK and API Changes

SDK/API references have been updated across all seven supported languages (Python, TypeScript, Java, C#, Ruby, Go, PHP). Changes include version bumps, streaming rewrites, model constant updates, and removal of "beta" labels from C# and PHP references.

Feature Promotions and New Tools

Code execution and memory features have been promoted to General Availability (GA). This includes the API change from client.beta.messages.create to client.messages.create and tool type updates from code_execution_20250825 to code_execution_20260120. New server-side tools include Web Search/Fetch, Programmatic Tool Calling, and Tool Search.

Python Agent SDK Rework

The Python Agent SDK has undergone significant changes: asyncio has been replaced with anyio, a ResultMessage pattern has been implemented, and custom tools now require an MCP server. A new ClaudeSDKClient interface has been introduced with expanded options, permissions, and hooks.

Ad

Model Catalog Updates

The model catalog now includes a Max Output column. Opus 4.6 with 1M context is in beta, while Sonnet 3.7 and Haiku 3.5 have been moved to "Retired" status.

Thinking/Effort Expansion

Adaptive thinking and effort parameters are now supported on Sonnet 4.6. The budget_tokens parameter has been deprecated on both Opus 4.6 and Sonnet 4.6. Stronger default model guidance now recommends "always use opus-4-6."

Worktree Tool Changes

The worktree tool now only triggers on explicit "worktree" mentions and includes a new "When NOT to Use" section.

Additional Updates

  • Cache TTL support added ("ttl": "1h")
  • Stop Reasons table added to Python and TypeScript references
  • HTTP error codes switched to API error type strings
  • Internal variable renames across 12 files

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also