Ability to add working folders
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_
10 Comments
This would be super helpful for me as one of the biggest sticking points of
--full-autoin my workflow is that I have to constantly approve commands like:gitcommands my agents run tend to fail because they try to work in the main .git folder from a git worktreeGOCACHEto a folder in the working directory, it consumes a lot of disk space.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.
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.
This is huge, I have bunch of microservice repos needs to cross reference.
this would be really nice
+1
Yes we need this so we stop paying claude and pay openai instead
+1
@tibo-openai amazing work
This is working too.
Via https://github.com/openai/codex/issues/13914#issuecomment-4017650273