Gws modelarmor sanitize prompt
Skill ComeOnOliver/skillshub/skills/googleworkspace/cli/gws-modelarmor-sanitize-prompt
π§ The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.
npx -y skills add ComeOnOliver/skillshub --skill gws-modelarmor-sanitize-promptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Google Model Armor: Sanitize a user prompt through a Model Armor template.
SKILL.md
1.4 KB, as published. Nobody here has run it
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 <NAME>
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