skills/gws-modelarmor-sanitize-prompt/SKILL.md
Google Model Armor: Sanitize a user prompt through a Model Armor template.
npx skillsauth add boazcstrike/opencode gws-modelarmor-sanitize-promptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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
gws modelarmor +sanitize-prompt --template <NAME>
| 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) |
gws modelarmor +sanitize-prompt --template projects/P/locations/L/templates/T --text 'user input'
echo 'prompt' | gws modelarmor +sanitize-prompt --template ...
development
Google Workflow: Announce a Drive file in a Chat space.
development
Google Workflow: Convert a Gmail message into a Google Tasks entry.
development
Google Tasks: Manage task lists and tasks.
development
Google Slides: Read and write presentations.