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!