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

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

[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]

---

Planning: /Users/cameronolechowski/.claude/plans/image-1-image-2-partitioned-key.md
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

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