--- description: Protect a company name, person, hostname or project codename behind a stable alias --- Register a value in the ctxguard dictionary so it is replaced by an alias everywhere before it reaches the model, and restored on the way back to disk. Arguments: `$ARGUMENTS` — the value, optionally followed by a type. Run: ``` python3 "${CLAUDE_PLUGIN_ROOT}/scripts/ctxguard.py" entity add "" --type [--match stem] [--hint ""] ``` Guidance: - Use `--match stem` for Russian names and any word that inflects, so that `Петров / Петрова / Петровым` all match. - `--hint` is injected into the model's context verbatim, so it must describe the entity without repeating it ("retail customer", not "Globex is a customer"). The command rejects a hint containing the value. - Add spelling variants with repeated `--variant` (transliterations, abbreviations). Afterwards show the new alias and run `entity list` so the user can see the whole dictionary. Never print the value back to the user's terminal — they typed it, but the transcript is exactly what we are trying to keep clean.