[Feature Request] Add scope command to limit file access in monorepos
Status Fixed / completed
Reported on v2.1.119
Maintainer reply None cached
Activity 5 comments · opened May 1, 2026 · closed May 2, 2026
Feature Description
It would be nice to have 'scope' command. When working with a monorepo, the scope command would limit the read and write access to certain directories. Just like you can disable and enable MCPs, similarly you would disable/read/write access to certain directories. That way you can add features to one sub directory of a monorepo without claude having to read every subdirectory.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.119
- Feedback ID: 245ce569-3417-4238-88d0-8a8175cc50ad
Errors
[{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T17:04:11.151Z"}]
5 Comments
Found 2 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Michael Adedolapo has sent you an email via Gmail confidential mode:
[image: Gmail logo]Re: [anthropics/claude-code] [Feature Request] Add scope command to limit file access in monorepos (Issue #55451) <https://confidential-mail.google.com/msg/AJ05YhfjtznuBZ3X6KyRiwvVH1GE5MdQaN5TY163AEEf7mO7YAjmS_FQPL5XcV7VTcwgWT5_LGI9wXfD0hk3cdcijkIAERsELMw4wJ4UlmvpPvULNCXKkP6YYOffWtdVbLFViJAVnkqNBqdkgdnk6ycPmWroSciDrpFIc3zDDJU94z5WjgvBErWRRbb8zHi9OLuhyOLAOsjTvj6bI_pT2JY0MFcdzKexrA==>
This message was sent on May 1, 2026 at 3:15:25 PM PDT
You can open it by clicking the link below. This link will only work for @.***
View the email <https://confidential-mail.google.com/msg/AJ05YhfjtznuBZ3X6KyRiwvVH1GE5MdQaN5TY163AEEf7mO7YAjmS_FQPL5XcV7VTcwgWT5_LGI9wXfD0hk3cdcijkIAERsELMw4wJ4UlmvpPvULNCXKkP6YYOffWtdVbLFViJAVnkqNBqdkgdnk6ycPmWroSciDrpFIc3zDDJU94z5WjgvBErWRRbb8zHi9OLuhyOLAOsjTvj6bI_pT2JY0MFcdzKexrA==>
Gmail confidential mode gives you more control over the messages you send. The sender may have chosen to set an expiration time, disable printing or forwarding, or track access to this message. Learn more <https://support.google.com/mail/answer/7674059>
Gmail: Email by Google
Use is subject to the Google Privacy Policy <https://myaccount.google.com/privacypolicy?hl=en>
Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
You have received this message because someone sent you an email via Gmail confidential mode.
[image: Google logo]
Your Google verification code is 727044
Duplicate of other issues.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.