Skip to content
Agentmart
Submit a tool

gws-modelarmor-sanitize-response

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

Skill by googleworkspace

IndexedApache-2.0★ 31,848
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/googleworkspace-gws-modelarmor-sanitize-response

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gws-modelarmor-sanitize-response

What's inside

Skill name
gws-modelarmor-sanitize-response
Description
Google Model Armor: Sanitize a model response through a Model Armor template.
License
Apache-2.0
Metadata
version: 0.22.5
Instructions
38 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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

From googleworkspace/cli, Apache-2.0.

More from googleworkspace/cli

Signals

Stars
31,848
Forks
1,951
Open issues
134
Last commit (this folder)
Mar 31, 2026 (7 months ago)
Last release
Mar 31, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
0.22.5
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from googleworkspace

Cite this page

gws-modelarmor-sanitize-response skill. Agent Mart. https://agentmart.dev/skills/googleworkspace-gws-modelarmor-sanitize-response (last updated 2026-10-24)