Add per-machine session name suffix for Remote Control identification
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 2 comments · opened Apr 1, 2026 · closed May 9, 2026
Problem
When using Remote Control from the mobile app to manage sessions across multiple machines, there's no way to tell which machine a session is running on. The session list shows topic names but no machine identifier.
Current Workarounds (all inadequate)
--nameflag — Sets a static name at startup before any topic exists, replacing the auto-generated topic entirely/renamecommand — Works but requires manual intervention every session- Editing local
~/.claude/sessions/*.json— Does not propagate to the mobile app / Remote Control list - SessionStart hook — Can edit local files but same propagation issue; also fires before any topic is generated
Proposed Solution
A setting (e.g., in settings.json) that appends a configurable suffix to the session name as displayed in Remote Control:
{
"sessionNameSuffix": "Jon's Macbook"
}
This would make sessions appear as:
Fix auth bug - Jon's MacbookAdd payment flow - Jon's Macbook
Instead of just:
Fix auth bugAdd payment flow
The suffix would be appended automatically to whatever name is generated (auto-topic, --name, or /rename), and would sync to the mobile app's Remote Control list.
Alternatives Considered
- A hook-based approach using SessionStart to edit local session files — doesn't sync to mobile
- Always starting with
claude -n "Machine Name"— loses the auto-generated topic - Manual
/renameevery session — tedious and easy to forget
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗