Problem
Currently, curlens detects its own cursor agent -p summarization calls by checking if the chat name is "New Agent" (for chats created after Jan 2026). This is fragile because:
- Cursor could change the default name for
-p chats at any time
- If they make it meaningful (e.g., based on prompt content), our filter would break
- We'd start summarizing our own summarization requests, causing circular/redundant entries
Current Workaround
- Skip chats named "New Agent" created after Jan 1, 2026
- Additionally filter out meta-chats containing summarization prompt phrases
Ideal Solution
If Cursor CLI adds a --name flag for -p mode:
cursor agent -p --name "curlens-internal" --model grok "Summarize..."
We could then reliably filter by a unique name we control.
Action Items
Related
Problem
Currently, curlens detects its own
cursor agent -psummarization calls by checking if the chat name is "New Agent" (for chats created after Jan 2026). This is fragile because:-pchats at any timeCurrent Workaround
Ideal Solution
If Cursor CLI adds a
--nameflag for-pmode:We could then reliably filter by a unique name we control.
Action Items
Related