Mmcp.market

gws-modelarmor-sanitize-response skill

by googleworkspace·googleworkspace/cli·31k stars·Apache-2.0

Google Model Armor: Sanitize a model response through a Model Armor template.

A100/100content scan

Is the gws-modelarmor-sanitize-response skill safe?

Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-09-28.

No findings.

Install the gws-modelarmor-sanitize-response skill

A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.

git clone --depth 1 https://github.com/googleworkspace/cli.git /tmp/cli
mkdir -p ~/.claude/skills
cp -r /tmp/cli/skills/gws-modelarmor-sanitize-response ~/.claude/skills/gws-modelarmor-sanitize-response
available in every project

In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub

The instructions your agent would load

SKILL.md as published, without the frontmatter. Read it on GitHub

modelarmor +sanitize-response

PREREQUISITE: Read ../gws-shared/SKILL.md for auth, global flags, and security rules. If missing, run gws generate-skills to create it.

Sanitize a model response through a Model Armor template

Usage

gws modelarmor +sanitize-response --template <NAME>

Flags

Examples

gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...

Tips

  • Use for outbound safety (model -> user).
  • For inbound safety (user -> model), use +sanitize-prompt.

See Also

  • gws-shared — Global flags and auth
  • gws-modelarmor — All filter user-generated content for safety commands

More skills from googleworkspace/cli

All agent skills → · MCP servers