[FEATURE] Include Model Name in `UserPromptSubmit` Hook
Resolved 💬 5 comments Opened Nov 30, 2025 by billdybas Closed Feb 1, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
I'd like for the currently selected model to be included alongside the prompt in the UserPromptSubmit hook (https://code.claude.com/docs/en/hooks#userpromptsubmit).
This would let me:
- Block execution & suggest a different model based on the prompt or an approved list of models
- While audit logging, allow me to see which prompts were issued to which models
Proposed Solution
There's a new "model" property included in the hook with a string identifying which model Claude Code is currently running with.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Other
Use Case Example
_No response_
Additional Context
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗