[BUG] /init command does not take into account the user prompt restrictions

Resolved 💬 3 comments Opened Dec 12, 2025 by tshaiman Closed Feb 14, 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?

When I try to create a claude.md file on a repo that I cloned from github (https://github.com/awslabs/kubeflow-manifests#) , I gave the prompt some more information then just writing /init .
my prompt was :

/init the repository represent AWS version to install kubeflow on their infrastructure. I want to follow this guidelines only without creating VPC, EKS or Route53 resources since
  those already exists on our infrastructure. we will use terraform for the deployment

claude code completly ignored the instuction and did not restrict the claude.md to take into account the restrictions and extra direction .
only after the claude.md file got created , I had to redirect it again to take my prompt into account

<img width="1730" height="388" alt="Image" src="https://github.com/user-attachments/assets/97063287-519d-4e7a-9c98-90c133661f61" />

<img width="1725" height="497" alt="Image" src="https://github.com/user-attachments/assets/32dd3132-603d-4cd5-969c-fbc48ad107e5" />

What Should Happen?

  • Claude init command should take the user input into account and limit its Claude.md creation with the user instructions .

Error Messages/Logs

- Claude Code said "You are right!" and re-wrote the Claude.MD correctly , but the process took more time and more tokens

Steps to Reproduce

  1. clone https://github.com/awslabs/kubeflow-manifests#
  2. cd to the cloned directory and open Claude Code using VS Code plugin or terminal
  3. Ensure Version is v2.0.67 which is the latest when this bug was opened.
  4. write the following prompt
/init the repository represent AWS version to install kubeflow on their infrastructure. I want to follow this guidelines only without creating VPC, EKS or Route53 resources since
  those already exists on our infrastructure. we will use terraform for the deployment

note the /init command at the beginning

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

?

Claude Code Version

v2.0.67

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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