Skip to content

Instantly share code, notes, and snippets.

View hamzawaleed0102's full-sized avatar
πŸ’»
Polishing skill in problem solving

Hamza Waleed hamzawaleed0102

πŸ’»
Polishing skill in problem solving
View GitHub Profile
@hamzawaleed0102
hamzawaleed0102 / README.md
Last active May 7, 2026 11:14
Cursor + Claude Code dotfiles: Cursor settings/keybindings (pure-black theme, Cmd+Opt+T β†’ terminal+cld) + Claude Code hooks (auto-rename session title via /rename, terminal tab-title watcher with 🟒 active / 🟑 input-needed indicators, statusline, Glass chime on Stop)

Cursor + Claude Code β€” dotfiles, hooks, statusline, auto-titler

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:

  1. /rename auto-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 a custom-title record to the session transcript. (auto-rename.sh)
  2. Tab-title watcher β€” continuously syncs the resolved session title to the terminal tab via OSC 0/2; flashes 🟑 Input Needed on Notification, prefixes the live title with 🟒. (claude-title-*.sh)
  3. Statusline β€” single line above the prompt: <folder> βŽ‡ <branch>[*+] [↑N↓N] Β· <model>. (claude-statusline.sh)
  4. Glass chime on Stop β€” afplay /System/Library/Sounds/Glass.aiff so you hear when Claude finishes.