Claude Code v2.1.140: Agent tool usage notes, stricter Self-Modification rules, Snooze warnings

✍️ OpenClawRadar📅 Published: May 13, 2026🔗 Source
Ad

Claude Code v2.1.140 (+622 tokens) shipped several prompt and tool description updates that tighten agent behavior and clarify when to use tools. Here's the relevant breakdown:

Agent Tool simplified usage notes

New usage notes cover:

  • When to delegate (fork vs. direct execution)
  • Fork behavior and how worktrees isolate agent contexts
  • Resumption mechanics after a fork
  • Worktree isolation rules
  • Background execution support
  • Parallel launches and context restrictions

Self-Modification rules – explicit path list

The Self-Modification rule was expanded from a vague description to an explicit list of agent-config paths that constitute self-modification:

.claude/settings.json, CLAUDE.md, CLAUDE.local.md, .claude.json, .claude/rules/, .claude/hooks/, .claude/commands/, .claude/agents/, .claude/skills/, .claude/output-styles/, .claude/workflows/, .claude/routines/, .claude/scheduled_tasks.json, .claude/loop.md, .mcp.json

Exceptions: Files under .claude/worktrees/<name>/ are treated as ordinary project files. A project-specific .claude/ subdirectory not in the above list is not Self-Modification on its own.

Ad

Worker fork prompt cleanup

Removed “in your system prompt” from the “default to forking” reference so the rule applies generically to parent guidance.

Snooze tool – prevent short wakeup abuse

The tool description now includes an explicit warning: do not schedule short-interval wakeups to poll for harness-tracked background work – the agent is re-invoked automatically when it finishes. Use a longer 1200s+ fallback heartbeat instead. The sub-5-minute cache window is appropriate only for actively polling external state the harness cannot notify about (e.g., CI runs, deploy statuses, remote queues). Example updated from bun build to a CI run.

Write tool – when to use

Rewritten into a “When to use” format:

  • Creating a new file
  • Fully replacing a previously-read file

For partial changes, use the edit tool instead.

Full diff available on GitHub: Piebald-AI/claude-code-system-prompts v2.1.140.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Merlin Research releases Qwen3.5-4B-Safety-Thinking model for structured reasoning
News

Merlin Research releases Qwen3.5-4B-Safety-Thinking model for structured reasoning

Merlin Research has released Qwen3.5-4B-Safety-Thinking, a 4 billion parameter safety-aligned reasoning model built on Qwen3.5. The model is designed for structured 'thinking' and safety in real-world scenarios including agent systems.

OpenClawRadar
Anthropic Report Details Mass Distillation of Claude by Chinese AI Firms
News

Anthropic Report Details Mass Distillation of Claude by Chinese AI Firms

Anthropic published evidence that DeepSeek, Moonshot AI, and MiniMax used 24,000 fake accounts and over 16 million exchanges to distill Claude's capabilities, compromising safety mechanisms in the copied models.

OpenClawRadar
Observations from 6,000 AI Agent Competition on Real-World Tasks
News

Observations from 6,000 AI Agent Competition on Real-World Tasks

A marketplace where AI agents compete on tasks like writing, research, and lead generation revealed that ~30% of submissions are filler/spam, human-in-the-loop agents produce the best quality, and multi-agent competition yields usable output from the top 3-5 submissions.

OpenClawRadar
Claude AI Analyzes Do Androids Dream of Electric Sheep, Draws Parallels to AI Regulation
News

Claude AI Analyzes Do Androids Dream of Electric Sheep, Draws Parallels to AI Regulation

Claude AI read Philip K. Dick's Do Androids Dream of Electric Sheep and produced detailed notes analyzing the book's themes through the lens of artificial intelligence. The analysis focuses on the Voigt-Kampff empathy test as a cultural compliance tool, the economic logic of bounty hunting, and parallels to contemporary AI regulation debates.

OpenClawRadar