Claude Code v2.1.91 Updates: Agent Design Patterns, Memory Rules, and Tool Improvements

Claude Code v2.1.91 introduces updates to agent design patterns, memory management rules, and tool functionality. The release adds a reference guide for building agents on the Claude API and modifies several existing features.
New Agent Design Patterns Guide
The update adds a Skill: Agent Design Patterns reference guide covering decision heuristics for building agents. This includes guidance on tool surface design, context management, caching strategies, and composing tool calls. The guide is referenced in multiple locations including the Build with Claude API skill and tool use concepts documentation.
Memory Management Changes
The "Determine which memory files to attach" agent prompt now uses a simpler rule: do not re-select memories already returned for an earlier query in the same conversation. This replaces the previous rule about skipping memories for recently-used tools. The prompt clarifies that the first message lists available memories and subsequent messages each contain one user query.
Security monitoring for autonomous agent actions now includes a "Memory Poisoning" block rule covering writes to the agent's memory directory that would function as permission grants, BLOCK-rule bypasses, or fabricated user authorization. A corresponding "Memory Directory" allow exception permits routine memory writes (user preferences, project facts, references) that don't constitute poisoning.
Tool Improvements
- Edit Tool: Removed the inline note about edits failing when old_string is not unique; replaced with a slot for additional edit guidelines.
- ReadFile Tool: Added support for relative file paths (preferred for brevity) as a conditional alternative to the absolute-path-only requirement. Made the default line-read limit and additional read notes configurable.
- Write Tool: Replaced the blanket "read first" requirement with a conditional note for new files. Made the "prefer Edit" guidance configurable.
Documentation and Skill Updates
Live documentation sources added WebFetch URLs for six additional tool documentation pages: Bash Tool, Text Editor, Memory Tool, Tool Search, Programmatic Tool Calling, and Skills. Context Editing was added to the Advanced Features section.
Tool use concepts documentation added new sections for Skills (task-specific instruction packages loaded on demand) and Context Editing (pruning stale tool results from the transcript). The Programmatic Tool Calling description was expanded to explain the round-trip cost problem and how scripts run in the code execution container.
The Verify skill now includes a SKIP verdict for changes with no runtime surface (docs-only, types-only, tests-only), distinct from BLOCKED which now strictly means the verifier couldn't reach an observable state. Tests in the diff are considered the author's evidence, not a verification surface.
Removed Features
- Agent Prompt: /pr-comments slash command for fetching and displaying GitHub PR comments
- Agent Prompt: Update Magic Docs
The Build with Claude API skill now recommends medium effort as a favorable balance and max effort when correctness matters more than cost.
📖 Read the full source: r/ClaudeAI
👀 See Also

InclusionAI Releases Ring-2.6-1T: Trillion-Parameter Model for Agent Workflows
InclusionAI unveiled Ring-2.6-1T, a 1-trillion-parameter reasoning model optimized for agent execution, with dual reasoning effort levels (high/xhigh) and async RL training via IcePop algorithm.

OpenClaw Ecosystem Growth and Key Players Mapped
A community member has mapped the OpenClaw ecosystem's rapid expansion, noting 230K+ GitHub stars, 116K+ Discord members, and emerging companies in managed hosting, LLM routing, and security layers within 60 days of launch.

Claude Code 2.1.72 System Prompt Updates: New Execution Modes and Verification Improvements
Claude Code version 2.1.72 introduces new system prompts for Auto mode (continuous task execution) and Brief mode (Codex-like execution), plus significant expansions to the Verification specialist agent with documented failure patterns and structured output requirements.

Sora AI Video Economics: $20 User Costs OpenAI $65 in Compute
OpenAI's Sora AI video generation app reportedly costs $65 in compute per $20/month user, with peak inference costs estimated at $15 million daily versus $2.1 million total lifetime revenue.