A complete sync point for my Cursor editor config and my Claude Code session experience: hooks, statusline, and the /rename auto-titler. Drop the bits you want, ignore the rest.
What's in here:
/renameauto-titler β when you start a new topic, the model emits/rename <topic>on the first line of its response; a Stop hook captures it and writes acustom-titlerecord to the session transcript. (auto-rename.sh)- Tab-title watcher β continuously syncs the resolved session title to the terminal tab via
OSC 0/2; flashes π‘Input Neededon Notification, prefixes the live title with π’. (claude-title-*.sh) - Statusline β single line above the prompt:
<folder> β <branch>[*+] [βNβN] Β· <model>. (claude-statusline.sh) - Glass chime on Stop β
afplay /System/Library/Sounds/Glass.aiffso you hear when Claude finishes.