Additional workspaces
Additional directories extend where file and command tools may operate. They do not replace the primary workspace or merge multiple projects into one configuration scope.
Save directories for a workspace
Run these commands from the primary workspace:
fx workspace listfx workspace add ../sharedfx workspace remove ../sharedfx workspace clearSaved paths are normalized to absolute paths and stored under the matching primary workspace in ~/.fx/settings.json. At most 16 unique additional directories can be active.
Inside the interactive shell, /workspace list, /workspace add, /workspace remove, and /workspace clear provide the same saved configuration.
Process-only directories
Use a leading flag to add a directory without saving it:
fx --add-dir ../sharedRepeat --add-dir for more roots. To ignore every saved additional directory for one run:
fx --no-additional-dirsThese flags also work before commands such as ask and acp.
What an additional directory contributes
It contributes tool access to that path, subject to the current permission rules and sandbox.
It does not contribute:
.fx.jsonconfigurationAGENTS.mdproject instructions- skills or hooks
- Git identity or repository identity
- sessions, prompt history, or usage scope
The launch directory remains the primary workspace and the sole source for those concerns.
Access is not permission
Adding a directory makes it eligible for tools. It does not create an allow rule or bypass sandbox restrictions.