Group sessions by project in the mobile and web Code session list
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
I run six separate projects with Claude Code Desktop on one Windows machine and steer them from my phone through Remote Control.
On the desktop, the sidebar groups sessions by project folder with a collapsible header per project, so it is immediately obvious which session belongs to which project.
The mobile app and claude.ai/code show a single flat list ordered by recency. There is no project grouping, no project filter, and no indication of the working directory. The filter menu only offers session state: All / Working / Needs input / Ready for review / Completed / Archived.
With five or six connected sessions the list becomes unreadable. Titles are truncated on a phone screen, so the project name is often the part that gets cut off. The only way to tell sessions apart is to remember to prefix every session title with the project name by hand.
Remote Control is most valuable to people running several projects in parallel and checking in from a phone. That is exactly the audience most likely to have many sessions at once, and the flat list is where the feature stops scaling.
Proposed Solution
Mirror the desktop sidebar behaviour on the remote surfaces:
-
Group Remote Control sessions by their working directory / project in the mobile app and on claude.ai/code, with collapsible headers, the way the Desktop sidebar already does.
-
If full grouping is too much, a smaller version would already help a lot: show the project (folder name) as a subtitle on each session card, and add a project filter alongside the existing state filters.
The desktop app already knows the folder for every session, so the grouping key exists. It is simply not surfaced on the remote surfaces, where the second line shows "Remote control" or a GitHub repo name instead.
Alternative Solutions
Manually running /rename in every new session with a project prefix, for example "/rename ProjectA - fix the import". This has to be repeated for every new chat and is easy to forget. Titles auto-generated from the first prompt do not reliably carry the project name.
Naming the project in the first message of each chat, hoping the generated title keeps it. Unreliable, because the title is a paraphrase of the prompt, not a copy.
Using the state filters (Working / Needs input) to narrow the list. Helps with "where am I needed now", but says nothing about which project a session belongs to.
Priority
Low - Nice to have
Feature Category
CLI commands and flags
Use Case Example
No response
Additional Context
Related but different: #60954 and #38036 both ask for project grouping in the Claude Code Desktop sidebar, which now works. This request is about the remote surfaces — the Claude mobile app and claude.ai/code — where the session list is still flat and shows no project at all. Asking for parity with the desktop sidebar on the surfaces you use when away from the machine.
+1. I manage several projects from my phone, and the flat session list makes it hard to tell which session belongs to which project. Grouping by project, the way the desktop sidebar already does, would make the mobile app much more usable.
+1, and here is what we tried as a workaround.
Setup: one Linux host runs about ten claude remote-control servers, one per client folder, steered from the iOS and macOS apps. Until a recent update the session list was grouped by folder. Now it's one flat list sorted by title, with the folder shown as a grey subtitle under each session. With 30+ sessions open, finding one client's sessions means scanning the whole list.
Workaround attempted: prefix every title with the client. Since the list sorts by title, a prefix such as TF · … or C · … would bring the grouping back.
- Claude Code 2.1.296 lets a
UserPromptSubmit(andSessionStart) hook returnhookSpecificOutput.sessionTitle. - We added a hook that returns
"<prefix> · <topic>"on the first prompt. The session's transcript gets the title (custom-titlerows). - In the Remote Control session list the title never changes: the app shows the service's own title. We also re-sent the title on the second prompt, so ours would be the last write. No change.
- The CLI does try to push it: on
prompt.submitit calls the session-title update withsessionTitle. Either that call doesn't apply to Remote Control sessions, or the service's generated title always wins.
Asks, either one solves it:
- Group the mobile/web/desktop session list by folder or environment again, or offer a folder filter.
- Make a hook-set
sessionTitlethe session's title in the Remote Control list. Then teams can enforce their own naming.
+1. I was surprised that the mobile sidebar doesn't match the desktop one. On desktop, sessions are grouped by folder; on mobile it's a single flat list with no folder shown. With several project folders, it's really hard to use Remote Control from the phone as it is. Grouping by folder like the desktop app would fix it.
+1. This would be a great feature to have.
This issue has been automatically marked as stale due to inactivity. This issue will be closed automatically if there's no activity within 14 days.