Gws Modelarmor Sanitize Prompt
/install gws-modelarmor-sanitize-prompt
modelarmor +sanitize-prompt
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Sanitize a user prompt through a Model Armor template
Usage
gws modelarmor +sanitize-prompt --template \x3CNAME>
Flags
| Flag | Required | Default | Description |
|---|---|---|---|
--template |
✓ | — | Full template resource name (projects/PROJECT/locations/LOCATION/templates/TEMPLATE) |
--text |
— | — | Text content to sanitize |
--json |
— | — | Full JSON request body (overrides --text) |
Examples
gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...
Tips
- If neither --text nor --json is given, reads from stdin.
- For outbound safety, use +sanitize-response instead.
See Also
- gws-shared — Global flags and auth
- gws-modelarmor — All filter user-generated content for safety commands
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gws-modelarmor-sanitize-prompt - After installation, invoke the skill by name or use
/gws-modelarmor-sanitize-prompt - Provide required inputs per the skill's parameter spec and get structured output
What is Gws Modelarmor Sanitize Prompt?
Google Model Armor: Sanitize a user prompt through a Model Armor template. It is an AI Agent Skill for Claude Code / OpenClaw, with 417 downloads so far.
How do I install Gws Modelarmor Sanitize Prompt?
Run "/install gws-modelarmor-sanitize-prompt" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Gws Modelarmor Sanitize Prompt free?
Yes, Gws Modelarmor Sanitize Prompt is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Gws Modelarmor Sanitize Prompt support?
Gws Modelarmor Sanitize Prompt is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Gws Modelarmor Sanitize Prompt?
It is built and maintained by googleworkspace-bot (@googleworkspace-bot); the current version is v1.0.12.