Submit a toolSubmit

Claude Code can’t touch sibling packages. Add additionalDirectories

Claude only sees the folder you launched from. Grant sibling packages with additionalDirectories, --add-dir, or /add-dir, then accept workspace trust. Short answer: 5 steps. 1) Confirm Claude started in a subdirectory; 2) Add persistent paths with additionalDirectories; 3) Or grant access for this session with --add-dir / /add-dir; 4) Accept workspace trust when project settings grant paths; 5) Verify with a cross-package read, then keep going.

Last updated: · This page is the decision checklist; the tools list for “Fix Claude Code sibling-package access” is a separate URL.

The problem: Claude only sees the folder you launched from. Grant sibling packages with additionalDirectories, --add-dir, or /add-dir, then accept workspace trust.

How do I add additionalDirectories when Claude Code can’t touch sibling packages?

  1. Confirm Claude started in a subdirectory

    If you launched from `packages/api/`, Claude’s primary working directory is that folder until you `/cd` elsewhere. Sibling trees like `packages/web/` or another checkout are outside it by default, so reads/edits there prompt or fail. Monorepo guide: https://code.claude.com/docs/en/large-codebases

  2. Add persistent paths with additionalDirectories

    In `.claude/settings.json` (shared) or `.claude/settings.local.json` (personal), set `permissions.additionalDirectories` to relative or absolute paths—for example `["../shared", "../web"]`. Relative paths resolve from the directory where you start Claude. Files there follow the same permission mode as the primary working directory. Permissions: https://code.claude.com/docs/en/permissions

  3. Or grant access for this session with --add-dir / /add-dir

    One-off: `claude --add-dir ../shared` at launch, or run `/add-dir ../shared` inside the session. Flag-added directories also load skills/commands/subagents from that tree; settings-only `additionalDirectories` grant file access only and do not load that config. To also load CLAUDE.md/rules from a flag-added dir, set `CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1`.

  4. Accept workspace trust when project settings grant paths

    `permissions.allow` and `permissions.additionalDirectories` in a project’s `.claude/settings.json` apply only after you accept the workspace trust dialog for that folder. Deny/ask rules still apply without trust. If you use `blockReadsOutsideWorkingDirectories`, prefer `/add-dir` when a listed path still looks “outside” after trust.

  5. Verify with a cross-package read, then keep going

    Ask Claude to list or open a file under the sibling path. If it still can’t, check you didn’t start from a different cwd than the relative paths expect, update Claude Code (`claude update`), and confirm the path isn’t denied by a `Read(...)`/`Edit(...)` deny rule. Settings overview: https://code.claude.com/docs/en/settings

Which tools are best to fix Claude Code sibling-package access?

Configure permissions

Working directories, additionalDirectories, --add-dir / /add-dir, and workspace trust.

Large codebases / monorepos

Sibling package examples and when CLAUDE.md loads from add-dir paths.

Settings

Where settings.json vs settings.local.json live and what they control.

Claude Code

Product entry for install and updates when settings look ignored on an old build.

All tools for “Fix Claude Code sibling-package access” →

Related fixes

See also AI tools launched today on the daily board.