[FEATURE] Add repository/project name prefix to window title
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When working with multiple Claude Code instances across different repositories simultaneously (e.g., web-app, backend), it's difficult to distinguish which terminal window corresponds to which repo. All windows show generic titles without repository context.
Environment
- OS: Linux (WSL2)
- Terminal: bash
- Use case: Enterprise development with Azure DevOps
Proposed Solution
Prefix the window/terminal title with the repository or project name. For example:
- web-app - Claude Code/Generated Title
- agent-service - Claude Code/Generated Title
- backend - Claude Code/Generated Title
Alternative Solutions
_No response_
Priority
Important - Causes lot of friction in using Claude for large multi-repo features.
Feature Category
CLI commands and flags
Use Case Example
In large projects with microservices or multiple related repositories, developers frequently run multiple Claude Code instances. Some features span across repos. So all window titles generated by claude look similar and it is very hard to know which window is for which repo unless one goes thru history and finds out file names and tries to map the file names to repo names.
Having clear window titles would:
- Reduce context switching confusion
- Prevent accidental commands in wrong repository
- Improve overall developer experience
Additional Context
- Working directory: Could use the repository folder name from git or the directory name
- Similar to how VS Code shows folder names in window titles
- Especially useful when using terminal multiplexers (tmux/screen) or tiling window managers
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗