[BUG] New Plan Mode using Image Attachments in Prompt to Generate Plan File Name (`~/.claude/plans/image-1-image-2-some-thing.md`)

Resolved 💬 0 comments Opened May 16, 2026 by camolechowski Closed May 27, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

If I create a plan where the first two or three things in my prompt are a screenshot (i.e. [Image 1][Image 2]) - the plan file that's generated will include image-1-image-2 consistently. I generally wouldn't consider this a bug but I assume this feature is to make the plan file names more relevant to the actual work and, if people are doing this frequently, they will end up with a bunch of plan files with near identical names.

Plan Mode Prompt

 [Image #1] [Image #2] make a plan on how to integrate these pictures into a static asset doc for group review
  ⎿  [Image #1]
  ⎿  [Image #2]

Plan File Name

Planning: /Users/cameronolechowski/.claude/plans/image-1-image-2-partitioned-key.md

What Should Happen?

Do not include the images in the plan file name generation function

Steps to Reproduce

  1. Open a new session or an existing session and make sure plan mode is enabled
  2. Add two or more images first
  3. Type a prompt afterwards
  4. Let it generate the plan
  5. Review the plan file name
Planning: /Users/cameronolechowski/.claude/plans/image-1-image-2-partitioned-key.md

<img width="1612" height="846" alt="Image" src="https://github.com/user-attachments/assets/790e7073-522e-4357-aa26-d5a545fa742d" />
<img width="855" height="90" alt="Image" src="https://github.com/user-attachments/assets/d43c0ed5-7384-49ed-badf-39d2dc3ccd33" />

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.143

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

<img width="1614" height="471" alt="Image" src="https://github.com/user-attachments/assets/51648af8-0014-4098-9032-39357bba87da" />

View original on GitHub ↗