Setting the skill. One moment.
Skills
Skill 27 of 95
Google Model Armor: Sanitize a user prompt through a Model Armor template.
1 minute · 86 words · 6 sections
Install
npx skills add googleworkspace/cli --skill gws-modelarmor-sanitize-promptnpx skills add googleworkspace/cliThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
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
95 skills · 108 min
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 ...main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:/googleworkspace/cli.md, and each skill at its own .md URL.