MarketplaceSKILL.mdLeída en a3768d0
gws-modelarmor-sanitize-prompt
Google Model Armor: Sanitize a user prompt through a Model Armor template.
Resumen
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
Archivos 1 archivo
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add googleworkspace/cli --skill gws-modelarmor-sanitize-promptMás de googleworkspace
- gws-gmailgoogleworkspaceOficialGmail: Send, read, and manage email.78.8 k instalaciones en skills.sh0
- gws-gmail-sendgoogleworkspaceOficialGmail: Send an email.72.7 k instalaciones en skills.sh0
- gws-drivegoogleworkspaceOficialGoogle Drive: Manage files, folders, and shared drives.71.8 k instalaciones en skills.sh0
- gws-sharedgoogleworkspaceOficialgws CLI: Shared patterns for authentication, global flags, and output formatting.63.4 k instalaciones en skills.sh0
- gws-calendargoogleworkspaceOficialGoogle Calendar: Manage calendars and events.58.6 k instalaciones en skills.sh0