Agent skill · Design & Presentation

gws-modelarmor-sanitize-response

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

googleworkspacegithub.com/googleworkspaceGitHub ↗
claude-codeApache-2.0
Install
npx skills add googleworkspace/cli --skill gws-modelarmor-sanitize-response --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.22.5
Path: skills/gws-modelarmor-sanitize-response/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 30,193
Language: Rust
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ```bash gws modelarmor +sanitize-response --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 ```bash 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](../gws-shared/SKILL.md) — Global flags and auth - [gws-modelarmor](../gws-modelarmor/SKILL.md) — All filter user-generated content for safety commands

What's inside
Steps it walks through
  1. Usage
  2. Flags
  3. Examples
  4. Tips
  5. See Also
Commands it runs
gws modelarmor +sanitize-response --template <NAME>
gws modelarmor +sanitize-response --template projects/P/locations/L/templates/T --text 'model output'
model_cmd | gws modelarmor +sanitize-response --template ...
More from cli
All skills →
About this skill
What does the gws-modelarmor-sanitize-response skill do?

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

How do I install it?

Run `npx skills add googleworkspace/cli --skill gws-modelarmor-sanitize-response --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From googleworkspace/cli, a repository with 30,193 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going