Support adding multiple directories in a single session

Resolved 💬 3 comments Opened Oct 18, 2025 by CollatzConjecture Closed Dec 8, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What feature would you like to see?

  • This feature would be very helpful for people who work across different related repositories.
  • It would be great to have the ability to add multiple directories into a single session, such as by selecting several folders from the slash command so codex can search and reference files across all directories seamlessly.

Additional information

_No response_

View original on GitHub ↗

3 Comments

rohan20 · 10 months ago

This will be possible with --add-dir locally but please bring this to the app too!

Use case example: My Github account has two private repositories A and B, both of these are apps. I am working with Codex app on B but I want to tell it to look at how a certain feature was implemented in A and implement a feature in B similarly.

(Codex has access to both A and B individually)

Even something as simple as having to manually give Codex the git clone URL for A in B's session would suffice.

etraut-openai contributor · 8 months ago

Thanks for the feature idea. This hasn't received any further upvotes or posts in a couple of months, so I'm going to close it.

Codex does allow you to specify multiple writable roots in your config file. It's admittedly a bit cumbersome, but it works in cases where it's needed.

100tomer · 5 months ago

+1