Lightlines
By googleworkspace

gws-modelarmor-sanitize-prompt

googleworkspace28.5k installs

Screen your prompts with Google Model Armor.

What it does

Screens a user prompt through a Google Model Armor template.

When to use it

Use to sanitize user prompts; outbound response safety uses a different command.

How to use it

Give it a template resource name and prompt content; it returns the result of sanitizing the prompt.

What you provide

  • a template resource name
  • the prompt to sanitize

Uses

Good to know

  • edits its own instructions

Latest review

What you need · 2

Requires the gws CLI to invoke Model Armor prompt sanitization.

Requires reading its authentication, global flag, and security instructions before proceeding; directs generating it if missing.


Access · 2

This skill

Google Model Armor

Write

Sends prompts to Model Armor

../gws-shared/SKILL.md

Write

Creates missing shared skill instructions