MCPInstall
googleworkspace/cli avatar

gws-modelarmor-sanitize-response

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

Installs
30.6K
Last 24h
+40
Trending rank
#3897
Security
Warn

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-sanitize-response
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads gws-modelarmor-sanitize-response automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

Security audits

Independent scans of the skill's instructions and bundled files, each dated to when it ran.

Gen Agent Trust Hub PassSAFE ·No security issues were detected. The skill defines a command configuration to sanitize model responses using Google Model Armor through the gws CLI tool.· Audited
Socket PassNo alerts· Audited
Snyk PassLOW ·Risk: LOW · No issues· Audited
Runlayer WarnMEDIUM ·1/1 file flagged· Audited
ZeroLeaks PassNONE ·Score: 93/100 · 2 sections analyzed· Audited

SKILL.md

The instructions your agent reads when the skill is triggered.

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

FlagRequiredDefaultDescription
--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-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

FAQ

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 gws-modelarmor-sanitize-response?

Run npx skills add https://github.com/googleworkspace/cli --skill gws-modelarmor-sanitize-response in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/gws-modelarmor-sanitize-response/ (personal) or .claude/skills/gws-modelarmor-sanitize-response/ (project).

Which AI agents can use gws-modelarmor-sanitize-response?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is gws-modelarmor-sanitize-response safe to install?

Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer flagged items to review; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.

Who maintains gws-modelarmor-sanitize-response?

It is published by googleworkspace/cli in googleworkspace/cli. It has 30,594 recorded installs.

More from googleworkspace/cli

View all →
googleworkspace/cli avatar

gws-gmail

googleworkspace/cli

Gmail: Send, read, and manage email.

googleworkspace/cli avatar

gws-drive

googleworkspace/cli

Google Drive: Manage files, folders, and shared drives.

77.7K installs
googleworkspace/cli avatar

gws-gmail-send

googleworkspace/cli

Gmail: Send an email.

googleworkspace/cli avatar

gws-shared

googleworkspace/cli

gws CLI: Shared patterns for authentication, global flags, and output formatting.

69.1K installs
googleworkspace/cli avatar

gws-calendar

googleworkspace/cli

Google Calendar: Manage calendars and events.

googleworkspace/cli avatar

gws-sheets

googleworkspace/cli

Google Sheets: Read and write spreadsheets.

61.9K installs

Popular other skills

View category →
heygen-com avatar

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.6M installs
mattpocock avatar

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1.1M installs
mattpocock avatar

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

861.4K installs
mattpocock avatar

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

589.7K installs
mattpocock avatar

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

541.1K installs
mattpocock avatar

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

507.6K installs