[FEATURE REQUEST] Associate permissions with /commands

Status Fixed / completed
Maintainer reply None cached
Activity 3 comments · opened Jul 4, 2025 · closed Aug 24, 2025

I'd like to be able to give Claude Code certain permissions only when executing specific custom commands

e.g. I have a custom command /pr that instructs CC on the steps to take to file a PR (linting, testing, things to sanity-check, etc). I'd like to be able to give CC permission to use the gh command line tool to file a PR when executing this command, but not at other times.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗