[FEATURE] Add a command to display ONLY user prompts
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When a task is extremely long and contains numerous AI actions, I want to find ONLY my prompts, which is nearly impossible. Not because of the requested highlighting: https://github.com/anthropics/claude-code/issues/4385 and https://github.com/anthropics/claude-code/issues/6882, but because of the large conversation, which is difficult to scroll through.
I'd like to have some sort of filtering to display only my messages. Or have a list of messages by only first lines of them and jump like anchors in a web.
Proposed Solution
I'd like to have a command like /filter or /jump that displays a numbered list of the first lines of each message, with User/AI highlighted. I can press enter, and chat will take me to the top of that message.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
I'm working on an UX/UI feature. Initial implementation is straightforward. However, many test cases exist for various devices. As a result, writing e2e cases requires a significant amount of time and context. Frequently, the results are subpar. AI occasionally experiences hallucinations. I once wrote all test cases, but AI ignored them. I'd rather not write them again. I just want to go back to my message and manually copy it to resend. But I can't find it any more.
Additional Context
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗