[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

[]

View original on GitHub ↗

11 Comments

github-actions[bot] · 10 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/2218

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

KJ7LNW · 10 months ago

That one is not related.

markus1189 · 10 months ago

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!

KJ7LNW · 10 months ago
I would really like to have this in claude-code as well!

thumbs-up the first post :)

github-actions[bot] · 8 months ago

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.

markus1189 · 8 months ago

Still occurring, really want it

nadavsec · 8 months ago

Relates to a couple more issues, e.g. https://github.com/anthropics/claude-code/issues/12070

mimkorn · 8 months ago

Problem statement
Do you want to proceed?
❯ 1. Yes

  1. Yes, and don't ask again for curl commands in /project-path
  2. Type here to tell Claude what to do differently

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

  1. Yes, and don't ask again for curl commands in /project-path
  2. Type here to tell Claude what to do differently

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.

github-actions[bot] · 7 months ago

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.

marcindulak · 7 months ago

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.

github-actions[bot] · 7 months ago

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.