[BUG] /goal clear is not working

Resolved 💬 1 comment Opened May 12, 2026 by SaikrishnanSekar Closed Jun 11, 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?

[BUG] /goal clear is not working and its exhausting my entire tokens for the session as it runs in a loop.

What Should Happen?

it should clear the goal and stop there

Error Messages/Logs

Steps to Reproduce

  1. set a goal using ==> /goal
  2. claude is not able to finish the goal and asks to clear the goal using --> /goal clear
  3. The /goal clear gets called n number of times until the session tokens are exhausted as in screenshot attached.
  4. I lost 2 valuable sessions because of this issue.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Version 1.6608.2 (ebf1a1)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

<img width="1324" height="647" alt="Image" src="https://github.com/user-attachments/assets/1c45b787-e200-476d-97d9-22465db48ef5" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗