Claude Code v2.1.140: Agent tool usage notes, stricter Self-Modification rules, Snooze warnings
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.
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
👀 See Also

Claude outperforms Gemini, ChatGPT, and Grok in real-time Python coding challenge
A developer tested Claude, Gemini, ChatGPT, and Grok in a real-time Python coding tournament where AI-generated bots competed to find words on a 15×15 letter grid. Claude won decisively.

Reddit user reports 18.8 tok/s CPU inference with Qwen 3 30B Q4 on Zen 4
A user on r/LocalLLaMA tested Qwen 3 30B Q4 on CPU and achieved 18.8 tokens per second with a Zen 4 processor and DDR5 memory, significantly exceeding expectations of 3-5 tok/s.

DeepSeek V4 pricing reality check: 178x cheaper cached tokens vs Opus, but capability lag acknowledged
DeepSeek V4 Pro input at $0.145/M tokens vs Claude Opus 4.7 at $5/M (34x cheaper); cache hits at $0.0036/M vs $0.625/M (173x cheaper). Capability is 3-6 months behind GPT-5.4 and Gemini 3.1 Pro.

Claude Code on the Web Partial Outage Reported
An automatic status update from r/ClaudeAI reports a partial outage for Claude Code on the web starting 2026-05-09T23:33:21.000Z. Check the official status page and community megathread for updates.