--- description: Turn a block of text (ticket, log, email) into an aliased version safe to paste --- The user has text containing sensitive data and needs an aliased version they can send. A hook cannot rewrite a prompt, only block it, so this is the supported route. Ask the user to paste the text into a file (or use text they already have on disk), then run: ``` python3 "${CLAUDE_PLUGIN_ROOT}/scripts/ctxguard.py" sanitize < ``` The aliased text goes to stdout; a per-rule summary goes to stderr. Note: only values already in the dictionary become aliases. Credentials and PII are detected by pattern regardless. If a company or person came through untouched, it is not registered yet — offer `/ctx-entity`.