[Feature Request] Add Session-Scoped Command Permissions
Status Closed — not planned
Maintainer reply None cached
Activity 11 comments · opened Oct 7, 2025 · closed Jan 23, 2026
Bug Description
Feature request. It is very common that I have temporary commands that need to be run in a workspace. When the command is executed, it is not auto-allowed, so Claude prompts. It asks if I would like to allow it once, allow it forever, or to decline. I would really like to allow for session because chances are I will never use that command again, and I really do not need it to be auto-allowed because it shows up in system instructions, which remind the model to use something that is not useful and just take up space. Remember command for session would be wonderful.
Environment Info
- Platform: linux
- Terminal: vte-based
- Version: 2.0.8
- Feedback ID: 412373a2-e2e7-4eb4-90e9-cf3a483b8d67
Errors
[]
11 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
That one is not related.
GitHub Copilot CLI allows this:
<img width="753" height="156" alt="Image" src="https://github.com/user-attachments/assets/5290de71-e555-443f-be90-15468c427735" />
I would really like to have this in claude-code as well!
thumbs-up the first post :)
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
Still occurring, really want it
Relates to a couple more issues, e.g. https://github.com/anthropics/claude-code/issues/12070
Problem statement
Do you want to proceed?
❯ 1. Yes
Very often what I want to do is to allow something to happen in this session without asking, but not to add it to the project permanently. For example, I wouldn't want to allow websearch in general permanently for a project, but sometimes when I know I will be doing a heavy search conversation, I don't want to be confirming each and every one. However, if I would allow it to not ask again, then I have to remember to correct the settings file afterwards.
Proposed Solution
Do you want to proceed?
❯ 1. Yes
2. Yes, and don't ask again for curl commands in this session
Alternative Solutions
Alternatively cycleable option for just this session. Cycleability was proposed in https://github.com/anthropics/claude-code/issues/11073 However to my surprise it did not include the option for just the session.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue was closed incorrectly despite recent human comments. This behavior of the bot is reported at https://github.com/anthropics/claude-code/issues/16497. Please upvote that issue, so maybe it gets noticed.
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.