Agent skill
gws-modelarmor-sanitize-prompt
Google Model Armor: Sanitize a user prompt through a Model Armor template.
Install this agent skill to your Project
npx add-skill https://github.com/googleworkspace/cli/tree/main/skills/gws-modelarmor-sanitize-prompt
Metadata
Additional technical details for this skill
- version
- 0.22.5
- openclaw
-
{ "cliHelp": "gws modelarmor +sanitize-prompt --help", "category": "security", "requires": { "bins": [ "gws" ] } }
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gws-events-renew
Google Workspace Events: Renew/reactivate Workspace Events subscriptions.
gws-forms
Read and write Google Forms.
gws-chat
Google Chat: Manage Chat spaces and messages.
gws-workflow-standup-report
Google Workflow: Today's meetings + open tasks as a standup summary.
persona-team-lead
Lead a team — run standups, coordinate tasks, and communicate.
recipe-schedule-recurring-event
Create a recurring Google Calendar event with attendees.
Didn't find tool you were looking for?