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

Cursor's Composer 2.0 appears to use Kimi 2.5 model based on API endpoint evidence
Network analysis shows Cursor's Composer 2.0 sends requests to an endpoint containing 'kimi-k2p5-rl-0317-s515-fast', suggesting it's based on Kimi 2.5. The modified MIT license reportedly requires attribution but minimal other obligations.

Claude for Excel and PowerPoint Updates: Cross-Application Context and Skills Integration
Claude for Excel and PowerPoint now share conversation context across open files, with Skills available in both add-ins. The tools are accessible via Amazon Bedrock, Google Cloud's Vertex AI, and Microsoft Foundry for paid Mac and Windows users.

AI Is Making Me Dumb: A Developer's Confession of Skill Atrophy
James Pain confesses that after a year or two of using AI exclusively for coding (no hand-written code), he has mostly forgotten how to code. He's now teaching himself to code by hand again, and warns that heavy AI use can erode writing and coding skills.

Greg Kroah-Hartman's Clanker T1000: Local LLM on Framework Desktop with AMD Ryzen AI Max Fuzzing Linux Kernel Bugs
Greg KH's 'gregkh_clanker_t1000' uses a local LLM running on a Framework Desktop (AMD Ryzen AI Max+) to fuzz the Linux kernel, resulting in ~20 merged patches since April 7 fixing bugs in ALSA, HID, SMB, Nouveau, IO_uring, and more.