Hook

User Prompt Augment

Preprocess user prompts before Claude sees them.

Install

manual
add to ~/.claude/settings.json hooks.UserPromptSubmit

Add this to your Claude Code MCP settings or run via the CLI.

About

UserPromptSubmit hook. Useful for prepending project conventions, current date, or stripping known noise from prompts.

Common use cases

  • Inject current date
  • Enforce team conventions
  • Pre-clean user input

Tags

promptcontextautomation