Feature request: /add-folder command for multi-folder workspace support
Summary
Add an /add-folder command that lets Claude Code operate across multiple folders/repos simultaneously within a single session, similar to VS Code's multi-root workspaces.
Problem
Many projects involve upstream and downstream services that live in separate repos. Currently, Claude Code is scoped to a single working directory per session. To get context from related services, you have to manually reference files by absolute path or switch sessions entirely. There's no way to load multiple CLAUDE.md files or have tools naturally search across related projects.
Proposed Behavior
/add-folder /path/to/another/repo- Adds the folder as an additional workspace root
- Loads that folder's
CLAUDE.mdalongside the existing one - Tools like Glob, Grep, and Read search across all added folders
- Git context tracks all added repos
/remove-folderto drop a folder from the workspace
Use Case
When working on a microservice that consumes messages from an upstream service and produces messages for a downstream service, having context from all three repos in one session would make cross-service changes, debugging, and understanding data flows much easier — without needing to juggle multiple sessions.
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗