[BUG]
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?
I run long Claude Code sessions with a lot of tool calls and I've noticed that <system-reminder> tags are leaking into the tool output that's visible to me as the user. The one I keep seeing is the "task tools haven't been used recently" reminder - it shows up after almost every tool call, sometimes multiple times per response.
The problem isn't that the reminder exists - it's that it renders in my view of the conversation. When I'm reading through a sequence of file moves, grep results, and edit confirmations, having a paragraph of internal system prompting injected into the middle of that is genuinely disorienting. I kept thinking it was a hook error at first.
Repro is easy - just run a session where you're doing a lot of tool calls without using the Task tools. The reminder starts appearing in tool results and it doesn't stop.
What Should Happen?
Two thoughts on a fix:
- These should be invisible to the user entirely - they're instructions to the model, not output for me
- If suppressing them from the rendered output isn't feasible, at least gate the frequency. Seeing it after every
single tool call is excessive even if I could ignore it
Not a blocker, just sandpaper that is rubbing me the wrong way - CONSTANTLY!
Thanks for building this thing - I live in it.
Error Messages/Logs
● Ran 1 stop hook (ctrl+o to expand)
⎿ Stop hook error: Failed with non-blocking status code: Set-Location : Cannot find path
'Q:\FlowTether\sessionlogs\:CLAUDE_PROJECT_DIR' because it does not exist.
At line:1 char:1
+ Set-Location :CLAUDE_PROJECT_DIR; & '.\scripts\session-log-reminder.p ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Q:\FlowTether\s...UDE_PROJECT_DIR:String) [Set-Location],
ItemNotFoundE
xception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
& : The term '.\scripts\session-log-reminder.ps1' is not recognized as the name of a cmdlet, function, script
file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try
again.
At line:1 char:37
+ ... -Location :CLAUDE_PROJECT_DIR; & '.\scripts\session-log-reminder.ps1'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (.\scripts\session-log-reminder.ps1:String) [],
CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Steps to Reproduce
run any tool. i run a LOT of tools, this is annoying AF.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.74 claude code
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
I dont get it myself. CC says its nothing to worry about but it has made my logs UNREADABLE today!
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗