
Gws Modelarmor
Google's Model Armor wrapped as a Claude skill for content safety filtering. You get sanitization commands for both user prompts and model responses, plus template creation for custom filtering rules. The main value is having enterprise-grade content moderation built into your workflow without writing safety logic from scratch. It's overkill for most personal projects, but if you're building user-facing AI features or need to meet compliance requirements, this handles the heavy lifting. The schema inspection commands are helpful since Google's API surface can be dense to navigate.
- skills.sh installs
- 30.6K
- GitHub stars
- 32.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add googleworkspace/cli --skill gws-modelarmor --agent claude-codeInstalls into .claude/skills of the current project.
Files
modelarmor (v1)
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
gws modelarmor <resource> <method> [flags]
Helper Commands
| Command | Description |
|---|---|
+sanitize-prompt | Sanitize a user prompt through a Model Armor template |
+sanitize-response | Sanitize a model response through a Model Armor template |
+create-template | Create a new Model Armor template |
Discovering Commands
Before calling any API method, inspect it:
# Browse resources and methods
gws modelarmor --help
# Inspect a method's required params, types, and defaults
gws schema modelarmor.<resource>.<method>
Use gws schema output to build your --params and --json flags.
Sponsors
Details
- Repository
- github.com/googleworkspace/cli
- Categories
- CLI & Terminal, Office & Documents
More from googleworkspace/cli
All 113- Persona Sales Ops30.6K
- Recipe Create Meet Space30.6K
- Recipe Create Expense Tracker30.6K
- Recipe Create Feedback Form30.5K
- Recipe Post Mortem Setup30.5K
- Gws Modelarmor Create Template30.5K
- Persona Hr Coordinator30.4K
- Recipe Share Event Materials30.4K
- Recipe Send Team Announcement30.3K
- Gws Modelarmor Sanitize Prompt30.3K
- Gws Classroom30.2K
- Gws Modelarmor Sanitize Response30.2K
- Recipe Log Deal Update30.2K
- Recipe Create Classroom Course30K
- Gws Script27.3K
- Gws Script Push26.7K
- Gws Admin670
- Recipe Batch Rename Files634
- Gws Apps Script629
- Recipe Cancel And Notify624
- Recipe Batch Reply To Emails621
- Gws Apps Script Push620
- Recipe Send Personalized Emails620
- Recipe Search And Export Emails619