Skip to content

Ability to add working folders #2797

Closed

Description

@att3

What feature would you like to see?

Ability to add additonal working folders outside the current folder, that the agent can access
Very useful for me, as we have lots of git repos that are somewhat interconnected, which context the agent needs when fixing a trivial bug.

Claude code has this feature:

_The new --add-dir feature lets you specify additional working directories.

Example: Working on a frontend while referencing your backend API: claude --add-dir ~/project/backend-api

Note: The current working directory is always included. The root .. file appears to not be read in automatically from the additional directories added via --add-dir.

Now Claude can read/edit files in both your current frontend directory and the backend directory simultaneously.

Project structures can now be better separated based on what they concern and we can even temporarily expose projects._

Are you interested in implementing this feature?

No response

Additional information

No response

Activity

  1. added
    enhancement
    on Aug 27, 2025
  2. dgunay commented on Aug 27, 2025

    @dgunay

    This would be super helpful for me as one of the biggest sticking points of --full-auto in my workflow is that I have to constantly approve commands like:

    • All git commands my agents run tend to fail because they try to work in the main .git folder from a git worktree
    • The Go build cache is typically outside the working directory. If I work around this by setting GOCACHE to a folder in the working directory, it consumes a lot of disk space.
  3. Alfredo-Sandoval commented on Aug 27, 2025

    @Alfredo-Sandoval

    Native '@Dir/' would be amazing. Currently have to copy paste path of the dir with sandbox off to get this. Would be a big QOL improvement.

  4. mohassan-dev commented on Aug 28, 2025

    @mohassan-dev

    It's also useful for monorepos, I use it to closely mirror the workspace configuration I use for VSCode when working with Claude. Not having this feature is a huge pain point when working with codex.

  5. rockmandash commented on Sep 5, 2025

    @rockmandash

    This is huge, I have bunch of microservice repos needs to cross reference.

  6. hcdiekmann commented on Sep 12, 2025

    @hcdiekmann

    this would be really nice

  7. francescomugnai commented on Sep 29, 2025

    @francescomugnai

    +1

  8. Meowzz95 commented on Oct 2, 2025

    @Meowzz95

    Yes we need this so we stop paying claude and pay openai instead

  9. maguroid commented on Oct 7, 2025

    @maguroid

    +1

  10. self-assigned this
    on Oct 18, 2025
  11. added a commit that references this issue on Oct 19, 2025
    4f46360
  12. Meowzz95 commented on Oct 19, 2025

    @Meowzz95

    @tibo-openai amazing work

  13. added a commit that references this issue on Oct 24, 2025
    f70a2b8
  14. added a commit that references this issue on Nov 10, 2025
    0e3f3ef
  15. added a commit that references this issue on Nov 14, 2025
    d44427e
  16. added a commit that references this issue on Dec 2, 2025
    c00236c
  17. JonasJonny commented on May 27, 2026

    @JonasJonny

    This is working too.

    // config.toml
    [sandbox_workspace_write]
    writable_roots = ["/Users/xxxxx/Dir_1", "/Users/xxxxx/Dir_2"]
    

    Via #13914 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions