Add the ability for an agent to rename its own session

Feature request for product/service

Cursor IDE

Describe the request

I would like to be able to instruct an agent to rename the session to a particular format so that I can see at a glance when reviewing the session history what the session was for.

In particular, I have a skill for debugging many log files from complex product scenario tests and will run this, e.g. “/debug-xyz …/results/2026/Month_07/Jul_10/06:07:44”.
The multiple instances of such investigations (against unique runs) all show a generic “Debug xyz report” in the session history.

Note: I know I can manually rename the session from the IDE, but I would like the skill to be able to set the name appropriately by itself.

Hey @iwoolf!

This should generally work out of the box with a prompt like Rename this chat _________, but there’s currently a bug in the MCP server that enables Cursor to control itself. I can follow up here when that’s fixed!

Hey @iwoolf,
Following up on this, the issue that was blocking the built-in tool Cursor uses to rename chats has been addressed in a recent update. On the latest version, instructing the agent to rename the chat (e.g. ending your skill with “rename this chat to …”) should work now. Give it a try and let me know if it sticks!

Just tried it in Cursor 3.15.6 (Ubuntu) and still have the problem:

prompt: rename this chat to “blah blah blah”

response: I can’t rename chats — that’s a UI action outside my available tools. You can rename it yourself via the chat tab/sidebar in Cursor.

(I’m doing this from a chat session of the editor window)

Hey @iwoolf
Agent rename works in the Agents Window, not the classic Editor. On Ubuntu: Ctrl+Shift+P, search Agents Window, open it, then ask the agent to rename (or put that in your skill). In Editor you can still right-click the chat tab → Rename Chat. We’ll keep this thread for interest in Editor support.

I am definitely interested in using this in the sidebar.
I’ve never used the agents window, and am a little surprised that the two interfaces (to the same chats, I presume?) have different abilities.