[FEATURE] Support folder-based project trees: auto-create + group chats per subfolder
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
Problem
I organize my work as folders-of-folders — e.g. a top-level directory like IP Studio Apps containing several independent app projects (ICON Studio, ISO Studio, USB Studio Py, etc.), and I have several such top-level directories (IP Apps, Cloud Apps, IP Studio Apps, IP Home Apps), each containing multiple apps.
I want a separate chat per app (so context/memory doesn't mix between unrelated projects), organized visually to match my folder structure. Right now the sidebar does support manually grouping chats under a named header (I used this to build Cloud Apps and IP Apps groups by hand), but there's no way to do this in bulk — every chat and every group has to be created one at a time:
Click New
Set the working directory for that chat
Rename the chat
Drag it into the correct group (or create the group first)
Repeated once per subfolder. For a directory tree with ~18 app folders across 4 categories, this took several hours of pure setup with no actual work done yet.
Desired behavior
Let me point the app at a parent directory and have it:
Scan immediate subfolders (optionally recursive, with a depth limit)
Create one chat per subfolder, with working directory pre-set to that subfolder
Auto-title each chat from the folder name
Auto-create a sidebar group named after the parent directory, with the new chats nested inside
Ideally exposed as something like "Import folder as project group" from the sidebar's + New menu, taking a folder path and doing the above in one step instead of N manual repetitions.
Why this matters
The underlying per-directory memory isolation already works correctly (confirmed: memory folders under ~/.claude/projects/ are keyed by a slug of the working directory, created lazily per directory). The only missing piece is the organizational/UI layer to set up many chats at once — the hard part (isolation) is already solved, the tedious part (bulk creation) isn't.
Example
IP Studio Apps/
├── ICON Studio/
├── ISO Studio/
├── USB Studio Py/
└── USB Studio Swift/
→ should produce a "IP Studio Apps" sidebar group containing 4 chats, each scoped to its respective subfolder, without manual per-chat setup.
Proposed Solution
Proposed solution
- Entry point: Add "Import folder as project group" to the sidebar's + New menu, alongside the existing "New" chat action. Opens the same native folder picker already used for setting a chat's working directory.
- Scan step: On folder selection, list immediate subdirectories (one level deep by default). Show a confirmation preview before creating anything:
Import "IP Studio Apps" as a group?
✓ ICON Studio
✓ ISO Studio
✓ USB Studio Py
✓ USB Studio Swift
[ ] Include hidden folders (.git, .cursor, etc.) — off by default
Depth: [1 level ▾] — 1 / 2 / recursive
[Cancel] [Create 4 chats]
- Creation step: For each checked subfolder, create a chat with working directory = that subfolder, title = folder name, and parent sidebar group = the imported folder's name (create the group if new, append if it exists).
- Idempotency: Re-importing the same parent folder later should diff by working-directory path (not title, since users rename chats) and only create chats for subfolders that don't already have one — so adding a new app later is a safe repeat action, not a one-off.
- Scope: Only automates the existing manual "New chat + drag into group" flow — no new session/memory semantics needed, since per-directory memory isolation already works without any registration step.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Other
Use Case Example
_No response_
Additional Context
_No response_