[MODEL] Claude Code + Opus 4.8 frequently echos hello world during planning

Resolved 💬 5 comments Opened May 31, 2026 by karimsa-acuity Closed Jul 3, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Other unexpected behavior

What You Asked Claude to Do

I asked Claude to plan out migration operations

What Claude Actually Did

I have noticed very frequently that Claude will stop to "echo" hello-world-like things, as if its testing whether the Bash tool works correctly. This happens very often, and it seems like it is just burning tokens for fun:

<img width="544" height="130" alt="Image" src="https://github.com/user-attachments/assets/d2764d89-12be-4769-b360-99526b18a1e9" />

<img width="328" height="106" alt="Image" src="https://github.com/user-attachments/assets/532584cd-5176-4475-b3ce-6b365f96b1e0" />

<img width="180" height="52" alt="Image" src="https://github.com/user-attachments/assets/5355f3fc-4d9f-4c81-8fdd-2402da422e2d" />

<img width="299" height="109" alt="Image" src="https://github.com/user-attachments/assets/40a1c7e6-9751-49c2-8338-8b4e7c8f2a2c" />

Expected Behavior

Not to stop to verify that the shell works...

Files Affected

Permission Mode

Accept Edits was OFF (manual approval required)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

  1. Switch to planning mode
  2. Ask it to plan any task

Claude Model

Opus

Relevant Conversation

Impact

Low - Minor inconvenience

Claude Code Version

2.1.158 (Claude Code)

Platform

Anthropic API

Additional Context

_No response_

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗